/* ==========================================================================
   GoodGames — goodgames.pro
   Тёмная тема, кислотно-лаймовый акцент, «жёсткие» тени в духе игрового HUD.
   ========================================================================== */

/* ---------- Шрифты (self-hosted, variable woff2; ₽ вынесен в отдельный микро-файл) ---------- */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/unbounded-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/unbounded-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/unbounded-rub.woff2") format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-rub.woff2") format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/jetbrains-mono-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/jetbrains-mono-rub.woff2") format("woff2"); unicode-range: U+20BD; }

:root {
  --bg: #0b0e09;
  --bg-2: #10140d;
  --surface: #151a11;
  --surface-2: #1c2317;
  --line: #2a3322;
  --line-2: #3a4630;
  --text: #eef4e4;
  --muted: #95a287;
  --dim: #6b7760;
  --lime: #c4ff3a;
  --lime-2: #a6e61a;
  --lime-ink: #0b0e09;
  --lime-glow: rgba(196, 255, 58, .18);
  --coral: #ff6a3d;
  --sky: #5cc8ff;
  --violet: #a98bff;

  --r: 16px;
  --r-lg: 22px;
  --shadow-hard: 6px 6px 0 0 var(--lime);
  --shadow-hard-dim: 6px 6px 0 0 var(--line-2);

  --f-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
/* Место под шапку, пока её не отрисовал main.js — без сдвига контента */
#site-header { height: 69px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Фон: пиксельная сетка, растворяющаяся вниз */
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(196, 255, 58, .09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Типографика ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lime);
}
.tag::before { content: ""; width: 8px; height: 8px; background: var(--lime); border-radius: 2px; }
.h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(28px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.02em;
  margin: 14px 0 0;
}
.lead { color: var(--muted); font-size: 17px; max-width: 560px; margin: 14px 0 0; }
.hl { color: var(--lime); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 2px solid var(--lime); border-radius: 12px;
  background: var(--lime); color: var(--lime-ink);
  font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  box-shadow: 4px 4px 0 0 var(--lime-2);
  transition: transform .12s ease, box-shadow .12s ease, opacity .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--lime-2); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 var(--lime-2); }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: 4px 4px 0 0 var(--line); }
.btn--ghost:hover { border-color: var(--lime); box-shadow: 6px 6px 0 0 var(--line-2); }
.btn--sky { background: var(--sky); border-color: var(--sky); color: #04131c; box-shadow: 4px 4px 0 0 #2e8fc0; }
.btn--sky:hover { box-shadow: 6px 6px 0 0 #2e8fc0; }
.btn--violet { background: var(--violet); border-color: var(--violet); color: #120a2a; box-shadow: 4px 4px 0 0 #7258d6; }
.btn--violet:hover { box-shadow: 6px 6px 0 0 #7258d6; }
.btn--ink { background: var(--lime-ink); border-color: var(--lime-ink); color: var(--lime); box-shadow: 4px 4px 0 0 rgba(11, 14, 9, .35); }
.btn--ink:hover { box-shadow: 6px 6px 0 0 rgba(11, 14, 9, .35); }
.btn--ink-ghost { background: transparent; border-color: var(--lime-ink); color: var(--lime-ink); box-shadow: 4px 4px 0 0 rgba(11, 14, 9, .2); }
.btn--ink-ghost:hover { box-shadow: 6px 6px 0 0 rgba(11, 14, 9, .2); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 9, .84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 2px solid var(--lime); border-radius: 10px;
  font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--lime); letter-spacing: -.04em;
  box-shadow: 3px 3px 0 0 var(--lime-2);
}
.logo__text { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.logo__text span { color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.header__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header__support {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 10px; font-weight: 600; font-size: 14px;
  transition: border-color .15s;
}
.header__support:hover { border-color: var(--lime); }
.header__support svg { width: 18px; height: 18px; color: var(--sky); }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-2); background: transparent; place-items: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative;
  transition: transform .2s, background .2s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero__watermark {
  position: absolute; right: -4vw; top: 10px; z-index: -1; pointer-events: none; user-select: none;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(240px, 38vw, 560px); line-height: .8;
  letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1.5px rgba(196, 255, 58, .08);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(38px, 6.2vw, 76px); line-height: .98; letter-spacing: -.035em;
  margin: 18px 0 0;
}
.hero__title mark { background: none; color: var(--lime); position: relative; white-space: nowrap; }
.hero__title mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em;
  background: var(--lime); opacity: .25; border-radius: 4px;
}
.hero__lead { color: var(--muted); font-size: 18px; max-width: 520px; margin: 22px 0 0; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px 0 0; max-width: 560px; }
.fact { border-left: 2px solid var(--lime); padding: 2px 0 2px 14px; }
.fact b { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.fact span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; margin-top: 2px; }
.hero__also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0 0; font-size: 14px; color: var(--dim); }
.chip-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font-weight: 600; font-size: 14px;
  transition: border-color .15s, background .15s;
}
.chip-link:hover { border-color: var(--lime); background: var(--surface); }
.chip-link i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--lime)); }

/* ---------- HUD-карточка (формы) ---------- */
.hud {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 2px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hard);
  padding: 26px;
}
.hud--dim { box-shadow: var(--shadow-hard-dim); transition: box-shadow .2s; }
.hud--dim:focus-within { box-shadow: 6px 6px 0 0 var(--accent, var(--lime)); }
.hud__corner { position: absolute; width: 14px; height: 14px; border-color: var(--accent, var(--lime)); border-style: solid; pointer-events: none; }
.hud__corner--tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.hud__corner--tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.hud__corner--bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.hud__corner--br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }
.hud__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.hud__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hud__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #1b2838; color: #c7d5e0; flex-shrink: 0;
}
.hud__icon svg { width: 26px; height: 26px; }
.hud__icon--vpn { background: rgba(169, 139, 255, .14); color: var(--violet); }
.hud__icon--stars { background: rgba(92, 200, 255, .14); color: var(--sky); }
.hud__title h2, .hud__title h3 { font-family: var(--f-display); font-size: 19px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.hud__title p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.status {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--lime);
  padding: 6px 10px; border: 1px solid rgba(196, 255, 58, .3); border-radius: 999px; background: rgba(196, 255, 58, .06);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
.status--off { color: var(--coral); border-color: rgba(255, 106, 61, .35); background: rgba(255, 106, 61, .08); }
.status--off::before { background: var(--coral); animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 255, 58, .6); }
  70% { box-shadow: 0 0 0 8px rgba(196, 255, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 255, 58, 0); }
}
.hud--violet { --accent: var(--violet); }
.hud--sky { --accent: var(--sky); }

/* ---------- Поля формы ---------- */
.field { display: block; margin-bottom: 16px; }
.field__label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px;
}
.field__label a { color: var(--accent, var(--lime)); font-weight: 600; font-size: 12px; }
.field__label a:hover { text-decoration: underline; }
.input-wrap { position: relative; }
.input {
  width: 100%; height: 54px; padding: 0 16px;
  background: var(--bg); border: 2px solid var(--line-2); border-radius: 12px;
  font-size: 17px; font-weight: 600; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--dim); font-weight: 500; }
.input:hover { border-color: #4a583e; }
.input:focus { outline: none; border-color: var(--accent, var(--lime)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, var(--lime)) 18%, transparent); }
.input[disabled] { opacity: .5; cursor: not-allowed; }
.field.has-error .input { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 106, 61, .15); }
.input--suffix { padding-right: 44px; }
.input--prefix { padding-left: 34px; }
.input-wrap__suffix, .input-wrap__prefix {
  position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none;
  font-family: var(--f-display); font-weight: 600; color: var(--muted);
}
.input-wrap__suffix { right: 16px; }
.input-wrap__prefix { left: 16px; font-family: var(--f-body); font-weight: 700; }
.field__hint { font-size: 12.5px; color: var(--dim); margin-top: 6px; }
.field__error { font-size: 12.5px; color: var(--coral); margin-top: 6px; display: none; }
.field.has-error .field__error { display: block; }
.select {
  width: 100%; height: 54px; padding: 0 44px 0 16px; appearance: none; -webkit-appearance: none;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2395a287' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  border: 2px solid var(--line-2); border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer;
}
.select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px var(--lime-glow); }
.select[disabled] { opacity: .5; cursor: not-allowed; }

.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.preset {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface);
  font-weight: 700; font-size: 14px; color: var(--text);
  transition: border-color .15s, background .15s, color .15s;
}
.preset:hover { border-color: var(--accent, var(--lime)); }
.preset.is-active { background: var(--accent, var(--lime)); border-color: var(--accent, var(--lime)); color: var(--lime-ink); }
.preset svg { width: 14px; height: 14px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface);
  font-weight: 700; font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.seg input:checked + span { border-color: var(--lime); background: rgba(196, 255, 58, .08); color: var(--lime); }
.seg input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }

.summary {
  margin: 18px 0; padding: 14px 16px; border-radius: 12px;
  background: var(--bg); border: 1px dashed var(--line-2); font-size: 14px;
}
.summary__row { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.summary__row + .summary__row { margin-top: 6px; }
.summary__row--total { color: var(--text); font-weight: 700; padding-top: 10px; margin-top: 10px !important; border-top: 1px solid var(--line); align-items: baseline; }
.summary__row--total b { font-family: var(--f-display); font-size: 20px; color: var(--accent, var(--lime)); letter-spacing: -.02em; }
.summary s { color: var(--dim); }

.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.45; }
.agree input { width: 18px; height: 18px; accent-color: var(--lime); margin: 1px 0 0; flex-shrink: 0; }
.agree a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; }
.agree a:hover { text-decoration-color: var(--lime); }

/* ---------- Бегущая строка ---------- */
.ticker {
  background: var(--lime); color: var(--lime-ink);
  overflow: hidden; transform: rotate(-1.2deg); margin: 8px -20px 0;
}
.ticker__track {
  display: flex; gap: 42px; width: max-content; padding: 14px 0;
  animation: ticker 40s linear infinite;
  font-family: var(--f-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: -.01em;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 42px; white-space: nowrap; }
.ticker__track span::after { content: "✦"; font-size: 14px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { padding: 110px 0 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 30px; flex-wrap: wrap; margin-bottom: 40px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .2s, transform .2s;
}
.step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.step__num {
  font-family: var(--f-display); font-weight: 800; font-size: 56px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--lime); letter-spacing: -.04em;
}
.step h3 { font-family: var(--f-display); font-size: 19px; font-weight: 700; margin: 18px 0 8px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step__visual { margin-top: 20px; }

/* Мини-макет Steam */
.mock { border-radius: 12px; overflow: hidden; border: 1px solid #2a3f55; background: #171d25; font-size: 12px; color: #c7d5e0; }
.mock__bar { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 8px 10px; background: #0e141b; }
.mock__user { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 4px; background: #2a3f55; font-weight: 700; }
.mock__user i { width: 14px; height: 14px; border-radius: 3px; background: linear-gradient(135deg, #66c0f4, #1b2838); }
.mock__menu { padding: 6px; }
.mock__menu div { padding: 6px 8px; border-radius: 4px; color: #8f98a0; }
.mock__menu .is-on { background: rgba(196, 255, 58, .12); color: var(--lime); font-weight: 700; outline: 1px dashed rgba(196, 255, 58, .5); }
.mock-line { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; }
.mock-line + .mock-line { margin-top: 8px; }
.mock-line b { margin-left: auto; font-family: var(--f-mono); color: var(--lime); font-weight: 500; }
.mock-line .ok { width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }

/* VPN + Stars */
.duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; padding-top: 8px; }
.plan { position: relative; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan__box {
  display: flex; flex-direction: column; height: 100%;
  padding: 16px 14px 14px; border-radius: 14px; border: 2px solid var(--line-2); background: var(--bg);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.plan__box:hover { border-color: #4a583e; }
.plan input:checked + .plan__box { border-color: var(--accent, var(--lime)); background: color-mix(in srgb, var(--accent, var(--lime)) 8%, transparent); }
.plan input:focus-visible + .plan__box { outline: 2px solid var(--accent, var(--lime)); outline-offset: 2px; }
.plan__term { font-weight: 700; font-size: 14px; color: var(--muted); }
.plan__price { font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; margin-top: 8px; line-height: 1.1; }
.plan__price small { font-family: var(--f-body); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan__total { font-size: 12px; color: var(--dim); margin-top: auto; padding-top: 10px; }
.plan__total s { margin-right: 4px; }
.plan__badge {
  position: absolute; top: -10px; right: 10px;
  padding: 3px 8px; border-radius: 6px; background: var(--coral); color: #1a0b05;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.plan__badge--best { background: var(--violet); color: #120a2a; }

.feature-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.feature-list li { display: flex; gap: 8px; align-items: flex-start; }
.feature-list li::before { content: "✓"; color: var(--accent, var(--lime)); font-weight: 800; }

.stars-rate {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 16px;
}
.stars-rate span { font-size: 13px; color: var(--muted); }
.stars-rate b { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-size: 17px; color: var(--sky); letter-spacing: -.01em; }
.stars-rate svg { width: 18px; height: 18px; }
.range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; margin: 16px 0 4px;
  background: linear-gradient(90deg, var(--sky) var(--p, 10%), var(--line-2) var(--p, 10%));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 6px; background: var(--sky);
  border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--sky); cursor: pointer;
}
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 6px; background: var(--sky); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--sky); cursor: pointer; }
.range:focus { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--sky), 0 0 0 6px rgba(92, 200, 255, .25); }
.range-scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--dim); }

/* ---------- Каталог ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.tab {
  min-height: 40px; padding: 0 16px; border-radius: 10px; border: 0; background: transparent;
  font-weight: 700; font-size: 14px; color: var(--muted); transition: background .15s, color .15s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--lime); color: var(--lime-ink); }
.tab sup { font-family: var(--f-mono); font-size: 10px; opacity: .7; margin-left: 3px; }

.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  --c1: #333; --c2: #555;
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2);
  overflow: hidden; transition: transform .18s ease, border-color .18s, box-shadow .18s;
}
.card:hover { transform: translate(-3px, -3px); border-color: var(--line-2); box-shadow: 6px 6px 0 0 var(--c1); }
.card[hidden] { display: none; }
.art {
  --c1: #333; --c2: #555;
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--c2) 80%, #fff 20%), transparent 45%),
    linear-gradient(135deg, var(--c1), var(--c2));
}
.art::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.2px);
  background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(135deg, transparent 35%, #000);
          mask-image: linear-gradient(135deg, transparent 35%, #000);
}
.art::after {
  content: ""; position: absolute; right: -18%; bottom: -40%; width: 70%; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .04), 0 0 0 40px rgba(255, 255, 255, .03);
}
.art__mono {
  position: absolute; left: 16px; bottom: 10px; z-index: 1;
  font-family: var(--f-display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.05em;
  color: rgba(255, 255, 255, .94); text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}
.art__kind {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .38);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #fff;
}
.art__platform {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .9); color: #111;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.card .art { aspect-ratio: 16 / 10; }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px; flex: 1; }
.card__name { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; line-height: 1.25; }
.card__sub { font-size: 13px; color: var(--muted); }
.card__cta {
  margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-weight: 700; font-size: 13.5px; color: var(--lime);
}
.card__cta svg { width: 18px; height: 18px; transition: transform .18s; flex-shrink: 0; }
.card:hover .card__cta svg { transform: translateX(4px); }
.card__cta--off { color: var(--dim); }

/* ---------- Почему мы ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__item { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); }
.why__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  border: 2px solid var(--lime); color: var(--lime); box-shadow: 3px 3px 0 0 var(--lime-2);
}
.why__icon svg { width: 22px; height: 22px; }
.why__item h3 { font-family: var(--f-display); font-size: 17px; font-weight: 700; margin: 20px 0 8px; letter-spacing: -.01em; }
.why__item p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; align-items: stretch; }
.reviews__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  padding: 28px; border-radius: var(--r-lg); background: #0077ff; color: #fff;
  box-shadow: 6px 6px 0 0 #0050b0; transition: transform .15s, box-shadow .15s;
}
.reviews__card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 #0050b0; }
.reviews__card svg { width: 44px; height: 44px; }
.reviews__card b { display: block; font-family: var(--f-display); font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.reviews__card span { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; opacity: .85; }
.reviews__quotes { display: grid; gap: 14px; }
.quote {
  padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2);
  font-size: 15.5px; color: var(--text);
}
.quote p { margin: 0; }
.quote footer { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.quote footer i { width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--lime); font-size: 12px; }
.quote--todo { border-style: dashed; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-aside { position: sticky; top: 100px; }
.faq-aside .hud { margin-top: 30px; padding: 22px; }
.faq-aside .hud p { margin: 6px 0 16px; font-size: 14px; color: var(--muted); }
.faq-aside .hud strong { font-family: var(--f-display); font-size: 17px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-weight: 700; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid var(--line-2); font-family: var(--f-display); font-size: 18px; color: var(--lime);
  transition: transform .2s, background .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; margin-top: 110px; padding: 56px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--lime); color: var(--lime-ink);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.cta-band::after {
  content: "GG"; position: absolute; right: -20px; bottom: -70px; pointer-events: none;
  font-family: var(--f-display); font-weight: 800; font-size: 280px; line-height: 1; letter-spacing: -.08em;
  color: transparent; -webkit-text-stroke: 2px rgba(11, 14, 9, .14);
}
.cta-band h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 4vw, 44px); line-height: 1.02; letter-spacing: -.03em; margin: 0; }
.cta-band p { margin: 14px 0 0; font-size: 17px; font-weight: 600; opacity: .75; max-width: 480px; }
.cta-band__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Подвал ---------- */
.footer { margin-top: 110px; border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.footer__about { margin: 16px 0 0; font-size: 14px; color: var(--muted); max-width: 320px; }
.footer__counter {
  display: inline-flex; align-items: baseline; gap: 10px; margin-top: 20px; padding: 10px 14px;
  border: 1px solid var(--line-2); border-radius: 12px;
}
.footer__counter b { font-family: var(--f-display); font-size: 22px; color: var(--lime); letter-spacing: -.02em; }
.footer__counter span { font-size: 13px; color: var(--muted); }
.footer h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 0 0 16px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; color: var(--muted); transition: color .15s; }
.footer ul a:hover { color: var(--lime); }
.socials { display: flex; gap: 10px; }
.social {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--muted); transition: color .15s, border-color .15s;
}
.social:hover { color: var(--lime); border-color: var(--lime); }
.social svg { width: 20px; height: 20px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pay {
  height: 30px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 6px;
  border: 1px solid var(--line-2); font-weight: 800; font-size: 12px; letter-spacing: .02em; color: var(--muted);
}
.footer__legal { font-size: 13px; color: var(--dim); margin: 36px 0 0; line-height: 1.55; max-width: 860px; overflow-wrap: anywhere; }
.footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--dim);
}

/* ---------- Страница товара ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 28px 0 0; font-size: 14px; color: var(--dim); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--lime); }
.crumbs span[aria-hidden] { opacity: .6; }
.product-banner { position: relative; margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; min-height: 280px; border: 1px solid var(--line-2); }
.product-banner .art { position: absolute; inset: 0; }
.product-banner .art__mono { font-size: clamp(90px, 16vw, 200px); left: auto; right: 28px; bottom: -10px; opacity: .9; }
.product-banner__overlay {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  min-height: 280px; padding: 32px;
  background: linear-gradient(90deg, rgba(11, 14, 9, .88) 0%, rgba(11, 14, 9, .55) 45%, rgba(11, 14, 9, 0) 75%);
}
.product-banner h1 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 5vw, 56px); line-height: 1; letter-spacing: -.03em; }
.product-banner__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.product-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; margin-top: 28px; }
.product-form .hud__head h2 { font-family: var(--f-display); font-size: 19px; margin: 0; }
.nominals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.nominal {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left;
  min-height: 60px; padding: 12px 16px; border-radius: 12px; border: 2px solid var(--line-2); background: var(--bg);
  font-weight: 700; font-size: 14.5px; transition: border-color .15s, background .15s;
}
.nominal:hover { border-color: #4a583e; }
.nominal b { font-family: var(--f-display); font-size: 14px; color: var(--muted); white-space: nowrap; font-weight: 600; }
.nominal.is-active { border-color: var(--lime); background: rgba(196, 255, 58, .07); }
.nominal.is-active b { color: var(--lime); }
.nominal[disabled] { opacity: .5; cursor: not-allowed; }
.pay-card { position: sticky; top: 92px; }
.pay-card h2 { font-family: var(--f-display); font-size: 19px; margin: 0 0 14px; }
.pay-card .summary { margin-top: 0; }
.product-desc { margin-top: 40px; max-width: 780px; }
.product-desc h2 { font-family: var(--f-display); font-size: 22px; letter-spacing: -.01em; margin: 0 0 12px; }
.product-desc p { color: var(--muted); font-size: 16px; margin: 0 0 12px; }
.product-desc ul { color: var(--muted); padding-left: 20px; margin: 0; }
.product-desc li + li { margin-top: 6px; }
.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(255, 106, 61, .08); border: 1px solid rgba(255, 106, 61, .35); color: #ffc4b0; font-size: 14px;
}
.notice b { color: var(--coral); }
.empty { padding: 100px 0 0; text-align: center; }
.empty h1 { font-family: var(--f-display); font-size: clamp(30px, 5vw, 48px); letter-spacing: -.03em; margin: 12px 0; }
.empty p { color: var(--muted); margin: 0 0 28px; }

/* ---------- Toast / модалка ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 30px);
  width: max-content; max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 12px;
  background: var(--surface-2); border: 2px solid var(--lime); box-shadow: 4px 4px 0 0 var(--lime-2);
  font-weight: 600; font-size: 14.5px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast--error { border-color: var(--coral); box-shadow: 4px 4px 0 0 #c24a25; }

.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(5, 7, 4, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal .hud { width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; transform: translateY(12px); transition: transform .2s; }
.modal.is-open .hud { transform: none; }
.modal__close {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent;
  display: grid; place-items: center; color: var(--muted); flex-shrink: 0;
}
.modal__close:hover { color: var(--text); border-color: var(--text); }
.modal__close svg { width: 18px; height: 18px; }
.modal__lines { display: grid; gap: 8px; font-size: 14.5px; }
.modal__lines div { display: flex; justify-content: space-between; gap: 16px; }
.modal__lines span { color: var(--muted); }
.modal__lines b { text-align: right; overflow-wrap: anywhere; }

/* ---------- Юридические страницы ---------- */
.legal { padding: 20px 0 0; }
.legal__box { max-width: 820px; }
.legal h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.02em; line-height: 1.1; margin: 14px 0 8px; }
.legal .updated { color: var(--dim); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-family: var(--f-display); font-weight: 600; font-size: 19px; margin: 36px 0 10px; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--lime); }
.todo { background: rgba(255, 106, 61, .12); color: var(--coral); padding: 1px 6px; border-radius: 4px; font-family: var(--f-mono); font-size: .85em; }

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .catalog { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav, .header__support span { display: none; }
  .burger { display: grid; }
  .menu-open .nav {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 68px; margin: 0;
    padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .menu-open .nav a { padding: 14px 12px; font-size: 17px; color: var(--text); }
  .hero { padding-top: 40px; }
  .hero__grid, .duo, .faq-wrap, .product-layout, .reviews { grid-template-columns: 1fr; }
  .hero__grid { gap: 44px; }
  .faq-wrap { gap: 32px; }
  .faq-aside, .pay-card { position: static; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta-band__actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding-top: 80px; }
  .hero__facts { gap: 8px; }
  .fact { padding-left: 10px; }
  .fact b { font-size: 18px; }
  .fact span { font-size: 12px; }
  .hud { padding: 20px 16px; }
  .hud__corner { display: none; }
  .hud__head { flex-wrap: wrap; }
  .catalog { grid-template-columns: 1fr 1fr; gap: 12px; }
  .art__mono { font-size: 30px; left: 12px; }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: 13.5px; }
  .card__sub { font-size: 12px; }
  .why { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 14px; }
  .plan__box { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .plan__price { margin-top: 0; font-size: 20px; margin-left: auto; }
  .plan__total { width: 100%; padding-top: 0; }
  .feature-list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tab { padding: 0 8px; font-size: 13px; }
  .cta-band::after { font-size: 180px; bottom: -40px; }
  .nominals { grid-template-columns: 1fr; }
  .product-banner, .product-banner__overlay { min-height: 220px; }
  .product-banner__overlay { padding: 22px; background: linear-gradient(0deg, rgba(11, 14, 9, .9) 0%, rgba(11, 14, 9, .3) 70%, rgba(11, 14, 9, 0)); }
  .product-banner .art__mono { right: 14px; top: 14px; bottom: auto; font-size: 80px; }
  .presets { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.product-banner .art__kind { display: none; }
