@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed header - prevents content from being cut off */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-bg-page) !important;
    color: var(--color-text-primary);
    line-height: 1.6;
}

/* Header Section */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 60px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-header-bg);
    border-bottom: 1px solid var(--color-header-border);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 60px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-container {
    display: flex;
    align-items: center;
}

.brand-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--color-header-link);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    padding: 4px 0;
}

.nav-link:hover {
    color: var(--color-header-link-hover);
}

.header-cta {
    background: var(--color-cta-bg) !important;
    color: var(--color-cta-text) !important;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.header-cta:hover {
    background: var(--color-cta-bg-hover) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 100;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* =============================================
   EXPONENT-INSPIRED MOBILE MENU (NEW)
   ============================================= */
   
/* Mobile Menu - Full Screen Takeover */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Menu Header */
.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.menu-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.menu-icon {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 24px;
}

.menu-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.menu-close:hover {
    background: #f9fafb;
    color: #374151;
}

/* Search Bar */
.menu-search {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: white;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-link);
    background: white;
    box-shadow: 0 0 0 3px rgba(55, 100, 229, 0.1);
}

.search-input::placeholder {
    color: #9ca3af;
}

/* Search Results Styling */
.menu-nav .nav-link.search-match {
    background: #f0f4ff;
}

.menu-nav .nav-link mark {
    background: rgba(55, 100, 229, 0.2);
    color: inherit;
    padding: 2px 0;
    border-radius: 2px;
}

/* No Results Message */
.no-results {
    padding: 60px 20px;
    text-align: center;
    color: #6b7280;
}

.no-results p {
    font-size: 18px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.no-results small {
    font-size: 14px;
    color: #9ca3af;
}

/* Navigation Links */
.menu-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.menu-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #1f2937;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: background 0.15s ease;
    position: relative;
}

.menu-nav .nav-link:active {
    background: #f9fafb;
}

.menu-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: #f3f4f6;
}

.menu-nav .nav-link:last-child::after {
    display: none;
}

.nav-arrow {
    color: #9ca3af;
    font-size: 24px;
    font-weight: 300;
}

/* Menu Footer - CTAs */
.menu-footer {
    padding: 20px;
    background: white;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.menu-cta-button,
.cta-button {
    display: flex; /* Flex for perfect centering */
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: var(--color-cta-bg) !important; /* Solid CTA background - forced */
    color: var(--color-cta-text) !important; /* CTA text - forced */
    text-align: center;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(55, 100, 229, 0.25);
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    border: none;
}

.menu-cta-button:hover,
.cta-button:hover {
    background: var(--color-cta-bg-hover) !important; /* Darker CTA on hover - forced */
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(55, 100, 229, 0.35);
}

.secondary-link {
    display: block;
    text-align: center;
    color: var(--color-link);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px;
    transition: color 0.2s ease;
    font-family: 'Inter', sans-serif;
}

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

/* Hamburger Menu Button Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =============================================
   END OF MOBILE MENU STYLES
   ============================================= */

/* Hero Section */
.hero-wrapper {
    background: #ffffff !important;
    width: 100%;
}

.hero-section {
    background: #ffffff !important;
    padding: 50px 40px 100px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Trust Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 400;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 1);
    color: rgba(107, 114, 128, 1);
    transition: all 0.15s cubic-bezier(.4, 0, .2, 1);
    margin-bottom: 15px;
}

.trust-badge:hover {
    background: rgba(248, 250, 252, 1);
    transform: translateY(-0.5px);
}

.trust-icon {
    font-size: 0.625rem;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Headlines */
.headline {
    font-size: 4.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.1;
    color: #1f2937;
    letter-spacing: -0.03em;
    padding: 0 20px;
    text-align: center;
}

.headline > span {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow: visible !important;
}

.highlight {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline !important;
    padding: 2px 6px;
    position: relative;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    white-space: nowrap !important;
    word-break: keep-all !important;
}

/* STATEMENT SIZE VARIATION - Updated values */
.subheadline {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 52px; /* Reduced from 64px for Statement Size */
    line-height: 1.5;
    color: #6b7280;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Stats Container - Statement Size */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 75px; /* Reduced from 80px for Statement Size */
    margin-bottom: 56px; /* Reduced from 64px for Statement Size */
    flex-wrap: wrap;
    padding: 0 20px;
}

.stat {
    text-align: center;
    min-width: 150px;
}

/* Logo Styling - STATEMENT SIZE (60px) */
.stat-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 22px; /* Gap between logo and text */
    transition: transform 0.3s ease;
    display: block;
}

.stat:hover .stat-logo {
    transform: translateY(-3px) scale(1.08);
}

.stat-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9375rem;
    color: #6b7280;
    font-weight: 500;
    max-width: 160px;
    margin: 0 auto;
}

/* Hero CTA Button */
.hero-cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--color-cta-bg);
    color: var(--color-cta-text);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    gap: 6px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.hero-cta-button:hover {
    background: var(--color-cta-bg-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hero-cta-button:focus-visible {
    outline: 2px solid var(--color-focus-ring);
    outline-offset: 2px;
}

/* Mobile Responsive - Updated for Statement Size */
@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
        position: fixed;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .header-left {
        gap: 16px;
    }

    /* Hide desktop nav and show mobile elements */
    .desktop-nav,
    .header-left .nav-links {
        display: none !important;
    }
    
    .desktop-only {
        display: none !important;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block !important;
    }

    .brand-text {
        font-size: 18px;
        font-weight: 600;
    }

    .hero-section {
        padding: 100px 40px 100px;
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .trust-badge {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 24px;
        white-space: normal;
        max-width: 100%;
    }

    .trust-icon {
        font-size: 12px;
    }

    .headline {
        font-size: 1.5rem !important;
        margin-bottom: 16px !important;
        line-height: 1.2 !important;
        padding: 0 4px !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .headline > span {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
        overflow: visible !important;
    }

    .headline .highlight {
        display: inline !important;
        white-space: nowrap !important;
    }

    .subheadline {
        font-size: 1em;
        margin-bottom: 30px;
        padding: 0 8px;
        line-height: 1.4;
    }

    .stats-container {
        gap: 24px;
        margin-bottom: 30px;
        padding: 0 8px;
    }

    .stat-logo {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
    }

    .stat-number {
        font-size: 1.25rem;
        margin-bottom: 4px;
        font-weight: 600;
    }

    .stat-label {
        font-size: 0.6875rem;
        line-height: 1.3;
    }

    .hero-cta-button {
        font-size: 0.875rem;
        padding: 8px 16px;
        white-space: nowrap;
    }
}

/* Tablet adjustments for mobile menu */
@media (min-width: 481px) and (max-width: 768px) {
    .mobile-menu {
        max-width: 400px;
        right: 0;
        left: auto;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 640px) {
    .headline {
        font-size: 2rem !important;
    }

    .headline > span {
        display: block !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .stats-container {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 90px 16px 28px;
    }

    .headline {
        font-size: 1.75rem !important;
    }

    .headline > span {
        display: block !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .subheadline {
        font-size: 1rem;
    }

    .stats-container {
        gap: 20px;
    }

    .stat-logo {
        width: 40px;
        height: 40px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.6875rem;
    }
}

@media (max-width: 380px) {
    .header {
        padding: 10px 12px;
    }

    .stats-container {
        flex-direction: column;
        gap: 16px;
    }

    .headline {
        font-size: 1.625rem !important;
    }

    .headline > span {
        display: block !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .hero-cta-button {
        padding: 10px 20px;
        font-size: 0.8125rem;
    }
}

/* Desktop - ensure mobile menu never shows */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}