/* =========================================================
   VELOCITY EXECUTOR — Design System
   Monochrome / carbon aesthetic, matched to the app UI.
   Display: Space Grotesk · Body: Inter · Mono: JetBrains Mono
   ========================================================= */

:root {
    /* --- Surfaces (near-black, layered) --- */
    --void:      #000000;
    --carbon:    #060607;
    --graphite:  #0c0c0e;
    --slate:     #131316;
    --steel:     #1b1b20;

    /* --- Lines --- */
    --line:        rgba(255,255,255,0.08);
    --line-strong: rgba(255,255,255,0.16);
    --line-faint:  rgba(255,255,255,0.045);

    /* --- Text --- */
    --chrome:  #f4f4f5;   /* primary */
    --silver:  #b4b4b8;   /* secondary */
    --ash:     #7a7a80;   /* muted */
    --faint:   #4d4d52;   /* very muted / disabled */

    /* --- Signal (used with extreme restraint: live status only) --- */
    --live:      #4ade80;
    --live-glow: rgba(74,222,128,0.35);

    /* --- Type --- */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

    /* --- Layout --- */
    --maxw: 1200px;
    --gutter: clamp(1.15rem, 4vw, 2.5rem);
    --section-y: clamp(4rem, 9vw, 7.5rem);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 22px;

    /* --- Shadows / glow --- */
    --shadow: 0 30px 80px -20px rgba(0,0,0,0.9);
    --glow-soft: 0 0 0 1px var(--line), 0 20px 60px -20px rgba(0,0,0,0.8);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
    font-family: var(--font-body);
    background: var(--void);
    color: var(--silver);
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}

/* Ambient grain + faint grid across the whole page */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(var(--line-faint) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-faint) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
    opacity: 0.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* --- Layout helpers --- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.section { padding-block: var(--section-y); position: relative; z-index: 1; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--chrome); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ash);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}
.eyebrow::before {
    content: "";
    width: 22px; height: 1px;
    background: linear-gradient(90deg, var(--chrome), transparent);
}

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.section-head p { color: var(--ash); font-size: 1.05rem; }

.lead { font-size: 1.15rem; color: var(--silver); }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    background: rgba(0,0,0,0.6);
    border-bottom: 1px solid var(--line);
}
.nav__inner {
    max-width: var(--maxw); margin-inline: auto;
    padding: 0.85rem var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark { width: 26px; height: auto; filter: drop-shadow(0 0 12px rgba(255,255,255,0.15)); }
.brand__name {
    font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em;
    color: var(--chrome); font-size: 1.05rem;
}
.brand__ver {
    font-family: var(--font-mono); font-size: 0.62rem; color: var(--ash);
    border: 1px solid var(--line); border-radius: 5px; padding: 0.15rem 0.4rem; margin-left: 0.1rem;
}
.nav__links { display: flex; gap: 2rem; }
.nav__links a { font-size: 0.9rem; color: var(--silver); transition: color 0.2s; position: relative; }
.nav__links a:hover { color: var(--chrome); }
.nav__links a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--chrome); transition: width 0.25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 0.6rem; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
    padding: 0.8rem 1.5rem; border-radius: var(--radius-sm);
    transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap; letter-spacing: 0.01em;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
    background: var(--chrome); color: #000;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.4), 0 8px 30px -8px rgba(255,255,255,0.35);
    position: relative;
}
.btn--shine { overflow: hidden; }
.btn--shine::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-18deg); transition: left 0.6s ease;
}
.btn--shine:hover::after { left: 160%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #fff, 0 14px 40px -10px rgba(255,255,255,0.5); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
    background: rgba(255,255,255,0.02); color: var(--chrome); border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--chrome); background: rgba(255,255,255,0.05); transform: translateY(-2px); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.hero::after {
    content: ""; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
    width: 900px; height: 500px; pointer-events: none; z-index: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.06), transparent 70%);
}
.hero__grid {
    display: grid; grid-template-columns: 1.05fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
    position: relative; z-index: 1;
}
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
    color: var(--silver); background: rgba(255,255,255,0.03);
    border: 1px solid var(--line); border-radius: 100px; padding: 0.35rem 0.85rem; margin-bottom: 1.6rem;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live-glow); position: relative; }
.pulse::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--live);
    animation: ping 2s cubic-bezier(0,0,0.2,1) infinite; opacity: 0;
}
@keyframes ping { 0% { transform: scale(0.8); opacity: 0.6; } 100% { transform: scale(2.4); opacity: 0; } }

.hero h1 {
    font-size: clamp(2.5rem, 6.2vw, 4.4rem);
    line-height: 0.98; margin-bottom: 1.35rem; letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: var(--ash); display: block; font-size: 0.5em; letter-spacing: -0.01em; font-weight: 500; margin-top: 0.5rem; }
.hero__sub { font-size: 1.15rem; color: var(--silver); max-width: 34rem; margin-bottom: 2rem; }
.hero__sub strong { color: var(--chrome); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.6rem; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.chip {
    font-family: var(--font-mono); font-size: 0.72rem; color: var(--silver);
    border: 1px solid var(--line); border-radius: 7px; padding: 0.35rem 0.7rem;
    display: inline-flex; align-items: center; gap: 0.4rem; transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--line-strong); color: var(--chrome); }
.chip svg { width: 13px; height: 13px; opacity: 0.8; }

.hero__meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ash); }
.hero__meta b { color: var(--silver); font-weight: 500; }

/* Window frame for screenshots */
.window {
    border: 1px solid var(--line-strong); border-radius: var(--radius);
    background: var(--carbon); overflow: hidden; box-shadow: var(--shadow);
    position: relative;
}
.window::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(160deg, rgba(255,255,255,0.06), transparent 30%);
    z-index: 2;
}
.window__bar {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem;
    background: var(--slate); border-bottom: 1px solid var(--line);
}
.window__dots { display: flex; gap: 0.4rem; }
.window__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--steel); display: block; }
.window__title { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ash); }
.window img { width: 100%; height: auto; display: block; }
.hero__shot { position: relative; z-index: 1; }
.hero__shot .window { transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg); transition: transform 0.5s ease; }
.hero__shot .window:hover { transform: perspective(1600px) rotateY(0deg) rotateX(0deg); }

/* =========================================================
   LIVE STATS BAR
   ========================================================= */
.stats {
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(1.5rem, 3vw, 2.25rem) var(--gutter); border-left: 1px solid var(--line); position: relative; }
.stat:first-child { border-left: none; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--chrome); letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 0.15rem; }
.stat__num small { font-size: 0.5em; color: var(--ash); font-weight: 600; }
.stat__label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ash); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.stat__label .pulse { width: 6px; height: 6px; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust { border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust__item { background: var(--carbon); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.35rem; transition: background 0.2s; }
.trust__item:hover { background: var(--graphite); }
.trust__item .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); }
.trust__item .v { font-family: var(--font-display); font-weight: 600; color: var(--chrome); font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem; }
.trust__item .v svg { width: 18px; height: 18px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live-glow); }

/* =========================================================
   SHOWCASE (alternating screenshots)
   ========================================================= */
.showcase__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.showcase__row:last-child { margin-bottom: 0; }
.showcase__row--rev .showcase__text { order: 2; }
.showcase__text h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
.showcase__text p { color: var(--ash); margin-bottom: 1.5rem; }
.showcase__list { display: flex; flex-direction: column; gap: 0.75rem; }
.showcase__list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--silver); }
.showcase__list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--chrome); }

/* =========================================================
   FEATURE GRID
   ========================================================= */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--carbon); padding: clamp(1.5rem, 3vw, 2.25rem); transition: background 0.25s; position: relative; }
.feature:hover { background: var(--graphite); }
.feature__icon { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; display: grid; place-items: center; margin-bottom: 1.25rem; color: var(--chrome); }
.feature__icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.feature p { font-size: 0.92rem; color: var(--ash); }

/* =========================================================
   WHAT YOU CAN RUN + ANTI-CHEAT
   ========================================================= */
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
    font-family: var(--font-mono); font-size: 0.82rem; color: var(--silver);
    border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.9rem; background: var(--carbon);
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.tag:hover { border-color: var(--line-strong); color: var(--chrome); transform: translateY(-2px); }

.ac-panel {
    margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(180deg, var(--graphite), var(--carbon)); padding: clamp(1.5rem, 3vw, 2rem);
}
.ac-panel__head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.25rem; }
.ac-panel__head h3 { font-size: 1.15rem; }
.ac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.ac-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--carbon); font-size: 0.9rem; color: var(--silver); }
.ac-item svg { width: 16px; height: 16px; color: var(--live); flex-shrink: 0; }

/* =========================================================
   TERMINAL (signature element) — scripts + changelog
   ========================================================= */
.terminal {
    border: 1px solid var(--line-strong); border-radius: var(--radius);
    background: var(--carbon); overflow: hidden; box-shadow: var(--shadow);
}
.terminal__bar {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem;
    background: var(--slate); border-bottom: 1px solid var(--line);
}
.terminal__bar .window__dots i:nth-child(1) { background: #2a2a30; }
.terminal__title { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ash); margin-left: 0.3rem; }
.terminal__tag { margin-left: auto; font-family: var(--font-mono); font-size: 0.68rem; color: var(--ash); border: 1px solid var(--line); padding: 0.15rem 0.5rem; border-radius: 5px; }
.terminal__body { font-family: var(--font-mono); font-size: 0.86rem; padding: 1.1rem 1.2rem; line-height: 1.9; }

/* scripts terminal */
.scripts-term { display: grid; grid-template-columns: 1fr; }
.scripts-list { max-height: 340px; overflow-y: auto; }
.script-row {
    display: grid; grid-template-columns: auto 1fr auto auto; gap: 0.9rem; align-items: center;
    width: 100%; text-align: left; padding: 0.7rem 1.2rem; border-bottom: 1px solid var(--line-faint);
    font-family: var(--font-mono); font-size: 0.83rem; color: var(--silver); transition: background 0.15s;
}
.script-row:hover { background: rgba(255,255,255,0.03); color: var(--chrome); }
.script-row.is-active { background: rgba(255,255,255,0.05); color: var(--chrome); }
.script-row__idx { color: var(--faint); }
.script-row__name { font-family: var(--font-body); font-weight: 500; }
.script-row__cat { color: var(--ash); font-size: 0.75rem; }
.script-row__dl { color: var(--ash); display: flex; align-items: center; gap: 0.3rem; }
.script-row__dl svg { width: 12px; height: 12px; }
.scripts-out {
    border-top: 1px solid var(--line); padding: 1rem 1.2rem; font-family: var(--font-mono);
    font-size: 0.82rem; color: var(--silver); min-height: 92px; background: var(--void);
}
.scripts-out .prompt { color: var(--live); }
.scripts-out .dim { color: var(--ash); }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--chrome); margin-left: 2px; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* changelog terminal */
.changelog { }
.cl-entry { border-bottom: 1px solid var(--line-faint); }
.cl-entry:last-child { border-bottom: none; }
.cl-head {
    display: flex; align-items: center; gap: 0.8rem; width: 100%; text-align: left;
    padding: 0.95rem 1.2rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--silver);
    transition: background 0.15s;
}
.cl-head:hover { background: rgba(255,255,255,0.03); }
.cl-head .caret { color: var(--faint); transition: transform 0.25s ease; display: inline-block; }
.cl-entry.is-open .cl-head .caret { transform: rotate(90deg); color: var(--chrome); }
.cl-ver { color: var(--chrome); font-weight: 500; }
.cl-badge { font-size: 0.66rem; border: 1px solid var(--line); border-radius: 5px; padding: 0.1rem 0.45rem; color: var(--ash); }
.cl-badge--latest { color: var(--live); border-color: rgba(74,222,128,0.4); }
.cl-date { margin-left: auto; color: var(--ash); font-size: 0.76rem; }
.cl-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.cl-body__inner { padding: 0 1.2rem 1.1rem 2.6rem; font-family: var(--font-mono); font-size: 0.82rem; }
.cl-line { display: flex; gap: 0.6rem; color: var(--silver); padding: 0.15rem 0; }
.cl-line .t { flex-shrink: 0; font-weight: 600; width: 46px; }
.cl-line .t--add { color: var(--live); }
.cl-line .t--fix { color: #f5f5f5; }
.cl-line .t--imp { color: var(--ash); }

/* =========================================================
   GET STARTED — platform tabs
   ========================================================= */
.tabs__nav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tab-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ash);
    border: 1px solid var(--line); border-radius: 100px; padding: 0.55rem 1.1rem; transition: all 0.2s;
}
.tab-btn svg { width: 16px; height: 16px; }
.tab-btn:hover { color: var(--silver); border-color: var(--line-strong); }
.tab-btn.is-active { background: var(--chrome); color: #000; border-color: var(--chrome); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--carbon); padding: clamp(1.5rem, 3vw, 2rem); position: relative; }
.step__n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--faint); letter-spacing: 0.1em; margin-bottom: 1rem; display: block; }
.step__n b { color: var(--chrome); }
.step h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--ash); }
.step code { font-family: var(--font-mono); font-size: 0.82rem; color: var(--chrome); background: var(--slate); border: 1px solid var(--line); padding: 0.1rem 0.4rem; border-radius: 5px; }
.tab-note { margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--ash); display: flex; gap: 0.5rem; align-items: flex-start; }
.tab-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }

/* =========================================================
   SYSTEM REQUIREMENTS — 4 platforms
   ========================================================= */
.req-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.req-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--carbon); overflow: hidden; transition: border-color 0.2s; }
.req-card:hover { border-color: var(--line-strong); }
.req-card__head { display: flex; align-items: center; gap: 0.6rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.req-card__head svg { width: 18px; height: 18px; color: var(--chrome); }
.req-card__head h4 { font-size: 1rem; }
.req-card dl { padding: 0.5rem 1.25rem 1.25rem; }
.req-card dt { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ash); margin-top: 0.9rem; }
.req-card dd { font-size: 0.9rem; color: var(--silver); }

/* =========================================================
   DOWNLOAD CTA
   ========================================================= */
.download { position: relative; overflow: hidden; }
.download__panel {
    border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse 60% 100% at 50% 0%, rgba(255,255,255,0.06), transparent 70%),
        linear-gradient(180deg, var(--graphite), var(--carbon));
    padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter); text-align: center;
}
.download__panel h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.download__panel p { color: var(--silver); max-width: 42rem; margin: 0 auto 2rem; font-size: 1.08rem; }
.download__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-bottom: 1.5rem; }
.download__note { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ash); display: inline-flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; justify-content: center; }
.download__note span { display: inline-flex; align-items: center; gap: 0.4rem; }
.download__note svg { width: 14px; height: 14px; color: var(--live); }

/* =========================================================
   FAQ (accordion)
   ========================================================= */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--carbon); margin-bottom: 0.75rem; overflow: hidden; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--line-strong); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left;
    padding: 1.15rem 1.35rem; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--chrome);
}
.faq-q .ic { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--silver); transition: transform 0.3s ease; }
.faq-q .ic::before { top: 50%; left: 3px; right: 3px; height: 1.5px; transform: translateY(-50%); }
.faq-q .ic::after { left: 50%; top: 3px; bottom: 3px; width: 1.5px; transform: translateX(-50%); }
.faq-item.is-open .faq-q .ic::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a__inner { padding: 0 1.35rem 1.25rem; color: var(--ash); font-size: 0.96rem; line-height: 1.7; }
.faq-a__inner a { color: var(--chrome); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.faq-a__inner a:hover { text-decoration-color: var(--chrome); }
.faq-a__inner code { font-family: var(--font-mono); font-size: 0.85em; background: var(--slate); border: 1px solid var(--line); padding: 0.1rem 0.4rem; border-radius: 5px; color: var(--silver); }

/* =========================================================
   SHARE + FOOTER
   ========================================================= */
.share { text-align: center; }
.share__btns { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.75rem; }
.share__btn {
    display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.82rem;
    color: var(--silver); border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 1rem; transition: all 0.2s;
}
.share__btn:hover { color: var(--chrome); border-color: var(--line-strong); transform: translateY(-2px); }
.share__btn svg { width: 15px; height: 15px; }

.footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; margin-top: clamp(2rem, 4vw, 3rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer__brand p { color: var(--ash); font-size: 0.9rem; margin-top: 1rem; max-width: 22rem; }
.footer h5 { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ash); margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { font-size: 0.9rem; color: var(--silver); transition: color 0.2s; }
.footer ul a:hover { color: var(--chrome); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__bottom p { font-family: var(--font-mono); font-size: 0.76rem; color: var(--faint); }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; color: var(--silver); transition: all 0.2s; }
.footer__social a:hover { color: var(--chrome); border-color: var(--line-strong); transform: translateY(-2px); }
.footer__social svg { width: 16px; height: 16px; }

/* =========================================================
   Breadcrumb
   ========================================================= */
.crumbs { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); padding-top: 1.5rem; }
.crumbs a { color: var(--ash); }
.crumbs a:hover { color: var(--silver); }
.crumbs span { color: var(--faint); }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
    .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero__shot .window { transform: none; }
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .ac-grid { grid-template-columns: repeat(2, 1fr); }
    .req-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .nav__links { display: none; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat { border-left: none; border-top: 1px solid var(--line); }
    .stat:nth-child(-n+2) { border-top: none; }
    .stat:nth-child(even) { border-left: 1px solid var(--line); }
    .trust__grid { grid-template-columns: 1fr 1fr; }
    .showcase__row { grid-template-columns: 1fr; gap: 1.75rem; }
    .showcase__row--rev .showcase__text { order: 0; }
    .steps { grid-template-columns: 1fr; }
    .script-row { grid-template-columns: auto 1fr auto; }
    .script-row__cat { display: none; }
}

@media (max-width: 480px) {
    :root { --radius: 14px; --radius-lg: 18px; }
    .features__grid { grid-template-columns: 1fr; }
    .ac-grid { grid-template-columns: 1fr; }
    .req-grid { grid-template-columns: 1fr; }
    .trust__grid { grid-template-columns: 1fr; }
    .brand__name { font-size: 0.95rem; }
    .hero__actions .btn { flex: 1; }
    .terminal__body { font-size: 0.78rem; padding: 0.9rem; }
    .cl-body__inner { padding-left: 1.5rem; }
    .cl-date { display: none; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .script-row { grid-template-columns: 1fr auto; gap: 0.6rem; }
    .script-row__idx { display: none; }
}

/* Focus visibility (a11y) */
:focus-visible { outline: 2px solid var(--chrome); outline-offset: 3px; border-radius: 4px; }

/* Scrollbar (webkit) for terminal lists */
.scripts-list::-webkit-scrollbar { width: 8px; }
.scripts-list::-webkit-scrollbar-track { background: var(--void); }
.scripts-list::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 4px; }
.scripts-list::-webkit-scrollbar-thumb:hover { background: #2a2a30; }

/* =========================================================
   v2 ADDITIONS — dashboard, game grid, rich scripts, OS-aware CTAs
   ========================================================= */

/* Hero platform buttons */
.hero__platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.5rem; }
.hero__platforms-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ash); }
.hero__platforms-btns { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.plat-btn { font-family: var(--font-mono); font-size: 0.75rem; color: var(--silver); border: 1px solid var(--line); border-radius: 8px; padding: 0.42rem 0.8rem; transition: all 0.2s; }
.plat-btn:hover { border-color: var(--line-strong); color: var(--chrome); transform: translateY(-1px); }

/* Recommended badge (on primary download button) */
.rec-badge {
    position: absolute; top: -11px; right: 14px; z-index: 2;
    font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700;
    background: var(--live); color: #04120a; padding: 0.18rem 0.55rem; border-radius: 6px;
    border: 1px solid #000; box-shadow: 0 0 16px var(--live-glow), 0 2px 6px rgba(0,0,0,0.5);
}

/* Live dashboard panel (merged stats + trust) */
.panel { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--graphite), var(--carbon)); overflow: hidden; }
.panel__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; padding: 0.95rem 1.35rem; border-bottom: 1px solid var(--line); }
.panel__eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.09em; color: var(--ash); display: inline-flex; align-items: center; gap: 0.55rem; }
.panel__op { font-family: var(--font-mono); font-size: 0.75rem; color: var(--silver); display: inline-flex; align-items: center; gap: 0.5rem; }
.panel__kpis { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpi { padding: clamp(1.5rem, 3vw, 2.35rem) 1.35rem; border-left: 1px solid var(--line); transition: background 0.2s; }
.kpi:first-child { border-left: none; }
.kpi:hover { background: rgba(255,255,255,0.02); }
.kpi__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--chrome); letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 0.1rem; }
.kpi__n small { font-size: 0.5em; color: var(--ash); font-weight: 600; }
.kpi__l { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ash); margin-top: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.kpi__l .pulse { width: 6px; height: 6px; }
.panel__trust { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; padding: 1rem 1.35rem; border-top: 1px solid var(--line); background: rgba(255,255,255,0.012); }
.tsig { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; color: var(--ash); }
.tsig svg { width: 16px; height: 16px; color: var(--silver); flex-shrink: 0; }
.tsig b { color: var(--silver); font-weight: 600; }

/* Game grid (What you can run) */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.game { background: var(--carbon); padding: 1.2rem 1.35rem; display: flex; align-items: center; gap: 1rem; transition: background 0.2s; }
.game:hover { background: var(--graphite); }
.game__icon { width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 11px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--chrome); font-size: 1.1rem; background: var(--slate); }
.game__body { flex: 1; min-width: 0; }
.game__body h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.game__body p { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ash); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game__ok { width: 18px; height: 18px; color: var(--live); flex-shrink: 0; }
.game--any .game__icon { color: var(--ash); }

/* Scripts toolbar + rich rows */
.scripts-toolbar { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; background: var(--slate); }
.scripts-search { flex: 1; min-width: 170px; display: flex; align-items: center; gap: 0.5rem; background: var(--void); border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.7rem; }
.scripts-search svg { width: 14px; height: 14px; color: var(--ash); flex-shrink: 0; }
.scripts-search input { flex: 1; background: none; border: none; outline: none; color: var(--chrome); font-family: var(--font-mono); font-size: 0.8rem; }
.scripts-search input::placeholder { color: var(--faint); }
.filter-pills { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.fpill { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ash); border: 1px solid var(--line); border-radius: 100px; padding: 0.35rem 0.75rem; transition: all 0.2s; }
.fpill:hover { color: var(--silver); border-color: var(--line-strong); }
.fpill.is-active { background: var(--chrome); color: #000; border-color: var(--chrome); }

.script-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 0.9rem; align-items: center; width: 100%; text-align: left; padding: 0.6rem 1rem; border-bottom: 1px solid var(--line-faint); transition: background 0.15s; }
.script-row:hover { background: rgba(255,255,255,0.03); }
.script-row.is-active { background: rgba(255,255,255,0.05); }
.script-row.is-hidden { display: none; }
.srow-icon { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--chrome); background: var(--slate); }
.srow-main { display: flex; flex-direction: column; min-width: 0; }
.srow-name { font-family: var(--font-body); font-weight: 500; font-size: 0.92rem; color: var(--chrome); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow-by { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ash); display: flex; align-items: center; gap: 0.3rem; }
.srow-by svg { width: 11px; height: 11px; color: var(--silver); }
.srow-cat { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ash); }
.srow-dl { font-family: var(--font-mono); font-size: 0.75rem; color: var(--silver); display: flex; align-items: center; gap: 0.3rem; }
.srow-dl svg { width: 12px; height: 12px; color: var(--ash); }

/* Download detect note */
.dl-detect { font-family: var(--font-mono); font-size: 0.8rem; color: var(--silver); margin-top: -0.75rem; margin-bottom: 1.75rem; }
.dl-detect b { color: var(--chrome); }

/* v2 responsive */
@media (max-width: 1000px) {
    .game-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .panel__kpis { grid-template-columns: 1fr 1fr; }
    .kpi:nth-child(odd) { border-left: none; }
    .kpi:nth-child(even) { border-left: 1px solid var(--line); }
    .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
    .script-row { grid-template-columns: auto 1fr auto; }
    .srow-cat { display: none; }
}
@media (max-width: 480px) {
    .game-grid { grid-template-columns: 1fr; }
    .scripts-toolbar { flex-direction: column; align-items: stretch; }
    .hero__platforms { gap: 0.45rem; }
    .panel__top { flex-direction: column; align-items: flex-start; }
}

/* Hide desktop nav links earlier so the Download CTA never overflows */
@media (max-width: 900px) { .nav__links { display: none; } }

/* Community reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { background: var(--carbon); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; transition: border-color 0.2s, transform 0.2s; }
.review:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.review__stars { font-size: 0.95rem; letter-spacing: 0.14em; color: var(--chrome); line-height: 1; }
.review__stars .s-off { color: var(--line-strong); }
.review blockquote { margin: 0; font-size: 0.97rem; line-height: 1.55; color: var(--silver); }
.review__by { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.review__ava { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--slate); border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--chrome); font-size: 0.9rem; }
.review__id { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.review__id b { font-size: 0.85rem; color: var(--chrome); }
.review__id span { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ash); }
.reviews-note { text-align: center; margin-top: 1.75rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--ash); }
.reviews-note a { color: var(--silver); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: color 0.2s; }
.reviews-note a:hover { color: var(--chrome); }

@media (max-width: 1000px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }
