:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-50: #fafbfc;
    --gray-100: #f5f6f8;
    --gray-200: #e8eaed;
    --gray-300: #dadce0;
    --gray-400: #9aa0a6;
    --gray-500: #5f6368;
    --gray-600: #3c4043;
    --gray-700: #202124;
    --gray-800: #171717;
    --gray-900: #0f0f0f;
    --accent: #15BEBF;
    --accent-light: #3FCED0;
    --accent-dark: #12A0A1;
    --accent-bg: #E8F8F8;
    --success: #137333;
    --warning: #ea8600;
    
    /* Typography */
    --font-serif: 'Source Serif Pro', 'Georgia', 'Times New Roman', serif;
    --font-sans: 'Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', sans-serif;
    
    /* Text Colors */
    --text-primary: #0a0a0a;      /* Headlines */
    --text-secondary: #3c4043;    /* Body text */
    --text-tertiary: #5f6368;     /* Subtitles */
    --text-muted: #9aa0a6;        /* Labels */
    --text-accent: #15BEBF;       /* Highlights */
    
    --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 6rem);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 300ms var(--ease);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-content {
    padding: 1.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 300ms var(--ease);
}

.nav.scrolled .nav-content {
    padding: 1.25rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    height: 75px;
    width: auto;
    transition: all 300ms var(--ease);
}

.nav.scrolled .nav-logo {
    height: 55px;
}

.nav-brand:hover .nav-logo {
    transform: scale(1.05);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-button {
    padding: 0.875rem 1.75rem;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.925rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 250ms var(--ease);
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.1), transparent);
    transition: left 600ms var(--ease);
}

.nav-button:hover::before {
    left: 100%;
}

.nav-button:hover {
    background: var(--gray-50);
    transform: translateY(-1px);
    color: var(--text-accent);
}

/* Simplified navigation - mobile menu toggle no longer needed */

.cta-button {
    background: var(--accent);
    color: var(--black);
    font-family: var(--font-sans);
    font-weight: 600;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Typography */
.text-hero {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 2.5rem;
    color: var(--black);
}

.text-large {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--black);
}

.text-body {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    line-height: 1.8;
    font-weight: 400;
    max-width: 65ch;
    color: var(--text-secondary);
}

.text-body-large {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 400;
    color: var(--text-tertiary);
    max-width: 65ch;
}

.text-body-small {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    color: var(--text-tertiary);
}

.text-accent {
    color: var(--accent);
}

/* Override the gradient text on the main heading for the accent word */
.text-hero .text-accent {
    color: var(--accent);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

@keyframes underlineGrow {
    to { transform: scaleX(1); }
}

/* Hero Headline Section - At Top */
.hero-headline {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
    position: relative;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    z-index: 1;
}

.hero-headline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 115, 232, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 115, 232, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.hero-headline-content {
    margin-left: 8.33%;
    max-width: 75%;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.625rem;
    line-height: 1.7;
    font-weight: 400;
    color: var(--text-tertiary);
    margin-bottom: 3.5rem;
    max-width: 55ch;
}

/* Sections */
.section {
    padding: clamp(6rem, 15vh, 12rem) 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(4rem, 10vw, 10rem);
    align-items: start;
}

.section-aside {
    position: sticky;
    top: 8rem;
}

/* Trust Stats */
.trust-section {
    background: var(--accent-bg);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2315BEBF" fill-opacity="0.05"><circle cx="30" cy="30" r="1"/></g></svg>');
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.stat {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid rgba(21, 190, 191, 0.15);
    box-shadow: var(--shadow);
    transition: all 400ms var(--ease);
}

.stat:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-light);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 4rem;
}

.faq-category {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 3.5rem;
    transition: all 400ms var(--ease);
    box-shadow: var(--shadow);
}

.faq-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-light);
}

.faq-category h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--black);
    font-weight: 600;
}

.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 2rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    font-size: 1.125rem;
    transition: all 250ms var(--ease);
    border-radius: 8px;
    margin: -1.25rem 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.faq-question:hover {
    color: var(--text-accent);
    background: var(--gray-50);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 400ms var(--ease);
    font-family: var(--font-sans);
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-answer.active {
    max-height: 600px;
    padding-top: 2rem;
}

.faq-toggle {
    font-size: 1.4rem;
    transition: transform 400ms var(--ease-bounce);
    color: var(--text-accent);
    font-weight: 400;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: var(--accent-bg);
    color: var(--text-primary);
    padding: clamp(4rem, 10vh, 8rem) 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2315BEBF" fill-opacity="0.03"><circle cx="30" cy="30" r="1"/></g></svg>');
}

.footer-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-content h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-content p {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.125rem;
}

.footer-contact {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(21, 190, 191, 0.2);
}

/* Form Section - At Bottom */
.form-section {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 6rem 0;
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 115, 232, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 115, 232, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Lead Capture Form */
.lead-capture {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 3.5rem;
    box-shadow: var(--shadow-xl);
    transition: all 400ms var(--ease);
    position: relative;
    overflow: hidden;
}

.lead-capture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.lead-capture:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.lead-capture h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

.lead-capture > p {
    font-family: var(--font-sans);
    color: var(--text-tertiary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.125rem 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--white);
    transition: all 250ms var(--ease);
    color: var(--text-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    height: 140px;
    resize: vertical;
    line-height: 1.6;
}

/* Submit Button */
.submit-btn {
    background: var(--accent);
    color: var(--black);
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 300ms var(--ease);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 600ms var(--ease);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading Animation */
.loading {
    position: relative;
    pointer-events: none;
    color: transparent;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border-radius: 16px;
}

.success-message h3 {
    color: var(--success);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-family: var(--font-serif);
}

.success-message p {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.success-message .subtitle {
    font-family: var(--font-sans);
    color: var(--text-tertiary);
    margin-top: 1.5rem;
    font-style: italic;
}

.text-white {
    color: white;
}

.text-body-spacing {
    font-family: var(--font-sans);
    margin-top: 2rem;
    color: var(--text-tertiary);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-headline-content {
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-headline-content {
        margin-left: 0;
        max-width: 100%;
    }
    
    /* Fix sticky aside positioning on mobile to prevent overlap */
    .section-aside {
        position: static !important;
        top: auto !important;
        margin-bottom: 2rem;
        background: var(--white);
        padding: 2rem;
        border-radius: 12px;
        box-shadow: var(--shadow);
        border: 1px solid var(--gray-200);
        z-index: 1;
    }
    
    /* Ensure FAQ content has proper background and spacing on mobile */
    .faq-grid {
        background: var(--white);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 2rem;
        position: relative;
        z-index: 2;
    }
    
    /* Prevent any residual overlap issues */
    .section {
        position: relative;
        z-index: auto;
    }
    
    /* Typography adjustments for mobile */
    .text-body {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.6;
    }
    
    .text-hero {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    /* Simplified navigation for single CTA button */
    .nav-buttons {
        display: flex;
        gap: 0.75rem;
        align-items: center;
    }
    
    .nav-button {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
    
    .nav-logo {
        height: 55px;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .nav-brand {
        gap: 0.375rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lead-capture {
        padding: 2.5rem;
    }

    .faq-category {
        padding: 2.5rem;
    }

    .form-container {
        padding: 0 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 800ms var(--ease);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.3s; }

.faq-category:nth-child(1) { animation-delay: 0.1s; }
.faq-category:nth-child(2) { animation-delay: 0.2s; }
.faq-category:nth-child(3) { animation-delay: 0.3s; }
.faq-category:nth-child(4) { animation-delay: 0.4s; }

/* Bottom Banner */
.bottom-banner {
    background: var(--gray-800);
    color: var(--white);
    padding: 2rem 0;
    border-top: 1px solid var(--gray-700);
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.banner-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    transition: all 250ms var(--ease);
}

.banner-logo a:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.banner-logo-img {
    height: 40px;
    width: auto;
}

.banner-brand-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.banner-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.banner-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: var(--black);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 250ms var(--ease);
    box-shadow: var(--shadow);
}

.banner-link:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.banner-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gray-700);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 250ms var(--ease);
    border: 1px solid var(--gray-600);
}

.banner-social:hover {
    background: var(--accent);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.banner-social svg {
    width: 20px;
    height: 20px;
}

/* Mobile responsiveness for banner */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .banner-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .banner-link {
        font-size: 0.85rem;
        padding: 0.625rem 0.875rem;
    }
    
    .banner-social {
        width: 40px;
        height: 40px;
    }
    
    .banner-social svg {
        width: 18px;
        height: 18px;
    }
}