/* CS2 Academy Lab — общие стили */
:root {
  --bg: #0b0a12;
  --bg-2: #100e19;
  --surface: #15121f;
  --surface-2: #1c1829;
  --border: #2a2440;
  --border-soft: #211c33;
  --text: #ece9f5;
  --muted: #9a93b3;
  --dim: #6c6585;
  --accent: #a855f7;
  --accent-2: #ec4899;
  --accent-soft: rgba(168, 85, 247, 0.14);
  --grad: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --green: #34d399;
  --red: #f87171;
  --yellow: #fbbf24;
  --radius: 12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, select { font: inherit; color: inherit; }

/* ---------- Логотип ---------- */
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 14px;
  transition: transform .15s, background .15s, border-color .15s, opacity .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 24px rgba(168, 85, 247, 0.3); }
.btn-primary:hover { box-shadow: 0 8px 32px rgba(236, 72, 153, 0.4); }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: #3d3560; }
.btn-danger { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.25); color: var(--red); }
.btn-danger:hover { background: rgba(248, 113, 113, 0.18); }
.btn-success { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.25); color: var(--green); }
.btn-success:hover { background: rgba(52, 211, 153, 0.18); }
.btn:disabled { opacity: 0.4; pointer-events: none; }
.btn-xl { height: 58px; padding: 0 34px; font-size: 17px; border-radius: 14px; }

/* =========================================================
   ГЛАВНАЯ СТРАНИЦА
   ========================================================= */
.landing { overflow-x: hidden; }
.glow {
  position: absolute; pointer-events: none; border-radius: 50%; filter: blur(120px); opacity: 0.5; z-index: 0;
}
.glow-1 { width: 520px; height: 520px; background: #7c3aed; top: -180px; left: 50%; transform: translateX(-70%); opacity: 0.35; }
.glow-2 { width: 420px; height: 420px; background: #db2777; top: 40px; left: 50%; transform: translateX(10%); opacity: 0.22; }

.nav {
  position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

.hero {
  position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 90px 24px 70px; text-align: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(168, 85, 247, 0.3); color: #d8b4fe;
  font-size: 13px; font-weight: 500; margin-bottom: 28px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 22px auto 40px; max-width: 580px; color: var(--muted); font-size: 18px; }
.hero-note { margin-top: 18px; color: var(--dim); font-size: 13px; }

.section { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 60px 24px; }
.section-title { text-align: center; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 44px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }
.feature {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 26px;
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: var(--border); transform: translateY(-2px); }
.feature-icon {
  width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: #c084fc;
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--radius-lg); border: 1px dashed var(--border); }
.step-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px;
  display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14px; }

.price-card {
  max-width: 420px; margin: 0 auto; padding: 34px; border-radius: 22px; text-align: center; position: relative;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
}
.price { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; }
.price span { font-size: 17px; color: var(--muted); font-weight: 500; }
.price-list { list-style: none; text-align: left; margin: 26px 0 30px; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 10px; align-items: center; color: #d6d1e6; font-size: 15px; }
.price-list svg { color: var(--accent-2); flex-shrink: 0; }

.footer {
  max-width: 1120px; margin: 40px auto 0; padding: 30px 24px 40px; border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; color: var(--dim); font-size: 13px;
}

/* =========================================================
   ПАНЕЛЬ
   ========================================================= */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }

.sidebar {
  background: var(--bg-2); border-right: 1px solid var(--border-soft); padding: 22px 14px;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.sidebar .logo { padding: 0 8px 26px; }
.side-nav { display: grid; gap: 2px; }
.side-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted);
  font-size: 14px; font-weight: 500; transition: background .15s, color .15s;
}
.side-link:hover { color: var(--text); background: var(--surface); }
.side-link.active { color: var(--text); background: var(--surface-2); }
.side-link.active svg { color: var(--accent); }
.side-bottom { margin-top: auto; display: grid; gap: 10px; }
.sub-card {
  padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-soft); font-size: 13px;
}
.sub-card .row { display: flex; justify-content: space-between; align-items: center; }
.sub-card .label { color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-off { background: rgba(154, 147, 179, 0.12); color: var(--muted); }
.pill-on { background: rgba(52, 211, 153, 0.12); color: var(--green); }
.pill-on .dot { box-shadow: 0 0 8px var(--green); animation: pulse 1.6s infinite; }
.pill-wait { background: rgba(251, 191, 36, 0.12); color: var(--yellow); }
.pill-wait .dot { animation: pulse 0.8s infinite; }
.pill-accent { background: var(--accent-soft); color: #d8b4fe; }
@keyframes pulse { 50% { opacity: 0.35; } }

.main { padding: 34px 44px 60px; max-width: 1100px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.page-head h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-head p { color: var(--muted); margin-top: 4px; }
.head-actions { display: flex; gap: 10px; }

.card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 22px; }
.card + .card, .grid-2 + .card, .card + .grid-2 { margin-top: 16px; }
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.card-sub { color: var(--muted); font-size: 13px; margin-bottom: 16px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Статус-полоса */
.status-card { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.status-cell { padding: 20px 22px; border-right: 1px solid var(--border-soft); }
.status-cell:last-child { border-right: none; }
.status-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 10px; }
.ip-field {
  display: flex; align-items: center; gap: 6px; background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: 10px;
  height: 44px; padding: 0 6px 0 14px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px;
}
.ip-field .val { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-field .val.placeholder { color: var(--dim); font-family: "Inter", sans-serif; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn:disabled { opacity: 0.3; pointer-events: none; }
.big-num { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.big-num small { font-size: 15px; color: var(--muted); font-weight: 500; }
.slots { display: flex; gap: 5px; margin-top: 10px; }
.slot { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); transition: background .3s; }
.slot.on { background: var(--grad); }
.hint { font-size: 12px; color: var(--dim); margin-top: 8px; }
.timer-warn { color: var(--yellow); }

/* Карты */
.maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.map {
  position: relative; height: 88px; border-radius: 12px; overflow: hidden; border: 2px solid transparent;
  display: flex; align-items: flex-end; padding: 10px 12px; font-weight: 700; font-size: 15px; text-align: left;
  background: var(--m, #333); transition: border-color .15s, transform .15s;
}
.map::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 10, 18, 0.85), rgba(11, 10, 18, 0.1) 70%),
              repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 12px);
}
.map span { position: relative; }
.map:hover { transform: translateY(-2px); }
.map.selected { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18); }
.map .check {
  position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad);
  display: none; place-items: center; color: #fff;
}
.map.selected .check { display: grid; }

/* Локации */
.locations { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.loc {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2);
  border: 1px solid var(--border-soft); text-align: left; transition: border-color .15s;
}
.loc:hover { border-color: var(--border); }
.loc.selected { border-color: var(--accent); background: var(--accent-soft); }
.loc .flag { font-size: 22px; line-height: 1; }
.loc .name { font-weight: 600; font-size: 14px; }
.loc .country { font-size: 12px; color: var(--muted); }
.loc .ping { margin-left: auto; font-size: 12px; font-weight: 600; }
.ping.good { color: var(--green); }
.ping.mid { color: var(--yellow); }
.ping.bad { color: var(--red); }
.locked { opacity: 0.5; pointer-events: none; }

/* Поля */
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border-soft);
  outline: none; transition: border-color .15s;
}
.input:focus { border-color: var(--accent); }

/* Демо-панель */
.demo {
  margin-top: 28px; padding: 14px 18px; border-radius: 12px; border: 1px dashed #3d3560; background: rgba(168, 85, 247, 0.04);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted);
}
.demo b { color: #d8b4fe; margin-right: 6px; }
.demo .btn { height: 32px; padding: 0 12px; font-size: 13px; }

/* Модалка */
.overlay {
  position: fixed; inset: 0; background: rgba(5, 4, 10, 0.7); backdrop-filter: blur(6px); z-index: 50;
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.overlay.open { display: flex; animation: fade .2s; }
.modal {
  width: 100%; max-width: 420px; padding: 30px; border-radius: 22px; text-align: center;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent;
  animation: rise .25s;
}
.modal h2 { font-size: 22px; margin-bottom: 6px; }
.modal p { color: var(--muted); font-size: 14px; }
.modal .price { font-size: 46px; margin: 18px 0 4px; }
.modal .price-list { margin: 20px 0 24px; }
.modal .btn { width: 100%; }
.modal .close-link { margin-top: 12px; color: var(--dim); font-size: 13px; }
.modal .close-link:hover { color: var(--text); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* Тост */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; z-index: 60;
  background: var(--surface-2); border: 1px solid var(--border); padding: 12px 18px; border-radius: 12px; font-size: 14px;
  transition: opacity .2s, transform .2s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.spinner {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.mobile-bar { display: none; }

/* ---------- Мобильная версия ---------- */
@media (max-width: 900px) {
  .features, .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 60px 16px 50px; }
  .section { padding: 44px 16px; }
  .footer { flex-direction: column; gap: 6px; padding: 24px 16px 32px; }

  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .mobile-bar {
    display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
    border-bottom: 1px solid var(--border-soft); background: var(--bg-2); position: sticky; top: 0; z-index: 10;
  }
  .main { padding: 22px 16px 40px; }
  .page-head { flex-direction: column; }
  .head-actions { width: 100%; }
  .head-actions .btn { flex: 1; }
  .grid-2 { grid-template-columns: 1fr; }
  .status-card { grid-template-columns: 1fr; }
  .status-cell { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .status-cell:last-child { border-bottom: none; }
  .maps { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Шапка главной (v2) ---------- */
.hero-wrap {
  position: relative; border-bottom: 1px solid var(--border-soft);
  background:
    linear-gradient(to bottom, transparent 60%, var(--bg)),
    linear-gradient(var(--border-soft) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px) 0 0 / 56px 56px;
}
.hero-wrap .nav { border-bottom: 1px solid var(--border-soft); max-width: none; padding: 18px max(24px, calc((100% - 1120px) / 2 + 24px)); background: rgba(11, 10, 18, 0.7); }
.wordmark { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; }

.hero2 {
  max-width: 1120px; margin: 0 auto; padding: 96px 24px 110px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.eyebrow {
  font-family: "JetBrains Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 22px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.hero2 h1 {
  font-family: "Unbounded", sans-serif; font-weight: 800; font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.02; letter-spacing: -0.03em; text-transform: uppercase;
}
.hero2 h1 em { font-style: normal; color: var(--accent); }
.hero2 p { color: var(--muted); font-size: 17px; max-width: 470px; margin: 26px 0 34px; }
.hero2-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.btn-solid { background: var(--accent); color: #fff; border-radius: 6px; }
.btn-solid:hover { background: #9333ea; }
.link-arrow { color: var(--text); font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--border); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--accent); }
.hero2-stats { display: flex; margin-top: 48px; border-top: 1px solid var(--border-soft); }
.hero2-stats div { flex: 1; padding: 16px 0 0; border-right: 1px solid var(--border-soft); padding-left: 16px; }
.hero2-stats div:first-child { padding-left: 0; }
.hero2-stats div:last-child { border-right: none; }
.hero2-stats b { display: block; font-family: "Unbounded", sans-serif; font-size: 20px; font-weight: 600; }
.hero2-stats span { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }

.console {
  background: #08070d; border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  font-family: "JetBrains Mono", monospace; font-size: 13px; line-height: 1.75;
  box-shadow: 14px 14px 0 rgba(168, 85, 247, 0.16);
}
.console-bar {
  display: flex; justify-content: space-between; padding: 8px 14px; background: #14121c;
  border-bottom: 1px solid var(--border); color: var(--muted); font-size: 12px;
}
.console-bar .x { color: var(--dim); }
.console-body { padding: 18px 18px 22px; color: #d6d1e6; overflow-x: auto; white-space: nowrap; }
.c-dim { color: var(--dim); }
.c-ok { color: var(--green); }
.c-prompt { color: var(--accent); }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--text); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; padding: 56px 16px 64px; gap: 40px; }
  .hero-wrap .nav { padding: 16px; }
  .console { font-size: 12px; box-shadow: 8px 8px 0 rgba(168, 85, 247, 0.16); }
  .hero2-stats b { font-size: 17px; }
  .hero2-stats div { padding-left: 10px; }
}

/* ---------- Консоль (v3) ---------- */
.console-body { min-height: 150px; font-size: 14px; }
.c-ip { color: #f0abfc; }
.c-pass { color: #fbbf24; }
.console-caption { margin-top: 26px; font-size: 13px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--accent); }

/* ---------- Низ главной в стиле шапки ---------- */
.sec {
  max-width: 1120px; margin: 0 auto; padding: 110px 24px 0;
  display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start;
}
.sec-head { position: sticky; top: 32px; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec h2, .cta h2 {
  font-family: "Unbounded", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: -0.02em;
}
.cta h2 em { font-style: normal; color: var(--accent); }

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.feat { padding: 28px 26px 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background .2s; }
.feat:hover { background: rgba(168, 85, 247, 0.05); }
.feat-num { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--accent); margin-bottom: 40px; }
.feat h3, .how h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feat p, .how p { color: var(--muted); font-size: 14.5px; }

.how-grid { display: grid; gap: 0; }
.how {
  display: grid; grid-template-columns: 90px 1fr; column-gap: 20px; padding: 26px 0;
  border-top: 1px solid var(--border);
}
.how:last-child { border-bottom: 1px solid var(--border); }
.how-num { grid-row: span 2; font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 54px; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.how h3 { margin-bottom: 4px; }

.plan {
  display: grid; grid-template-columns: 1fr 1.2fr; background: #08070d; border: 1px solid var(--border); border-radius: 6px;
  box-shadow: 14px 14px 0 rgba(168, 85, 247, 0.16);
}
.plan-left { padding: 34px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.plan-price { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 60px; line-height: 1; letter-spacing: -0.03em; }
.plan-period { color: var(--muted); font-size: 14px; margin: 12px 0 34px; }
.plan-left .btn { margin-top: auto; }
.plan-list { list-style: none; padding: 26px 34px; display: grid; align-content: center; }
.plan-list li { padding: 11px 0 11px 26px; position: relative; border-bottom: 1px dashed var(--border-soft); font-size: 15px; color: #d6d1e6; }
.plan-list li:last-child { border-bottom: none; }
.plan-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-family: "JetBrains Mono", monospace; }

.cta {
  max-width: 1120px; margin: 120px auto 0; padding: 70px 24px; border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta h2 { font-size: clamp(30px, 4.4vw, 52px); }

.foot {
  border-top: 1px solid var(--border-soft); padding: 26px max(24px, calc((100% - 1120px) / 2 + 24px));
  display: flex; justify-content: space-between; align-items: center; color: var(--dim); font-size: 13px; gap: 12px; flex-wrap: wrap;
}
.foot .wordmark { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .sec { grid-template-columns: 1fr; gap: 28px; padding: 72px 16px 0; }
  .sec-head { position: static; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-num { margin-bottom: 18px; }
  .how { grid-template-columns: 64px 1fr; }
  .how-num { font-size: 40px; }
  .plan { grid-template-columns: 1fr; box-shadow: 8px 8px 0 rgba(168, 85, 247, 0.16); }
  .plan-left { border-right: none; border-bottom: 1px solid var(--border); padding: 26px; }
  .plan-price { font-size: 48px; }
  .plan-list { padding: 18px 26px; }
  .cta { margin-top: 72px; padding: 48px 16px; }
  .cta .btn { width: 100%; }
  .foot { padding: 22px 16px; }
  .console-body { font-size: 12px; }
}

.foot { margin-top: 110px; }

/* =========================================================
   ПАНЕЛЬ v2 — в стиле главной (убрать класс v2 с body = откат)
   ========================================================= */
.v2 { --radius: 6px; --radius-lg: 6px; }
.v2 .wordmark { padding: 4px 8px 28px; font-size: 14px; }
.v2 .mobile-bar .wordmark { padding: 0; font-size: 13px; }
.v2 .sidebar { background: #08070d; }
.v2 .side-link { border-radius: 4px; border-left: 2px solid transparent; }
.v2 .side-link.active { background: rgba(168, 85, 247, 0.08); border-left-color: var(--accent); }
.v2 .sub-card { background: transparent; border: 1px solid var(--border); border-radius: 4px; }

.v2 .main {
  background:
    linear-gradient(to bottom, transparent, var(--bg) 420px),
    linear-gradient(var(--border-soft) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px) 0 0 / 56px 56px;
  max-width: none; padding-left: max(44px, calc((100% - 1060px) / 2)); padding-right: max(44px, calc((100% - 1060px) / 2));
}
.v2 .page-head h1 {
  font-family: "Unbounded", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 28px; letter-spacing: -0.02em;
}
.v2 .page-head p { font-size: 14px; }
.v2 .pill { border-radius: 3px; font-family: "JetBrains Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.v2 h1 .pill { vertical-align: middle; }

.v2 .btn { border-radius: 4px; }
.v2 #startBtn { background: var(--accent); color: #fff; border: none; }
.v2 #startBtn:hover { background: #9333ea; }
.v2 #stopBtn { background: transparent; }

.v2 .card { background: #08070d; border: 1px solid var(--border); }
.v2 .status-card { box-shadow: 12px 12px 0 rgba(168, 85, 247, 0.14); margin-bottom: 28px; }
.v2 .status-cell { border-color: var(--border); }
.v2 .status-label, .v2 .card-title {
  font-family: "JetBrains Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; color: var(--text);
}
.v2 .status-label { color: var(--accent); }
.v2 .card-title .idx { color: var(--accent); }
.v2 .card-sub { margin-top: 6px; }
.v2 .big-num { font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 24px; }
.v2 .ip-field { border-radius: 4px; background: #0e0c15; border-color: var(--border); }
.v2 .ip-field .val:not(.placeholder) { color: #f0abfc; }
.v2 #passVal { color: #fbbf24; }
.v2 .slot { border-radius: 1px; height: 5px; }
.v2 .slot.on { background: var(--accent); }

.v2 .map { border-radius: 4px; height: 96px; text-transform: uppercase; font-family: "Unbounded", sans-serif; font-size: 12px; letter-spacing: 0.02em; }
.v2 .map.selected { box-shadow: 6px 6px 0 rgba(168, 85, 247, 0.25); }
.v2 .map .check { border-radius: 2px; background: var(--accent); }
.v2 .loc { border-radius: 4px; background: #0e0c15; border-color: var(--border); }
.v2 .loc.selected { background: rgba(168, 85, 247, 0.08); }
.v2 .loc .ping { font-family: "JetBrains Mono", monospace; font-weight: 500; }
.v2 .input { border-radius: 4px; background: #0e0c15; border-color: var(--border); }
.v2 .field label { font-family: "JetBrains Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; }

.v2 .demo { border-radius: 4px; }
.v2 .modal { border-radius: 6px; background: #08070d; border: 1px solid var(--border); box-shadow: 14px 14px 0 rgba(168, 85, 247, 0.18); text-align: left; }
.v2 .modal .price { font-family: "Unbounded", sans-serif; font-weight: 800; margin-top: 0; }
.v2 .modal h2 { font-family: "Unbounded", sans-serif; text-transform: uppercase; font-size: 18px; }
.v2 .modal .price-list svg { color: var(--accent); }
.v2 #payBtn { background: var(--accent); box-shadow: none; }
.v2 .modal .close-link { display: block; margin: 12px auto 0; }
.v2 .toast { border-radius: 4px; font-family: "JetBrains Mono", monospace; font-size: 13px; }

@media (max-width: 900px) {
  .foot { margin-top: 72px; }
  .v2 .main { padding: 22px 16px 40px; }
  .v2 .page-head h1 { font-size: 22px; }
  .v2 .status-card { box-shadow: 6px 6px 0 rgba(168, 85, 247, 0.14); }
}
.grid-2 > .card { margin-top: 0; }
.loc .ping { white-space: nowrap; }
.locations { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* =========================================================
   ПАНЕЛЬ v3 — стиль iOS, стекло (body class="glass")
   Откат: поменять класс body на "v2"
   ========================================================= */
.glass {
  --g-bg: rgba(255, 255, 255, 0.055);
  --g-bg-2: rgba(255, 255, 255, 0.08);
  --g-line: rgba(255, 255, 255, 0.09);
  --g-hi: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  --g-blur: blur(28px) saturate(170%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  background: #09080f;
}
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-orbs i { position: absolute; border-radius: 50%; filter: blur(90px); }
.bg-orbs i:nth-child(1) { width: 560px; height: 560px; background: #7c3aed; opacity: .45; top: -160px; left: 18%; }
.bg-orbs i:nth-child(2) { width: 460px; height: 460px; background: #db2777; opacity: .28; top: 30%; right: -120px; }
.bg-orbs i:nth-child(3) { width: 520px; height: 520px; background: #4f46e5; opacity: .25; bottom: -220px; left: 30%; }
.glass .app, .glass .mobile-bar { position: relative; z-index: 1; }

/* Боковая панель — плавающее стекло */
.glass .app { grid-template-columns: 264px 1fr; }
.glass .sidebar {
  margin: 14px 0 14px 14px; height: calc(100vh - 28px); top: 14px; border-radius: 30px;
  background: var(--g-bg); backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur);
  border: 1px solid var(--g-line); box-shadow: var(--g-hi), 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 22px 12px;
}
.glass .wordmark { padding: 6px 12px 26px; font-size: 13px; }
.glass .side-link { border-radius: 16px; padding: 11px 14px; font-weight: 600; }
.glass .side-link.active { background: var(--g-bg-2); box-shadow: var(--g-hi); }
.glass .side-link.active svg { color: #c084fc; }
.glass .sub-card { border-radius: 20px; background: rgba(0, 0, 0, 0.2); border: 1px solid var(--g-line); padding: 14px 16px; }

/* Основная область */
.glass .main { max-width: 1080px; padding: 40px 44px 60px; }
.glass .page-head { align-items: center; }
.glass .page-head h1 { font-size: 34px; font-weight: 700; letter-spacing: -0.025em; }
.glass .page-head p { font-size: 15px; }

.glass .pill { border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 600; backdrop-filter: blur(10px); }
.glass h1 .pill { vertical-align: middle; }

.glass .btn { border-radius: 999px; height: 44px; padding: 0 22px; }
.glass #startBtn {
  background: linear-gradient(180deg, #b26cff, #8b3cf0); color: #fff; border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(139, 60, 240, 0.45);
}
.glass #stopBtn {
  background: rgba(248, 113, 113, 0.14); border: 1px solid rgba(248, 113, 113, 0.22); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Карточки-стекло */
.glass .card {
  background: var(--g-bg); backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur);
  border: 1px solid var(--g-line); border-radius: 28px; padding: 24px;
  box-shadow: var(--g-hi), 0 12px 40px rgba(0, 0, 0, 0.25);
}
.glass .card + .card, .glass .grid-2 + .card, .glass .card + .grid-2 { margin-top: 16px; }
.glass .grid-2 > .card { margin-top: 0; }
.glass .status-card { padding: 0; }
.glass .status-cell { border-color: var(--g-line); padding: 22px 24px; }
.glass .status-label, .glass .card-title, .glass .field label {
  font-family: inherit; text-transform: none; letter-spacing: -0.01em; font-size: 15px; font-weight: 600; color: var(--text);
}
.glass .status-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.glass .card-title .idx { display: none; }
.glass .card-sub { font-size: 13px; }
.glass .big-num { font-family: inherit; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }

.glass .ip-field, .glass .input {
  border-radius: 16px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--g-line); height: 46px;
}
.glass .ip-field .val:not(.placeholder) { color: #f0abfc; }
.glass #passVal { color: #fcd34d; }
.glass .input:focus { border-color: rgba(192, 132, 252, 0.6); box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15); }
.glass .icon-btn { border-radius: 12px; }

.glass .slots { gap: 6px; }
.glass .slot { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.glass .slot.on { background: linear-gradient(90deg, #a855f7, #ec4899); }

/* Карты */
.glass .maps { gap: 12px; }
.glass .map { border-radius: 20px; height: 100px; border: none; font-family: inherit; text-transform: none; font-size: 15px; font-weight: 700; padding: 12px 14px; }
.glass .map::before { background: linear-gradient(to top, rgba(9, 8, 15, 0.75), rgba(9, 8, 15, 0) 75%); }
.glass .map::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.08); pointer-events: none; }
.glass .map.selected { box-shadow: 0 0 0 3px #c084fc, 0 10px 30px rgba(168, 85, 247, 0.35); }
.glass .map .check { border-radius: 50%; background: #fff; color: #7c3aed; width: 24px; height: 24px; }

/* Локации */
.glass .locations { gap: 10px; }
.glass .loc { border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--g-line); padding: 13px 16px; }
.glass .loc:hover { background: rgba(255, 255, 255, 0.07); }
.glass .loc.selected { background: rgba(168, 85, 247, 0.16); border-color: rgba(192, 132, 252, 0.45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.glass .loc .ping { font-weight: 600; }

/* Демо, модалка, тост */
.glass .demo { border-radius: 22px; background: rgba(255, 255, 255, 0.03); border: 1px dashed rgba(255, 255, 255, 0.14); }
.glass .demo .btn { border-radius: 999px; background: var(--g-bg-2); border: 1px solid var(--g-line); }
.glass .overlay { background: rgba(5, 4, 10, 0.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.glass .modal {
  border-radius: 34px; text-align: center; padding: 34px 30px 26px;
  background: rgba(30, 24, 46, 0.55); backdrop-filter: blur(40px) saturate(180%); -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 30px 80px rgba(0, 0, 0, 0.5);
}
.glass .modal .price { font-family: inherit; font-weight: 800; font-size: 52px; letter-spacing: -0.04em; margin: 0 0 4px; }
.glass .modal h2 { font-family: inherit; font-size: 22px; text-transform: none; }
.glass .modal .price-list { text-align: left; background: rgba(0, 0, 0, 0.2); border-radius: 20px; padding: 16px 18px; }
.glass .modal .price-list svg { color: #c084fc; }
.glass #payBtn { background: linear-gradient(180deg, #b26cff, #8b3cf0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(139, 60, 240, 0.4); }
.glass .modal .close-link { display: block; margin: 14px auto 0; }
.glass .toast {
  border-radius: 999px; padding: 12px 22px; font-size: 14px; font-weight: 500;
  background: rgba(40, 32, 60, 0.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
  .glass .app { grid-template-columns: 1fr; }
  .glass .mobile-bar {
    margin: 10px 10px 0; border-radius: 22px; border: 1px solid var(--g-line);
    background: var(--g-bg); backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur); top: 10px;
  }
  .glass .main { padding: 22px 12px 40px; }
  .glass .page-head h1 { font-size: 28px; }
  .glass .card { border-radius: 24px; padding: 20px; }
  .glass .status-card { padding: 0; }
  .glass .head-actions .btn { flex: 1; }
}

/* =========================================================
   ЕДИНЫЙ СТИЛЬ главной и панели (class="unified" на body)
   Откат: убрать "unified" с body на обеих страницах
   ========================================================= */
.unified {
  --g-bg: rgba(255, 255, 255, 0.055);
  --g-bg-2: rgba(255, 255, 255, 0.08);
  --g-line: rgba(255, 255, 255, 0.09);
  --g-hi: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  --g-blur: blur(28px) saturate(170%);
  --g-btn: linear-gradient(180deg, #b26cff, #8b3cf0);
  --g-btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(139, 60, 240, 0.45);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  background: #09080f;
}
/* Общая сетка на фоне, плавно исчезающая книзу */
.unified .grid-bg, .unified.landing .hero-wrap, .unified .main { position: relative; }
.unified.landing .hero-wrap::before, .unified.glass .main::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.unified.glass .main::before { height: 520px; }
.unified.glass .main { isolation: isolate; }

/* ---------- Главная ---------- */
.unified.landing > *:not(.bg-orbs) { position: relative; z-index: 1; }
.unified.landing .hero-wrap { background: none; border-bottom: none; isolation: isolate; }
.unified.landing .hero-wrap .nav {
  max-width: 1120px; margin: 14px auto 0; width: calc(100% - 28px);
  padding: 12px 14px 12px 26px; border-radius: 999px;
  background: var(--g-bg); backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur);
  border: 1px solid var(--g-line); box-shadow: var(--g-hi), 0 12px 40px rgba(0, 0, 0, 0.3);
}
.unified .btn-ghost { border-radius: 999px; background: var(--g-bg-2); border: 1px solid var(--g-line); }
.unified .btn-solid { background: var(--g-btn); box-shadow: var(--g-btn-shadow); border-radius: 999px; }
.unified .btn-solid:hover { background: var(--g-btn); filter: brightness(1.08); }
.unified .hero2-stats { border-color: var(--g-line); }
.unified .hero2-stats div { border-color: var(--g-line); }

.unified .console {
  border-radius: 24px; background: rgba(10, 8, 18, 0.55);
  backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur);
  border: 1px solid var(--g-line); box-shadow: var(--g-hi), 0 30px 80px rgba(124, 58, 237, 0.28);
}
.unified .console-bar { background: rgba(255, 255, 255, 0.04); border-color: var(--g-line); padding: 11px 18px; }
.unified .console-body { padding: 20px 22px 24px; }
.unified .console-caption { border-left: none; padding: 10px 16px; border-radius: 999px; background: var(--g-bg); border: 1px solid var(--g-line); display: inline-block; }

.unified .feat-grid { border: none; gap: 14px; }
.unified .feat, .unified .how-grid, .unified .plan {
  background: var(--g-bg); backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur);
  border: 1px solid var(--g-line); box-shadow: var(--g-hi), 0 12px 40px rgba(0, 0, 0, 0.25);
}
.unified .feat { border-radius: 26px; }
.unified .feat:hover { background: var(--g-bg-2); }
.unified .how-grid { border-radius: 28px; padding: 6px 28px; }
.unified .how { border-color: var(--g-line); }
.unified .how:first-child { border-top: none; }
.unified .how:last-child { border-bottom: none; }
.unified .plan { border-radius: 28px; overflow: hidden; }
.unified .plan-left { border-color: var(--g-line); }
.unified .plan-list li { border-color: var(--g-line); }
.unified .foot { border-color: var(--g-line); }

/* ---------- Панель ---------- */
.unified.glass .page-head .eyebrow { margin-bottom: 12px; }
.unified.glass .page-head h1 {
  font-family: "Unbounded", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 30px; letter-spacing: -0.02em;
}
.unified.glass .page-head h1 .pill { font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif; text-transform: none; letter-spacing: 0; }
.unified.glass .bg-orbs i:nth-child(1) { left: 30%; }

@media (max-width: 900px) {
  .unified.landing .hero-wrap .nav { padding: 10px 10px 10px 20px; width: calc(100% - 20px); margin-top: 10px; }
  .unified .feat, .unified .plan { border-radius: 22px; }
  .unified .how-grid { padding: 4px 18px; border-radius: 22px; }
  .unified .console { border-radius: 20px; }
  .unified.glass .page-head h1 { font-size: 22px; }
}
.unified .console-caption { border-radius: 16px; }

/* Шаги над консолью */
.flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.flow-step {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: rgba(168, 85, 247, 0.14); border: 1px solid rgba(192, 132, 252, 0.35);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.flow-n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(180deg, #b26cff, #8b3cf0); color: #fff; font-size: 12px; font-weight: 700;
}
.flow-done { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.4); }
.flow-done .flow-n { background: #34d399; color: #062b1e; }
.flow-arrow { color: #c084fc; font-weight: 700; }
@media (max-width: 900px) {
  .flow { flex-direction: column; align-items: flex-start; gap: 6px; }
  .flow-arrow { transform: rotate(90deg); margin-left: 14px; line-height: 1; }
}
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.flow-arrow { display: none; }
.flow-step { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 20px; font-size: 14px; line-height: 1.3; }
@media (max-width: 900px) {
  .flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .flow-step { padding: 12px 10px; font-size: 12.5px; border-radius: 16px; }
}
.flow { align-items: stretch; }
.flow-step { justify-content: flex-start; transition: opacity .35s, transform .35s, box-shadow .35s; }
.flow.anim .flow-step { opacity: 0.45; }
.flow.anim .flow-step.on { opacity: 1; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 26px rgba(168, 85, 247, 0.35); }
.flow.anim .flow-done.on { box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 26px rgba(52, 211, 153, 0.3); }
.flow.anim .flow-step { opacity: 0.6; }

/* Фото карт на плитках */
.map { background-size: cover; background-position: center; }
.glass .map::before { background: linear-gradient(to top, rgba(9, 8, 15, 0.85), rgba(9, 8, 15, 0.05) 70%); }
.glass .map:not(.selected) { filter: saturate(0.85) brightness(0.9); }
.glass .map:hover { filter: none; }

/* ---------- Фикс мерцания при прокрутке ----------
   Пятна едут вместе со страницей, а карточки — полупрозрачные без живого размытия */
body.unified { position: relative; min-height: 100vh; }
.unified .bg-orbs { position: absolute; inset: 0; min-height: 100vh; }
.unified .bg-orbs i:nth-child(1) { opacity: .38; }
.unified .card, .unified .feat, .unified .how-grid, .unified .plan, .unified .loc,
.unified.glass .sidebar, .unified .console {
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.unified .card, .unified .feat, .unified .how-grid, .unified .plan { background: rgba(24, 19, 38, 0.62); }
.unified .feat:hover { background: rgba(32, 26, 50, 0.7); }
.unified.glass .sidebar { background: rgba(20, 16, 32, 0.75); }
.unified .console { background: rgba(10, 8, 18, 0.82); }
.unified .loc { background: rgba(255, 255, 255, 0.035); }

/* ---------- Фикс для Safari: пятна без filter: blur ----------
   Safari обрезает сильное размытие прямоугольниками и рисует чёрные блоки.
   Мягкие радиальные градиенты выглядят так же и рисуются везде одинаково. */
.bg-orbs i { filter: none !important; opacity: 1 !important; border-radius: 0; }
.bg-orbs i:nth-child(1) { width: 1100px; height: 1100px; top: -520px; left: 50%; transform: translateX(-55%);
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.42), rgba(124, 58, 237, 0.12) 55%, transparent); }
.bg-orbs i:nth-child(2) { width: 900px; height: 900px; top: 25%; right: -380px; left: auto;
  background: radial-gradient(closest-side, rgba(219, 39, 119, 0.26), rgba(219, 39, 119, 0.06) 60%, transparent); }
.bg-orbs i:nth-child(3) { width: 1000px; height: 1000px; bottom: -480px; left: 20%;
  background: radial-gradient(closest-side, rgba(79, 70, 229, 0.24), rgba(79, 70, 229, 0.05) 60%, transparent); }
/* Блок локаций при запущенном сервере — приглушаем цветом, а не прозрачностью */
.unified .locked { opacity: 1; filter: none; }
.unified .locked .loc { opacity: 0.45; }
.unified .locked .card-title, .unified .locked .card-sub { opacity: 0.7; }

/* Панель: правое пятно — тот же яркий фиолетовый, что сверху */
.glass .bg-orbs i:nth-child(2) {
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.42), rgba(124, 58, 237, 0.12) 55%, transparent);
}

/* ---------- Переключатель языка RU / UA / EN ---------- */
.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09);
}
.lang-switch button {
  min-width: 34px; height: 28px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted);
  transition: background .15s, color .15s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.on { background: linear-gradient(180deg, #b26cff, #8b3cf0); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.nav-links .lang-switch { margin-right: -10px; }
.side-bottom .lang-switch { display: flex; }
.side-bottom .lang-switch button { flex: 1; }
.mobile-right { display: flex; align-items: center; gap: 8px; }
.mobile-right .lang-switch button { min-width: 30px; height: 26px; padding: 0 7px; font-size: 11px; }
@media (max-width: 900px) {
  .nav-links { gap: 10px; }
  .nav-links .lang-switch { margin-right: 0; }
}
@media (max-width: 400px) {
  .mobile-right .pill { display: none; }
}
@media (max-width: 900px) {
  .unified.landing .hero-wrap .nav .wordmark { white-space: nowrap; font-size: 12px; }
  .unified.landing .nav-links .btn-ghost { height: 34px; padding: 0 12px; font-size: 13px; }
  .unified.landing .nav-links .lang-switch button { min-width: 28px; height: 26px; padding: 0 6px; font-size: 11px; }
}
@media (max-width: 380px) {
  .unified.landing .nav-links .btn-ghost { display: none; }
}

/* Панель: переключатель языка — маленький и неброский */
.glass .lang-switch { background: none; border: none; padding: 0; gap: 0; }
.glass .side-bottom .lang-switch { display: inline-flex; justify-content: flex-start; padding-left: 10px; }
.glass .side-bottom .lang-switch button { flex: none; }
.glass .lang-switch button {
  min-width: 0; height: 22px; padding: 0 6px; font-size: 11px; font-weight: 600;
  color: var(--dim); background: none; box-shadow: none; border-radius: 6px;
}
.glass .lang-switch button:hover { color: var(--muted); }
.glass .lang-switch button.on { background: none; box-shadow: none; color: #c084fc; }
.glass .mobile-right .lang-switch button { height: 22px; padding: 0 4px; font-size: 10.5px; }

/* =========================================================
   ПОДДЕРЖКА — кнопка и окно
   ========================================================= */
.sup { position: fixed; right: 20px; bottom: 20px; z-index: 40; font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif; }
.sup-fab {
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 16px; border-radius: 999px;
  color: #fff; font-weight: 600; font-size: 14px; position: relative;
  background: rgba(30, 24, 46, 0.85); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform .15s, background .15s;
}
.sup-fab:hover { background: rgba(44, 34, 68, 0.9); transform: translateY(-1px); }
.sup-fab svg { color: #c084fc; }
.sup-dot { position: absolute; top: 6px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: #ec4899; box-shadow: 0 0 0 3px rgba(30, 24, 46, 0.9); display: none; }
.sup.unread .sup-dot { display: block; }
.sup.open .sup-fab { display: none; }

.sup-panel {
  display: none; flex-direction: column; width: 370px; max-height: min(620px, calc(100vh - 40px));
  border-radius: 28px; overflow: hidden;
  background: rgba(22, 18, 34, 0.96); border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.55);
}
.sup.open .sup-panel { display: flex; animation: rise .22s; }
.sup-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 20px 14px; }
.sup-title { font-family: "Unbounded", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 16px; letter-spacing: -0.01em; }
.sup-sub { color: var(--muted); font-size: 13px; margin-top: 3px; }
.sup-close { width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); background: rgba(255, 255, 255, 0.06); }
.sup-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }

.sup-tg { padding: 0 20px 4px; }
.sup-tg-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 999px;
  font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(180deg, #37b4f0, #1f8fd6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(31, 143, 214, 0.4);
  transition: filter .15s, transform .15s;
}
.sup-tg-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sup-tg-hint { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 9px; line-height: 1.4; }
.sup-tg-linked { display: none; text-align: center; font-size: 12.5px; color: var(--green); margin-top: 6px; }
.sup.linked .sup-tg-linked { display: block; }

.sup-or { display: flex; align-items: center; gap: 10px; padding: 14px 20px 6px; color: var(--dim); font-size: 12px; }
.sup-or::before, .sup-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.08); }

.sup-list { flex: 1; min-height: 90px; overflow-y: auto; padding: 8px 16px; display: flex; flex-direction: column; gap: 8px; }
.sup-empty { color: var(--dim); font-size: 13px; text-align: center; padding: 14px 10px; line-height: 1.45; }
.sup-msg { max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: 14px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; }
.sup-msg.me { align-self: flex-end; background: linear-gradient(180deg, #a35cf5, #8b3cf0); color: #fff; border-bottom-right-radius: 6px; }
.sup-msg.them { align-self: flex-start; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.08); border-bottom-left-radius: 6px; }
.sup-who { font-size: 11px; font-weight: 700; opacity: 0.7; margin-bottom: 2px; }

.sup-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 14px 14px; }
.sup-form textarea {
  flex: 1; resize: none; min-height: 44px; max-height: 120px; padding: 12px 16px; border-radius: 22px; outline: none;
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; line-height: 1.4;
}
.sup-form textarea:focus { border-color: rgba(192, 132, 252, 0.55); }
.sup-send {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #fff;
  background: linear-gradient(180deg, #b26cff, #8b3cf0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.sup-err { display: none; color: var(--red); font-size: 12.5px; padding: 0 20px 12px; }
.sup-err.show { display: block; }

/* В панели тосты внизу по центру — поднимаем, чтобы не спорили с кнопкой */
.glass .toast { bottom: 80px; }

@media (max-width: 600px) {
  .sup { right: 12px; bottom: 12px; }
  .sup.open { left: 8px; right: 8px; bottom: 8px; }
  .sup-panel { width: 100%; max-height: calc(100vh - 16px); border-radius: 24px; }
  .sup-fab span { display: none; }
  .sup-fab { width: 50px; height: 50px; padding: 0; justify-content: center; }
}

/* Кнопка поддержки: всегда в правом углу экрана и выше подвала */
.unified.landing > .sup, .sup { position: fixed; z-index: 40; right: 24px; bottom: 96px; left: auto; }
.sup.open { bottom: 24px; }
.glass .toast { bottom: 24px; }
@media (max-width: 600px) {
  .unified.landing > .sup, .sup { right: 14px; bottom: 80px; }
  .sup.open { left: 8px; right: 8px; bottom: 8px; }
}
.unified.landing > .sup, .sup { bottom: 64px; }
.sup.open { bottom: 24px; }
@media (max-width: 600px) { .unified.landing > .sup, .sup { bottom: 56px; } .sup.open { bottom: 8px; } }

/* Панель: кнопка поддержки — только иконка */
.glass .sup-fab { width: 48px; height: 48px; padding: 0; justify-content: center; }
.glass .sup-fab span { display: none; }
.glass .sup-fab svg { width: 20px; height: 20px; }
.glass .sup-dot { top: 4px; right: 4px; }

/* Поле ввода поддержки: светлый текст, видимый курсор */
textarea { font: inherit; color: inherit; }
.sup-form textarea { color: var(--text); caret-color: #c084fc; font-family: inherit; -webkit-text-fill-color: var(--text); }
.sup-form textarea::placeholder { color: var(--dim); -webkit-text-fill-color: var(--dim); opacity: 1; }
/* Окно поддержки — полностью непрозрачное, сайт под ним не просвечивает */
.sup-panel { background: #161222; isolation: isolate; }

/* Логотип-колба рядом с названием */
.logo-img { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; box-shadow: 0 4px 16px rgba(139, 60, 240, 0.4); }
.wordmark.logo { display: inline-flex; align-items: center; gap: 10px; }
.glass .sidebar .logo-img { width: 32px; height: 32px; }
.foot .logo-img { width: 22px; height: 22px; border-radius: 6px; box-shadow: none; }
@media (max-width: 900px) { .logo-img { width: 26px; height: 26px; border-radius: 8px; } }
.glass .sidebar .wordmark { display: flex; align-items: center; gap: 9px; font-size: 12px; white-space: nowrap; padding-left: 8px; padding-right: 4px; }
.glass .sidebar .logo-img { width: 30px; height: 30px; }

/* Пробный период: $1 за 2 дня */
.plan-trial { display: inline-block; align-self: flex-start; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(168, 85, 247, 0.16); border: 1px solid rgba(192, 132, 252, 0.35); color: #d8b4fe;
  font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.modal .m-then { font-size: 13px; color: var(--muted, #9a93b3); margin-top: 6px; }

/* Окно оплаты: «или» и кнопка бесплатного режима */
.modal .or-line { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--dim, #6f6888); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.modal .or-line::before, .modal .or-line::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.09); }
.modal #trialBtn { width: 100%; }
.modal .trial-hint { margin-top: 8px; font-size: 12.5px; color: var(--muted, #9a93b3); }
/* Полоска бесплатного режима в панели */
.trial-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: -12px 0 18px;
  padding: 12px 14px 12px 18px; border-radius: 20px; background: rgba(168, 85, 247, 0.12); border: 1px solid rgba(192, 132, 252, 0.3); }
.trial-bar[hidden] { display: none; }
.trial-bar .trial-info { display: flex; align-items: center; gap: 10px; color: #e9d5ff; font-weight: 600; font-variant-numeric: tabular-nums; }
.trial-bar .trial-info svg { color: #c084fc; flex: none; }
@media (max-width: 600px) { .trial-bar { flex-direction: column; align-items: stretch; } }

/* Тариф: «Купить» + маленькая «Попробовать бесплатно» */
.plan-left .plan-actions { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-left .plan-actions .btn { margin-top: 0; }
.plan-left .plan-try { height: 44px; padding: 0 18px; font-size: 14px; color: #e9d5ff; }
.plan-left .plan-buy { height: 44px; padding: 0 18px; font-size: 14px; }
.plan-left .plan-actions .btn { min-width: 220px; justify-content: center; }

/* ---------- Страница входа ---------- */
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  max-width: 1120px; width: 100%; margin: 0 auto; padding: 24px 24px 0; }
.login-top .logo span { white-space: nowrap; }
.login-wrap { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 16px 60px; }
.login-card { width: 100%; max-width: 420px; text-align: center; padding: 40px 32px 30px; border-radius: 30px;
  background: rgba(24, 19, 38, 0.72); border: 1px solid var(--g-line, rgba(255,255,255,.09));
  box-shadow: 0 30px 80px -30px rgba(124, 58, 237, 0.45); }
.login-mark { width: 64px; height: 64px; }
.login-card h1 { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 30px; text-transform: uppercase; margin: 18px 0 8px; }
.login-lead { color: var(--muted, #9a93b3); margin-bottom: 26px; }
.steam-btn { width: 100%; height: 56px; gap: 12px; font-size: 16px; font-weight: 600; color: #fff; border-radius: 999px;
  background: linear-gradient(135deg, #1b2838, #2a475e); border: 1px solid rgba(102, 192, 244, 0.35);
  box-shadow: 0 12px 30px -12px rgba(102, 192, 244, 0.45); }
.steam-btn:hover { filter: brightness(1.12); }
.login-error { margin-bottom: 16px; padding: 10px 14px; border-radius: 14px; font-size: 14px;
  background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.35); color: #fca5a5; }
.login-error[hidden] { display: none; }
.login-notes { list-style: none; padding: 0; margin: 24px 0 0; text-align: left; display: grid; gap: 10px; }
.login-notes li { position: relative; padding-left: 22px; font-size: 13px; color: var(--muted, #9a93b3); line-height: 1.45; }
.login-notes li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #a855f7; }
.login-back { display: inline-block; margin-top: 24px; font-size: 13px; color: var(--dim, #6f6888); }
.login-back:hover { color: var(--text, #ece9f5); }
@media (max-width: 420px) { .login-card { padding: 32px 20px 24px; } .login-top .logo span { font-size: 12px; } }

/* ---------- Аккаунт Steam в панели ---------- */
body.booting .app, body.booting .mobile-bar { visibility: hidden; }
.user-card { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.04);
  border: 1px solid var(--g-line, rgba(255,255,255,.08)); margin-bottom: 12px; }
.user-card img { width: 34px; height: 34px; border-radius: 10px; flex: none; background: #2a2340; object-fit: cover; }
.user-card .user-name { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logout-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px;
  color: var(--muted, #9a93b3); background: transparent; border: 1px solid transparent; cursor: pointer; }
.logout-btn:hover { color: #fff; border-color: var(--g-line, rgba(255,255,255,.1)); }
.mobile-right .logout-btn { width: 30px; height: 30px; }

/* ---------- Юридические страницы (terms.html, privacy.html) ---------- */
.legal-wrap { position: relative; z-index: 2; flex: 1; display: flex; justify-content: center; padding: 30px 16px 70px; }
.legal { width: 100%; max-width: 760px; padding: 40px 44px 36px; border-radius: 30px;
  background: rgba(24, 19, 38, 0.78); border: 1px solid var(--g-line, rgba(255,255,255,.09)); line-height: 1.65; }
.legal [data-lang] { display: none; }
html[lang="ru"] .legal [data-lang="ru"], html[lang="uk"] .legal [data-lang="uk"], html[lang="en"] .legal [data-lang="en"] { display: block; }
.legal h1 { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 28px; text-transform: uppercase; margin: 0 0 6px; line-height: 1.2; }
.legal .legal-date { color: var(--dim, #7d7698); font-size: 13px; margin-bottom: 26px; }
.legal h2 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted, #b9b2d0); font-size: 15px; }
.legal ul { padding-left: 20px; margin: 6px 0; }
.legal li { margin: 4px 0; }
.legal a { color: #c9a2ff; }
.legal-nav { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border-soft, rgba(255,255,255,.08)); font-size: 14px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { color: inherit; text-decoration: none; }
.foot-links a:hover { color: var(--text, #fff); }
@media (max-width: 600px) { .legal { padding: 30px 20px 26px; border-radius: 24px; } .legal h1 { font-size: 22px; } }

/* ---------- Панель: раздел «Команды» ---------- */
.view-tabs { display: none; }
@media (max-width: 900px) {
  .view-tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 18px; border-radius: 999px;
    background: var(--g-bg, rgba(255,255,255,.05)); border: 1px solid var(--g-line, rgba(255,255,255,.08)); }
  .view-tabs a { flex: 1; text-align: center; padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 14px;
    color: var(--muted); text-decoration: none; }
  .view-tabs a.on { color: var(--text); background: var(--g-bg-2, rgba(255,255,255,.1)); }
}
.cmd-tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; margin-bottom: 16px;
  background: rgba(168, 85, 247, 0.1); border: 1px solid rgba(168, 85, 247, 0.28); color: var(--text); font-size: 14px; line-height: 1.55; }
.cmd-tip svg { flex: none; color: var(--accent); margin-top: 1px; }
.cmd-tip code, .cmd-desc code { font-family: "JetBrains Mono", monospace; font-size: 13px; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.08); }
.cmd-search-wrap { position: relative; margin-bottom: 16px; }
.cmd-search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cmd-search-wrap .input { padding-left: 44px; }
.cmd-group .card-title { margin-bottom: 12px; }
.cmd-rows { display: flex; flex-direction: column; }
.cmd-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border-soft); }
.cmd-row:first-child { border-top: none; padding-top: 0; }
.cmd-chip { justify-self: start; font-family: "JetBrains Mono", monospace; font-size: 14px; color: var(--text); cursor: pointer;
  padding: 7px 12px; border-radius: 10px; background: rgba(168, 85, 247, 0.12); border: 1px solid rgba(168, 85, 247, 0.3);
  transition: background .15s, border-color .15s; white-space: nowrap; }
.cmd-chip:hover { background: rgba(168, 85, 247, 0.22); border-color: rgba(168, 85, 247, 0.55); }
.cmd-arg { color: var(--muted); }
.cmd-desc { color: var(--muted); font-size: 14px; }
.cmd-alt { color: var(--dim, #7d7698); font-family: "JetBrains Mono", monospace; font-size: 12.5px; margin-left: 4px; }
.cmd-empty { text-align: center; color: var(--muted); padding: 30px 0; }
.glass .cmd-group + .cmd-group { margin-top: 16px; }
@media (max-width: 600px) { .cmd-row { grid-template-columns: 1fr; gap: 6px; } }
.srv-tip { margin: 16px 0 0; align-items: center; }
.srv-tip span { flex: 1; }
.srv-tip-link { flex: none; color: #c9a2ff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.srv-tip-link:hover { color: #fff; }
.glass .srv-tip + .card { margin-top: 16px; }
@media (max-width: 600px) { .srv-tip { flex-wrap: wrap; } .srv-tip-link { margin-left: 30px; } }

/* =========================================================
   ГЛАВНАЯ: цветные акценты ниже шапки (2026-11-02)
   Откат: удалить этот блок (копия до изменений — backups/styles-before-landing-colors.css).
   Только радиальные градиенты, без filter: blur — чтобы Safari не рисовал чёрные блоки.
   ========================================================= */
.unified.landing .sec { position: relative; isolation: isolate; }
.unified.landing .sec::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 700px; top: 20px;
}
/* у каждого раздела своё цветное свечение */
.unified.landing #features::before { right: -260px;
  background: radial-gradient(closest-side, rgba(236, 72, 153, 0.22), rgba(236, 72, 153, 0.06) 55%, transparent); }
.unified.landing #how::before { left: -320px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.26), rgba(99, 102, 241, 0.07) 55%, transparent); }
.unified.landing #pricing::before { left: 50%; transform: translateX(-35%); width: 1000px; height: 760px;
  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.32), rgba(219, 39, 119, 0.1) 55%, transparent); }

/* заголовки разделов: вторая строка с переливом фиолетовый → розовый */
.unified.landing .sec h2 {
  background: linear-gradient(100deg, #fff 0%, #fff 40%, #d8b4fe 70%, #f9a8d4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- Возможности: у каждой карточки свой цвет --- */
.unified.landing .feat { --c: 168, 85, 247; position: relative; overflow: hidden;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(var(--c), 0.26), transparent 70%),
    radial-gradient(300px 160px at 0% 100%, rgba(var(--c), 0.08), transparent 70%),
    rgba(24, 19, 38, 0.62);
  border-color: rgba(var(--c), 0.22); }
.unified.landing .feat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--c), 0.9), transparent); }
.unified.landing .feat:nth-child(2) { --c: 236, 72, 153; }
.unified.landing .feat:nth-child(3) { --c: 99, 102, 241; }
.unified.landing .feat:nth-child(4) { --c: 34, 211, 238; }
.unified.landing .feat:hover { background:
    radial-gradient(420px 220px at 100% 0%, rgba(var(--c), 0.36), transparent 70%),
    rgba(32, 26, 50, 0.7); }
.unified.landing .feat-num {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px;
  font-size: 13px; font-weight: 600; color: rgb(var(--c)); margin-bottom: 30px;
  background: rgba(var(--c), 0.14); border: 1px solid rgba(var(--c), 0.4);
  box-shadow: 0 8px 24px -8px rgba(var(--c), 0.6);
}

/* --- Как это работает: залитые цифры с градиентом и цветная полоса слева --- */
.unified.landing .how-grid { background:
    radial-gradient(500px 260px at 0% 0%, rgba(99, 102, 241, 0.16), transparent 70%),
    radial-gradient(500px 260px at 100% 100%, rgba(236, 72, 153, 0.12), transparent 70%),
    rgba(24, 19, 38, 0.62);
  border-color: rgba(129, 140, 248, 0.22); }
.unified.landing .how-num {
  -webkit-text-stroke: 0; color: transparent;
  background: linear-gradient(160deg, #c4b5fd, #a855f7 45%, #ec4899);
  -webkit-background-clip: text; background-clip: text;
}
.unified.landing .how:nth-child(2) .how-num { background-image: linear-gradient(160deg, #a5b4fc, #6366f1 45%, #a855f7); }
.unified.landing .how:nth-child(3) .how-num { background-image: linear-gradient(160deg, #f9a8d4, #ec4899 45%, #a855f7); }

/* --- Цена: светящаяся рамка и цветная цена --- */
.unified.landing .plan { position: relative; border: 1px solid transparent;
  background:
    radial-gradient(520px 320px at 0% 0%, rgba(168, 85, 247, 0.22), transparent 70%),
    radial-gradient(520px 320px at 100% 100%, rgba(236, 72, 153, 0.14), transparent 70%),
    linear-gradient(rgba(22, 17, 36, 0.92), rgba(22, 17, 36, 0.92)) padding-box,
    linear-gradient(135deg, rgba(168, 85, 247, 0.8), rgba(236, 72, 153, 0.5), rgba(99, 102, 241, 0.6)) border-box;
  box-shadow: 0 30px 80px -30px rgba(168, 85, 247, 0.55); }
.unified.landing .plan-price {
  background: linear-gradient(120deg, #fff 10%, #e9d5ff 45%, #f9a8d4 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.unified.landing .plan-list li::before { color: #f472b6; }

/* --- Подвал: цветная линия сверху --- */
.unified.landing .foot { border-top: none; position: relative; }
.unified.landing .foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.6), rgba(236, 72, 153, 0.5), transparent); }

@media (max-width: 900px) {
  .unified.landing .sec::before { width: 600px; height: 520px; }
  .unified.landing #features::before { right: -300px; }
  .unified.landing #how::before { left: -300px; }
}
/* цветные пятна разделов не должны вылезать за страницу (ни вбок, ни под подвал) */
body.unified.landing { overflow-x: hidden; }
@supports (overflow: clip) {
  html:has(body.unified.landing) { overflow-x: clip; }
  body.unified.landing { overflow: clip; }
}
