/* ============================================================
   Internet LAN Gun — design system (redesign)
   Dark retro-cyber: deep navy, cyan signal, press-start accents
   ============================================================ */

:root {
    --bg-0: #060b1a;
    --bg-1: #0b1120;
    --bg-2: #0f172a;
    --bg-3: #16213a;
    --line: #1e293b;
    --line-2: #334155;
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-faint: #64748b;
    --cyan: #22d3ee;
    --cyan-600: #06b6d4;
    --cyan-700: #0e7490;
    --cyan-glow: rgba(34, 211, 238, .35);
    --green: #34d399;
    --amber: #fbbf24;
    --red: #f87171;
    --violet: #818cf8;
    --radius: 14px;
    --radius-sm: 8px;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Roboto Mono', ui-monospace, monospace;
    --font-retro: 'Press Start 2P', var(--font-mono);
    --container: 1160px;
    --shadow: 0 10px 40px rgba(2, 6, 23, .55);
}

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

html { scroll-behavior: smooth; color-scheme: dark; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg-0);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

::selection { background: rgba(34, 211, 238, .3); }

/* ---------- scroll reveal ---------- */
.animate-on-scroll { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.animate-on-scroll.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(6, 11, 26, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(2,6,23,.6); }
.header-inner {
    max-width: var(--container); margin: 0 auto; padding: .8rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    position: relative;
}
.brand { display: flex; align-items: center; gap: .65rem; color: var(--cyan); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-text {
    font-family: var(--font-retro); font-size: .62rem; letter-spacing: .04em;
    color: var(--text); line-height: 1.5;
}
.header-nav { display: flex; align-items: center; gap: .3rem; }
.header-nav a {
    color: var(--text-dim); font-size: .92rem; font-weight: 500;
    padding: .45rem .75rem; border-radius: 8px; transition: color .15s, background .15s;
}
.header-nav a:hover { color: var(--text); background: rgba(148,163,184,.08); text-decoration: none; }
.header-nav .nav-cta {
    background: var(--cyan-700); color: #f0fdff; font-weight: 600; margin-left: .5rem;
    border: 1px solid rgba(34,211,238,.35);
}
.header-nav .nav-cta:hover { background: var(--cyan-600); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem;
    padding: 5rem 2rem 4.5rem; min-height: 88vh;
    max-width: var(--container); margin: 0 auto;
    position: relative;
}
.hero::before {
    content: ""; position: absolute; inset: -50vh -50vw; z-index: -1; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 15% 0%, rgba(6,182,212,.10), transparent 60%),
        radial-gradient(ellipse 55% 45% at 95% 40%, rgba(59,130,246,.09), transparent 60%),
        linear-gradient(160deg, var(--bg-0) 0%, #0a1730 55%, var(--bg-0) 100%);
}
.hero-packets { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; pointer-events: none; }
.hero-content { flex: 1 1 460px; min-width: 300px; position: relative; }
.hero-eyebrow {
    font-family: var(--font-mono); font-size: .8rem; color: var(--cyan);
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.hero-headline {
    font-size: clamp(1.9rem, 4.2vw, 3.2rem);
    font-weight: 700; line-height: 1.12; letter-spacing: -.02em;
    color: #f8fafc; margin-bottom: 1.2rem;
}
.hero-headline em { font-style: normal; color: var(--cyan); text-shadow: 0 0 24px var(--cyan-glow); }
.hero-subheadline { color: var(--text-dim); font-size: 1.06rem; max-width: 56ch; margin-bottom: 1.4rem; }
.platform-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.platform-badge {
    font-family: var(--font-mono); font-size: .8rem; color: var(--text-dim);
    border: 1px solid var(--line-2); border-radius: 999px; padding: .3rem .8rem;
    background: rgba(15,23,42,.6);
}
.hero-cta-row { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.cta-button {
    background: linear-gradient(135deg, var(--cyan-600), #2563eb);
    color: #f0fdff; border: 0; border-radius: 10px;
    padding: .95rem 1.7rem; font-size: 1.02rem; font-weight: 700; font-family: inherit;
    cursor: pointer; box-shadow: 0 0 0 1px rgba(34,211,238,.4), 0 10px 30px rgba(6,182,212,.25);
    transition: transform .15s, box-shadow .15s;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(34,211,238,.6), 0 14px 38px rgba(6,182,212,.4); }
.hero-discord { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-dim); font-weight: 600; }
.hero-discord:hover { color: #a5b4fc; }
.hero-price-line { color: var(--text-dim); font-size: .95rem; }
.hero-price-line strong { color: var(--green); }

.hero-visual { flex: 1 1 420px; min-width: 300px; position: relative; }
.grid-overlay {
    position: absolute; inset: -2rem; opacity: .35; pointer-events: none;
    background-image:
        linear-gradient(rgba(34,211,238,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34,211,238,.06) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(70% 60% at 60% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 30%, transparent 75%);
}
.terminal-window {
    position: relative; background: #0b1120f2; border: 1px solid var(--line-2);
    border-radius: 12px; box-shadow: var(--shadow), 0 0 60px rgba(34,211,238,.07);
    overflow: hidden; font-family: var(--font-mono);
}
.terminal-header { display: flex; align-items: center; gap: .45rem; padding: .65rem .9rem; background: #111a2e; border-bottom: 1px solid var(--line); }
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-dot.red { background: #f87171; } .terminal-dot.yellow { background: #fbbf24; } .terminal-dot.green { background: #34d399; }
.terminal-title { margin-left: auto; font-size: .7rem; color: var(--text-faint); }
.terminal-body { padding: 1rem 1.1rem 1.3rem; font-size: .8rem; line-height: 1.75; min-height: 228px; }
.terminal-body p { white-space: pre-wrap; word-break: break-word; opacity: .35; transition: opacity .4s; min-height: 1.5em; }
.tty-prompt { color: var(--cyan); }
.tty-out { color: var(--text-dim); }
.tty-ok { color: var(--green); }
.tty-bright { color: #a5f3fc; }
.tty-status { color: var(--text); }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { padding: 5rem 0; position: relative; }
.section-eyebrow {
    font-family: var(--font-mono); font-size: .76rem; letter-spacing: .18em;
    text-transform: uppercase; color: var(--cyan); margin-bottom: .5rem;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.01em;
    color: #f8fafc; margin-bottom: .8rem;
}
.section-title em { font-style: italic; color: var(--cyan); }
.section-description { color: var(--text-dim); max-width: 62ch; margin-bottom: 2.2rem; }

/* ============================================================
   3-step flow
   ============================================================ */
.steps { background: linear-gradient(180deg, transparent, rgba(11,17,32,.6) 30%, rgba(11,17,32,.6) 70%, transparent); }
.step-cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step-card {
    background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.7rem 1.5rem; position: relative; overflow: hidden;
}
.step-card::after {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--cyan), transparent);
    opacity: .7;
}
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px; margin-bottom: 1rem;
    font-family: var(--font-retro); font-size: .8rem; color: #06121f;
    background: linear-gradient(135deg, var(--cyan), #60a5fa);
    box-shadow: 0 0 22px rgba(34,211,238,.35);
}
.step-card h3 { font-size: 1.12rem; margin-bottom: .5rem; color: #f8fafc; }
.step-card p { color: var(--text-dim); font-size: .95rem; }
.step-card strong { color: var(--text); }

/* ============================================================
   Features
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature-card {
    background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.7rem 1.5rem; transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feature-icon { font-size: 1.8rem; margin-bottom: .9rem; }
.feature-card h3 { font-size: 1.15rem; color: #f8fafc; margin-bottom: .8rem; }
.feature-card ul { list-style: none; display: grid; gap: .6rem; }
.feature-card li { color: var(--text-dim); font-size: .93rem; padding-left: 1.2rem; position: relative; }
.feature-card li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); }
.feature-card li code, .console-section code, .faq-section code, .steps code, .why-section code, .cli-note code {
    font-family: var(--font-mono); font-size: .85em; color: var(--cyan);
    background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.15);
    padding: .08em .38em; border-radius: 5px;
}

/* ============================================================
   Console section
   ============================================================ */
.console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.console-window { background: #0b1120; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.console-bar { display: flex; align-items: center; gap: .8rem; padding: .6rem .9rem; background: #111a2e; border-bottom: 1px solid var(--line); font-size: .78rem; }
.console-dots { display: inline-flex; gap: 5px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #f87171; } .dot-y { background: #fbbf24; } .dot-g { background: #34d399; }
.console-role { color: var(--cyan); font-family: var(--font-mono); }
.console-node { color: var(--text-faint); font-family: var(--font-mono); margin-left: auto; }
.console-code { padding: 1rem 1.1rem; overflow-x: auto; font-family: var(--font-mono); font-size: .72rem; line-height: 1.6; }
.console-code code { display: block; white-space: pre; font-family: inherit; background: none; border: 0; padding: 0; color: inherit; }
.c-cmd { color: var(--cyan); } .c-dim { color: var(--text-faint); } .c-ok { color: var(--green); }
.c-rule { color: var(--violet); } .c-kv { color: var(--text-dim); } .c-row { color: var(--text); }
.cli-note {
    margin-top: 1.4rem; color: var(--text-dim); font-size: .93rem;
    background: rgba(34,211,238,.05); border: 1px solid rgba(34,211,238,.18);
    border-radius: var(--radius-sm); padding: 1rem 1.2rem;
}

/* ============================================================
   How it works (app workflow, dual path)
   ============================================================ */
.how-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.1rem; align-items: stretch; margin-bottom: 1.6rem; }
.how-lane {
    background: linear-gradient(160deg, var(--bg-1), #0d1830);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem;
    display: flex; flex-direction: column; gap: 1.1rem;
}
.how-lane.gaming { border-color: rgba(129,140,248,.35); background: linear-gradient(160deg, var(--bg-1), #131033); }
.how-lane-head { display: flex; gap: .9rem; align-items: flex-start; }
.how-lane-icon { font-size: 1.7rem; line-height: 1.2; }
.how-lane-head h3 { color: #f8fafc; font-size: 1.08rem; margin-bottom: .3rem; }
.how-tag { display: inline-block; font-family: var(--font-mono); font-size: .72rem; padding: .15rem .6rem; border-radius: 999px; }
.how-tag.no-vpn { color: var(--green); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); }
.how-tag.with-vpn { color: var(--violet); background: rgba(129,140,248,.1); border: 1px solid rgba(129,140,248,.35); }
.how-flow { list-style: none; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.how-flow > li { display: flex; gap: .85rem; align-items: flex-start; }
.how-flow > li div h4 { color: #f1f5f9; font-size: .96rem; margin-bottom: .3rem; }
.how-flow > li div p { color: var(--text-dim); font-size: .89rem; }
.how-flow > li div p + p { margin-top: .5rem; }
.how-step-num {
    width: 30px; height: 30px; flex: none; border-radius: 9px; margin-top: .1rem;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-retro); font-size: .66rem; color: #06121f;
    background: linear-gradient(135deg, var(--cyan), #60a5fa);
}
.how-lane.gaming .how-step-num { background: linear-gradient(135deg, var(--violet), #c084fc); }
.how-flow-arrow { justify-content: center; color: var(--text-faint); font-size: 1.05rem; padding: .25rem 0; margin-left: 14px; }
.how-lane-note { color: var(--text-faint); font-size: .85rem; border-top: 1px dashed var(--line); padding-top: .9rem; }
.how-lane code, .how-lane-note code {
    font-family: var(--font-mono); font-size: .85em; color: var(--cyan);
    background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.15);
    padding: .08em .38em; border-radius: 5px;
}
.how-vs { display: flex; align-items: center; justify-content: center; }
.how-vs span {
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-retro); font-size: .62rem; color: var(--cyan);
    background: var(--bg-2); border: 1px dashed rgba(34,211,238,.45);
    box-shadow: 0 0 22px rgba(34,211,238,.15);
}

/* ============================================================
   VPN proxy through peers
   ============================================================ */
.proxy-section code {
    font-family: var(--font-mono); font-size: .85em; color: var(--cyan);
    background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.15);
    padding: .08em .38em; border-radius: 5px;
}
.proxy-section .console-code code, .proxy-section .console-code { font-size: .74rem; }
.proxy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.6rem; }
.proxy-step {
    background: linear-gradient(160deg, var(--bg-1), #0d1830);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem;
}
.proxy-step-num {
    width: 34px; height: 34px; border-radius: 10px; margin-bottom: .9rem;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-retro); font-size: .72rem; color: #06121f;
    background: linear-gradient(135deg, var(--cyan), #60a5fa);
}
.proxy-step h3 { color: #f8fafc; font-size: 1.05rem; margin-bottom: .5rem; }
.proxy-step p { color: var(--text-dim); font-size: .92rem; }
.proxy-step strong { color: var(--cyan); }
.proxy-test { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; align-items: start; }
.proxy-test .cli-note { margin-top: 0; align-self: center; }

/* ============================================================
   Why
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.8rem; }
.why-card {
    background: linear-gradient(160deg, var(--bg-1), #0d1830);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem;
}
.why-icon { font-size: 1.9rem; margin-bottom: .8rem; }
.why-card h3 { color: #f8fafc; margin-bottom: .6rem; font-size: 1.2rem; }
.why-card p { color: var(--text-dim); font-size: .95rem; }
.price-pill {
    display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap;
    font-family: var(--font-mono); font-size: .86rem; color: var(--cyan);
    border: 1px dashed rgba(34,211,238,.35); border-radius: 999px;
    padding: .7rem 1.4rem; width: fit-content; margin: 0 auto;
    background: rgba(34,211,238,.04);
}
.pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); opacity: .6; }

/* ============================================================
   Proof
   ============================================================ */
.use-case-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
    font-family: var(--font-mono); font-size: .8rem; color: var(--text-dim);
    border: 1px solid var(--line-2); border-radius: 999px; padding: .32rem .85rem;
    background: rgba(15,23,42,.55); transition: border-color .15s, color .15s;
}
.chip:hover { border-color: var(--cyan-600); color: var(--cyan); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonial-card {
    background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 1.1rem;
}
.testimonial-card blockquote { color: var(--text); font-size: .96rem; font-style: italic; }
.testimonial-card figcaption { display: flex; align-items: center; gap: .7rem; color: var(--text-dim); font-size: .88rem; }
.avatar {
    width: 34px; height: 34px; border-radius: 50%; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--cyan-700), #1e40af);
    color: #e0f2fe; font-weight: 700;
}

/* ============================================================
   Screenshots
   ============================================================ */
.screenshots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.screenshot-card {
    background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.3rem 1.3rem 1.5rem; align-self: start;
}
.screenshot-card.wide { grid-column: 1 / -1; }
.screenshot-card h3 { color: #f8fafc; font-size: 1.05rem; margin-bottom: .3rem; }
.screenshot-card p { color: var(--text-dim); font-size: .88rem; margin-bottom: 1rem; }
.screenshot-card img { border: 1px solid var(--line); border-radius: var(--radius-sm); display: block; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: .8rem; max-width: 860px; }
.faq-item { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
    cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: #f1f5f9;
    list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--cyan); font-family: var(--font-mono); font-size: 1.1rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p, .faq-item ul { padding: 0 1.2rem 1.1rem; color: var(--text-dim); font-size: .94rem; }
.faq-item ul { padding-top: 0; display: grid; gap: .4rem; margin-left: 1.2rem; }

/* ============================================================
   Order section
   ============================================================ */
.order-section { background: linear-gradient(180deg, transparent, rgba(11,17,32,.65) 25%, rgba(11,17,32,.65) 75%, transparent); }
.order-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.3rem; align-items: start; }

.calculator-card, .order-form-card, .confirm-card {
    background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem 1.5rem;
}
.order-form-card { position: sticky; top: 92px; }

.node-selector label { display: block; font-size: .92rem; color: var(--text); margin-bottom: .8rem; font-weight: 600; }
.muted { color: var(--text-faint); font-weight: 400; }
.slider-container { position: relative; margin-bottom: .6rem; }
.slider {
    width: 100%; height: 6px; appearance: none; -webkit-appearance: none;
    background: linear-gradient(90deg, var(--cyan-600) var(--fill, 0%), var(--bg-3) var(--fill, 0%));
    border-radius: 999px; outline-offset: 4px; cursor: pointer;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
    background: var(--cyan); border: 3px solid #06202e;
    box-shadow: 0 0 0 2px rgba(34,211,238,.5), 0 0 18px rgba(34,211,238,.5);
    cursor: grab;
}
.slider::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--cyan); border: 3px solid #06202e;
    box-shadow: 0 0 0 2px rgba(34,211,238,.5), 0 0 18px rgba(34,211,238,.5);
    cursor: grab;
}
.slider-labels { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); }
.node-count-display { margin-top: .8rem; color: var(--text-dim); font-size: .92rem; }
.node-count-display strong { color: var(--cyan); font-family: var(--font-mono); font-size: 1.05rem; }

.price-display {
    margin: 1.4rem 0; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(6,182,212,.10), rgba(37,99,235,.08));
    border: 1px solid rgba(34,211,238,.25);
    display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
}
.price-label { color: var(--text-dim); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.price-value { font-family: var(--font-retro); font-size: 1.5rem; color: var(--cyan); text-shadow: 0 0 18px var(--cyan-glow); }
.price-value.ticked { animation: tick .35s ease; }
@keyframes tick { 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.price-note { width: 100%; color: var(--text-faint); font-size: .8rem; }

.names-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.names-head h3 { font-size: 1rem; color: #f8fafc; }
.refresh-all-btn {
    background: var(--bg-3); color: var(--cyan); border: 1px solid var(--line-2);
    border-radius: 999px; padding: .42rem .95rem; font-size: .84rem; font-weight: 600;
    font-family: inherit; cursor: pointer; transition: background .15s, border-color .15s;
}
.refresh-all-btn:hover { background: #1c2b4a; border-color: var(--cyan-600); }
.nodes-names-list { display: grid; gap: .55rem; max-height: 420px; overflow-y: auto; padding-right: .3rem; }
.nodes-names-list::-webkit-scrollbar { width: 8px; }
.nodes-names-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
.node-item { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: .6rem; }
.node-item.slide-in { animation: slideIn .3s both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.node-item label { font-family: var(--font-mono); font-size: .76rem; color: var(--text-faint); text-align: right; }
.node-item input {
    background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
    color: var(--text); padding: .55rem .75rem; font-family: var(--font-mono); font-size: .86rem;
    width: 100%; transition: border-color .15s, box-shadow .15s;
}
.node-item input:focus { outline: none; border-color: var(--cyan-600); box-shadow: 0 0 0 3px rgba(6,182,212,.18); }
.node-item input.duplicate { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(251,191,36,.12); }
.node-item input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(248,113,113,.12); }
.refresh-btn {
    background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px;
    width: 36px; height: 36px; cursor: pointer; font-size: 1rem; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color .15s, transform .1s;
}
.refresh-btn:hover { border-color: var(--cyan-600); }
.refresh-btn.dice-spin { animation: spin .45s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
.inline-warning { margin-top: .7rem; font-size: .85rem; color: var(--amber); }

/* order form */
.order-form-card h3 { font-size: 1.1rem; color: #f8fafc; margin-bottom: 1.1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; background: var(--bg-2); border: 1px solid var(--line-2);
    border-radius: var(--radius-sm); color: var(--text); padding: .62rem .8rem;
    font-family: inherit; font-size: .93rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--cyan-600); box-shadow: 0 0 0 3px rgba(6,182,212,.18);
}
.form-group textarea { resize: vertical; }
.field-hint { font-size: .78rem; color: var(--text-faint); margin-top: .35rem; }
.submit-btn {
    width: 100%; background: linear-gradient(135deg, var(--cyan-600), #2563eb);
    color: #f0fdff; border: 0; border-radius: 10px; padding: .9rem 1rem;
    font-size: 1rem; font-weight: 700; font-family: inherit; cursor: pointer;
    box-shadow: 0 8px 26px rgba(6,182,212,.25); transition: transform .15s, opacity .15s;
}
.submit-btn:hover { transform: translateY(-1px); }
.submit-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.secure-note { text-align: center; color: var(--text-faint); font-size: .8rem; margin-top: .7rem; }
.mini-steps {
    margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px dashed var(--line);
    list-style: none; display: grid; gap: .45rem; counter-reset: ms;
}
.mini-steps li { color: var(--text-dim); font-size: .86rem; display: flex; align-items: center; gap: .6rem; }
.mini-steps li::before {
    counter-increment: ms; content: counter(ms);
    width: 22px; height: 22px; flex: none; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: .72rem; color: var(--cyan);
    border: 1px solid rgba(34,211,238,.4);
}
.mini-steps strong { color: var(--text); }

/* feedback */
.form-feedback { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; }
.form-feedback.error { background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.35); color: #fecaca; }
.form-feedback.success { background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.35); color: #d1fae5; }

/* confirmation card */
.confirm-card { text-align: center; padding: 2.4rem 1.6rem; border-color: rgba(52,211,153,.4); }
.confirm-check {
    width: 58px; height: 58px; margin: 0 auto 1.1rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; color: #062018;
    background: radial-gradient(circle at 30% 30%, #6ee7b7, var(--green));
    box-shadow: 0 0 34px rgba(52,211,153,.45);
}
.confirm-card h3 { font-size: 1.35rem; color: #f8fafc; margin-bottom: .5rem; }
.confirm-lede { color: var(--text-dim); max-width: 54ch; margin: 0 auto 1.3rem; }
.order-id-block {
    display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap;
    margin: 0 auto 1.1rem;
}
.order-id-block code {
    font-family: var(--font-mono); font-size: 1rem; color: var(--cyan);
    background: var(--bg-2); border: 1px dashed rgba(34,211,238,.5);
    padding: .7rem 1.1rem; border-radius: var(--radius-sm); word-break: break-all;
}
.copy-btn {
    background: var(--cyan-700); color: #f0fdff; border: 0; border-radius: 8px;
    padding: .65rem 1.1rem; font-weight: 600; font-family: inherit; cursor: pointer;
}
.copy-btn:hover { background: var(--cyan-600); }
.confirm-note { color: var(--amber); font-size: .88rem; max-width: 60ch; margin: 0 auto 1.3rem; }
.confirm-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.btn-primary {
    background: linear-gradient(135deg, #059669, #10b981); color: #ecfdf5;
    border-radius: 10px; padding: .8rem 1.4rem; font-weight: 700; border: 0; cursor: pointer; font-family: inherit; font-size: .95rem;
}
.btn-primary:hover { text-decoration: none; }
.btn-ghost {
    background: transparent; color: var(--text-dim); border: 1px solid var(--line-2);
    border-radius: 10px; padding: .8rem 1.4rem; font-weight: 600; cursor: pointer; font-family: inherit; font-size: .95rem;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-faint); }
.confirm-sub { color: var(--text-faint); font-size: .82rem; }

/* returning banner */
.return-banner {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 70;
    display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
    background: var(--bg-1); border: 1px solid rgba(34,211,238,.4); border-radius: 999px;
    padding: .55rem 1.1rem; font-size: .85rem; color: var(--text-dim);
    box-shadow: var(--shadow); max-width: calc(100vw - 24px);
}
.return-banner code { font-family: var(--font-mono); color: var(--cyan); }
.return-banner button { background: none; border: 0; color: var(--text-faint); font-size: 1.1rem; cursor: pointer; }
.return-banner button:hover { color: var(--text); }

/* ============================================================
   Sticky CTA (mobile)
   ============================================================ */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: none; align-items: center; justify-content: space-between; gap: 1rem;
    background: rgba(11,17,32,.95); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: .65rem 1rem;
    transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta-price { font-family: var(--font-mono); font-size: .82rem; color: var(--cyan); }
.sticky-cta-btn {
    background: var(--cyan-700); color: #f0fdff; border: 0; border-radius: 8px;
    padding: .55rem 1.2rem; font-weight: 700; font-family: inherit; cursor: pointer;
}

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: #050a16; margin-top: 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand .brand-mark { width: 38px; height: 38px; color: var(--cyan); flex: none; }
.footer-brand p { color: var(--text-dim); font-size: .9rem; max-width: 52ch; }
.trust-badges h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); margin-bottom: .7rem; }
.trust-badges ul { list-style: none; display: grid; gap: .4rem; color: var(--text-dim); font-size: .88rem; }
.footer-bottom {
    border-top: 1px solid var(--line);
    max-width: var(--container); margin: 0 auto; padding: 1.1rem 1.5rem 5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    color: var(--text-faint); font-size: .82rem;
}
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal a { color: var(--text-dim); }
.footer-legal a:hover { color: var(--cyan); }

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page { background: var(--bg-0); }
.legal-container { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.legal-container h1 { font-family: var(--font-retro); font-size: 1.1rem; color: #f8fafc; margin: 1.2rem 0 .6rem; line-height: 1.7; }
.legal-updated { color: var(--text-faint); font-size: .88rem; margin-bottom: 2rem; }
.legal-container h2 { color: var(--cyan); font-size: 1.05rem; margin: 1.8rem 0 .6rem; }
.legal-container p, .legal-container li { color: var(--text-dim); font-size: .95rem; }
.legal-container ul { margin-left: 1.2rem; }
.legal-container li + li { margin-top: .35rem; }
.legal-container a { color: var(--cyan); }
.back-link { color: var(--cyan); font-size: .9rem; }

/* ============================================================
   Account page
   ============================================================ */
.acc-body { background: var(--bg-0); }
.acc-wrap { max-width: 860px; margin: 0 auto; padding: 2.5rem 1.25rem 5rem; }
.acc-title { font-family: var(--font-retro); font-size: 1.15rem; color: #f8fafc; margin: 1rem 0 .6rem; line-height: 1.7; }
.acc-note { color: var(--text-dim); margin: 0 0 1.8rem; font-size: .93rem; }
.acc-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 1.25rem; }
.acc-card h2 { margin: 0 0 .9rem; font-size: 1.02rem; color: #f8fafc; font-weight: 600; display: flex; align-items: center; gap: .6rem; }
.acc-step {
    width: 26px; height: 26px; flex: none; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-retro); font-size: .62rem; color: #06121f;
    background: linear-gradient(135deg, var(--cyan), #60a5fa);
}
.acc-hint { color: var(--text-faint); font-size: .84rem; margin-bottom: .9rem; }
.acc-hint code { font-family: var(--font-mono); color: var(--text-dim); }
.acc-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.acc-row input[type="email"], .acc-row input[type="text"] {
    flex: 1 1 220px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
    color: var(--text); padding: .62rem .8rem; font-family: var(--font-mono); font-size: .86rem;
}
.acc-row input:focus { outline: none; border-color: var(--cyan-600); box-shadow: 0 0 0 3px rgba(6,182,212,.18); }
.acc-btn {
    background: var(--cyan-700); color: #f0fdff; border: 0; border-radius: var(--radius-sm);
    padding: .62rem 1.15rem; cursor: pointer; font-weight: 600; font-family: inherit; font-size: .92rem;
}
.acc-btn:hover { background: var(--cyan-600); }
.acc-btn:disabled { opacity: .5; cursor: default; }
.acc-btn.alt { background: var(--bg-3); } .acc-btn.alt:hover { background: #1c2b4a; }
.acc-btn.big { background: #047857; font-size: 1rem; padding: .75rem 1.5rem; }
.acc-btn.big:hover { background: #059669; }
.acc-btn.pw-copy { background: #155e75; }
table.acc { width: 100%; border-collapse: collapse; margin-top: .6rem; }
table.acc th { text-align: left; color: var(--text-faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: .5rem; }
table.acc td { padding: .55rem .5rem; border-top: 1px solid var(--line); font-size: .9rem; }
table.acc td code { font-family: var(--font-mono); color: var(--text-dim); }
.pill { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.pill.ready { background: rgba(16,185,129,.12); color: var(--green); border: 1px solid rgba(16,185,129,.35); }
.pill.pending { background: rgba(251,191,36,.1); color: var(--amber); border: 1px solid rgba(251,191,36,.3); }
.acc-msg { margin-top: .8rem; padding: .7rem .9rem; border-radius: var(--radius-sm); font-size: .9rem; display: none; white-space: pre-line; }
.acc-msg.info { display: block; background: rgba(6,182,212,.08); border: 1px solid rgba(6,182,212,.3); color: #a5f3fc; }
.acc-msg.warn { display: block; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.3); color: #fde68a; }
.acc-msg.err { display: block; background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.3); color: #fecaca; }
.acc-panel { margin-top: 1rem; padding: 1rem 1.1rem; border: 1px solid rgba(16,185,129,.35); background: rgba(16,185,129,.05); border-radius: var(--radius-sm); }
.acc-panel-row { display: flex; align-items: center; gap: .7rem; }
.acc-file { font-family: var(--font-mono); font-size: .95rem; color: var(--text); font-weight: 600; }
.acc-pw { margin-top: .9rem; padding: .85rem .9rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.acc-pw label { display: block; font-size: .78rem; color: var(--text-dim); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .08em; }
.acc-pw code {
    font-family: var(--font-mono); font-size: 1.08rem; letter-spacing: .05em; color: #fef08a;
    background: var(--bg-1); padding: .4rem .8rem; border-radius: 6px; border: 1px dashed #6b7280; word-break: break-all;
}
.acc-pw-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.acc-pw-warn { margin-top: .55rem; color: var(--amber); font-size: .8rem; }
.mut { color: var(--text-faint); font-size: .8rem; }
.acc-help { color: var(--text-faint); font-size: .84rem; text-align: center; }
.file-picks { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
.acc-remembered {
    background: rgba(34,211,238,.05); border: 1px dashed rgba(34,211,238,.35);
    border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: 1.25rem;
}
.acc-remembered-row { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; font-size: .9rem; color: var(--text-dim); }
.acc-remembered-row code { font-family: var(--font-mono); color: var(--cyan); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
    .step-cards, .features-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .console-grid, .why-grid, .screenshots-grid { grid-template-columns: 1fr; }
    .proxy-steps, .proxy-test { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr; }
    .how-vs { padding: .1rem 0; }
    .how-vs span { transform: rotate(90deg); }
    .order-grid { grid-template-columns: 1fr; }
    .order-form-card { position: static; }
    .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .header-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: .1rem;
        background: rgba(6,11,26,.98); border-bottom: 1px solid var(--line);
        padding: .8rem 1.2rem 1rem; display: none;
    }
    .site-header.nav-open .header-nav { display: flex; }
    .header-nav a { padding: .8rem .6rem; font-size: 1rem; }
    .header-nav .nav-cta { margin-left: 0; text-align: center; }
    .sticky-cta { display: flex; }
    .footer-bottom { padding-bottom: 6rem; }
    .hero { padding: 3rem 1.25rem 3.5rem; min-height: auto; gap: 2rem; }
    .terminal-body { font-size: .68rem; min-height: 200px; }
    section { padding: 3.4rem 0; }
    .node-item { grid-template-columns: 70px 1fr auto; }
}
