/* ==========================================================
   SquadClient — стиль сайта (по мотивам интерфейса клиента)
   ========================================================== */
:root {
  --bg: #090b13;
  --bg-2: #0d1020;
  --surface: rgba(23, 21, 28, 0.78);
  --surface-solid: #17151a;
  --surface-2: rgba(32, 32, 44, 0.72);
  --surface-hover: #262c40;
  --line: rgba(140, 160, 220, 0.12);
  --line-strong: rgba(110, 165, 255, 0.35);
  --border: #3c50a0;
  --text: #d2dcff;
  --muted: #8ca0dc;
  --dim: #5e6a90;
  --pink: #b874a8;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;

  /* Акцент меняется пресетами тем (см. main.js) */
  --accent: #6ea5ff;
  --accent-2: #96b4ff;
  --accent-rgb: 110, 165, 255;
  --grad: linear-gradient(135deg, #6ea5ff 0%, #96b4ff 45%, #b874a8 100%);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }
::selection { background: rgba(var(--accent-rgb), .35); }

/* ---------- Фон: размытые огни + частицы, как в клиенте ---------- */
.bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(var(--accent-rgb), .16), transparent 60%),
    radial-gradient(700px 500px at 100% 10%, rgba(184, 116, 168, .13), transparent 60%),
    radial-gradient(800px 700px at 50% 110%, rgba(60, 80, 160, .22), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  transition: background .6s;
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 190, 120, .10) 0 40px, transparent 41px),
    radial-gradient(circle at 80% 70%, rgba(255, 190, 120, .07) 0 60px, transparent 61px),
    radial-gradient(circle at 65% 20%, rgba(150, 180, 255, .08) 0 30px, transparent 31px);
  filter: blur(18px);
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(9, 11, 19, .62);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), .55)); }
.brand b { display: block; font-size: 19px; font-weight: 800; letter-spacing: .2px; line-height: 1.1; }
.brand small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  color: var(--muted); font-weight: 600; font-size: 14.5px;
  padding: 8px 14px; border-radius: 8px; position: relative;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.header-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.burger svg { width: 20px; height: 20px; }

.user-chip {
  display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--text);
}
.user-chip:hover { border-color: var(--line-strong); color: var(--text); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; color: #0b0d16; background: var(--grad); position: relative;
}
.avatar .dot { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--bg); background: var(--bad); }
.avatar .dot.on { background: var(--ok); }

/* ---------- Кнопки ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 10px;
  font: 700 15px/1 var(--font); color: var(--text); cursor: pointer;
  border: 1px solid var(--line); background: var(--surface-2);
  transition: transform .15s, box-shadow .25s, background .2s, border-color .2s, color .2s;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  color: #0b0e1a; border: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 8px 30px -8px rgba(var(--accent-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { color: #0b0e1a; background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%); box-shadow: 0 10px 40px -6px rgba(var(--accent-rgb), .9); }
.btn-outline { background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .45); color: var(--accent-2); }
.btn-outline:hover { background: rgba(var(--accent-rgb), .15); color: var(--text); }
.btn-ghost { background: transparent; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn-sm { --h: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }
.btn-ok { background: rgba(74, 222, 128, .12); border-color: rgba(74, 222, 128, .4); color: var(--ok); }
.btn-bad { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .35); color: var(--bad); }

/* ---------- Панели (как в клиенте) ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.panel-title {
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted);
  margin: 0 0 14px;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 11px/1 var(--font); letter-spacing: .6px; text-transform: uppercase;
  padding: 5px 8px; border-radius: 6px;
  color: var(--pink); background: rgba(184, 116, 168, .14);
}
.tag.blue { color: var(--accent-2); background: rgba(var(--accent-rgb), .12); }
.tag.ok { color: var(--ok); background: rgba(74, 222, 128, .12); }
.tag.warn { color: var(--warn); background: rgba(251, 191, 36, .12); }
.tag.bad { color: var(--bad); background: rgba(248, 113, 113, .12); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Секции ---------- */
section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--accent-2); letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 12px;
}
.section-head .eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 0 0 14px; font-weight: 800; letter-spacing: -.5px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 60px; }
.hero .container { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(var(--accent-rgb), .07);
  font-size: 13.5px; font-weight: 600; color: var(--text);
}
.pill .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero h1 { font-size: clamp(42px, 6.2vw, 74px); line-height: 1.02; margin: 22px 0 20px; font-weight: 800; letter-spacing: -1.5px; }
.hero h1 .ver { display: block; font-size: .5em; letter-spacing: -.3px; margin-top: 8px; }
.hero .lead { font-size: 18.5px; color: var(--muted); max-width: 540px; margin: 0 0 32px; }
.hero .lead b { color: var(--text); font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .price-inline { font-family: var(--mono); font-weight: 700; padding-left: 10px; margin-left: 4px; border-left: 1px solid rgba(11, 14, 26, .25); }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.hero-stats div span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-visual .glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .35), transparent); filter: blur(40px); z-index: -1; }
.window {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02), 0 0 60px -20px rgba(var(--accent-rgb), .5);
  transform: perspective(1400px) rotateY(-9deg) rotateX(4deg);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  background: var(--surface-solid);
}
.hero-visual:hover .window { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: rgba(18, 18, 24, .95); border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f55; }
.window-bar i:first-child { background: var(--pink); }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--dim); font-family: var(--mono); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; min-width: 210px;
  background: rgba(23, 21, 28, .92); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}
.float-card.one { left: -34px; bottom: 46px; }
.float-card.two { right: -20px; top: -22px; animation-delay: -3s; }
.float-card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card b { display: block; font-size: 14px; line-height: 1.2; }
.float-card small { font-size: 12px; color: var(--muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Тумблер как в клиенте */
.switch { position: relative; width: 38px; height: 20px; flex: none; margin-left: auto; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #2c3148; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .6); }
.switch input:checked + span::after { transform: translateX(18px); }

/* ---------- Лента-маркиза модулей ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(13, 15, 26, .55); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .mod { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; white-space: nowrap; }
.marquee .mod em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; }
.marquee .mod i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.marquee .mod i.on { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Возможности (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feature { padding: 26px; position: relative; overflow: hidden; transition: border-color .25s, transform .25s; }
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.feature::before { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .14), transparent); }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: var(--accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .25); }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.f-3 { grid-column: span 3; } .f-2 { grid-column: span 2; } .f-4 { grid-column: span 4; }
.feature .mini-list { margin-top: 18px; display: grid; gap: 8px; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.mini-row small { color: var(--muted); font-weight: 500; font-size: 12px; }
.mini-row .tag { margin-left: 6px; }

/* ---------- Галерея ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin: 0 auto 28px; }
.tabs-wrap { text-align: center; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 9px; font: 700 14.5px var(--font); color: var(--muted); background: none; border: 1px solid transparent; cursor: pointer; transition: all .2s; }
.tab svg { width: 17px; height: 17px; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); background: rgba(var(--accent-rgb), .12); border-color: rgba(var(--accent-rgb), .45); box-shadow: inset 0 -2px 0 var(--accent); }
.shot { display: none; max-width: 1040px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(var(--accent-rgb), .5); }
.shot.active { display: block; animation: fadeUp .45s ease; }
.shot img { width: 100%; cursor: zoom-in; }
.shot-caption { text-align: center; color: var(--muted); margin-top: 18px; font-size: 15px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 6, 12, .9); display: none; place-items: center; padding: 24px; cursor: zoom-out; backdrop-filter: blur(6px); }
.lightbox.open { display: grid; }
.lightbox img { max-height: 92vh; border-radius: 12px; border: 1px solid var(--line-strong); }

/* ---------- Пресеты тем ---------- */
.themes { display: grid; grid-template-columns: 340px 1fr; gap: 18px; align-items: stretch; }
.preset-list { padding: 20px; }
.preset {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 10px 12px; margin-bottom: 4px;
  border-radius: 10px; border: 1px solid transparent; background: none; cursor: pointer; color: var(--text);
  font: 700 15.5px var(--font); text-align: left; transition: background .2s, border-color .2s;
}
.preset:hover { background: rgba(255, 255, 255, .03); }
.preset.active { background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .35); }
.preset svg { width: 62px; height: 26px; flex: none; }
.preset .check { margin-left: auto; color: var(--accent); opacity: 0; }
.preset.active .check { opacity: 1; }
.theme-preview { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.color-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.color-row .sw { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); flex: none; }
.color-row span { font-weight: 600; font-size: 14.5px; }
.color-row code { margin-left: auto; font: 600 12.5px var(--mono); color: var(--muted); padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: rgba(0, 0, 0, .25); }
.slider { grid-column: 1 / -1; padding: 14px 4px 0; }
.slider label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.slider input[type=range] { width: 100%; accent-color: var(--accent); }

/* ---------- Цена ---------- */
.pricing { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; max-width: 1000px; margin: 0 auto; }
.price-card { padding: 34px; position: relative; overflow: hidden; border-color: var(--line-strong); }
.price-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; pointer-events: none; }
.price-card .ribbon { position: absolute; top: 22px; right: -38px; transform: rotate(45deg); background: var(--grad); color: #0b0e1a; font-weight: 800; font-size: 12px; letter-spacing: 1px; padding: 6px 44px; }
.price-card h3 { margin: 14px 0 6px; font-size: 24px; font-weight: 800; line-height: 1.25; padding-right: 50px; }
.price-card .desc { color: var(--muted); margin: 0 0 22px; }
.price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.price b { font-size: 58px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.price b small { font-size: 30px; margin-left: 4px; color: var(--muted); }
.price s { color: var(--dim); font-size: 22px; font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checklist li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.price-side { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.pay-method .ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--accent); flex: none; }
.pay-method .ic svg { width: 22px; height: 22px; }
.pay-method b { display: block; font-size: 15px; }
.pay-method small { color: var(--muted); font-size: 13px; }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(var(--accent-rgb), .06); border: 1px solid rgba(var(--accent-rgb), .2); border-left: 3px solid var(--accent); font-size: 14px; color: var(--muted); }
.note svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }
.note.warn { background: rgba(251, 191, 36, .06); border-color: rgba(251, 191, 36, .25); border-left-color: var(--warn); }
.note.warn svg { color: var(--warn); }
.note.ok { background: rgba(74, 222, 128, .06); border-color: rgba(74, 222, 128, .25); border-left-color: var(--ok); }
.note.ok svg { color: var(--ok); }
.note.bad { background: rgba(248, 113, 113, .06); border-color: rgba(248, 113, 113, .25); border-left-color: var(--bad); }
.note.bad svg { color: var(--bad); }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 24px; position: relative; }
.step .num { font: 800 14px var(--mono); color: var(--accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .3); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; }
.step h4 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16.5px; display: flex; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font: 400 26px/1 var(--font); color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--line-strong); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Сообщество ---------- */
.community { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.social-card { display: flex; align-items: center; gap: 16px; padding: 22px; color: var(--text); transition: transform .25s, border-color .25s; }
.social-card:hover { color: var(--text); transform: translateY(-3px); border-color: var(--brand-c, var(--line-strong)); }
.social-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--brand-c); background: color-mix(in srgb, var(--brand-c) 14%, transparent); }
.social-card .ic svg { width: 26px; height: 26px; }
.social-card b { display: block; font-size: 17px; }
.social-card small { color: var(--muted); font-size: 13.5px; }
.social-card .go { width: 20px; height: 20px; margin-left: auto; color: var(--dim); transition: transform .2s, color .2s; }
.social-card:hover .go { transform: translateX(4px); color: var(--brand-c); }
.yt { --brand-c: #ff4e45; } .tg { --brand-c: #2aabee; } .ds { --brand-c: #7289ff; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); background: var(--surface-2); }
.socials a:hover { color: var(--brand-c); border-color: var(--brand-c); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Telegram-доступ в кабинете ---------- */
.tg-card { padding: 26px; border-color: rgba(42, 171, 238, .35); }
.tg-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tg-card .head .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #2aabee; background: rgba(42, 171, 238, .12); flex: none; }
.tg-card .head .ic svg { width: 24px; height: 24px; }
.tg-card h3 { margin: 0; font-size: 19px; }
.tg-card .link-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0 12px; }
.tg-card code { font: 600 13px var(--mono); padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--muted); word-break: break-all; flex: 1 1 260px; }
.btn-tg { background: #2aabee; color: #fff; border: 0; }
.btn-tg:hover { background: #1f9bdc; color: #fff; }

/* ---------- CTA ---------- */
.cta { padding: 48px; text-align: center; overflow: hidden; position: relative; }
.cta::before { content: ""; position: absolute; inset: -40% 20% auto; height: 300px; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .3), transparent); filter: blur(20px); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 12px; font-weight: 800; }
.cta p { color: var(--muted); margin: 0 0 26px; }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 30px; margin-top: 40px; background: rgba(9, 11, 19, .5); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer h5 { margin: 0 0 14px; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--text); opacity: .8; font-size: 14.5px; }
.footer ul a:hover { opacity: 1; color: var(--accent-2); }
.footer .about { color: var(--muted); font-size: 14px; max-width: 320px; margin: 14px 0 0; }
.footer .bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------- Формы / авторизация ---------- */
.auth { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 50px 20px; }
.auth-card { width: 100%; max-width: 440px; padding: 34px; }
.auth-card .logo { width: 56px; height: 56px; margin: 0 auto 16px; filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), .6)); }
.auth-card h1 { text-align: center; font-size: 26px; margin: 0 0 6px; font-weight: 800; }
.auth-card .sub { text-align: center; color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.auth-card .switch-link { text-align: center; margin: 22px 0 0; color: var(--muted); font-size: 14.5px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px;
  background: rgba(10, 11, 18, .65); border: 1px solid var(--line); color: var(--text);
  font: 500 15px var(--font); outline: none; transition: border-color .2s, box-shadow .2s;
}
textarea.input { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.input::placeholder { color: var(--dim); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.input.invalid { border-color: var(--bad); }
.error { color: var(--bad); font-size: 13px; margin-top: 6px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 2px 0 0; flex: none; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---------- Кабинет ---------- */
.page { padding: 46px 0 40px; }
.page-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 30px; font-weight: 800; }
.page-head .crumb { color: var(--pink); font-weight: 600; }
.grid-account { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
/* широкая таблица заказов не должна раздувать сетку на телефоне */
.grid-account > *, .grid-account > * > * { min-width: 0; }
.status-card { padding: 30px; position: relative; overflow: hidden; }
.status-card .big { display: flex; align-items: center; gap: 20px; }
.status-card .badge-ic { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; flex: none; }
.status-card .badge-ic svg { width: 36px; height: 36px; }
.status-card.ok .badge-ic { background: rgba(74, 222, 128, .12); color: var(--ok); border: 1px solid rgba(74, 222, 128, .35); box-shadow: 0 0 40px -10px rgba(74, 222, 128, .6); }
.status-card.no .badge-ic { background: rgba(var(--accent-rgb), .1); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .3); }
.status-card h2 { margin: 0 0 4px; font-size: 24px; }
.status-card p { margin: 0; color: var(--muted); }
.status-card .actions { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.info-list { padding: 22px; }
.info-list .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info-list .row:last-child { border-bottom: 0; }
.info-list .row span { color: var(--muted); }
.info-list .row b { font-weight: 700; text-align: right; word-break: break-all; }

.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(255, 255, 255, .015); }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }

/* ---------- Оформление ---------- */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 18px; align-items: start; }
.method { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); cursor: pointer; transition: border-color .2s, background .2s; margin-bottom: 10px; }
.method:hover { border-color: var(--line-strong); }
.method input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.method:has(input:checked) { border-color: var(--accent); background: rgba(var(--accent-rgb), .07); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.method .ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--accent); flex: none; }
.method .ic svg { width: 22px; height: 22px; }
.method b { display: block; }
.method small { color: var(--muted); font-size: 13px; }
.method .tag { margin-left: auto; }
.summary { padding: 24px; position: sticky; top: 90px; }
.summary .line { display: flex; justify-content: space-between; padding: 10px 0; color: var(--muted); font-size: 15px; }
.summary .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 16px; color: var(--text); font-weight: 800; font-size: 20px; }
.order-code { font: 800 28px var(--mono); letter-spacing: 2px; color: var(--accent-2); }

/* ---------- Переключатель языка ---------- */
.lang-switch { display: inline-flex; padding: 3px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.lang-switch a { padding: 4px 9px; border-radius: 6px; font: 800 11.5px var(--font); letter-spacing: .6px; color: var(--dim); transition: color .2s, background .2s; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active { color: #0b0e1a; background: var(--accent); }

/* ---------- Модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px; overflow-y: auto; overflow-x: hidden; }
.modal[hidden] { display: none; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(5, 6, 12, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .2s ease; }
.modal-dialog { position: relative; width: 100%; max-width: 560px; margin: auto; border-radius: 18px; background: rgba(20, 19, 26, .97);
  border: 1px solid var(--line-strong); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 80px -40px rgba(var(--accent-rgb), .6);
  animation: popIn .28s cubic-bezier(.2, .9, .25, 1.1); }
.modal-wide { max-width: 980px; }
.modal-narrow { max-width: 440px; }
.modal-pad { padding: 30px; }
.modal-center { text-align: center; display: grid; justify-items: center; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.modal-close:hover { color: var(--text); border-color: var(--line-strong); }
.modal-close svg { width: 16px; height: 16px; }
body.modal-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.modal-wide .pay-shell { border-radius: 18px; }
.modal-wide .pay-head { padding-right: 46px; }
/* длинные подписи не должны раздувать окно на телефоне */
.pay-shell > *, .pm-grid > *, .pm-tile, .pay-right > * { min-width: 0; }
.modal-dialog { min-width: 0; max-width: min(100%, var(--modal-max, 560px)); }
.modal-wide { --modal-max: 980px; }
.modal-narrow { --modal-max: 440px; }

/* Вход / регистрация во вкладках */
.auth-head { text-align: center; margin-bottom: 18px; }
.auth-head .logo { width: 48px; height: 48px; margin: 0 auto 12px; filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), .6)); }
.auth-head h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.auth-head .sub { margin: 0; color: var(--muted); font-size: 14.5px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); margin-bottom: 20px; }
.auth-tab { padding: 10px; border-radius: 9px; border: 0; background: none; color: var(--muted); font: 700 14.5px var(--font); cursor: pointer; transition: color .2s, background .2s; }
.auth-tab:hover { color: var(--text); }
.auth-panel[data-tab="login"] .auth-tab[data-auth-tab="login"],
.auth-panel[data-tab="register"] .auth-tab[data-auth-tab="register"] { color: var(--text); background: rgba(var(--accent-rgb), .14); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4); }
.auth-panel[data-tab="login"] [data-auth-form="register"],
.auth-panel[data-tab="register"] [data-auth-form="login"] { display: none; }

/* ---------- Окно оплаты ---------- */
.pay-page { min-height: calc(100vh - 70px); display: grid; place-items: center; }
.pay-shell { width: 100%; max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1.45fr 1fr; overflow: hidden; }
.pay-left { padding: 26px 26px 28px; border-right: 1px solid var(--line); }
.pay-right { padding: 26px; display: flex; flex-direction: column; background: rgba(255, 255, 255, .015); }
.pay-h1 { font-size: 20px; font-weight: 800; margin: 0 0 18px; }

.pm-group + .pm-group { margin-top: 22px; }
.pm-group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pm-group-name { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.pm-flags { display: flex; gap: 6px; flex-wrap: wrap; }
.pm-flag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); white-space: nowrap; }
.pm-flag svg { width: 13px; height: 13px; color: var(--accent-2); }
.pm-flag-ok { color: var(--ok); border-color: rgba(74, 222, 128, .25); background: rgba(74, 222, 128, .06); }
.flag-ua { width: 14px; height: 10px; border-radius: 2px; flex: none; background: linear-gradient(#0057b7 50%, #ffd700 50%); }

.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pm-grid-wide { grid-template-columns: 1.4fr 1fr; }
.pm-tile { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px; border-radius: 12px; cursor: pointer;
  background: rgba(10, 11, 18, .55); border: 1px solid var(--line); transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; }
.pm-tile:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.pm-tile input { position: absolute; opacity: 0; pointer-events: none; }
.pm-tile:has(input:checked) { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.pm-tile:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pm-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pm-text b { font-size: 14.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-text small { font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-badge { position: absolute; top: 7px; right: 8px; font: 800 9.5px var(--font); letter-spacing: .5px; color: var(--dim); }
.pm-badge-ok { color: var(--ok); }
.pm-tile-tg:has(input:checked) { border-color: #2aabee; background: rgba(42, 171, 238, .08); box-shadow: 0 0 0 3px rgba(42, 171, 238, .14); }

.pm-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; font: 800 15px var(--font); color: #fff; }
.pm-ic svg { width: 19px; height: 19px; }
.pm-sbp { background: linear-gradient(135deg, #5b57a2, #d90751 45%, #f9b229 75%, #0fa8e0); font-size: 10px; letter-spacing: .2px; }
.pm-card { background: #2b3a67; color: #96b4ff; }
.pm-usdt_trc20 { background: #26a17b; }
.pm-ltc { background: #345d9d; }
.pm-eth { background: #627eea; }
.pm-telegram { background: #2aabee; }
.pm-funpay { background: linear-gradient(135deg, #1c7ed6, #12b886); font-size: 12px; }

.pay-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.pay-head b { display: block; font-size: 19px; font-weight: 800; }
.pay-head small { color: var(--muted); font-size: 13px; }
.pay-price { text-align: right; }
.pay-price b { font: 800 24px var(--font); color: var(--text); }
.pay-price s { display: block; color: var(--dim); font-size: 13px; font-weight: 700; }
.pay-chosen { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; padding: 10px 12px; margin-bottom: 16px;
  border-radius: 10px; border: 1px dashed var(--line-strong); }
.pay-chosen b { font-weight: 700; text-align: right; }
.pay-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.pay-hint { font-size: 12.5px; color: var(--dim); margin: 6px 0 14px; }
.pay-agree { margin: 0 0 16px; font-size: 13.5px; }
.pay-right .note { margin-bottom: 14px; font-size: 13px; }
.pay-submit { margin-top: auto; }
.pay-submit.tg { background: #2aabee; color: #fff; box-shadow: 0 8px 30px -8px rgba(42, 171, 238, .7); }
.pay-context { text-align: center; color: var(--dim); font-size: 12.5px; margin: 12px 0 0; min-height: 34px; }
[data-pay-fields][hidden] { display: none; }
/* Шаги оплаты через Telegram на странице заказа */
.tg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.tg-step { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.tg-step span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; font: 800 13px var(--mono); color: #2aabee; background: rgba(42, 171, 238, .12); }
.tg-step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.tg-step b { color: var(--text); }
@media (max-width: 640px) { .tg-steps { grid-template-columns: 1fr; } }

/* «Другие способы» в блоке цены на главной */
.pay-other { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.pay-other-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-other-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02); color: var(--text); font-weight: 700; font-size: 13.5px; }
.pay-other-links a:hover { border-color: var(--line-strong); color: var(--text); }
.pay-other-links svg { width: 16px; height: 16px; color: #2aabee; }
.pay-other-links small { color: var(--ok); font-weight: 700; }

@media (max-width: 820px) {
  .header .lang-switch { align-self: flex-start; }
  .modal { padding: 10px; place-items: start center; }
  .modal-pad { padding: 24px 20px; }
}
@media (max-width: 860px) {
  .pay-shell { grid-template-columns: 1fr; }
  .pay-left { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .pay-left, .pay-right { padding: 20px; }
  .pm-grid { grid-template-columns: 1fr 1fr; }
  .pm-grid-wide { grid-template-columns: 1fr; }
  .pm-grid:not(.pm-grid-wide) .pm-text b, .pm-grid:not(.pm-grid-wide) .pm-text small { white-space: normal; }
  .pm-grid:not(.pm-grid-wide) .pm-tile { padding-right: 10px; }
  .pm-group-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Админка ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { padding: 20px; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.stat b { display: block; font-size: 30px; font-weight: 800; margin-top: 4px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px; border-bottom: 1px solid var(--line); }
.toolbar .input { height: 38px; max-width: 280px; }
.toolbar select.input { max-width: 180px; }
.inline-form { display: inline; }
.pager { display: flex; gap: 8px; justify-content: center; padding: 16px; }
.flash { margin-bottom: 18px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.admin-grid .panel { padding: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 110px; gap: 12px; }

/* ---------- Юридические ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: 40px; }
.legal h1 { margin-top: 0; font-size: 30px; }
.legal h2 { font-size: 19px; margin-top: 30px; }
.legal p, .legal li { color: var(--muted); }
.legal .placeholder { color: var(--warn); }

/* ---------- Анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1020px) {
  .hero .container { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 640px; margin: 0 auto; }
  .themes, .pricing, .grid-account, .checkout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .community { grid-template-columns: 1fr; }
  .f-2, .f-3, .f-4 { grid-column: span 3; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 820px) {
  .nav, .header-right { display: none; }
  .burger { display: grid; place-items: center; }
  .header.open .nav, .header.open .header-right {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; margin: 0; padding: 12px 16px;
    background: rgba(9, 11, 19, .97); border-bottom: 1px solid var(--line);
  }
  .header.open .nav { top: 70px; }
  .header.open .header-right { top: calc(70px + var(--nav-h, 220px)); }
  .header.open .nav a { padding: 12px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .hero { padding-top: 40px; }
  .bento { grid-template-columns: 1fr; }
  .f-2, .f-3, .f-4 { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .theme-preview { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .window { transform: none; }
  .hero-stats { gap: 22px; }
  .price b { font-size: 46px; }
  .price-card, .cta, .legal { padding: 24px; }
  .footer .cols { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tabs { display: flex; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
