/* ═══════════════════════════════════════════════════════════════════════
   FLASHRACER LANDING — F1 Telemetry × Fintech Premium
   Midnight navy base, electric orange, cyan accent, diagonal velocity
   Fonts: Syne (display), Outfit (body), JetBrains Mono (data)
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    /* Core Palette */
    --midnight: #0a0e1a;
    --navy: #0f1629;
    --slate: #161d33;
    --steel: #1e2744;

    --fire: #FF6B00;
    --fire-light: #FF9E44;
    --fire-glow: rgba(255, 107, 0, 0.4);
    --fire-soft: rgba(255, 107, 0, 0.08);

    --cyan: #00E5FF;
    --cyan-glow: rgba(0, 229, 255, 0.3);
    --cyan-soft: rgba(0, 229, 255, 0.07);

    --white: #f0f2f8;
    --gray-1: #c0c7d6;
    --gray-2: #959db0;
    --gray-3: #555e73;
    --gray-4: #343c50;

    --border: rgba(255, 255, 255, 0.06);
    --border-h: rgba(255, 255, 255, 0.12);

    --green: #00E676;
    --amber: #FFB300;
    --red: #FF3D3D;

    /* Type */
    --display: 'Syne', sans-serif;
    --body: 'Outfit', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;

    /* Layout */
    --wrap: 1200px;
    --section-pad: clamp(3.5rem, 7vw, 5.5rem);
    --r: 16px;
    --r-lg: 24px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--body);
    background: var(--midnight);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 600; }
em { font-style: normal; color: var(--fire); }

/* === UTILITY === */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.wrap--narrow { max-width: 800px; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* Section headers */
.sect-hdr { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sect-hdr__tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--cyan);
    background: var(--cyan-soft);
    border: 1px solid rgba(0,229,255,.15);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.sect-hdr__title {
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: .75rem;
}
.sect-hdr__desc {
    font-size: clamp(.95rem, 2vw, 1.1rem);
    color: var(--gray-2);
    max-width: 520px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════ */
.hdr {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 14, 26, .6);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}
.hdr.scrolled { background: rgba(10, 14, 26, .92); }
.hdr__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}

/* Logo */
.hdr__logo { display: flex; align-items: center; gap: 10px; z-index: 10; }
.hdr__logo-mark {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--fire-soft);
    border: 1px solid rgba(255,107,0,.2);
    border-radius: 10px;
}
.hdr__logo-text {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: .06em;
    color: var(--gray-1);
}
.hdr__logo-accent { color: var(--fire); }

/* Nav */
.hdr__nav { display: flex; gap: 2rem; }
.hdr__link {
    font-size: .875rem; font-weight: 500; color: var(--gray-2);
    transition: color .2s;
}
.hdr__link:hover { color: var(--white); }

/* CTA */
.hdr__cta {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--body); font-size: .85rem; font-weight: 600;
    color: var(--midnight);
    background: linear-gradient(135deg, var(--fire), var(--fire-light));
    padding: 10px 22px; border-radius: 10px;
    box-shadow: 0 2px 16px var(--fire-glow);
    transition: transform .25s, box-shadow .25s;
}
.hdr__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,0,.5);
}

/* Burger */
.hdr__burger {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 6px; z-index: 10;
}
.hdr__burger span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.hdr__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__burger.open span:nth-child(2) { opacity: 0; }
.hdr__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mob-menu {
    display: none; position: fixed; inset: 72px 0 0 0;
    background: rgba(10,14,26,.97); backdrop-filter: blur(24px);
    padding: 2rem; z-index: 99;
    opacity: 0; transform: translateY(-12px);
    transition: opacity .3s, transform .3s; pointer-events: none;
}
.mob-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mob-menu__nav { display: flex; flex-direction: column; gap: .25rem; }
.mob-menu__link {
    display: block; padding: 16px 0; font-size: 1.1rem; font-weight: 600;
    color: var(--gray-2); border-bottom: 1px solid var(--border);
    transition: color .2s;
}
.mob-menu__link:hover { color: var(--white); }
.mob-menu__cta {
    display: block; margin-top: 1.5rem; text-align: center;
    background: linear-gradient(135deg, var(--fire), var(--fire-light));
    color: var(--midnight); font-weight: 700; padding: 16px; border-radius: 12px;
}

@media (max-width: 768px) {
    .hdr__nav, .hdr__cta { display: none; }
    .hdr__burger { display: flex; }
    .mob-menu { display: block; }
    .hdr__inner { height: 64px; }
    .mob-menu { top: 64px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--body); font-weight: 600; font-size: .95rem;
    border: none; cursor: pointer; border-radius: 12px; padding: 15px 30px;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
    white-space: nowrap; text-decoration: none;
}
.btn--fire {
    background: linear-gradient(135deg, var(--fire), var(--fire-light));
    color: var(--midnight);
    box-shadow: 0 4px 24px var(--fire-glow), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--fire:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(255,107,0,.5), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--glass {
    background: rgba(255,255,255,.04);
    color: var(--gray-1);
    border: 1px solid var(--border-h);
    backdrop-filter: blur(8px);
}
.btn--glass:hover {
    border-color: var(--fire);
    color: var(--fire-light);
    background: var(--fire-soft);
}
.btn--lg { padding: 18px 36px; font-size: 1.05rem; border-radius: 14px; }

/* ═══════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
    padding: 72px 0 0;
}

/* Aurora background */
.hero__aurora {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 30% 20%, rgba(255,107,0,.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 70% 60%, rgba(0,229,255,.08) 0%, transparent 50%),
        radial-gradient(ellipse 80% 40% at 50% 80%, rgba(255,107,0,.06) 0%, transparent 60%);
    animation: aurora-shift 12s ease-in-out infinite alternate;
}
@keyframes aurora-shift {
    0% { opacity: .7; filter: hue-rotate(0deg); }
    100% { opacity: 1; filter: hue-rotate(15deg); }
}

/* Dot grid */
.hero__dots {
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 0%, transparent 80%);
}

/* Horizontal floating particles */
.hero__particles {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero__particle {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    opacity: 0.5;
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

/* Orange particles - move left to right */
.hero__particle:nth-child(1) { top: 15%; left: -5%; color: var(--fire); background: var(--fire); animation: drift-right 18s linear infinite; }
.hero__particle:nth-child(2) { top: 35%; left: -5%; color: var(--fire-light); background: var(--fire-light); animation: drift-right 22s linear infinite; animation-delay: -5s; }
.hero__particle:nth-child(3) { top: 55%; left: -5%; color: var(--fire); background: var(--fire); animation: drift-right 25s linear infinite; animation-delay: -12s; }
.hero__particle:nth-child(4) { top: 75%; left: -5%; color: var(--fire-light); background: var(--fire-light); animation: drift-right 20s linear infinite; animation-delay: -8s; }
.hero__particle:nth-child(5) { top: 90%; left: -5%; color: var(--fire); background: var(--fire); animation: drift-right 28s linear infinite; animation-delay: -3s; }

/* Cyan particles - move right to left */
.hero__particle:nth-child(6) { top: 20%; right: -5%; left: auto; color: var(--cyan); background: var(--cyan); animation: drift-left 20s linear infinite; }
.hero__particle:nth-child(7) { top: 40%; right: -5%; left: auto; color: var(--cyan); background: var(--cyan); animation: drift-left 24s linear infinite; animation-delay: -7s; }
.hero__particle:nth-child(8) { top: 60%; right: -5%; left: auto; color: var(--cyan); background: var(--cyan); animation: drift-left 19s linear infinite; animation-delay: -14s; }
.hero__particle:nth-child(9) { top: 80%; right: -5%; left: auto; color: var(--cyan); background: var(--cyan); animation: drift-left 26s linear infinite; animation-delay: -2s; }
.hero__particle:nth-child(10) { top: 45%; right: -5%; left: auto; color: var(--cyan); background: var(--cyan); animation: drift-left 22s linear infinite; animation-delay: -10s; }

@keyframes drift-right {
    0% { transform: translateX(0); opacity: 0; }
    5% { opacity: 0.6; }
    95% { opacity: 0.6; }
    100% { transform: translateX(110vw); opacity: 0; }
}

@keyframes drift-left {
    0% { transform: translateX(0); opacity: 0; }
    5% { opacity: 0.6; }
    95% { opacity: 0.6; }
    100% { transform: translateX(-110vw); opacity: 0; }
}

.hero__content {
    position: relative; z-index: 2;
    max-width: 800px; margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* Pill */
.hero__pill {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: .72rem; font-weight: 600;
    letter-spacing: .1em; color: var(--cyan);
    background: var(--cyan-soft);
    border: 1px solid rgba(0,229,255,.15);
    padding: 8px 20px; border-radius: 100px;
    margin-bottom: 2rem;
}
.hero__pill-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(0,230,118,.6);
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; } 50% { opacity: .4; }
}

/* Heading */
.hero__h1 {
    font-family: var(--display);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}
.hero__h1-accent {
    background: linear-gradient(135deg, var(--fire), var(--fire-light), var(--cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    color: var(--gray-2);
    max-width: 560px; margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex; align-items: center; justify-content: center;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}

/* Telegram CTA */
.hero__telegram {
    display: inline-flex; align-items: center; gap: .75rem;
    color: #4FC3F7; font-family: var(--ff-body); font-size: 1.05rem; font-weight: 600;
    text-decoration: none; padding: .85rem 1.6rem;
    border-radius: 999px; border: 1px solid rgba(41,182,246,.35);
    background: rgba(41,182,246,.12);
    box-shadow: 0 0 20px rgba(41,182,246,.1), inset 0 1px 0 rgba(41,182,246,.15);
    transition: all .3s ease; margin-bottom: 3rem;
}
.hero__telegram:hover {
    background: rgba(41,182,246,.2); border-color: rgba(41,182,246,.6);
    color: #81D4FA; transform: translateY(-2px);
    box-shadow: 0 4px 28px rgba(41,182,246,.3), inset 0 1px 0 rgba(41,182,246,.2);
}
.hero__telegram-arrow {
    transition: transform .3s ease;
}
.hero__telegram:hover .hero__telegram-arrow {
    transform: translateX(3px);
}

/* Metrics bar */
.hero__metrics {
    display: flex; align-items: center; justify-content: center;
    gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap;
}
.hero__metric { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero__metric-val {
    font-family: var(--mono); font-size: 1.6rem; font-weight: 700; color: var(--white);
}
.hero__metric-val small { font-size: .65em; color: var(--gray-2); }
.hero__metric-label {
    font-size: .7rem; font-weight: 600; color: var(--gray-3);
    text-transform: uppercase; letter-spacing: .1em;
}
.hero__metric-sep {
    width: 1px; height: 44px;
    background: linear-gradient(180deg, transparent, var(--gray-4), transparent);
}
@media (max-width: 640px) {
    .hero__metric-sep { display: none; }
    .hero__metrics { gap: 1.5rem; }
    .hero__metric { min-width: 110px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   SOCIAL PROOF STRIP
   ═══════════════════════════════════════════════════════════════════════ */
.proof {
    background: var(--midnight);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
}
.proof__strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    flex-wrap: wrap;
}
.proof__item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.proof__icon {
    color: var(--gray-3);
    flex-shrink: 0;
}
.proof__label {
    font-size: .82rem;
    font-weight: 500;
    color: var(--gray-2);
    letter-spacing: .01em;
}
.proof__sep {
    width: 1px;
    height: 24px;
    background: var(--gray-4);
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .proof__strip { gap: 1rem; }
    .proof__sep { display: none; }
    .proof__item { flex: 0 0 calc(50% - .5rem); justify-content: center; }
}
@media (max-width: 480px) {
    .proof__item { flex: 0 0 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════════════ */
.features {
    background: var(--midnight);
    padding: var(--section-pad) 0;
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.fcard {
    background: linear-gradient(165deg, rgba(15,22,41,.8), rgba(30,39,68,.4));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
    transition: border-color .3s, transform .3s, box-shadow .3s;
}
.fcard::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--fire), var(--cyan));
    opacity: 0; transition: opacity .3s;
}
.fcard:hover {
    border-color: var(--border-h);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 30px rgba(255,107,0,.06);
}
.fcard:hover::after { opacity: 1; }

.fcard__icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px; margin-bottom: 1.25rem;
    position: relative;
}
.fcard__icon--orange {
    background: var(--fire-soft); border: 1px solid rgba(255,107,0,.15);
    color: var(--fire);
}
.fcard__icon--cyan {
    background: var(--cyan-soft); border: 1px solid rgba(0,229,255,.15);
    color: var(--cyan);
}
/* Subtle glow behind icon on hover */
.fcard:hover .fcard__icon--orange {
    box-shadow: 0 0 20px rgba(255,107,0,.2);
}
.fcard:hover .fcard__icon--cyan {
    box-shadow: 0 0 20px rgba(0,229,255,.15);
}

.fcard__title {
    font-family: var(--display); font-size: 1.1rem; font-weight: 700;
    margin-bottom: .5rem;
}
.fcard__desc { font-size: .88rem; color: var(--gray-2); line-height: 1.7; }

@media (max-width: 1024px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features__grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════════
   HOW IT WORKS — Horizontal Card Grid
   ═══════════════════════════════════════════════════════════════════════ */
.how {
    background: var(--navy);
    padding: var(--section-pad) 0;
}
.how__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.how__card {
    flex: 1;
    max-width: 260px;
    background: linear-gradient(165deg, rgba(15,22,41,.7), rgba(30,39,68,.35));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    text-align: center;
    transition: border-color .3s, transform .3s, box-shadow .3s;
}
.how__card:hover {
    border-color: rgba(255,107,0,.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.how__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--fire);
    background: var(--fire-soft); border: 1px solid rgba(255,107,0,.2);
    border-radius: 12px;
    margin-bottom: .75rem;
}
.how__icon {
    display: block;
    margin: 0 auto .75rem;
    color: var(--cyan);
}
.how__title {
    font-family: var(--display); font-size: 1rem; font-weight: 700;
    margin-bottom: .35rem;
}
.how__desc { font-size: .82rem; color: var(--gray-2); line-height: 1.65; }

/* Arrow connector between cards */
.how__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    color: var(--gray-4);
    padding-top: 2.5rem;
}

@media (max-width: 900px) {
    .how__grid {
        flex-direction: column;
        align-items: center;
        gap: .75rem;
    }
    .how__card { max-width: 400px; width: 100%; }
    .how__arrow {
        transform: rotate(90deg);
        width: auto;
        padding-top: 0;
    }
}

/* Legacy vertical layout classes (unused but kept for compat) */
.how__steps { display: none; }
.how__step { display: none; }
.how__line { display: none; }

/* ═══════════════════════════════════════════════════════════════════════
   PRICING — 3×2 Grid
   ═══════════════════════════════════════════════════════════════════════ */
.pricing {
    background: var(--navy);
    padding: var(--section-pad) 0;
}
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.pcard {
    background: linear-gradient(170deg, rgba(10,14,26,.9), rgba(22,29,51,.5));
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.5rem 1.25rem;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
}
.pcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.5);
}

/* Featured */
.pcard--hot {
    border-color: var(--fire);
    box-shadow: 0 0 40px rgba(255,107,0,.1), inset 0 0 40px rgba(255,107,0,.02);
    z-index: 2;
}

/* Saturday Stream — green */
.pcard--green {
    border-color: var(--green);
    box-shadow: 0 0 40px rgba(0,230,118,.08), inset 0 0 40px rgba(0,230,118,.02);
    background: linear-gradient(170deg, rgba(10,14,26,.9), rgba(15,35,25,.3));
}
.pcard--green .pcard__btn--fire {
    background: linear-gradient(135deg, var(--green), #4CAF50);
    box-shadow: 0 4px 20px rgba(0,230,118,.3);
}
.pcard--green .pcard__btn--fire:hover {
    box-shadow: 0 6px 28px rgba(0,230,118,.45);
    background: linear-gradient(135deg, #4CAF50, var(--green));
}
/* Weekly — cyan */
.pcard--cyan {
    border-color: var(--cyan);
    box-shadow: 0 0 40px rgba(0,229,255,.08), inset 0 0 40px rgba(0,229,255,.02);
    background: linear-gradient(170deg, rgba(10,14,26,.9), rgba(15,25,35,.3));
}
.pcard--cyan .pcard__btn--fire {
    background: linear-gradient(135deg, var(--cyan), #00B8D4);
    box-shadow: 0 4px 20px rgba(0,229,255,.3);
}
.pcard--cyan .pcard__btn--fire:hover {
    box-shadow: 0 6px 28px rgba(0,229,255,.45);
    background: linear-gradient(135deg, #00B8D4, var(--cyan));
}
/* Lifetime */
.pcard--legend {
    border-color: rgba(255,179,0,.3);
    background: linear-gradient(170deg, rgba(10,14,26,.9), rgba(40,35,20,.3));
}

/* Badge */
.pcard__badge {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--fire), var(--fire-light));
    color: var(--midnight); font-family: var(--mono);
    font-size: .55rem; font-weight: 800; letter-spacing: .14em;
    padding: 4px 14px; border-radius: 0 0 8px 8px;
}
.pcard__badge--gold {
    background: linear-gradient(135deg, #FFB300, #FFD54F);
}
.pcard__badge--green {
    background: linear-gradient(135deg, var(--green), #4CAF50);
}
.pcard__badge--cyan {
    background: linear-gradient(135deg, var(--cyan), #00B8D4);
}

.pcard__head { margin-bottom: 1rem; }
.pcard__name {
    display: block; font-size: .8rem; font-weight: 500;
    color: var(--gray-2); margin-bottom: .35rem;
}
.pcard__price {
    font-family: var(--display); font-size: 2.25rem; font-weight: 800;
    letter-spacing: -.03em; line-height: 1;
    margin-bottom: 2px;
}
.pcard__period { font-size: .75rem; color: var(--gray-3); }
.pcard__save {
    display: inline-block; margin-top: 6px;
    font-family: var(--mono); font-size: .6rem; font-weight: 700;
    color: var(--green);
    background: rgba(0,230,118,.08);
    border: 1px solid rgba(0,230,118,.2);
    padding: 2px 8px; border-radius: 100px;
}

.pcard__list {
    flex: 1; display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 1.25rem;
}
.pcard__list li {
    font-size: .78rem; color: var(--gray-2);
    padding-left: 18px; position: relative;
}
.pcard__list li::before {
    content: '\2713'; position: absolute; left: 0;
    color: var(--green); font-weight: 700; font-size: .7rem;
}

.pcard__btn {
    display: block; text-align: center; width: 100%;
    font-family: var(--body); font-weight: 600; font-size: .82rem;
    color: var(--gray-1); padding: 11px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-h);
    border-radius: 10px;
    transition: background .25s, border-color .25s, color .25s;
}
.pcard__btn:hover {
    border-color: var(--fire);
    color: var(--fire-light);
    background: var(--fire-soft);
}
.pcard__btn--fire {
    background: linear-gradient(135deg, var(--fire), var(--fire-light));
    color: var(--midnight); border-color: transparent;
    box-shadow: 0 4px 20px var(--fire-glow);
}
.pcard__btn--fire:hover {
    box-shadow: 0 6px 28px rgba(255,107,0,.5);
    border-color: transparent;
    color: var(--midnight);
    background: linear-gradient(135deg, var(--fire-light), var(--fire));
}

@media (max-width: 900px) {
    .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .pricing__grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}

.pricing__bulk {
    text-align: center; font-size: .88rem; color: var(--gray-2);
}
.pricing__bulk a {
    color: var(--fire); font-weight: 600;
    border-bottom: 1px solid rgba(255,107,0,.3);
    transition: border-color .2s;
}
.pricing__bulk a:hover { border-color: var(--fire); }

/* ═══════════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════════ */
.faq {
    background: var(--midnight);
    padding: var(--section-pad) 0;
}
.faq__list {
    display: flex; flex-direction: column; gap: .75rem;
}
.faq__item {
    background: linear-gradient(165deg, rgba(15,22,41,.8), rgba(30,39,68,.4));
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .3s;
}
.faq__item[open] { border-color: var(--border-h); }

.faq__item summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-family: var(--display); font-weight: 600; font-size: .95rem;
    cursor: pointer; color: var(--white);
    list-style: none; transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { display: none; content: ''; }
.faq__item summary::after {
    content: '+'; font-family: var(--mono); font-size: 1.3rem;
    color: var(--gray-3); transition: transform .3s, color .3s;
    flex-shrink: 0; margin-left: 1rem;
}
.faq__item[open] summary::after { content: '\2212'; color: var(--fire); }
.faq__item summary:hover { color: var(--fire-light); }

.faq__body { padding: 0 1.5rem 1.25rem; }
.faq__body p { font-size: .88rem; color: var(--gray-2); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════════════════
   FINAL CTA — Enhanced
   ═══════════════════════════════════════════════════════════════════════ */
.endcta {
    padding: var(--section-pad) 0;
    background: var(--navy);
    position: relative; overflow: hidden;
}
.endcta__glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse, rgba(255,107,0,.15) 0%, transparent 55%);
    pointer-events: none;
    animation: cta-pulse 4s ease-in-out infinite alternate;
}
@keyframes cta-pulse {
    0% { opacity: .6; transform: translate(-50%, -50%) scale(.95); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}
.endcta__box {
    text-align: center; position: relative; z-index: 2;
    background: linear-gradient(165deg, rgba(15,22,41,.7), rgba(30,39,68,.3));
    border: 1px solid var(--border-h);
    border-radius: var(--r-lg);
    padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 3rem);
}
.endcta__box::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--fire), var(--cyan), transparent);
}
.endcta__title {
    font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800; letter-spacing: -.03em; margin-bottom: .75rem;
}
.endcta__accent { color: var(--fire); }
.endcta__sub {
    color: var(--gray-2); font-size: 1.05rem; margin-bottom: 2rem;
}
.endcta__trust {
    display: flex; align-items: center; justify-content: center;
    gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem;
    font-size: .78rem; color: var(--gray-3); font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.foot {
    background: var(--midnight);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}
.foot__grid {
    display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 3rem;
}
.foot__tagline { color: var(--gray-3); font-size: .85rem; margin-top: .75rem; }
.foot__col { display: flex; flex-direction: column; gap: .6rem; }
.foot__col h4 {
    font-family: var(--display); font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--gray-2); margin-bottom: .5rem;
}
.foot__col a {
    font-size: .82rem; color: var(--gray-3); transition: color .2s;
}
.foot__col a:hover { color: var(--fire); }

.foot__bottom {
    margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: .72rem; color: var(--gray-3);
}

@media (max-width: 768px) {
    .foot__grid { grid-template-columns: 1fr 1fr; }
    .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════════
   GUIDE PAGE
   ═══════════════════════════════════════════════════════════════════════ */

/* Active nav link */
.hdr__link--active { color: var(--fire); }

/* Compact hero */
.guide-hero {
    padding: 120px 0 3rem;
    background: var(--midnight);
    position: relative;
}
.guide-hero__back {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--gray-2); font-size: .9rem; margin-bottom: 1.5rem;
    transition: color .2s;
}
.guide-hero__back:hover { color: var(--fire); }
.guide-hero__pill {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: .72rem; font-weight: 600;
    letter-spacing: .1em; color: var(--cyan);
    background: var(--cyan-soft);
    border: 1px solid rgba(0,229,255,.15);
    padding: 8px 20px; border-radius: 100px;
    margin-bottom: 1.5rem;
}
.guide-hero__title {
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800; letter-spacing: -.03em;
    line-height: 1.1; margin-bottom: .75rem;
}
.guide-hero__sub {
    font-size: clamp(.95rem, 2vw, 1.1rem);
    color: var(--gray-2); max-width: 560px; line-height: 1.7;
}

/* Two-column layout */
.guide {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    padding-bottom: var(--section-pad);
}
.guide__sidebar {
    position: sticky; top: 88px;
    align-self: start;
}
.guide__content { min-width: 0; }

/* Table of contents */
.toc {
    background: linear-gradient(165deg, rgba(15,22,41,.8), rgba(30,39,68,.4));
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.25rem;
}
.toc__heading {
    font-family: var(--display); font-size: .65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--gray-3); margin-bottom: 1rem;
}
.toc__link {
    display: block; padding: 7px 12px; font-size: .78rem;
    color: var(--gray-3); border-left: 2px solid var(--border);
    transition: color .2s, border-color .2s;
    margin-bottom: 2px;
}
.toc__link:hover { color: var(--gray-1); border-left-color: var(--gray-3); }
.toc__link--active { color: var(--fire); border-left-color: var(--fire); }

/* Mobile TOC dropdown */
.guide__mobile-toc {
    display: none;
    margin-bottom: 2rem;
}
.guide__mobile-toc select {
    width: 100%; padding: 12px 16px;
    font-family: var(--body); font-size: .88rem;
    color: var(--gray-1); background: var(--slate);
    border: 1px solid var(--border-h); border-radius: var(--r);
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238891a5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
}

/* Prerequisites */
.guide-prereq {
    margin-bottom: 3rem; padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
.guide__heading {
    font-family: var(--display); font-size: 1.4rem; font-weight: 800;
    letter-spacing: -.02em; margin-bottom: 1.25rem;
}
.guide-prereq__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.guide-prereq__item {
    display: flex; align-items: flex-start; gap: 14px;
    background: linear-gradient(165deg, rgba(15,22,41,.7), rgba(30,39,68,.35));
    border: 1px solid var(--border); border-radius: var(--r);
    padding: 1.25rem;
}
.guide-prereq__icon {
    width: 42px; height: 42px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}
.guide-prereq__icon--orange { background: var(--fire-soft); border: 1px solid rgba(255,107,0,.15); color: var(--fire); }
.guide-prereq__icon--cyan { background: var(--cyan-soft); border: 1px solid rgba(0,229,255,.15); color: var(--cyan); }
.guide-prereq__title { font-size: .88rem; font-weight: 600; margin-bottom: .25rem; }
.guide-prereq__desc { font-size: .78rem; color: var(--gray-2); line-height: 1.6; }

/* Steps */
.guide-step {
    padding-bottom: 2.5rem; margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}
.guide-step:last-of-type { border-bottom: none; }
.guide-step__header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 1.25rem;
}
.guide-step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex-shrink: 0;
    font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--fire);
    background: var(--fire-soft); border: 1px solid rgba(255,107,0,.2);
    border-radius: 12px;
}
.guide-step__title {
    font-family: var(--display); font-size: 1.2rem; font-weight: 700;
}
.guide-step__est {
    font-family: var(--mono); font-size: .65rem; font-weight: 600;
    color: var(--gray-3); margin-top: 2px;
}
.guide-step__body { padding-left: 60px; }
.guide-step__body p { font-size: .9rem; color: var(--gray-2); line-height: 1.75; margin-bottom: 1rem; }
.guide-step__subtitle {
    font-family: var(--display); font-size: 1rem; font-weight: 700;
    color: var(--gray-1); margin: 1.75rem 0 .75rem; letter-spacing: -.01em;
}
.guide-step__body code {
    font-family: var(--mono); font-size: .82rem;
    background: rgba(255,255,255,.06); padding: 2px 8px;
    border-radius: 6px; color: var(--cyan);
}

/* Step ordered list */
.guide-step__list {
    margin: 1rem 0; padding-left: 1.25rem;
    counter-reset: step-counter;
}
.guide-step__list li {
    font-size: .88rem; color: var(--gray-2); line-height: 1.75;
    margin-bottom: .35rem; position: relative;
    list-style: decimal;
}
.guide-step__list li::marker { color: var(--fire); font-weight: 600; }

/* Step CTA button */
.guide-step__cta {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 1rem 0;
}

/* Placeholder images */
.guide-step__placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 200px; margin: 1.5rem 0;
    border: 2px dashed var(--border-h); border-radius: var(--r);
    background: rgba(255,255,255,.015);
    color: var(--gray-3); text-align: center; padding: 2rem;
}
.guide-step__placeholder svg { margin-bottom: .75rem; opacity: .4; }
.guide-step__placeholder span { font-size: .82rem; font-weight: 500; }
.guide-step__placeholder small { font-size: .7rem; color: var(--gray-4); margin-top: .5rem; }

/* Real screenshots (when added later) */
.guide-step__screenshot {
    width: 100%; height: auto; border-radius: var(--r);
    border: 1px solid var(--border); margin: 1.5rem 0;
}

/* YouTube video embed */
.guide-step__video { margin: 1.5rem 0; }
.guide-step__video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: var(--r); border: 1px solid var(--border);
    background: var(--slate);
}
.guide-step__video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}
.guide-step__video-caption {
    font-size: .75rem; color: var(--gray-3); margin-top: .75rem;
    text-align: center;
}

/* Browser tabs */
.guide-tabs { margin: 1.25rem 0; }
.guide-tabs__bar {
    display: flex; gap: .5rem; margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: .5rem;
}
.guide-tabs__btn {
    font-family: var(--body); font-size: .82rem; font-weight: 600;
    color: var(--gray-3); background: none; border: none;
    padding: 8px 16px; cursor: pointer; border-radius: 8px;
    transition: color .2s, background .2s;
}
.guide-tabs__btn:hover { color: var(--gray-1); background: rgba(255,255,255,.04); }
.guide-tabs__btn--active {
    color: var(--fire); background: var(--fire-soft);
}
.guide-tabs__panel { display: none; }
.guide-tabs__panel--active { display: block; }

/* Link cards (for extension store links) */
.guide-link-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(165deg, rgba(15,22,41,.7), rgba(30,39,68,.35));
    border: 1px solid var(--border-h); border-radius: var(--r);
    font-size: .88rem; font-weight: 600; color: var(--gray-1);
    transition: border-color .25s, background .25s;
    margin-bottom: .75rem;
}
.guide-link-card:hover {
    border-color: var(--fire); background: var(--fire-soft); color: var(--fire-light);
}
.guide-link-card svg { flex-shrink: 0; }

/* Alert boxes */
.guide-alert {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 18px; border-radius: var(--r);
    font-size: .82rem; line-height: 1.65; margin: 1.25rem 0;
    border-left: 3px solid;
}
.guide-alert svg { flex-shrink: 0; margin-top: 2px; }
.guide-alert--info {
    background: var(--cyan-soft); border-left-color: var(--cyan); color: var(--gray-1);
}
.guide-alert--warning {
    background: rgba(255,179,0,.06); border-left-color: var(--amber); color: var(--gray-1);
}
.guide-alert--success {
    background: rgba(0,230,118,.06); border-left-color: var(--green); color: var(--gray-1);
}

/* Troubleshooting */
.guide-trouble { margin-top: 2rem; }

/* ── Phase container & header ── */
.guide-phase {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
.guide-phase:last-of-type { border-bottom: none; }
.guide-phase__header { margin-bottom: 2rem; }
.guide-phase__badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: .6rem; font-weight: 800;
    letter-spacing: .16em;
    padding: 5px 14px; border-radius: 100px;
    margin-bottom: 1rem;
}
.guide-phase__badge--cyan {
    color: var(--cyan); background: var(--cyan-soft);
    border: 1px solid rgba(0,229,255,.15);
}
.guide-phase__badge--fire {
    color: var(--fire); background: var(--fire-soft);
    border: 1px solid rgba(255,107,0,.15);
}
.guide-phase__title {
    font-family: var(--display);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800; letter-spacing: -.03em;
    line-height: 1.1; margin-bottom: .5rem;
}
.guide-phase__desc {
    font-size: .92rem; color: var(--gray-2);
    line-height: 1.7; max-width: 540px;
}

/* ── Inline prerequisites ── */
.guide-phase__prereqs {
    display: flex; gap: 1.25rem; flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.guide-phase__prereq {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .78rem; color: var(--gray-3); font-weight: 500;
}
.guide-phase__prereq svg { color: var(--cyan); flex-shrink: 0; }

/* ── Phase cards (2-up) ── */
.guide-phase__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.guide-phase__card {
    background: linear-gradient(165deg, rgba(15,22,41,.7), rgba(30,39,68,.35));
    border: 1px solid var(--border); border-radius: var(--r-lg, 16px);
    padding: clamp(1.5rem, 3vw, 2rem);
}
.guide-phase__card-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    font-family: var(--mono); font-size: .75rem; font-weight: 700;
    color: var(--cyan); background: var(--cyan-soft);
    border: 1px solid rgba(0,229,255,.15);
    border-radius: 10px; margin-bottom: .75rem;
}
.guide-phase__card-title {
    font-family: var(--display);
    font-size: 1.05rem; font-weight: 700;
    margin-bottom: .5rem;
}
.guide-phase__card p {
    font-size: .88rem; color: var(--gray-2);
    line-height: 1.7; margin-bottom: 1rem;
}

/* ── Phase divider ── */
.guide-phase-divider {
    display: flex; align-items: center; gap: 1rem;
    margin: 2rem 0 3rem;
}
.guide-phase-divider__line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-h), transparent);
}
.guide-phase-divider__icon { color: var(--green); }
.guide-phase-divider__text {
    font-family: var(--mono); font-size: .72rem;
    font-weight: 600; letter-spacing: .06em;
    color: var(--gray-3); white-space: nowrap;
}

/* ── Browser card grid ── */
.browser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 1rem; margin: 1.25rem 0 1.5rem;
}
.browser-card {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    padding: 1.25rem 1rem;
    background: linear-gradient(165deg, rgba(15,22,41,.7), rgba(30,39,68,.35));
    border: 1px solid var(--border); border-radius: var(--r);
    transition: border-color .25s, transform .25s, box-shadow .25s;
    text-decoration: none; color: inherit;
}
.browser-card:hover {
    border-color: var(--fire); transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255,107,0,.12);
}
.browser-card__icon {
    width: 48px; height: 48px; margin-bottom: .75rem;
    display: flex; align-items: center; justify-content: center;
}
.browser-card__icon svg { width: 40px; height: 40px; }
.browser-card__name {
    font-family: var(--display);
    font-size: .95rem; font-weight: 700; margin-bottom: .35rem;
}
.browser-card__action {
    font-size: .72rem; font-weight: 600; color: var(--fire);
}
.browser-card__note {
    font-size: .65rem; color: var(--gray-3); margin-top: .25rem;
}

/* ── TOC phase labels ── */
.toc__phase-label {
    display: block;
    font-family: var(--mono); font-size: .55rem; font-weight: 700;
    letter-spacing: .14em; color: var(--gray-4);
    text-transform: uppercase;
    padding: 8px 12px 4px; margin-top: 6px;
}
.toc__link--sub { padding-left: 20px; font-size: .74rem; }

/* Guide responsive */
@media (max-width: 900px) {
    .guide { grid-template-columns: 1fr; }
    .guide__sidebar { display: none; }
    .guide__mobile-toc { display: block; }
    .guide-step__body { padding-left: 0; }
    .guide-prereq__grid { grid-template-columns: 1fr; }
    .guide-phase__cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .guide-hero { padding: 100px 0 2rem; }
    .browser-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__aurora { animation: none; }
    .hero__particle { animation: none; display: none; }
    .hero__pill-dot { animation: none; }
    .endcta__glow { animation: none; }
}
