/* ============================================================
   OrbitQuote — Homepage v2  |  Dark Hero + Full-Width
   ============================================================ */

:root
{
    /* Palette — aligned with layout.css tokens */
    --color-bg: #fafbfc;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-accent-light: #eff6ff;
    --color-accent-glow: rgba(37, 99, 235, 0.12);

    /* Dark surfaces */
    --color-dark: #0f172a;
    --color-dark-surface: #1e293b;
    --color-dark-border: rgba(148, 163, 184, 0.12);
    --color-dark-text: #f1f5f9;
    --color-dark-text-muted: #94a3b8;

    /* Gradient */
    --gradient-hero: linear-gradient(135deg, #2563eb 0%, #06b6d4 50%, #3b82f6 100%);
    --gradient-glow: rgba(37, 99, 235, 0.35);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Spacing */
    --spacing: 8px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-video: 0 20px 60px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);

    /* Header clearance for anchor scroll */
    --header-height: 80px;
}

html
{
    scroll-behavior: smooth;
}

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

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


/* ===================== FULL-WIDTH OVERRIDE ===================== */
/* layout.css wraps <main> in .container (max-width:1240px).
   Homepage sections need edge-to-edge backgrounds. */

main.container
{
    max-width: none;
    padding: 0;
}

.container
{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing) * 3);
}


/* ===================== ANCHOR SCROLL OFFSET ===================== */

[id="how-it-works"],
[id="features"],
[id="pricing"],
[id="faq"]
{
    scroll-margin-top: var(--header-height);
}


/* ===================== TYPOGRAPHY ===================== */

.display
{
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: calc(var(--spacing) * 2.5);
}

.heading-1
{
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: calc(var(--spacing) * 2);
}

.heading-2
{
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin-bottom: calc(var(--spacing) * 2);
}

.body-large
{
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.7;
    color: var(--color-text-light);
}


/* ===================== HERO — DARK ===================== */

.hero
{
    background: var(--color-dark);
    padding: calc(var(--spacing) * 16) 0 calc(var(--spacing) * 12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated gradient orb behind hero */
.hero::before
{
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 120%;
    background:
        radial-gradient(ellipse 50% 40% at 30% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 70% 60%, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    animation: heroGradientShift 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGradientShift
{
    0%
    {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    100%
    {
        transform: translateX(-50%) scale(1.15);
        opacity: 0.7;
    }
}

/* Subtle noise texture */
.hero::after
{
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.4;
}

.hero .container
{
    position: relative;
    z-index: 1;
}

/* Gradient text headline */
.hero .display
{
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero .body-large
{
    max-width: 620px;
    margin: 0 auto calc(var(--spacing) * 5);
    color: var(--color-dark-text-muted);
}


/* ===================== BUTTONS ===================== */

.btn
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing) * 2) calc(var(--spacing) * 4.5);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary
{
    background: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover
{
    background: var(--color-accent-hover);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
}

/* On dark backgrounds */
.hero .btn-primary
{
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.hero .btn-primary:hover
{
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.55);
}

.btn-secondary
{
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-secondary:hover
{
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-light);
}

/* On dark backgrounds */
.hero .btn-secondary
{
    color: var(--color-dark-text);
    border-color: var(--color-dark-border);
    background: rgba(255, 255, 255, 0.05);
}

.hero .btn-secondary:hover
{
    border-color: rgba(37, 99, 235, 0.5);
    color: #ffffff;
    background: rgba(37, 99, 235, 0.15);
}

.btn-group
{
    display: flex;
    gap: calc(var(--spacing) * 2);
    justify-content: center;
    flex-wrap: wrap;
}


/* ===================== HERO VIDEO — GLOW ===================== */

.hero-video
{
    max-width: 960px;
    margin: calc(var(--spacing) * 7) auto 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.15),
        0 0 60px rgba(37, 99, 235, 0.2),
        0 0 120px rgba(37, 99, 235, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.4);
    animation: videoGlow 4s ease-in-out infinite alternate;
}

@keyframes videoGlow
{
    0%
    {
        box-shadow:
            0 0 0 1px rgba(37, 99, 235, 0.15),
            0 0 60px rgba(37, 99, 235, 0.2),
            0 0 120px rgba(37, 99, 235, 0.1),
            0 20px 60px rgba(0, 0, 0, 0.4);
    }
    100%
    {
        box-shadow:
            0 0 0 1px rgba(37, 99, 235, 0.25),
            0 0 80px rgba(37, 99, 235, 0.3),
            0 0 160px rgba(6, 182, 212, 0.12),
            0 20px 60px rgba(0, 0, 0, 0.4);
    }
}

.hero-video iframe
{
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}


/* ===================== STATS — BOLD ===================== */

.stats
{
    display: flex;
    gap: calc(var(--spacing) * 8);
    justify-content: center;
    margin-top: calc(var(--spacing) * 7);
    flex-wrap: wrap;
}

.stat-item
{
    text-align: center;
    position: relative;
    padding: 0 calc(var(--spacing) * 3);
}

.stat-item + .stat-item::before
{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: var(--color-dark-border);
}

.stat-number
{
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.04em;
    display: block;
    margin-bottom: calc(var(--spacing) * 0.5);
    line-height: 1;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label
{
    font-size: 13px;
    color: var(--color-dark-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}


/* ===================== SECTIONS ===================== */

section
{
    padding: calc(var(--spacing) * 12) 0;
}

.section-header
{
    max-width: 640px;
    margin: 0 auto calc(var(--spacing) * 8);
    text-align: center;
}

.section-header .body-large
{
    margin-top: calc(var(--spacing) * 1.5);
}

.accent-bg
{
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}


/* ===================== SOCIAL PROOF ===================== */

.social-proof
{
    background: var(--color-dark);
    text-align: center;
    padding: calc(var(--spacing) * 5) 0;
    border-bottom: 1px solid var(--color-dark-border);
}

.social-proof-label
{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-dark-text-muted);
    margin-bottom: calc(var(--spacing) * 3);
    font-weight: 600;
}

.company-list
{
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 5);
    justify-content: center;
    align-items: center;
}

.company-name
{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-dark-text-muted);
    opacity: 0.7;
    position: relative;
}

.company-name + .company-name::before
{
    content: '';
    position: absolute;
    left: calc(var(--spacing) * -2.5);
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-dark-border);
}


/* ===================== GRID ===================== */

.grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing) * 3);
}

.grid-2
{
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}


/* ===================== CARDS (How It Works) ===================== */

.card
{
    background: var(--color-surface);
    padding: calc(var(--spacing) * 5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
    position: relative;
}

.card:hover
{
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.step-number
{
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    margin-bottom: calc(var(--spacing) * 2);
}

.card-title
{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing) * 1.5);
    color: var(--color-text);
}

.card-description
{
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
}


/* ===================== FEATURE CARDS ===================== */

.feature-cards
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing) * 3);
}

.feature-card
{
    background: var(--color-bg);
    padding: calc(var(--spacing) * 5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient border on hover */
.feature-card::before
{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(6, 182, 212, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::before
{
    opacity: 1;
}

.feature-card:hover
{
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.feature-card:hover .feature-icon
{
    background: var(--color-accent);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.feature-card:hover .feature-icon svg
{
    color: #ffffff;
}

.feature-icon
{
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--spacing) * 3);
    transition: all 0.3s ease;
}

.feature-icon svg
{
    width: 26px;
    height: 26px;
    color: var(--color-accent);
    transition: color 0.3s ease;
}

.feature-title
{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing) * 1.5);
    color: var(--color-text);
}

.feature-desc
{
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
}


/* ========================================
   PRICING — seção preservada intacta
   ======================================== */
.pricing
{
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 50%, #F8FAFC 100%);
    padding: 64px 20px 48px;
}

.pricing-header
{
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.pricing-title
{
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pricing-subtitle
{
    margin: 12px 0 0;
    font-size: 16px;
    color: #64748B;
    line-height: 1.6;
}

/* Billing toggle */
.billing-toggle-wrapper
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

.billing-toggle
{
    display: inline-flex;
    align-items: center;
    background: #E2E8F0;
    border-radius: 12px;
    padding: 4px;
}

.billing-btn
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #64748B;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.billing-btn:hover
{
    color: #475569;
}

.billing-btn.active
{
    background: #FFFFFF;
    color: #0F172A;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.annual-badge
{
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: #ECFDF5;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #A7F3D0;
    letter-spacing: -0.01em;
    line-height: 1;
}

/* Cards container */
.pricing-cards
{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Card base */
.pricing-card
{
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 260px;
    max-width: 300px;
    border-radius: 16px;
}

.pricing-card--beta
{
    max-width: 240px;
}

.pricing-card--beta .card-inner
{
    border: 1px dashed #CBD5E1;
    background: #FAFBFC;
}

.card-inner
{
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    padding: 32px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-inner:hover
{
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Popular card (Pro) */
.pricing-card--popular
{
    padding: 2px;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    border-radius: 16px;
}

.pricing-card--popular .card-inner
{
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    border: none;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.pricing-card--popular .card-inner:hover
{
    transform: translateY(-4px);
    box-shadow: 0 32px 56px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.pricing-card--popular .plan-name
{
    color: #60A5FA;
}

.pricing-card--popular .plan-description
{
    color: #94A3B8;
}

.pricing-card--popular .price-value
{
    color: #F8FAFC;
}

.pricing-card--popular .price-period
{
    color: #64748B;
}

.pricing-card--popular .feature-item span
{
    color: #CBD5E1;
}

.pricing-card--popular .card-price
{
    border-bottom-color: #334155;
}

.pricing-card--popular .cta-btn
{
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.pricing-card--popular .cta-btn:hover
{
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.popular-badge
{
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    z-index: 1;
}

/* Card header */
.card-header
{
    margin-bottom: 20px;
}

.plan-name
{
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3B82F6;
}

.plan-description
{
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #64748B;
    min-height: 42px;
}

/* Price */
.card-price
{
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
}

.price-option
{
    display: none;
}

.price-option.active
{
    display: block;
}

.price-row
{
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-value
{
    font-size: 36px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
    line-height: 1;
}

.price-period
{
    font-size: 15px;
    color: #94A3B8;
    font-weight: 500;
}

.price-annual-note
{
    margin-top: 6px;
    font-size: 12px;
    color: #10B981;
    font-weight: 600;
}

/* Pricing Features */
.features-list
{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.feature-item
{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.feature-check
{
    flex-shrink: 0;
    margin-top: 1px;
}

/* Pricing CTA Button */
.cta-btn
{
    display: block;
    margin-top: 24px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #0F172A;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-decoration: none;
}

.cta-btn:hover
{
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #FFFFFF;
}

.cta-btn--primary
{
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.cta-btn--primary:hover
{
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* Pricing Footer */
.pricing-footer
{
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #94A3B8;
}

.pricing-empty
{
    text-align: center;
    padding: 48px 0;
    color: #64748B;
}

/* Pricing Mobile */
@media (max-width: 768px)
{
    .pricing-cards
    {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card,
    .pricing-card--beta
    {
        max-width: 100%;
        min-width: unset;
    }

    .price-value
    {
        font-size: 30px;
    }
}

/* ========================================
   FIM PRICING
   ======================================== */


/* ===================== FAQ ACCORDION ===================== */

.faq-list
{
    max-width: 760px;
    margin: 0 auto;
}

.faq-item
{
    border-bottom: 1px solid var(--color-border);
}

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

.faq-toggle
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: calc(var(--spacing) * 3) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    text-align: left;
    gap: calc(var(--spacing) * 2);
}

.faq-toggle:hover .faq-question
{
    color: var(--color-accent);
}

.faq-question
{
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.2s ease;
    flex: 1;
}

.faq-chevron
{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-text-light);
    transition: transform 0.3s ease, color 0.2s ease;
}

.faq-toggle[aria-expanded="true"] .faq-chevron
{
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-panel
{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-panel-inner
{
    padding: 0 0 calc(var(--spacing) * 3);
}

.faq-answer
{
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
}


/* ===================== CTA SECTION — DARK ===================== */

.cta-section
{
    background: var(--color-dark);
    text-align: center;
    padding: calc(var(--spacing) * 14) 0;
    position: relative;
    overflow: hidden;
}

/* Gradient orb */
.cta-section::before
{
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 60% 60% at 50% 80%, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container
{
    position: relative;
    z-index: 1;
}

.cta-section .heading-1
{
    margin-bottom: calc(var(--spacing) * 2);
    color: var(--color-dark-text);
}

.cta-section .body-large
{
    max-width: 560px;
    margin: 0 auto calc(var(--spacing) * 5);
    color: var(--color-dark-text-muted);
}

.cta-section .btn-primary
{
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.cta-section .btn-primary:hover
{
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.55);
}


/* ===================== SCROLL ANIMATIONS ===================== */

.animate-on-scroll
{
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered delays for grids */
.animate-on-scroll:nth-child(2)
{
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3)
{
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4)
{
    transition-delay: 0.3s;
}


/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px)
{
    .container
    {
        padding: 0 calc(var(--spacing) * 2.5);
    }

    .hero
    {
        padding: calc(var(--spacing) * 10) 0 calc(var(--spacing) * 7);
    }

    section
    {
        padding: calc(var(--spacing) * 8) 0;
    }

    .display
    {
        font-size: clamp(28px, 7vw, 44px);
    }

    .stats
    {
        gap: calc(var(--spacing) * 4);
        margin-top: calc(var(--spacing) * 5);
    }

    .stat-item + .stat-item::before
    {
        display: none;
    }

    .stat-number
    {
        font-size: 40px;
    }

    .grid,
    .grid-2
    {
        grid-template-columns: 1fr;
    }

    .feature-cards
    {
        grid-template-columns: 1fr;
    }

    .btn-group
    {
        flex-direction: column;
    }

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

    .card
    {
        padding: calc(var(--spacing) * 3.5);
    }

    .feature-card
    {
        padding: calc(var(--spacing) * 3.5);
    }

    .hero-video
    {
        margin-top: calc(var(--spacing) * 5);
        border-radius: var(--radius-md);
    }

    .company-name
    {
        font-size: 11px;
    }

    .company-name + .company-name::before
    {
        display: none;
    }

    .cta-section
    {
        padding: calc(var(--spacing) * 10) 0;
    }
}

@media (max-width: 425px)
{
    .hero
    {
        padding: calc(var(--spacing) * 8) 0 calc(var(--spacing) * 6);
    }

    .hero-video
    {
        border-radius: var(--radius-sm);
    }

    .stats
    {
        gap: calc(var(--spacing) * 3);
    }

    .stat-number
    {
        font-size: 32px;
    }
}


/* ===================== REDUCED MOTION ===================== */

@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }

    .animate-on-scroll
    {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .faq-panel
    {
        transition: none;
    }

    .hero::before
    {
        animation: none;
    }

    .hero-video
    {
        animation: none;
    }

    .btn,
    .card,
    .feature-card,
    .feature-card::before,
    .feature-icon,
    .feature-icon svg,
    .faq-chevron,
    .card-inner
    {
        transition: none;
    }
}
