/* =====================================================================
   ViralClips — Homepage Stylesheet
   Design tokens: Canvas / Mist / Ink / Volt (purple) / Sky (blue) / Flare (pink)
   Display: Familjen Grotesk · Body: Plus Jakarta Sans · Data: IBM Plex Mono
   ===================================================================== */

:root {
    --canvas: #FBFAFE;
    --mist: #F2EFFA;
    --mist-2: #EDE9F9;
    --ink: #14101F;
    --ink-soft: #5B5570;
    --ink-faint: #9591A8;
    --volt: #7A5CFA;
    --volt-dark: #5E3EE0;
    --sky: #4C7EFF;
    --flare: #FF4FA0;
    --white: #FFFFFF;

    --gradient-brand: linear-gradient(120deg, var(--volt) 0%, var(--sky) 55%, var(--flare) 100%);
    --gradient-brand-soft: linear-gradient(120deg, rgba(122,92,250,0.12) 0%, rgba(76,126,255,0.12) 55%, rgba(255,79,160,0.12) 100%);
    --gradient-text: linear-gradient(100deg, var(--volt) 0%, var(--sky) 50%, var(--flare) 100%);

    --shadow-sm: 0 2px 8px rgba(20, 16, 31, 0.06);
    --shadow-md: 0 8px 30px rgba(20, 16, 31, 0.08);
    --shadow-lg: 0 24px 60px rgba(20, 16, 31, 0.12);
    --shadow-glow: 0 12px 40px rgba(122, 92, 250, 0.25);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --font-display: 'Familjen Grotesk', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
}

p { margin: 0; color: var(--ink-soft); line-height: 1.65; }

a { color: inherit; text-decoration: none; }

.font-mono { font-family: var(--font-mono); }

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

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
    background: var(--gradient-brand);
    color: var(--white);
    box-shadow: var(--shadow-glow);
    background-size: 160% 160%;
}
.btn-primary:hover {
    box-shadow: 0 16px 46px rgba(122, 92, 250, 0.36);
    transform: translateY(-2px);
    background-position: 100% 0;
}

.btn-ghost {
    background: var(--white);
    color: var(--ink);
    border: 1.5px solid var(--mist-2);
}
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------------------------------------------------------------
   Navbar
   --------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.navbar.is-scrolled {
    background: rgba(251, 250, 254, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(20,16,31,0.06);
    padding: 12px 0;
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.logo-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--gradient-brand);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-glow);
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: color 0.2s ease; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; }

/* ---------------------------------------------------------------
   Language switch (EN / FR)
   --------------------------------------------------------------- */
.lang-switch { display: inline-flex; align-items: center; background: var(--mist); border-radius: var(--radius-pill); padding: 3px; gap: 2px; }
.lang-switch a { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); padding: 5px 11px; border-radius: var(--radius-pill); text-decoration: none; transition: background .2s ease, color .2s ease; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(20,16,31,0.1); }
.mobile-menu .lang-switch { margin: 8px 14px 4px; align-self: flex-start; }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: var(--white);
    margin: 10px 20px 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mobile-menu.is-open { max-height: 320px; }
.mobile-menu a { padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.mobile-menu a:hover { background: var(--mist); }
@media (max-width: 720px) {
    .mobile-menu { display: flex; }
}

/* ---------------------------------------------------------------
   Ambient background blobs
   --------------------------------------------------------------- */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}
.blob-volt { background: var(--volt); }
.blob-sky { background: var(--sky); }
.blob-flare { background: var(--flare); }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.06); }
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 168px 0 100px;
    overflow: hidden;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--volt-dark);
    background: var(--gradient-brand-soft);
    border: 1px solid rgba(122,92,250,0.18);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--flare); animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    margin-top: 20px;
    color: var(--ink);
}
.hero p.lede {
    font-size: 18px;
    max-width: 480px;
    margin-top: 20px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.social-proof { display: flex; align-items: center; gap: 14px; margin-top: 44px; }
.avatar-stack { display: flex; }
.avatar-stack span {
    width: 34px; height: 34px; border-radius: 50%;
    border: 2px solid var(--canvas);
    margin-left: -10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
}
.avatar-stack span:first-child { margin-left: 0; }
.social-proof-text { font-size: 13.5px; color: var(--ink-soft); }
.social-proof-text strong { color: var(--ink); font-family: var(--font-mono); }

/* ---------------------------------------------------------------
   Hero visual — "The Clip Scrubber" mockup (signature element)
   --------------------------------------------------------------- */
.hero-visual { position: relative; z-index: 1; }

.mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 22px;
    position: relative;
    border: 1px solid rgba(20,16,31,0.05);
}
.mockup-topbar { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.mockup-topbar span { width: 9px; height: 9px; border-radius: 50%; background: var(--mist-2); }
.mockup-url {
    margin-left: 10px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink-faint);
    background: var(--mist);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    flex: 1;
}

.player {
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, #1B1530, #2A1E4A 60%, #331B3E);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-play {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.25);
}

.scrubber { margin-top: 16px; }
.scrubber-track {
    position: relative;
    height: 8px;
    background: var(--mist);
    border-radius: var(--radius-pill);
    overflow: visible;
}
.scrubber-fill {
    position: absolute; top: 0; left: 0; height: 100%;
    width: 100%;
    background: var(--mist-2);
    border-radius: var(--radius-pill);
}
.scrubber-segment {
    position: absolute; top: 0; height: 100%;
    left: 38%; width: 22%;
    background: var(--gradient-brand);
    border-radius: var(--radius-pill);
    box-shadow: 0 0 0 4px rgba(122,92,250,0.15);
}
.scrubber-playhead {
    position: absolute; top: 50%; left: 38%;
    width: 14px; height: 14px; margin-left: -7px; margin-top: -7px;
    background: var(--white);
    border: 3px solid var(--volt);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    animation: scrub 3.2s ease-in-out infinite;
}
@keyframes scrub {
    0%, 100% { left: 38%; }
    50% { left: 58%; }
}
.scrubber-labels { display: flex; justify-content: space-between; margin-top: 8px; }
.scrubber-labels span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }

.scrubber-tag {
    position: absolute;
    top: -34px; left: 38%;
    transform: translateX(-10%);
    background: var(--ink);
    color: var(--white);
    font-size: 11px;
    font-family: var(--font-mono);
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
}
.scrubber-tag::after {
    content: '';
    position: absolute; bottom: -4px; left: 18px;
    width: 8px; height: 8px;
    background: var(--ink);
    transform: rotate(45deg);
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 5s ease-in-out infinite;
    border: 1px solid rgba(20,16,31,0.05);
}
.floating-card.card-a { top: -26px; right: -18px; animation-delay: 0.2s; }
.floating-card.card-b { bottom: -22px; left: -24px; animation-delay: 1.1s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.score-badge {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gradient-brand);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-weight: 700; font-size: 13px;
    flex-shrink: 0;
}
.floating-card .fc-title { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.floating-card .fc-sub { font-size: 11px; color: var(--ink-faint); font-family: var(--font-mono); }

/* ---------------------------------------------------------------
   Platform strip
   --------------------------------------------------------------- */
.platform-strip { padding: 36px 0; border-top: 1px solid var(--mist-2); border-bottom: 1px solid var(--mist-2); }
.platform-strip-inner { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.platform-item { display: flex; align-items: center; gap: 10px; color: var(--ink-faint); font-weight: 700; font-size: 14px; opacity: 0.7; transition: opacity 0.2s ease; }
.platform-item:hover { opacity: 1; color: var(--ink); }

/* ---------------------------------------------------------------
   Section scaffolding
   --------------------------------------------------------------- */
section { position: relative; padding: 110px 0; }
.section-head { max-width: 620px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { margin-top: 16px; font-size: 16.5px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------
   Workflow timeline ("Clip Scrubber" motif, reused)
   --------------------------------------------------------------- */
.timeline { position: relative; }
.timeline-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.timeline-track::before {
    content: '';
    position: absolute;
    top: 26px; left: 6%; right: 6%;
    height: 3px;
    background: var(--mist-2);
    border-radius: var(--radius-pill);
}
.timeline-track::after {
    content: '';
    position: absolute;
    top: 26px; left: 6%; width: 88%;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: var(--radius-pill);
    background-size: 300% 100%;
    animation: gradient-scan 6s linear infinite;
}
@keyframes gradient-scan { 0% { background-position: 100% 0; } 100% { background-position: -200% 0; } }

.timeline-node { position: relative; text-align: left; }
.timeline-node .t-time {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--white);
    background: var(--ink);
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    position: relative;
    z-index: 1;
}
.timeline-node .t-dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--volt);
    position: absolute; top: 20px; left: 0;
    z-index: 2;
}
.timeline-node h4 { margin-top: 22px; font-size: 17px; }
.timeline-node p { margin-top: 8px; font-size: 14px; }

/* ---------------------------------------------------------------
   Demo / "paste a link" section
   --------------------------------------------------------------- */
.demo-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.demo-input-row {
    display: flex; align-items: center; gap: 10px;
    background: var(--mist);
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 20px;
}
.demo-input-row .yt-icon { flex-shrink: 0; }
.demo-input-text { flex: 1; font-family: var(--font-mono); font-size: 13.5px; color: var(--ink-soft); overflow: hidden; white-space: nowrap; }
.demo-input-text .caret { display: inline-block; width: 2px; height: 14px; background: var(--volt); margin-left: 2px; vertical-align: middle; animation: caret-blink 1s step-end infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }

.demo-status { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; color: var(--ink-soft); font-family: var(--font-mono); }
.demo-status .ring {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid var(--mist-2);
    border-top-color: var(--volt);
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.result-stack { display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.result-stack.is-visible { opacity: 1; transform: translateY(0); }
.result-card {
    display: flex; align-items: center; gap: 12px;
    background: var(--mist);
    border-radius: var(--radius-md);
    padding: 12px;
    border: 1px solid var(--mist-2);
}
.result-thumb {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--gradient-brand);
    flex-shrink: 0;
}
.result-info { flex: 1; min-width: 0; }
.result-info .r-title { font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-info .r-meta { font-size: 11.5px; color: var(--ink-faint); font-family: var(--font-mono); margin-top: 2px; }
.result-score { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--volt-dark); background: var(--white); padding: 4px 10px; border-radius: var(--radius-pill); flex-shrink: 0; }

/* ---------------------------------------------------------------
   Feature grid
   --------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--white);
    border: 1px solid var(--mist-2);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon {
    width: 46px; height: 46px; border-radius: 14px;
    background: var(--gradient-brand-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; }

/* ---------------------------------------------------------------
   Viral score explainer
   --------------------------------------------------------------- */
.score-explainer {
    background: var(--mist);
    border-radius: var(--radius-lg);
    padding: 56px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
}
.gauge-wrap { display: flex; align-items: center; justify-content: center; position: relative; }
.gauge-value {
    position: absolute;
    text-align: center;
}
.gauge-value .num { font-family: var(--font-mono); font-size: 42px; font-weight: 700; color: var(--ink); display: block; }
.gauge-value .lbl { font-size: 12px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }

.score-factors { display: flex; flex-direction: column; gap: 20px; }
.score-factor { }
.score-factor-head { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.score-factor-head span.val { font-family: var(--font-mono); color: var(--volt-dark); }
.score-bar { height: 8px; border-radius: var(--radius-pill); background: var(--white); overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: var(--radius-pill); background: var(--gradient-brand); width: 0; transition: width 1.2s cubic-bezier(0.16,1,0.3,1); }

/* ---------------------------------------------------------------
   Pricing
   --------------------------------------------------------------- */
.billing-toggle {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin: 0 auto 48px;
}
.billing-toggle span { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.billing-toggle span.active { color: var(--ink); }
.toggle-switch {
    width: 48px; height: 28px; border-radius: var(--radius-pill);
    background: var(--mist-2);
    position: relative; cursor: pointer; border: none;
}
.toggle-switch::after {
    content: '';
    position: absolute; top: 3px; left: 3px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease;
}
.toggle-switch.is-yearly { background: var(--gradient-brand); }
.toggle-switch.is-yearly::after { transform: translateX(20px); }
.save-chip { font-family: var(--font-mono); font-size: 11px; background: var(--gradient-brand-soft); color: var(--volt-dark); padding: 3px 9px; border-radius: var(--radius-pill); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.price-card {
    background: var(--white);
    border: 1.5px solid var(--mist-2);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.is-popular {
    border: none;
    background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient-brand) border-box;
    border: 2px solid transparent;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.popular-chip {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-brand);
    color: var(--white);
    font-size: 11px; font-weight: 700;
    padding: 5px 14px; border-radius: var(--radius-pill);
}
.price-plan-name { font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.price-amount { font-family: var(--font-display); font-size: 40px; margin-top: 10px; }
.price-amount .cadence { font-family: var(--font-body); font-size: 14px; color: var(--ink-faint); font-weight: 600; }
.price-desc { font-size: 13.5px; margin-top: 8px; min-height: 36px; }
.price-features { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.price-features li svg { flex-shrink: 0; margin-top: 2px; }

/* ---------------------------------------------------------------
   Testimonials
   --------------------------------------------------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--mist-2);
    border-radius: var(--radius-md);
    padding: 28px;
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-card p.quote { color: var(--ink); font-size: 15px; line-height: 1.6; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.t-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--white);
}
.t-name { font-size: 13.5px; font-weight: 700; }
.t-role { font-size: 12px; color: var(--ink-faint); }

/* ---------------------------------------------------------------
   FAQ
   --------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; font-family: var(--font-body); font-size: 15.5px; font-weight: 700; color: var(--ink);
}
.faq-icon { flex-shrink: 0; transition: transform 0.3s ease; color: var(--volt); }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 24px 22px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------------------------------------------------------------
   Final CTA
   --------------------------------------------------------------- */
.cta-band {
    background: var(--ink);
    border-radius: var(--radius-lg);
    padding: 72px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band h2 { color: var(--white); font-size: clamp(28px, 4vw, 42px); max-width: 640px; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,0.65); margin-top: 16px; }
.cta-band .btn-primary { margin-top: 32px; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
footer { padding: 72px 0 32px; border-top: 1px solid var(--mist-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 56px; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 260px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--ink-soft); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--volt); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--mist-2); font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; gap: 12px; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; background: var(--mist); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: background 0.2s ease, color 0.2s ease; }
.social-row a:hover { background: var(--volt); color: var(--white); }

/* ---------------------------------------------------------------
   Counters
   --------------------------------------------------------------- */
.stat-row { display: flex; justify-content: center; gap: 64px; margin-top: 56px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-mono); font-size: 34px; font-weight: 700; color: var(--ink); }
.stat .lbl { font-size: 13px; color: var(--ink-faint); margin-top: 6px; }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 480px; margin: 0 auto; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .score-explainer { grid-template-columns: 1fr; }
    .demo-panel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding: 128px 0 72px; }
    .timeline-track { grid-template-columns: 1fr; gap: 36px; }
    .timeline-track::before, .timeline-track::after { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .stat-row { gap: 36px; }
    section { padding: 76px 0; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
