/* =====================================================================
   ContraCity PRO — «Tactical HUD» design system
   ===================================================================== */

:root {
    --bg: #050a14;
    --bg-2: #08101d;
    --surface: #0c1626;
    --surface-2: #111d31;
    --surface-3: #18263d;
    --line: rgba(255, 255, 255, .075);
    --line-2: rgba(255, 255, 255, .14);
    --text: #eaf3ff;
    --muted: #8597b3;
    --dim: #53637d;

    --acc: #19d3ff;
    --acc-2: #1a7dff;
    --acc-ink: #021220;
    --acc-soft: rgba(25, 211, 255, .10);
    --acc-line: rgba(25, 211, 255, .32);
    --acc-glow: rgba(25, 211, 255, .35);

    --hot: #ff4b3e;
    --hot-soft: rgba(255, 75, 62, .12);
    --warn: #ffb02e;
    --ok: #19d3ff;

    --f-display: 'Golos Text', 'Arial Black', sans-serif;
    --f-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

    --r-sm: 8px;
    --r: 14px;
    --r-lg: 22px;
    --wrap: 1200px;
    --nav-h: 72px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}
main { flex: 1; position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

.acc { color: var(--acc); }
.gradient { color: var(--acc); }
.mono { font-family: var(--f-mono); }
.kicker {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--acc);
    margin-bottom: 14px;
}

/* ---------- backgrounds ---------- */
.bg-grid {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 85%);
    opacity: .55;
}
.bg-noise {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(25, 211, 255, .07), transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(255, 75, 62, .05), transparent 60%);
}

/* ---------- buttons ---------- */
.btn {
    --h: 46px;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--h);
    padding: 0 22px;
    border-radius: 999px;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .25s, color .2s;
    cursor: pointer;
    user-select: none;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary {
    background: linear-gradient(135deg, #2ff3ff 0%, #19b8ff 55%, #1a7dff 100%);
    color: var(--acc-ink);
    box-shadow: 0 0 0 0 var(--acc-glow), inset 0 -2px 0 rgba(0, 0, 0, .15);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 8px 30px -6px var(--acc-glow), inset 0 -2px 0 rgba(0, 0, 0, .15); }
.btn-ghost {
    background: rgba(255, 255, 255, .03);
    border-color: var(--line-2);
    color: var(--text);
}
.btn-ghost:hover { border-color: var(--acc-line); background: var(--acc-soft); color: var(--acc); }
.btn-download {
    background: transparent;
    border-color: var(--acc-line);
    color: var(--acc);
}
.btn-download:hover { background: var(--acc-soft); }
.btn:disabled, .btn.disabled { opacity: .45; pointer-events: none; }
.btn.busy { pointer-events: none; opacity: .7; }
.btn.busy::after {
    content: ''; width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid currentColor; border-right-color: transparent;
    animation: spin .7s linear infinite;
}

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.cc-mark { fill: url(#ccGrad); stroke: url(#ccGrad); overflow: visible; filter: drop-shadow(0 0 6px rgba(25, 211, 255, .55)); }
.brand-mark {
    width: 38px; height: 19px; color: var(--acc);
    display: inline-grid; place-items: center;
    transition: transform .5s var(--ease);
}
.brand-mark svg, .cc-mark { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; }
.brand:hover .brand-mark { transform: skewX(-12deg) scale(1.08); }
.brand-text {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -.01em;
    display: inline-flex; align-items: center; gap: 1px;
}
.brand-text b { font-weight: 700; color: var(--acc); }
.brand-text i {
    font-style: normal;
    font-weight: 900;
    color: var(--acc);
    margin-left: 6px;
}

/* ---------- nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    height: var(--nav-h);
    display: flex; align-items: center; gap: 28px;
    padding: 0 max(20px, calc((100vw - var(--wrap)) / 2));
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled, .inner-page .nav {
    background: rgba(5, 10, 20, .78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--line);
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
    position: relative;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    border-radius: 999px;
    transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.nav:has(.nav-links.open) .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav:has(.nav-links.open) .burger span:nth-child(2) { opacity: 0; }
.nav:has(.nav-links.open) .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* user chip (rendered by auth.js) */
.user-chip { position: relative; }
.uc-trigger {
    display: inline-flex; align-items: center; gap: 10px;
    height: 42px; padding: 4px 12px 4px 4px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: linear-gradient(180deg, rgba(25, 211, 255, .06), rgba(25, 211, 255, .01));
    transition: border-color .2s, background .2s, box-shadow .25s;
}
.uc-trigger:hover, .user-chip.open .uc-trigger { border-color: var(--acc-line); box-shadow: 0 0 0 4px var(--acc-soft); }
.uc-avatar {
    position: relative; flex: none;
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ff3ff, #1a7dff);
    color: var(--acc-ink);
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
}
.uc-avatar::after {
    content: ''; position: absolute; right: -1px; bottom: -1px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #2ee6a0; border: 2px solid var(--bg);
}
.uc-avatar.lg { width: 44px; height: 44px; font-size: 18px; }
.uc-avatar.lg::after { width: 12px; height: 12px; }
.uc-meta { display: grid; text-align: left; line-height: 1.15; min-width: 0; }
.uc-meta .uname { font-size: 14px; font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-meta small, .uc-head small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.uc-caret { width: 12px; height: 12px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.user-chip.open .uc-caret { transform: rotate(180deg); }
.uc-menu {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
    width: 260px; padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--line-2);
    background: rgba(9, 18, 31, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(25, 211, 255, .04);
    opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.uc-menu::before { content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc), transparent); }
.user-chip.open .uc-menu { opacity: 1; visibility: visible; transform: none; }
.uc-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.uc-head > div { display: grid; min-width: 0; }
.uc-head b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-menu a, .uc-menu button {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 10px 10px; border-radius: 10px;
    font-size: 14px; font-weight: 500; text-align: left; color: var(--text);
    transition: background .15s, color .15s;
}
.uc-menu svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); transition: color .15s; }
.uc-menu a:hover { background: var(--acc-soft); color: var(--acc); }
.uc-menu a:hover svg { color: var(--acc); }
.uc-menu .chip-out { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 12px; color: #ff8a93; }
.uc-menu .chip-out svg { color: #ff8a93; }
.uc-menu .chip-out:hover { background: rgba(255, 75, 92, .1); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative;
    min-height: calc(100svh - var(--nav-h));
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 40px;
    padding: 40px max(20px, calc((100vw - var(--wrap)) / 2)) 90px;
    overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 14px 8px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(12, 22, 38, .7);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 28px;
}
.hero-badge b { color: var(--acc); font-weight: 700; }
.hero-badge .sep { color: var(--dim); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 var(--acc-glow); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25, 211, 255, .6); } 70% { box-shadow: 0 0 0 10px rgba(25, 211, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 211, 255, 0); } }

.hero-title {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(40px, 6.6vw, 96px);
    line-height: .95;
    letter-spacing: -.035em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.ht-line { display: block; animation: rise .9s var(--ease) both; }
.ht-line + .ht-line { animation-delay: .12s; }
.ht-outline {
    width: max-content;
    color: transparent;
    background: repeating-linear-gradient(180deg, var(--text) 0 3px, rgba(234, 243, 255, .25) 3px 6px);
    -webkit-background-clip: text; background-clip: text;
}
.hero-title .acc { position: relative; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.hero-sub { max-width: 560px; font-size: 18px; color: var(--muted); margin-bottom: 36px; animation: rise .9s .24s var(--ease) both; }
.hero-sub b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; animation: rise .9s .34s var(--ease) both; }

.hero-stats { display: flex; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); animation: rise .9s .44s var(--ease) both; }
.stat { flex: 1; padding: 20px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }

/* radar */
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; z-index: 1; animation: fadeIn 1.2s .2s both; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.radar { position: absolute; inset: 8%; border-radius: 50%; }
.radar::before {
    content: ''; position: absolute; inset: -1px; border-radius: 50%;
    border: 1px solid var(--acc-line);
    box-shadow: 0 0 80px -10px rgba(25, 211, 255, .25), inset 0 0 60px rgba(25, 211, 255, .06);
}
.radar canvas { width: 100%; height: 100%; border-radius: 50%; }
.radar-label { position: absolute; font-family: var(--f-mono); font-size: 11px; color: var(--acc); opacity: .7; }
.rl-n { top: -22px; left: 50%; transform: translateX(-50%); }
.rl-s { bottom: -22px; left: 50%; transform: translateX(-50%); }
.rl-e { right: -18px; top: 50%; transform: translateY(-50%); }
.rl-w { left: -20px; top: 50%; transform: translateY(-50%); }

.hud-chip {
    position: absolute;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px;
    background: rgba(8, 16, 29, .85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
}
.hud-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.hud-chip i.hot { background: var(--hot); box-shadow: 0 0 10px var(--hot); }
.hud-chip b { color: var(--text); }
.hc-1 { top: 12%; right: -2%; }
.hc-2 { bottom: 14%; left: -4%; animation-delay: -2s; }
.hc-3 { bottom: 4%; right: 6%; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 14px; animation-delay: -4s; }
.hc-3 span { font-size: 10px; letter-spacing: .12em; }
.hc-3 b { font-family: var(--f-display); font-size: 26px; color: var(--acc); line-height: 1.1; }
.hc-3 b.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.3); } }
@keyframes float { 50% { transform: translateY(-10px); } }

.hud-corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--acc); opacity: .6; }
.hcr-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hcr-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hcr-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hcr-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* reticle following cursor */
.reticle {
    position: absolute; top: 0; left: 0; z-index: 5;
    width: 54px; height: 54px; margin: -27px 0 0 -27px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s, width .2s, height .2s;
    will-change: transform;
}
.hero.aiming { cursor: none; }
.hero.aiming .reticle { opacity: 1; }
.hero.aiming a, .hero.aiming button { cursor: pointer; }
.hero.over-ui .reticle { opacity: 0; }
.r-ring { position: absolute; inset: 0; border: 1.5px solid var(--acc); border-radius: 50%; opacity: .85; transition: transform .15s; }
.r-dot { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: var(--acc); }
.reticle i { position: absolute; background: var(--acc); }
.r-t, .r-b { left: 50%; width: 2px; height: 12px; margin-left: -1px; }
.r-t { top: -8px; } .r-b { bottom: -8px; }
.r-l, .r-r { top: 50%; height: 2px; width: 12px; margin-top: -1px; }
.r-l { left: -8px; } .r-r { right: -8px; }
.reticle.fire .r-ring { transform: scale(.7); }
.hit-layer { position: absolute; inset: 0; pointer-events: none; z-index: 6; overflow: hidden; }
.hit {
    position: absolute;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 15px;
    color: var(--acc);
    text-shadow: 0 0 20px var(--acc-glow);
    animation: hitUp .9s var(--ease) forwards;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}
.hit.hs { color: var(--hot); text-shadow: 0 0 20px rgba(255, 75, 62, .6); font-size: 18px; }
.hit-x { position: absolute; width: 22px; height: 22px; transform: translate(-50%, -50%) rotate(45deg); animation: hitX .35s ease-out forwards; }
.hit-x::before, .hit-x::after { content: ''; position: absolute; background: #fff; }
.hit-x::before { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(#fff 35%, transparent 35% 65%, #fff 65%); }
.hit-x::after { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; background: linear-gradient(90deg, #fff 35%, transparent 35% 65%, #fff 65%); }
@keyframes hitUp { 0% { opacity: 0; margin-top: 0; } 15% { opacity: 1; } 100% { opacity: 0; margin-top: -60px; } }
@keyframes hitX { from { opacity: 1; transform: translate(-50%, -50%) rotate(45deg) scale(1.4); } to { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(.8); } }

.scroll-hint {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; z-index: 2;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--acc); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =====================================================================
   TICKER
   ===================================================================== */
.ticker {
    position: relative; z-index: 2;
    background: linear-gradient(90deg, #2ff3ff, #1a7dff);
    color: var(--acc-ink);
    overflow: hidden;
    transform: rotate(-1.5deg);
    margin: 0 -20px;
    box-shadow: 0 20px 60px -20px rgba(25, 211, 255, .35);
}
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: -.01em;
    padding: 16px 0;
    display: inline-flex; align-items: center;
}
.ticker span::after { content: '✦'; margin: 0 28px; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 130px 20px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(30px, 4.4vw, 56px);
    line-height: 1.05;
    letter-spacing: -.03em;
    margin-bottom: 18px;
}
.section-sub { color: var(--muted); font-size: 18px; max-width: 620px; }

[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].show { opacity: 1; transform: none; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
    position: relative;
    grid-column: span 2;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color .3s, transform .4s var(--ease);
    isolation: isolate;
}
.tile::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(25, 211, 255, .08), transparent 60%);
    transition: opacity .3s;
}
.tile:hover { border-color: var(--acc-line); }
.tile:hover::before { opacity: 1; }
.tile-aim { grid-column: span 4; flex-direction: row; }
.tile-sonar { grid-column: span 2; }
.tile-vis { position: relative; height: 210px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .03), transparent 70%); }
.tile-aim .tile-vis { flex: 1.1; height: auto; min-height: 300px; border-bottom: 0; border-right: 1px solid var(--line); }
.tile-txt { padding: 24px 26px 28px; }
.tile-aim .tile-txt { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 36px; }
.tile-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--acc); }
.tile h3 { font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; margin: 8px 0 8px; line-height: 1.2; }
.tile-aim h3 { font-size: 30px; }
.tile p { color: var(--muted); font-size: 15px; }

/* aim visual */
.vis-aim { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; }
.aim-target { position: absolute; left: 58%; top: 50%; width: 110px; transform: translate(-50%, -42%); fill: rgba(255, 75, 62, .18); stroke: var(--hot); stroke-width: 2; animation: strafe 5s ease-in-out infinite; }
@keyframes strafe { 0%, 100% { left: 62%; } 50% { left: 40%; } }
.aim-cross { position: absolute; width: 36px; height: 36px; border: 2px solid var(--acc); border-radius: 50%; transform: translate(-50%, -50%); animation: snap 5s ease-in-out infinite; }
.aim-cross::before, .aim-cross::after { content: ''; position: absolute; background: var(--acc); }
.aim-cross::before { left: 50%; top: -9px; bottom: -9px; width: 2px; margin-left: -1px; }
.aim-cross::after { top: 50%; left: -9px; right: -9px; height: 2px; margin-top: -1px; }
.aim-cross span { position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed var(--acc-line); animation: spin 8s linear infinite; }
@keyframes snap {
    0% { left: 20%; top: 75%; }
    18% { left: 62%; top: calc(50% - 46px); }
    50% { left: 40%; top: calc(50% - 46px); }
    68% { left: 40%; top: calc(50% - 46px); }
    82% { left: 25%; top: 25%; }
    100% { left: 20%; top: 75%; }
}
.aim-fov { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px; border-radius: 50%; border: 1px solid rgba(25, 211, 255, .15); }
.aim-tag { position: absolute; left: 18px; top: 16px; font-family: var(--f-mono); font-size: 11px; padding: 5px 9px; border-radius: 6px; color: var(--acc-ink); background: var(--acc); letter-spacing: .1em; animation: tagBlink 5s infinite; }
@keyframes tagBlink { 0%, 15% { opacity: .25; } 20%, 70% { opacity: 1; } 75%, 100% { opacity: .25; } }

/* sonar visual */
.vis-sonar .ring { position: absolute; left: 50%; top: 55%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 2px solid var(--acc); animation: sonar 3s ease-out infinite; opacity: 0; }
.vis-sonar .r2 { animation-delay: 1s; }
.vis-sonar .r3 { animation-delay: 2s; }
@keyframes sonar { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(6); opacity: 0; } }
.vis-sonar .blip { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 16px var(--hot); animation: blipFade 3s infinite; }
.vis-sonar .b1 { left: 28%; top: 30%; animation-delay: .6s; }
.vis-sonar .b2 { left: 72%; top: 68%; animation-delay: 1.4s; }
@keyframes blipFade { 0%, 100% { opacity: .15; transform: scale(.8); } 20% { opacity: 1; transform: scale(1.2); } }

/* rcs visual — spray collapses to a group */
.vis-rcs { display: grid; place-items: center; }
.vis-rcs span { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--hot); animation: spray 4s var(--ease) infinite; }
.vis-rcs span:nth-child(1) { --x: 0px; --y: 60px; }
.vis-rcs span:nth-child(2) { --x: -12px; --y: 38px; }
.vis-rcs span:nth-child(3) { --x: 14px; --y: 18px; }
.vis-rcs span:nth-child(4) { --x: -22px; --y: -4px; }
.vis-rcs span:nth-child(5) { --x: 26px; --y: -24px; }
.vis-rcs span:nth-child(6) { --x: -34px; --y: -42px; }
.vis-rcs span:nth-child(7) { --x: 40px; --y: -58px; }
.vis-rcs span:nth-child(8) { --x: -46px; --y: -70px; }
.vis-rcs span:nth-child(9) { --x: 10px; --y: -80px; }
@keyframes spray {
    0%, 30% { transform: translate(var(--x), var(--y)); background: var(--hot); }
    55%, 85% { transform: translate(calc(var(--x) * .08), calc(var(--y) * .08)); background: var(--acc); box-shadow: 0 0 10px var(--acc); }
    100% { transform: translate(var(--x), var(--y)); background: var(--hot); }
}

/* chams visual */
.vis-chams svg { position: absolute; left: 50%; top: 50%; width: 100px; transform: translate(-50%, -50%); }
.vis-chams .body { fill: rgba(255, 75, 62, .55); filter: drop-shadow(0 0 12px rgba(255, 75, 62, .7)); animation: chams 4s infinite; }
.vis-chams .bones { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; opacity: .9; }
.vis-chams .wall { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 10px, rgba(255, 255, 255, .02) 10px 20px); border-left: 1px solid var(--line-2); animation: wall 4s infinite; }
@keyframes chams { 0%, 45% { fill: rgba(255, 75, 62, .55); filter: drop-shadow(0 0 12px rgba(255, 75, 62, .7)); } 55%, 95% { fill: rgba(25, 211, 255, .55); filter: drop-shadow(0 0 12px rgba(25, 211, 255, .7)); } }
@keyframes wall { 0%, 45% { transform: translateX(-50%); } 55%, 95% { transform: translateX(110%); } 100% { transform: translateX(-50%); } }

/* streamproof visual */
.vis-stream { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px; }
.screen { position: relative; flex: 1; max-width: 130px; aspect-ratio: 4 / 3; border-radius: 10px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #13213a, #0b1527); overflow: hidden; }
.screen::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 35%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .04)); }
.screen .tag { position: absolute; top: 6px; left: 8px; font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; color: var(--muted); }
.screen .tag.rec { color: var(--hot); animation: tagBlink 2s infinite; }
.screen .box { position: absolute; left: 22%; top: 34%; width: 18%; height: 44%; border: 1.5px solid var(--acc); box-shadow: 0 0 8px var(--acc-glow); }
.screen .box.b2 { left: 60%; top: 40%; width: 14%; height: 36%; border-color: var(--hot); box-shadow: 0 0 8px rgba(255, 75, 62, .5); }

/* ---------- cheat menu ---------- */
.section-menu .section-head { margin-bottom: 40px; }
.cheatmenu {
    position: relative;
    background: #08111e;
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .02);
}
.cm-titlebar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #0e1a2c, #0a1322);
}
.cm-brand { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 14px; }
.cm-brand .brand-mark { width: 30px; height: 15px; }
.cm-brand b { color: var(--acc); font-weight: 700; }
.cm-brand em { font-style: normal; font-family: var(--f-mono); font-size: 10px; color: var(--muted); }
.cm-title-mid { font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--dim); }
.cm-status { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--acc); }
.cm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: pulse 1.8s infinite; }
.cm-body { display: grid; grid-template-columns: 250px 1fr; min-height: 520px; }
.cm-tabs { padding: 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; background: #070f1b; }
.cm-tab {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    text-align: left;
    font-family: var(--f-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--muted);
    transition: background .2s, color .2s;
    position: relative;
}
.cm-tab .ico { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .04); font-size: 14px; }
.cm-tab:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.cm-tab.active { background: var(--acc-soft); color: var(--acc); }
.cm-tab.active .ico { background: var(--acc); }
.cm-tab.active::before { content: ''; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--acc); }
.cm-content { padding: 26px 28px; }
.cm-content.switching .cm-head { animation: rise .45s var(--ease) both; }
.cm-head { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); }
.cm-head h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.cm-head .h-ico { font-size: 20px; }
.cm-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cm-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cm-row {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .015);
    animation: rowIn .45s var(--ease) both;
    transition: border-color .2s, background .2s;
}
.cm-row:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cm-toggle {
    position: relative; flex: none;
    width: 38px; height: 22px;
    border-radius: 999px;
    background: var(--surface-3);
    border: 1px solid var(--line-2);
    cursor: pointer;
    transition: background .25s, border-color .25s;
}
.cm-toggle::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--muted);
    transition: transform .3s var(--ease), background .25s;
}
.cm-toggle.on { background: var(--acc); border-color: var(--acc); }
.cm-toggle.on::after { transform: translateX(16px); background: var(--acc-ink); }
.cm-row .txt { flex: 1; min-width: 0; }
.cm-row .name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.cm-row .desc { color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.cm-badge { flex: none; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; padding: 4px 7px; border-radius: 5px; color: var(--acc); border: 1px solid var(--acc-line); }
.cm-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: #070f1b; }
.cm-key { font-family: var(--f-mono); font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-2); border-bottom-width: 3px; color: var(--text); }
.cm-hint { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.cm-hint b { color: var(--acc); }

/* ---------- steps flow ---------- */
.steps-flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps-flow li {
    position: relative;
    padding: 28px 24px 30px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    transition: border-color .3s, transform .3s var(--ease);
}
.steps-flow li:hover { border-color: var(--acc-line); transform: translateY(-4px); }
.steps-flow li:not(:last-child)::after {
    content: '→'; position: absolute; right: -14px; top: 34px; z-index: 2;
    width: 28px; height: 28px; display: grid; place-items: center;
    border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2);
    color: var(--acc); font-size: 13px;
}
.sf-n { font-family: var(--f-display); font-weight: 900; font-size: 44px; line-height: 1; color: transparent; background: repeating-linear-gradient(180deg, var(--acc) 0 3px, rgba(25, 211, 255, .25) 3px 6px); -webkit-background-clip: text; background-clip: text; display: block; margin-bottom: 22px; }
.steps-flow h4 { font-family: var(--f-display); font-weight: 700; font-size: 18px; margin-bottom: 8px; letter-spacing: -.01em; }
.steps-flow p { color: var(--muted); font-size: 14.5px; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: 30px 28px 28px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    transition: border-color .3s, transform .4s var(--ease), box-shadow .3s;
    overflow: hidden;
    isolation: isolate;
}
.price-card::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(25, 211, 255, .09), transparent 60%);
    transition: opacity .3s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--acc-line); }
.price-card:hover::before { opacity: 1; }
.price-card.hot { border-color: var(--acc); background: linear-gradient(180deg, #0a1d33, var(--bg-2) 70%); box-shadow: 0 30px 80px -30px rgba(25, 211, 255, .3); }
.pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.price-card h4 { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--muted); margin-bottom: 0; }
.price-card.hot h4 { color: var(--acc); }
.pc-tag { font-size: 12px; color: var(--muted); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.ribbon {
    position: absolute; top: 18px; right: -34px;
    transform: rotate(35deg);
    width: 150px; text-align: center;
    background: var(--acc); color: var(--acc-ink);
    font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em;
    padding: 5px 0;
}
.price-card.hot .pc-tag { display: none; }
.price {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 46px;
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: 24px;
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
}
.price span { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; padding-top: 22px; border-top: 1px dashed var(--line-2); flex: 1; }
.price-card li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.price-card li::before {
    content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%;
    background: var(--acc-soft) no-repeat center / 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%2319d3ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; z-index: 1; max-width: var(--wrap); margin: 130px auto 0; padding: 0 20px; }
.cta-inner {
    position: relative; overflow: hidden;
    padding: 72px 48px;
    border-radius: 28px;
    border: 1px solid var(--acc-line);
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(25, 211, 255, .16), transparent 60%),
        linear-gradient(180deg, #071a2e, var(--bg-2));
    text-align: center;
}
.cta-inner::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
    pointer-events: none;
}
.cta-inner > * { position: relative; }
.cta-inner h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 5vw, 64px); letter-spacing: -.035em; line-height: 1; text-transform: uppercase; margin-bottom: 18px; }
.cta-inner p { color: var(--muted); font-size: 18px; margin-bottom: 34px; }
.cta-inner .hero-cta { justify-content: center; animation: none; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { position: relative; z-index: 1; margin-top: 130px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-top { max-width: var(--wrap); margin: 0 auto; padding: 56px 20px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 16px 0 18px; max-width: 320px; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--acc); padding: 6px 12px; border: 1px solid var(--acc-line); border-radius: 999px; }
.footer-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: pulse 1.8s infinite; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 6px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color .2s; width: fit-content; }
.footer-col a:hover { color: var(--acc); }
.footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 20px 20px 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.footer-bottom .mono { font-size: 11px; letter-spacing: .14em; }

/* =====================================================================
   MODAL + CAPTCHA
   ===================================================================== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(2, 6, 14, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
    overflow-y: auto;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
    position: relative;
    width: 100%; max-width: 420px;
    margin: auto;
    padding: 30px 28px 26px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, #0e1a2c, #09121f);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(25, 211, 255, .05);
    transform: translateY(20px) scale(.97);
    transition: transform .4s var(--ease);
}
.modal::before { content: ''; position: absolute; top: -1px; left: 30px; right: 30px; height: 2px; background: linear-gradient(90deg, transparent, var(--acc), transparent); }
.modal-overlay.open .modal { transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 10px; color: var(--muted); border: 1px solid var(--line); transition: color .2s, border-color .2s, transform .3s; }
.modal-close:hover { color: var(--text); border-color: var(--line-2); transform: rotate(90deg); }
.modal-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.modal-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 20px; }
.modal-tab { position: relative; z-index: 1; height: 38px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .25s; }
.modal-tab.active { color: var(--acc-ink); }
.modal-tab-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 9px; background: var(--acc); transition: left .35s var(--ease), width .35s var(--ease); }
.auth-form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .pass-wrap input {
    width: 100%; height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: var(--bg);
    outline: none;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--dim); }
.field input:focus { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.field input.err { border-color: var(--hot); box-shadow: 0 0 0 4px var(--hot-soft); animation: shake .4s; }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 48px; }
.pass-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 9px; opacity: .55; font-size: 15px; transition: opacity .2s, background .2s; }
.pass-eye:hover, .pass-eye.on { opacity: 1; background: rgba(255, 255, 255, .05); }
.strength { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; margin-top: 4px; }
.strength-bar { height: 100%; width: 0; transition: width .3s, background .3s; }
.strength-label { font-size: 12px; color: var(--muted); min-height: 16px; }
.auth-msg { padding: 10px 14px; border-radius: 10px; font-size: 14px; border: 1px solid var(--line-2); background: var(--surface-2); }
.auth-msg.err { color: #ff8a80; border-color: rgba(255, 75, 62, .4); background: var(--hot-soft); }
.auth-msg.ok { color: var(--acc); border-color: var(--acc-line); background: var(--acc-soft); }
.auth-form .btn-block { margin-top: 4px; }

.captcha { margin-top: 18px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
.captcha-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.captcha-head span { display: inline-flex; align-items: center; gap: 8px; }
.captcha-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.captcha-reload { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); font-size: 16px; color: var(--muted); transition: transform .4s var(--ease), color .2s; }
.captcha-reload:hover { color: var(--acc); transform: rotate(180deg); }
.captcha-scale { position: relative; width: 100%; overflow: hidden; border-radius: 10px; }
.captcha-stage { position: relative; width: 320px; height: 160px; transform-origin: 0 0; }
.captcha-stage canvas#captchaBg { display: block; }
.captcha-piece { position: absolute; top: 0; left: 0; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.captcha-ok {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .06em;
    color: var(--acc-ink); background: rgba(25, 211, 255, .88);
    opacity: 0; transform: scale(1.1); transition: opacity .3s, transform .3s var(--ease);
    pointer-events: none;
}
.captcha-stage.done .captcha-ok { opacity: 1; transform: none; }
.captcha-stage.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.captcha-track { position: relative; height: 44px; margin-top: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; touch-action: none; }
.captcha-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--acc-soft); border-right: 1px solid var(--acc-line); }
.captcha-hint { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 44px; font-size: 12px; color: var(--muted); pointer-events: none; text-align: center; }
.captcha-handle {
    position: absolute; top: 0; left: 0;
    width: 44px; height: 42px;
    display: grid; place-items: center;
    border-radius: 11px;
    background: var(--acc); color: var(--acc-ink);
    font-size: 15px; font-weight: 700;
    cursor: grab; touch-action: none; user-select: none;
    box-shadow: 0 4px 14px -2px var(--acc-glow);
}
.captcha-track.dragging .captcha-handle { cursor: grabbing; }
.captcha-track.done { border-color: var(--acc-line); }
.captcha-track.done .captcha-hint { color: var(--acc); }
.captcha-track.err { border-color: rgba(255, 75, 62, .5); }
.captcha-track.err .captcha-handle { background: var(--hot); color: #fff; }

/* ---------- toasts ---------- */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
    max-width: 360px;
    padding: 13px 16px 13px 40px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(13, 24, 40, .96);
    backdrop-filter: blur(10px);
    font-size: 14px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7);
    position: relative;
    animation: toastIn .4s var(--ease) both;
}
.toast::before { content: 'i'; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--surface-3); color: var(--text); }
.toast.ok { border-color: var(--acc-line); }
.toast.ok::before { content: '✓'; background: var(--acc); color: var(--acc-ink); }
.toast.err { border-color: rgba(255, 75, 62, .45); }
.toast.err::before { content: '!'; background: var(--hot); color: #fff; }
.toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* =====================================================================
   INNER PAGES — shared
   ===================================================================== */
.acc-empty { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); grid-column: 1 / -1; }
.cab-kicker { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--acc); margin-bottom: 6px; }

/* ---------- cabinet ---------- */
.cabinet-main { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 56px 20px 0; }
.cab-gate { max-width: 560px; margin: 40px auto 0; text-align: center; padding: 56px 36px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.cab-gate-ico { width: 76px; height: 76px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 22px; color: var(--acc); background: var(--acc-soft); border: 1px solid var(--acc-line); }
.cab-gate-ico > svg { width: 38px; height: 38px; }
.cab-gate-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 5vw, 44px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 14px; }
.cab-gate p { color: var(--muted); margin-bottom: 30px; }
.cab-gate-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.cab-v3-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.cab-v3-head h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 5vw, 56px); letter-spacing: -.035em; line-height: 1; margin-bottom: 12px; }
.cab-v3-head p { color: var(--muted); }
.cab-v3-head .kicker { margin-bottom: 12px; }
.cab-v3-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.cab-access-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(12, 22, 38, .6); margin-bottom: 20px; }
.cab-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.cab-section-head h2 { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.cab-section-head p { color: var(--muted); font-size: 14px; }
.cab-keys { display: grid; gap: 16px; }

.license-v3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; animation: rise .6s var(--ease) both; }
.license-visual {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 240px;
    padding: 24px;
    border-radius: 18px;
    color: var(--acc-ink);
    background:
        radial-gradient(circle at 110% -10%, rgba(255, 255, 255, .5), transparent 40%),
        linear-gradient(135deg, #5fe9ff 0%, #19c2ff 50%, #1a7dff 100%);
    box-shadow: 0 30px 60px -30px rgba(25, 211, 255, .45);
}
.license-visual::before {
    content: ''; position: absolute; right: -40px; bottom: -40px;
    width: 200px; height: 200px; border-radius: 50%;
    border: 2px solid rgba(5, 10, 20, .12);
    box-shadow: 0 0 0 26px rgba(5, 10, 20, .04), 0 0 0 52px rgba(5, 10, 20, .03);
}
.license-label { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; opacity: .7; }
.license-product { font-family: var(--f-display); font-weight: 900; font-size: 24px; letter-spacing: -.03em; margin: 6px 0 auto; text-transform: uppercase; }
.license-code-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 22px 0 18px; }
.license-code-row strong { font-family: var(--f-mono); font-size: 17px; font-weight: 700; letter-spacing: .06em; word-break: break-all; }
.license-copy { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(5, 10, 20, .88); color: var(--acc); transition: transform .2s; }
.license-copy:hover { transform: scale(1.05); }
.license-visual-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; position: relative; }
.license-visual-bottom span { display: grid; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.license-visual-bottom span b { font-size: 14px; text-transform: none; letter-spacing: 0; opacity: 1; }
.license-visual-bottom .license-pill { display: inline-block; opacity: 1; padding: 5px 10px; border-radius: 999px; background: rgba(5, 10, 20, .88); color: var(--acc); font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; }
.license-info { display: grid; gap: 12px; }
.license-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); }
.license-fact { background: var(--surface); padding: 14px 16px; min-width: 0; }
.license-fact span { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.license-fact b { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.license-fact b.ok { color: var(--acc); }
.license-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.license-action h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.license-action p { font-size: 13px; color: var(--muted); }
.license-action > :first-child { min-width: 0; }
.license-action .btn, .hwid-pay { flex: none; }
.hwid-pay { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid rgba(255, 75, 62, .4); color: #ff8a80; transition: background .2s; white-space: nowrap; }
.hwid-pay:hover:not(:disabled) { background: var(--hot-soft); }
.hwid-pay:disabled { opacity: .35; cursor: not-allowed; }

.cab-release-card { display: grid; gap: 20px; padding: 22px; border-radius: 18px; border: 1px solid var(--acc-line); background: linear-gradient(135deg, rgba(25, 211, 255, .07), transparent 60%); }
.cab-release-top { display: flex; gap: 18px; align-items: center; }
.cab-release-ico { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: var(--acc); }
.rel-ext { font-family: var(--f-mono); font-weight: 700; font-size: 13px; color: var(--acc-ink); letter-spacing: .06em; }
.cab-release-title h3 { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.cab-release-title h3 span { font-family: var(--f-mono); font-size: 12px; color: var(--acc); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--acc-line); vertical-align: middle; margin-left: 6px; }
.cab-release-title p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cab-release-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cab-release-facts span { display: grid; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.cab-release-facts b { font-family: var(--f-body); font-size: 14px; color: var(--text); letter-spacing: 0; text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.cab-release-go { justify-self: start; }

.reset-overlay { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(2, 6, 14, .75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fadeIn .25s both; }
.reset-dialog { position: relative; width: 100%; max-width: 440px; padding: 30px 28px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, #0e1a2c, #09121f); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8); }
.reset-dialog h2 { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.reset-dialog > p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.reset-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); font-size: 20px; color: var(--muted); }
.reset-close:hover { color: var(--text); }
.reset-price { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.reset-price b { font-family: var(--f-display); font-size: 22px; color: var(--acc); }
.reset-methods { display: grid; gap: 8px; }
.reset-method { text-align: left; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s; }
.reset-method:hover:not(:disabled) { border-color: var(--acc); background: var(--acc-soft); }
.reset-method:disabled { opacity: .5; }
.reset-state { display: grid; gap: 10px; text-align: center; }
.reset-state b { padding: 10px; font-weight: 600; }
.reset-dialog .auth-msg { margin-top: 12px; }

/* ---------- payment ---------- */
.pay-main { width: 100%; max-width: 1080px; margin: 0 auto; padding: 56px 20px 0; }
.pay-head { text-align: center; margin-bottom: 36px; }
.pay-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 5vw, 56px); letter-spacing: -.035em; line-height: 1; margin-bottom: 14px; }
.pay-sub { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }
.steps { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; }
.step { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--dim); transition: color .3s; }
.step-n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-2); font-family: var(--f-mono); font-size: 13px; transition: all .3s; }
.step.active { color: var(--text); }
.step.active .step-n { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); box-shadow: 0 0 0 6px var(--acc-soft); }
.step.passed { color: var(--muted); }
.step.passed .step-n { border-color: var(--acc); color: var(--acc); }
.step-line { width: 64px; height: 2px; background: var(--line-2); border-radius: 2px; }
.pay-auth-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; margin-bottom: 24px; border-radius: 14px; border: 1px solid rgba(255, 176, 46, .35); background: rgba(255, 176, 46, .07); font-size: 14px; color: var(--muted); }
.pay-auth-banner b { color: var(--warn); }
.pay-plans .plan-card { cursor: pointer; }
.plan-card.selected { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.pay-plans .price-card .btn { pointer-events: none; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.pay-h3 { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; margin-bottom: 16px; }
.methods { display: grid; gap: 10px; }
.method-card {
    display: flex; align-items: center; gap: 16px;
    width: 100%; padding: 16px 18px;
    text-align: left;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.method-card:hover { border-color: var(--line-2); transform: translateX(4px); }
.method-card.selected { border-color: var(--acc); background: linear-gradient(90deg, var(--acc-soft), var(--surface) 70%); }
.method-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 22px; overflow: hidden; }
.pay-method-icon { width: 30px; height: 30px; object-fit: contain; }
.method-info { flex: 1; display: grid; min-width: 0; }
.method-info b { font-size: 16px; font-weight: 600; }
.method-info i { font-style: normal; font-size: 13px; color: var(--muted); }
.method-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); position: relative; transition: border-color .2s; }
.method-card.selected .method-radio { border-color: var(--acc); }
.method-card.selected .method-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--acc); }
.order-card { position: sticky; top: calc(var(--nav-h) + 20px); padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.order-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.order-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.order-row span { color: var(--muted); }
.order-row b { font-weight: 600; text-align: right; word-break: break-all; }
.order-row.total { border-bottom: 0; padding: 18px 0 20px; align-items: baseline; }
.order-row.total b { font-family: var(--f-display); font-size: 30px; letter-spacing: -.03em; color: var(--acc); }
.pay-back { display: block; margin: 14px auto 0; font-size: 14px; color: var(--muted); transition: color .2s; }
.pay-back:hover { color: var(--text); }
.pay-offer-note { margin-top: 16px; font-size: 12px; color: var(--dim); line-height: 1.5; text-align: center; }
.pay-offer-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.wait-card, .done-card { max-width: 520px; margin: 0 auto; text-align: center; padding: 44px 32px; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.wait-spinner { position: relative; width: 84px; height: 84px; margin: 0 auto 22px; }
.wait-spinner .ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--acc); border-right-color: var(--acc); animation: spin 1.1s linear infinite; }
.wait-spinner .ring-2 { inset: 14px; border-top-color: var(--hot); border-right-color: transparent; border-left-color: var(--hot); animation-duration: 1.6s; animation-direction: reverse; }
.wait-amount { font-family: var(--f-display); font-weight: 700; font-size: 46px; letter-spacing: -.04em; line-height: 1; }
.wait-label { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin: 8px 0 14px; word-break: break-all; }
.wait-status { font-weight: 600; color: var(--acc); margin-bottom: 22px; }
.pay-go { margin-bottom: 12px; }
.wait-or { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.wait-timer { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.wait-timer b { font-family: var(--f-mono); color: var(--text); }
.wait-actions, .done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.done-ico { width: 84px; height: 84px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--acc); color: var(--acc-ink); box-shadow: 0 0 0 12px var(--acc-soft), 0 20px 60px -10px var(--acc-glow); animation: popIn .6s var(--ease) both; }
.done-ico svg { width: 42px; height: 42px; }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.done-card h2 { font-family: var(--f-display); font-weight: 700; font-size: 30px; letter-spacing: -.03em; margin-bottom: 8px; }
.done-card > p { color: var(--muted); margin-bottom: 18px; }
.done-key { font-family: var(--f-mono); font-weight: 700; font-size: 18px; letter-spacing: .06em; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--acc-line); background: var(--acc-soft); color: var(--acc); cursor: pointer; word-break: break-all; transition: background .2s; }
.done-key:hover { background: rgba(25, 211, 255, .16); }
.done-meta { font-size: 13px; color: var(--muted); margin: 12px 0; }
.done-note { font-size: 14px; color: var(--muted); padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 22px; text-align: left; }
.pay-error { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 150; max-width: calc(100% - 40px); padding: 14px 20px; border-radius: 12px; border: 1px solid rgba(255, 75, 62, .5); background: #2a1210; color: #ffb4ad; font-size: 14px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7); animation: toastIn .3s both; }

/* ---------- legal ---------- */
.offer-main { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 56px 20px 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 56px; align-items: start; }
.offer-main > * { grid-column: 2; }
.offer-kicker, .offer-title, .offer-lead, .offer-infogrid { grid-column: 1 / -1; }
.offer-kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.offer-kicker::before { content: '// '; }
.offer-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 5vw, 58px); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 16px; max-width: 900px; }
.offer-lead { color: var(--muted); font-size: 18px; max-width: 720px; margin-bottom: 32px; }
.offer-lead b { color: var(--text); }
.offer-infogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 48px; }
.offer-info { padding: 18px 20px; background: var(--surface); }
.offer-info span { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.offer-info b { font-size: 16px; font-weight: 600; }
.offer-info.warn b { color: var(--hot); }
.offer-toc { grid-column: 1; grid-row: 5 / span 60; position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.offer-toc::before { content: 'СОДЕРЖАНИЕ'; font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; color: var(--dim); padding: 6px 10px 10px; }
.offer-toc a { padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--muted); transition: color .2s, background .2s; }
.offer-toc a:hover, .offer-toc a.active { color: var(--acc); background: var(--acc-soft); }
.offer-section { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); }
.offer-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--acc-line); color: var(--acc); font-family: var(--f-display); font-weight: 700; font-size: 17px; }
.offer-body h2 { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; margin-bottom: 14px; padding-top: 8px; }
.offer-body p { color: #c3cfe0; margin-bottom: 12px; }
.offer-body b { color: var(--text); }
.offer-body a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.offer-body ul, .offer-alert ul { list-style: none; display: grid; gap: 8px; margin: 4px 0 14px; }
.offer-body li, .offer-alert li { position: relative; padding-left: 22px; color: #c3cfe0; }
.offer-body li::before, .offer-alert li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; background: var(--acc); transform: rotate(45deg); }
.hl-red { color: var(--hot) !important; }
.offer-alert { margin: 8px 0 20px; padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(255, 75, 62, .35); background: linear-gradient(135deg, var(--hot-soft), transparent 70%); }
.offer-alert-title { font-family: var(--f-display); font-weight: 700; font-size: 16px; color: #ff8a80; margin-bottom: 12px; }
.offer-alert li::before { background: var(--hot); }
.offer-alert b { color: #ff8a80; }
.offer-cta { margin-top: 24px; padding: 40px 32px; text-align: center; border-radius: 22px; border: 1px solid var(--acc-line); background: radial-gradient(500px 200px at 50% 0%, rgba(25, 211, 255, .12), transparent 70%), var(--surface); }
.offer-cta-ico { font-size: 30px; margin-bottom: 10px; }
.offer-cta h3 { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; margin-bottom: 10px; }
.offer-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }

/* ---------- misc ---------- */
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
    .hero { grid-template-columns: minmax(0, 1fr); padding-top: 32px; text-align: left; }
    .hero-visual { max-width: 440px; order: -1; margin-bottom: -10px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .tile, .tile-sonar { grid-column: span 1; }
    .tile-aim { grid-column: span 2; }
    .steps-flow { grid-template-columns: repeat(2, 1fr); }
    .steps-flow li:nth-child(2)::after { display: none; }
    .license-v3 { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .offer-main { grid-template-columns: minmax(0, 1fr); }
    .offer-main > *, .offer-toc { grid-column: 1; grid-row: auto; }
    .offer-toc { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 16px; }
    .offer-toc::before { width: 100%; }
}

@media (max-width: 860px) {
    .nav { gap: 12px; }
    .burger { display: block; }
    .nav-links {
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; gap: 0;
        padding: 12px 20px 20px;
        background: rgba(5, 10, 20, .97);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-12px); opacity: 0; visibility: hidden;
        transition: transform .3s var(--ease), opacity .3s, visibility .3s;
    }
    .nav-links.open { transform: none; opacity: 1; visibility: visible; }
    .nav-links a { padding: 14px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
    .nav-actions { margin-left: auto; }
    .nav-cta { display: none; }
    .cm-body { grid-template-columns: 1fr; min-height: 0; }
    .cm-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .cm-tabs::-webkit-scrollbar { display: none; }
    .cm-tab { flex: none; }
    .cm-tab.active::before { display: none; }
    .cm-rows { grid-template-columns: 1fr; }
    .cm-title-mid { display: none; }
    .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .pay-grid { grid-template-columns: 1fr; }
    .order-card { position: static; }
    .license-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    :root { --nav-h: 64px; }
    body { font-size: 15px; }
    .brand-text { font-size: 15px; }
    .hero { padding-bottom: 56px; gap: 20px; }
    .scroll-hint { display: none; }
    .hero-visual { max-width: 300px; margin-bottom: 8px; }
    .hero-title { font-size: 9.4vw; }
    .hc-1 { right: -4%; }
    .hc-2 { left: -2%; }
    .hero-sub { font-size: 16px; }
    .hero-cta .btn { flex: 1 1 100%; }
    .hero-stats { margin-top: 40px; }
    .stat { padding-right: 10px; }
    .stat + .stat { padding-left: 12px; }
    .stat span { font-size: 12px; line-height: 1.3; display: block; }
    .section { padding-top: 96px; }
    .bento { grid-template-columns: 1fr; }
    .tile, .tile-aim, .tile-sonar { grid-column: span 1; }
    .tile-aim { flex-direction: column; }
    .tile-aim .tile-vis { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
    .tile-aim .tile-txt { padding: 24px 26px 28px; }
    .tile-aim h3 { font-size: 24px; }
    .steps-flow { grid-template-columns: 1fr; }
    .steps-flow li::after { display: none; }
    .cm-content { padding: 20px 16px; }
    .cm-hint { margin-left: 0; width: 100%; }
    .cta-inner { padding: 52px 22px; }
    .footer { margin-top: 96px; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .uc-meta { display: none; }
    .uc-trigger { padding-right: 10px; gap: 6px; }
    .uc-menu { width: min(260px, calc(100vw - 32px)); }
    .step-t { display: none; }
    .step-line { width: 36px; }
    .pay-auth-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .license-action { flex-direction: column; align-items: stretch; }
    .license-action .btn, .hwid-pay { width: 100%; }
    .cab-release-facts { grid-template-columns: 1fr; }
    .cab-access-panel { padding: 18px; }
    .cab-v3-actions { width: 100%; }
    .cab-v3-actions .btn { flex: 1; }
    .offer-infogrid { grid-template-columns: 1fr; }
    .offer-section { grid-template-columns: 1fr; gap: 10px; }
    .modal { padding: 26px 20px 20px; }
    .wait-card, .done-card { padding: 36px 20px; }
    .toast-wrap { left: 16px; right: 16px; }
    .toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- logo placements ---------- */
.cta-mark { width: 96px; height: 48px; margin: 0 auto 22px; animation: float 6s ease-in-out infinite; }
.cta-mark .cc-mark { filter: drop-shadow(0 0 24px rgba(25, 211, 255, .7)); }
.cab-gate-ico .cc-mark { width: 44px; }
.hero-mark { display: inline-flex; width: 30px; height: 15px; }

.license-visual::after {
    content: ''; position: absolute; right: 18px; top: 18px; width: 64px; height: 32px; opacity: .22;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 60 30'%3E%3Cpath d='M0 26 L25 2 V26 Z M29 0 H55 L29 25 Z' fill='%23021220' stroke='%23021220' stroke-width='2.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}
