/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1d1d1f;
    --primary-light: #86868b;
    --accent-color: #0071e3;
    --accent-hover: #0077ed;
    --text-dark: #1d1d1f;
    --text-light: #86868b;
    --bg-white: #ffffff;
    --bg-light: #f5f5f7;
    --border-color: #d2d2d7;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 18px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 44px;
}

.logo {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-text {
    color: var(--text-dark);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 400;
    transition: var(--transition);
    padding: 0 20px;
    height: 44px;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
    opacity: 0.8;
}

.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.6;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    padding: 8px 0;
    margin-top: 8px;
    border-radius: var(--radius);
    border: 0.5px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 1px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.005em;
    line-height: 1.07143;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.007em;
    line-height: 1.14286;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 980px;
    font-weight: 400;
    font-size: 17px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: -0.022em;
    line-height: 1.17647;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-large {
    padding: 14px 28px;
    font-size: 19px;
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--text-dark);
    letter-spacing: -0.003em;
    line-height: 1.08349;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
    border: 0.5px solid var(--border-color);
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: -0.01em;
    opacity: 0.8;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.16667;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.47059;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 17px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    color: var(--accent-hover);
}

.service-link::after {
    content: '→';
    transition: var(--transition);
}

.service-link:hover::after {
    transform: translateX(4px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-text h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.08349;
}

.features-list {
    list-style: none;
    font-size: 19px;
}

.features-list li {
    padding: 16px 0;
    padding-left: 32px;
    color: var(--text-light);
    position: relative;
    line-height: 1.47059;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.features-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    background: var(--text-dark);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.08349;
}

.cta-content p {
    font-size: 21px;
    margin-bottom: 32px;
    opacity: 0.8;
    font-weight: 400;
    line-height: 1.381;
}

/* Footer */
.footer {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0 30px;
    border-top: 0.5px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.footer-section p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.42859;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 0.5px solid var(--border-color);
    color: var(--text-light);
    font-size: 12px;
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* Page Hero */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-subtitle {
    font-size: 24px;
    margin-top: 12px;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.007em;
    line-height: 1.14286;
}

/* Page Content */
.page-content {
    padding: 80px 0;
    min-height: 60vh;
}

.page-title {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.07143;
}

.page-hero .page-title {
    color: white;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.1;
    padding-top: 40px;
}

.content-section h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.14286;
    margin-top: 32px;
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.47059;
    font-size: 19px;
}

.content-section ul {
    margin-left: 0;
    margin-bottom: 20px;
    color: var(--text-light);
    list-style: none;
}

.content-section li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    font-size: 19px;
    line-height: 1.47059;
}

.content-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 0.5px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: var(--text-dark);
    font-size: 14px;
    letter-spacing: -0.016em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 17px;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 44px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(180%) blur(20px);
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 0;
    }

    .navbar-menu.active {
        left: 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        padding-left: 20px;
        background: var(--bg-light);
    }

    .hero {
        padding: 80px 0;
        min-height: 500px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 21px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .page-title {
        font-size: 40px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .page-content > .container > div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }

    .features-img {
        max-height: 400px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
        min-height: 400px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .services-overview,
    .features {
        padding: 60px 0;
    }
}
