/* ═══════════════════════════════════════════════════════════════════════════
   KeyShield — Star Wars / Light vs Dark theme
   Font: Orbitron (headers), Inter (body)
   Colors: #FFD700 gold, #E31212 crimson, #0a0a0f deep space
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --gold:    #FFD700;
  --crimson: #E31212;
  --blue:    #4FC3F7;
  --dark:    #0a0a0f;
  --dark2:   #0f0f1a;
  --dark3:   #141428;
  --card:    rgba(255,255,255,0.04);
  --border:  rgba(255,255,255,0.08);
  --text:    #e0e0e0;
  --muted:   rgba(224,224,224,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Starfield canvas ──────────────────────────────────────────────────────── */
#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.pixel-space-chase {
  position: absolute;
  top: clamp(660px, 67vh, 820px);
  left: 0;
  width: 100%;
  height: 360px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 1;
}
.falcon-ansimation {
  position: absolute;
  left: 0;
  top: 0;
  width: min(280px, 35vw);
  height: auto;
  image-rendering: pixelated;
  filter: contrast(1.08) brightness(1.12) drop-shadow(0 0 14px rgba(255,215,0,.12));
  transform-origin: center;
  animation: falconAnsiDrift 34s ease-in-out infinite;
  animation-delay: -12s;
}
@keyframes falconAnsiDrift {
  0%   { transform: translate3d(-460px, 24px, 0) scale(.78); opacity: 0; }
  8%   { opacity: 1; }
  32%  { transform: translate3d(18vw, -12px, 0) scale(.82); opacity: 1; }
  58%  { transform: translate3d(46vw, 34px, 0) scale(.8); opacity: 1; }
  82%  { transform: translate3d(68vw, 0, 0) scale(.84); opacity: 1; }
  100% { transform: translate3d(108vw, 28px, 0) scale(.78); opacity: 0; }
}
@media (max-width: 760px) {
  .pixel-space-chase { top: 500px; height: 260px; }
  .falcon-ansimation { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .pixel-space-chase { display: none; }
}

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── NAV ───────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--gold), #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-auth {
  position: relative;
}
.nav-auth-trigger {
  min-width: 84px;
  justify-content: center;
}
.nav-auth-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(380px, calc(100vw - 32px));
  padding: 18px;
  background: rgba(15,15,26,0.97);
  border: 1px solid rgba(255,215,0,0.16);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.45), 0 0 30px rgba(255,215,0,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s, transform .18s;
}
.nav-auth.open .nav-auth-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-auth-tabs {
  margin-bottom: 16px;
}
.nav-auth-menu .auth-form {
  gap: 12px;
}
.nav-auth-menu .form-group input {
  padding: 10px 12px;
}
.nav-auth-menu .auth-copy {
  font-size: 0.82rem;
}
.nav-auth-menu .auth-hint {
  line-height: 1.45;
}
.nav-auth-menu .auth-hint a {
  color: var(--gold);
  border-bottom: 0;
  padding: 0;
  width: auto;
  font-size: inherit;
}
.nav-auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}
.nav-tg-login-wrap {
  margin: 12px 0;
}
.auth-provider-card {
  border: 1px solid rgba(255,215,0,0.18);
  background: rgba(255,215,0,0.055);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}
.auth-provider-title {
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.auth-provider-copy {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ── Hamburger button ─────────────────────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* backdrop-filter на nav создаёт containing block и зажимает fixed-оверлей */
  nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10,10,15,0.97);
  }
  .nav-burger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 6, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 28px max(32px, env(safe-area-inset-bottom));
    z-index: 9000;
    overflow-y: auto;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-burger { z-index: 9100; }

  .nav-links a {
    font-size: 1.1rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--text);
  }
  .nav-links a:last-of-type { border-bottom: none; }

  .lang-picker { margin-top: 16px; width: 100%; }
  .lang-current { width: 100%; justify-content: space-between; }
  .lang-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    border: 1px solid var(--border);
  }
  .nav-links .btn { margin-top: 20px; width: 100%; justify-content: center; }
  .nav-auth {
    width: 100%;
    margin-top: 20px;
  }
  .nav-auth-trigger {
    width: 100%;
  }
  .nav-auth-menu {
    position: static;
    width: 100%;
    margin-top: 12px;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.035);
  }
  .nav-auth.open .nav-auth-menu {
    display: block;
  }
  .nav-auth-menu .btn {
    margin-top: 0;
  }
  .nav-auth-menu .auth-hint a {
    border-bottom: 0;
    color: var(--gold);
    display: inline;
  }
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  box-shadow: 0 0 20px rgba(255,215,0,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(255,215,0,0.5); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: rgba(255,215,0,0.08); }

.btn-crimson {
  background: linear-gradient(135deg, #E31212, #8B0000);
  color: #fff;
  box-shadow: 0 0 20px rgba(227,18,18,0.3);
}
.btn-crimson:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(227,18,18,0.5); }

.btn-sm { padding: 8px 16px; font-size: 0.75rem; }

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-family: 'Orbitron', sans-serif;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 .light { color: var(--gold); }
.hero h1 .dark  { color: var(--crimson); }

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Lightsaber divider */
.saber-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 80px 0;
  position: relative;
}
.saber-divider.dark-saber {
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
}

/* ── SIDES section ─────────────────────────────────────────────────────────── */
.sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.side-card {
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.side-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}
.side-light {
  background: radial-gradient(ellipse at top left, rgba(255,215,0,0.08), transparent 70%);
  border: 1px solid rgba(255,215,0,0.2);
}
.side-dark {
  background: radial-gradient(ellipse at top right, rgba(227,18,18,0.08), transparent 70%);
  border: 1px solid rgba(227,18,18,0.2);
}
.side-icon { font-size: 3rem; margin-bottom: 16px; }
.side-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.side-light h3 { color: var(--gold); }
.side-dark  h3 { color: var(--crimson); }
.side-card ul { list-style: none; color: var(--muted); }
.side-card ul li { padding: 6px 0; font-size: 0.95rem; }
.side-card ul li::before { margin-right: 8px; }
.side-light ul li::before { content: '⚡'; }
.side-dark  ul li::before { content: '💀'; }

/* ── FEATURES grid ─────────────────────────────────────────────────────────── */
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--gold);
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 60px;
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,215,0,0.3);
}
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
.feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── PRICING ───────────────────────────────────────────────────────────────── */
.pricing {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.25s;
}
.plan-card.popular {
  border-color: var(--gold);
  background: radial-gradient(ellipse at top, rgba(255,215,0,0.07), transparent 70%);
}
.plan-card.popular::after {
  content: 'ХИТ';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #FFA500);
  color: #000;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 100px;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.plan-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-currency { font-size: 1.2rem; }
.plan-period { color: var(--muted); font-size: 0.85rem; margin-bottom: 24px; }
.plan-buy {
  width: 100%;
  justify-content: center;
}

/* ── DASHBOARD ─────────────────────────────────────────────────────────────── */
.dashboard-page {
  padding: 100px 0 80px;
  position: relative;
  z-index: 1;
}
.dashboard-alert {
  margin-bottom: 16px;
}
.dash-hero-panel {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255,215,0,0.16);
  background:
    linear-gradient(135deg, rgba(255,215,0,0.08), rgba(227,18,18,0.03)),
    rgba(255,255,255,0.035);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 22px;
}
.dash-identity {
  min-width: 0;
}
.dash-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dash-identity h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1.08;
  color: #fff;
  overflow-wrap: anywhere;
}
.dash-balance-pill {
  min-width: 170px;
  border: 1px solid rgba(255,215,0,0.22);
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
  display: grid;
  align-content: center;
  justify-items: end;
  padding: 16px 18px;
}
.dash-balance-pill span {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 4px;
}
.dash-balance-pill strong {
  font-family: 'Orbitron', sans-serif;
  color: var(--gold);
  font-size: 1.45rem;
}
.dash-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.75fr);
  gap: 18px;
  margin-bottom: 24px;
}
.dash-status-card,
.dash-app-card,
.dash-self-check-card {
  display: grid;
  align-content: start;
}
.dash-self-check-card {
  grid-column: 1 / -1;
}
.dash-self-check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}
.dash-self-check-layout .btn {
  justify-content: center;
  white-space: nowrap;
}
.dash-self-check-result {
  display: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.dash-self-check-result.active {
  display: block;
}
.dash-self-check-title {
  font-weight: 800;
  margin-bottom: 6px;
}
.dash-self-check-title.success { color: #66BB6A; }
.dash-self-check-title.warning { color: var(--gold); }
.dash-self-check-title.danger { color: #ff8a8a; }
.dash-self-check-title.info { color: var(--blue); }
.dash-self-check-copy {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.dash-self-check-meta {
  color: rgba(224,224,224,0.58);
  font-size: 0.78rem;
  margin-top: 8px;
}
.dash-self-check-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.dash-self-check-actions .btn {
  justify-content: center;
}
.dash-checkout-steps {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.dash-checkout-step {
  align-items: center;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  display: grid;
  font-size: 0.82rem;
  gap: 10px;
  grid-template-columns: 30px minmax(0, 1fr);
  line-height: 1.4;
  padding: 10px 12px;
}
.dash-checkout-step b {
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 9px;
  color: var(--muted);
  display: flex;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  width: 30px;
}
.dash-checkout-step.done {
  border-color: rgba(102,187,106,0.28);
  color: var(--text);
}
.dash-checkout-step.done b {
  background: rgba(102,187,106,0.18);
  color: #66BB6A;
}
.dash-checkout-step.active {
  border-color: rgba(255,215,0,0.36);
  color: var(--text);
}
.dash-checkout-step.active b {
  background: linear-gradient(135deg, var(--gold), #FFA500);
  color: #050509;
}
.dash-checkout-step.error {
  border-color: rgba(227,18,18,0.36);
  color: #ff8a8a;
}
.dash-checkout-step.error b {
  background: rgba(227,18,18,0.2);
  color: #ff8a8a;
}
.dash-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.dash-status-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}
.dash-status-muted,
.dash-card-copy,
.dash-app-copy {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.dash-primary-actions,
.dash-app-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.dash-primary-actions .btn,
.dash-app-actions .btn {
  justify-content: center;
}
.dash-grid-compact {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 24px;
}
.dashboard-header {
  padding: 100px 0 40px;
  position: relative;
  z-index: 1;
}
.dash-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.dash-sub { color: var(--muted); font-size: 0.95rem; }

.dash-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}
.dash-grid > *,
.card {
  min-width: 0;
}
.dash-sidebar,
.dash-main {
  display: grid;
  gap: 24px;
  align-content: start;
  min-width: 0;
}
.dash-sidebar {
  position: sticky;
  top: 88px;
}
.dash-full-btn {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
}
.dash-account-card form {
  margin-top: 10px;
}
.dash-account-line {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}
.dash-account-line span {
  color: var(--text);
}
.dash-link-tg {
  justify-content: flex-start;
  margin: 14px 0 0;
}
.dash-referral-card {
  overflow: hidden;
}
.dash-referral-rules {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.dash-referral-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.035);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}
.dash-referral-rule strong {
  color: var(--gold);
  white-space: nowrap;
}
.dash-referral-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.dash-referral-stats div {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  background: rgba(0,0,0,0.22);
}
.dash-referral-stats strong {
  display: block;
  color: var(--gold);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.02rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-referral-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dash-referral-link {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0,0,0,0.28);
  color: var(--text);
  font-size: 0.82rem;
  padding: 11px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-referral-modal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}
.post-success-steps {
  display: grid;
  gap: 8px;
  margin: 14px 0 16px;
}
.post-success-step {
  align-items: center;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  display: grid;
  font-size: 0.82rem;
  gap: 10px;
  grid-template-columns: 30px minmax(0, 1fr);
  line-height: 1.4;
  padding: 10px 12px;
}
.post-success-step b {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), #FFA500);
  border-radius: 9px;
  color: #050509;
  display: flex;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  width: 30px;
}
.key-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.key-section-head .card-title {
  margin-bottom: 0;
}
.key-section-head a {
  color: var(--gold);
  font-size: 0.84rem;
  text-decoration: none;
  white-space: nowrap;
}
.dash-empty-state {
  text-align: center;
  padding: 42px 12px;
}
.dash-empty-title {
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
}
.dash-empty-copy {
  color: var(--muted);
  font-size: 0.9rem;
}
.dash-history-card {
  padding: 0;
  overflow: hidden;
}
.dash-history-card summary {
  padding: 18px 22px;
  cursor: pointer;
  color: var(--gold);
  font-weight: 800;
}
.dash-history-card .pay-table {
  margin: 0 18px 18px;
  width: calc(100% - 36px);
}
@media (max-width: 900px) {
  .dash-command-grid,
  .dash-grid,
  .dash-grid-compact { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* balance card */
.balance-card {
  overflow: hidden;
}
.balance-amount {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.balance-currency {
  font-size: 0.5em;
  vertical-align: 0.35em;
  margin-right: 3px;
}
.balance-note {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 12px;
}

/* keys list */
.key-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.key-item:last-child { border-bottom: none; }
.key-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.key-name {
  font-weight: 600;
  font-size: 0.95rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.badge {
  font-size: 0.65rem;
  font-family: 'Orbitron', sans-serif;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.badge-active { background: rgba(76,175,80,0.2); color: #66BB6A; border: 1px solid #66BB6A; }
.badge-expired { background: rgba(227,18,18,0.15); color: var(--crimson); border: 1px solid var(--crimson); }

.key-meta-grid {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}
.key-meta-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.8rem;
}
.key-meta-label {
  color: rgba(255,215,0,0.72);
  font-weight: 600;
}
.key-meta-all {
  grid-column: 1 / -1;
}
.key-meta-value {
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.key-meta-value:hover {
  white-space: normal;
  overflow-wrap: anywhere;
}
.key-value {
  font-family: monospace;
  font-size: 0.78rem;
  color: rgba(255,215,0,0.6);
  background: rgba(0,0,0,0.3);
  padding: 6px 10px;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
  border: 1px solid var(--border);
}
.key-value:hover {
  color: var(--gold);
  white-space: normal;
  overflow-wrap: anywhere;
}

/* payments table */
.pay-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.pay-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pay-table td { padding: 12px; border-bottom: 1px solid var(--border); }
.pay-table tr:last-child td { border-bottom: none; }
.status-succeeded { color: #66BB6A; }
.status-pending   { color: var(--gold); }
.status-canceled  { color: var(--crimson); }

/* buy mini plans inside dashboard */
.dash-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.dash-plan {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(0,0,0,0.2);
}
.dash-plan:hover { border-color: var(--gold); background: rgba(255,215,0,0.05); }
.dash-plan.selected {
  border-color: var(--gold);
  background: rgba(255,215,0,0.10);
  box-shadow: 0 0 24px rgba(255,215,0,0.10);
}
.dash-plan-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; }
.dash-plan-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}
.dash-actions,
.key-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.dash-actions .btn,
.key-actions .btn {
  flex: 1;
  justify-content: center;
  min-width: 150px;
}

/* ── Modal ─────────────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-backdrop.active { display: flex; }
.modal {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
}
.modal h2 {
  font-family: 'Orbitron', sans-serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  background: none;
  border: none;
  line-height: 1;
}
.modal-close:hover { color: #fff; }

/* Telegram login widget wrapper */
.tg-login-wrap { display: flex; justify-content: center; margin-top: 16px; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}
footer a { color: var(--gold); text-decoration: none; }

/* ── Toast ─────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--dark3);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  color: var(--text);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sides { grid-template-columns: 1fr; }
  .dash-plans { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .dashboard-page { padding-top: 88px; }
  .dashboard-header { padding-top: 88px; }
  .dash-hero-panel {
    flex-direction: column;
    padding: 20px;
  }
  .dash-balance-pill {
    justify-items: start;
    min-width: 0;
  }
  .dash-status-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .dash-primary-actions .btn,
  .dash-app-actions .btn,
  .dash-self-check-layout .btn,
  .dash-self-check-actions .btn {
    width: 100%;
  }
  .dash-self-check-layout {
    grid-template-columns: 1fr;
  }
  .card { padding: 22px; }
  .key-actions .btn { min-width: 100%; }
  .key-meta-row { grid-template-columns: 1fr; gap: 4px; }
  .key-meta-value { white-space: normal; overflow-wrap: anywhere; }
  .key-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .pay-table {
    display: block;
    overflow-x: auto;
  }
}
@media (max-width: 480px) {
  .dash-plans { grid-template-columns: 1fr; }
  .dash-title { font-size: 1.45rem; }
  .balance-amount { font-size: 2rem; }
}

/* ── Crawl intro (fun easter egg) ──────────────────────────────────────────── */
.force-quote {
  text-align: center;
  font-style: italic;
  color: var(--gold);
  opacity: 0.5;
  font-size: 0.9rem;
  margin: 20px 0;
  letter-spacing: 1px;
}

/* loading spinner */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,215,0,0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* glow effects */
.glow-gold { box-shadow: 0 0 30px rgba(255,215,0,0.2); }
.glow-red  { box-shadow: 0 0 30px rgba(227,18,18,0.2); }

/* animated lightsaber line */
.saber-line {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #fff, var(--gold));
  background-size: 200% 100%;
  animation: saber-sweep 3s ease-in-out infinite;
  border-radius: 3px;
  margin: 12px 0;
}
@keyframes saber-sweep {
  0%   { background-position: 200% 0; opacity: 0.6; }
  50%  { background-position: 0%   0; opacity: 1;   }
  100% { background-position: 200% 0; opacity: 0.6; }
}

/* ── Auth Modal tabs & forms ─────────────────────────────────────────────── */
.auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  padding: 9px 6px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.auth-tab.active {
  background: rgba(255,215,0,0.12);
  color: var(--gold);
  font-weight: 600;
}
.auth-tab:hover:not(.active) { color: var(--text); }

.auth-pane { display: block; }
.auth-pane.hidden { display: none; }

.auth-form { display: grid; gap: 16px; }

.form-group { display: grid; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
.form-group input {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus { border-color: var(--gold); }
.form-group input::placeholder { color: rgba(224,224,224,0.25); }

.auth-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}
.auth-hint a { color: var(--gold); text-decoration: none; }
.auth-hint a:hover { text-decoration: underline; }
.auth-copy {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: center;
}
.auth-copy strong { color: #fff; }

.form-error {
  background: rgba(227,18,18,0.12);
  border: 1px solid rgba(227,18,18,0.4);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #ff6b6b;
  margin-bottom: 16px;
}
.form-success {
  background: rgba(102,187,106,0.12);
  border: 1px solid rgba(102,187,106,0.4);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #85d987;
  margin-bottom: 16px;
}
.reset-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 48px;
  position: relative;
  z-index: 1;
}
.reset-card {
  position: relative;
  transform: none;
  max-width: 440px;
  width: 100%;
}

/* ── FAQ accordion (index) ──────────────────────────────────────────────────── */
.faq-item[data-faq] { cursor: pointer; }
.faq-item[data-faq] .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  margin-bottom: 0;
  color: #fff;
  user-select: none;
}
.faq-item[data-faq] .faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .25s;
  line-height: 1;
}
.faq-item[data-faq].open .faq-q::after { transform: rotate(45deg); }
.faq-item[data-faq] .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin-top .2s;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.faq-item[data-faq].open .faq-a {
  max-height: 800px;
  margin-top: 12px;
}

/* ── Scroll reveal ──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Nav: "Как работает" active ─────────────────────────────────────────────── */
.nav-links a.nav-active { color: var(--gold) !important; }

/* ── Download page: Windows dual button ─────────────────────────────────────── */
.dl-win-btns { display: flex; flex-direction: column; gap: 8px; }
.dl-app-direct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
  font-size: 0.82rem;
}
.dl-app-direct:hover { background: rgba(255,215,0,0.09); border-color: rgba(255,215,0,0.4); color: var(--text); }
.dl-app-direct .dl-app-name { font-weight: 600; font-size: 0.88rem; color: var(--gold); }
.dl-app-direct .dl-app-note { color: var(--muted); font-size: 0.72rem; margin-top: 2px; }

/* ── Nav: кнопка в nav не должна наследовать цвет ссылок ─────────────────── */
.nav-links .btn-gold { color: #000 !important; }
.nav-links .btn-gold:hover { color: #000 !important; }
.nav-links .btn-outline { color: var(--gold) !important; }

/* ── Промокод ───────────────────────────────────────────────────────────────── */
.promo-block {
  margin: 28px auto 0;
  max-width: 360px;
  text-align: center;
}
.promo-row {
  display: flex;
  gap: 8px;
}
.promo-row input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color .2s;
}
.promo-row input:focus { border-color: var(--gold); }
.promo-row input::placeholder { color: var(--muted); text-transform: none; letter-spacing: 0; }
.promo-row button {
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.35);
  border-radius: 8px;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.promo-row button:hover { background: rgba(255,215,0,0.22); }
.promo-row button:disabled { opacity: 0.5; cursor: default; }
.dash-sidebar .promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.dash-sidebar .promo-row button {
  padding-left: 12px;
  padding-right: 12px;
}
.promo-msg {
  margin-top: 8px;
  font-size: 0.82rem;
  min-height: 18px;
}
.promo-ok { color: #4caf50; }
.promo-err { color: var(--crimson); }

/* ── Старая цена при скидке ─────────────────────────────────────────────────── */
.plan-price-orig {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-top: -6px;
  margin-bottom: 4px;
}

/* ── Чекбокс оферты ─────────────────────────────────────────────────────────── */
.oferta-check {
  margin: 20px auto 0;
  max-width: 480px;
  text-align: center;
}
.oferta-check label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.oferta-check input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}
.oferta-check a { color: var(--gold); text-decoration: underline; }
.oferta-check a:hover { opacity: 0.8; }
.oferta-check.shake { animation: shake .4s; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}

/* ── Language picker ─────────────────────────────────────────────────────────── */
.lang-picker {
  position: relative;
}
.lang-current {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  padding: 6px 10px;
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.lang-current:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,215,0,0.3); }
.lang-arrow { font-size: 0.65rem; opacity: 0.6; }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #13132a;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  width: 280px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.lang-menu.open { display: grid; }
.lang-opt {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.80rem;
  color: var(--text);
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.lang-opt:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.lang-opt-active { color: var(--gold); background: rgba(255,215,0,0.08); }

/* ═══════════════════════════════════════════════════════════════════════════
   REDESIGN v2 — mtrxvpn-style + Star Wars
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Accent helpers ──────────────────────────────────────────────────────────── */
.accent-gold   { color: var(--gold); }
.accent-crimson { color: var(--crimson); }
.section-eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0.8;
}

/* ── HERO V2 ─────────────────────────────────────────────────────────────────── */
.hero-v2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  z-index: 1;
}
.hero-v2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-v2-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-v2-right { order: -1; }
}

/* Status badge */
.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.35);
  border-radius: 100px;
  font-size: 0.78rem;
  color: #66BB6A;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}
.status-pulse {
  width: 8px; height: 8px;
  background: #66BB6A;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-green 1.8s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(76,175,80,0.4); }
  50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 5px rgba(76,175,80,0); }
}

/* Hero title */
.hero-v2-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

/* Hero sub */
.hero-v2-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}

/* Hero CTA row */
.hero-v2-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Trust row */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.trust-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.trust-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.trust-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── TERMINAL WINDOW ─────────────────────────────────────────────────────────── */
.hero-v2-right {
  position: relative;
}
.terminal-window {
  background: #0d0d1a;
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,215,0,0.05),
    0 24px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(255,215,0,0.06);
  position: relative;
  z-index: 2;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.t-red    { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green  { background: #28c840; }
.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
}
.terminal-body {
  padding: 20px 20px 20px;
  font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  height: 290px;
  overflow-y: hidden;
}
.term-line {
  display: block;
  animation: termFadeIn 0.35s ease both;
}
@keyframes termFadeIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.term-cursor {
  display: inline-block;
  color: var(--gold);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Glow ring behind terminal */
.terminal-glow-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Static terminal variant */
.terminal-static .terminal-body {
  height: auto;
  min-height: 320px;
  overflow: visible;
}
.terminal-static-body {
  padding: 20px 20px 28px;
}
.terminal-static-body .term-line {
  overflow-wrap: anywhere;
}

/* ── SERVICES GRID ───────────────────────────────────────────────────────────── */
.services-section {
  padding: 40px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-grid-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
/* marqueeLeft removed — replaced with static grids */
.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
  cursor: default;
}
.service-chip:hover { border-color: rgba(255,215,0,0.3); color: var(--text); }
.service-icon { font-size: 1rem; }

/* ── TECH SECTION ────────────────────────────────────────────────────────────── */
.tech-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .tech-grid { grid-template-columns: 1fr; gap: 40px; }
}
.tech-terminal-wrap { position: relative; }
.tech-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.tech-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.tech-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.tech-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}
.tech-check {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── FEATURES V2 ─────────────────────────────────────────────────────────────── */
.features-section {
  padding: 20px 0 100px;
  position: relative;
  z-index: 1;
}
.features-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  perspective: 1000px;
}
.feat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,215,0,0.12) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.feat-card .feat-icon-wrap,
.feat-card h4,
.feat-card p {
  position: relative;
  z-index: 1;
}
.feat-card .card-glow,
.review-card .card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,215,0,0.12), transparent 36%);
  opacity: 0;
  transition: opacity .18s;
  pointer-events: none;
}
.feat-card:hover .card-glow,
.review-card:hover .card-glow { opacity: 1; }
.feat-card::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.65), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.feat-card:hover {
  transform: translateY(-6px) rotateX(var(--rx, 2deg)) rotateY(var(--ry, 0deg));
  border-color: rgba(255,215,0,0.25);
  background: rgba(255,215,0,0.03);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28), 0 0 22px rgba(255,215,0,0.08);
}
.feat-card:hover::before { transform: translateX(120%); }
.feat-card:hover::after { opacity: 1; }
.feat-icon-wrap {
  font-size: 2rem;
  margin-bottom: 16px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,215,0,0.08);
}
.gold-glow { box-shadow: 0 0 20px rgba(255,215,0,0.15); }
.feat-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.feat-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── PRICING V2 ──────────────────────────────────────────────────────────────── */
.pricing-section {
  padding: 20px 0 100px;
  position: relative;
  z-index: 1;
}

/* Period tabs */
.period-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  z-index: 3;
}
.period-tab {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.period-tab:hover { border-color: rgba(255,215,0,0.4); color: var(--text); }
.period-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  box-shadow: 0 0 20px rgba(255,215,0,0.3);
}

/* Plan showcase cards */
.plan-showcase-wrap {
  display: grid;
  place-items: center;
  min-height: 380px;
  margin-bottom: 32px;
  position: relative;
  perspective: 1100px;
}
.plan-showcase-wrap::before,
.plan-showcase-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  width: min(86vw, 760px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.36), rgba(79,195,247,0.28), transparent);
  opacity: .75;
  pointer-events: none;
  animation: hyperRail 3.8s ease-in-out infinite;
}
.plan-showcase-wrap::before { top: 14px; }
.plan-showcase-wrap::after { bottom: 14px; animation-delay: -1.9s; }
@keyframes hyperRail {
  0%,100% { width: min(58vw, 520px); opacity: .28; }
  50% { width: min(92vw, 820px); opacity: .82; }
}
.plan-showcase {
  display: none;
  max-width: 520px;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.plan-showcase.active {
  display: block;
  animation: planMaterialize .42s ease both;
}
.plan-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.plan-showcase::after {
  content: '';
  position: absolute;
  inset: -45% -25%;
  background:
    linear-gradient(115deg, transparent 42%, rgba(255,215,0,0.13) 49%, transparent 56%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255,255,255,0.025) 19px 20px);
  transform: translateX(-42%) rotate(8deg);
  opacity: .72;
  pointer-events: none;
  animation: holoSweep 4.6s linear infinite;
}
.plan-showcase:hover {
  border-color: rgba(255,215,0,0.44);
  box-shadow: 0 22px 70px rgba(0,0,0,0.36), 0 0 34px rgba(255,215,0,0.13);
}
@keyframes planMaterialize {
  from { opacity: 0; transform: translateY(12px) scale(.985) rotateX(5deg); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); filter: blur(0); }
}
@keyframes holoSweep {
  from { transform: translateX(-42%) rotate(8deg); }
  to { transform: translateX(42%) rotate(8deg); }
}

/* Popular ribbons */
.plan-popular-ribbon {
  text-align: center;
  padding: 8px;
  background: linear-gradient(90deg, var(--gold), #FFA500);
  color: #000;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 3px;
}
.ribbon-blue { background: linear-gradient(90deg, #4FC3F7, #0288D1); color: #fff; }
.ribbon-green { background: linear-gradient(90deg, #66BB6A, #388E3C); color: #fff; }

.plan-showcase-inner {
  padding: 36px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .plan-showcase-inner { grid-template-columns: 1fr; padding: 28px 24px; }
}

.plan-price-block { text-align: left; }
.plan-price-main {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
  margin-bottom: 8px;
}
.plan-currency-sym {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  margin-top: 8px;
}
.plan-price-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.crypto-price .plan-price-val,
.crypto-price .plan-currency-sym {
  color: #66BB6A;
  text-shadow: 0 0 20px rgba(102,187,106,0.18);
}
.plan-price-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.plan-save-note {
  display: inline-block;
  font-size: 0.72rem;
  color: #66BB6A;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: 100px;
  padding: 3px 10px;
  font-weight: 600;
}

/* Plan perks list */
.plan-perks {
  list-style: none;
  display: grid;
  gap: 10px;
  align-self: center;
}
.plan-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.perk-check {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* Plan CTA */
.plan-cta-main {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 15px 28px;
}
.plan-cta-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: -16px;
}
.crypto-note {
  max-width: 560px;
  margin: 0 auto 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(102,187,106,0.24);
  background: rgba(102,187,106,0.07);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}
.crypto-note strong { color: #66BB6A; }

/* ── REVIEWS ─────────────────────────────────────────────────────────────────── */
.reviews-section {
  padding: 20px 0 100px;
  position: relative;
  z-index: 1;
}
.reviews-carousel-wrap {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
}
.reviews-carousel-wrap::-webkit-scrollbar { display: none; }
.reviews-carousel-wrap.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.reviews-carousel-wrap::before,
.reviews-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 36px;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.reviews-carousel-wrap::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.reviews-carousel-wrap::after { right: 0; background: linear-gradient(270deg, var(--dark), transparent); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 861px) {
  .reviews-grid {
    display: flex;
    width: max-content;
    padding: 0 72px;
    animation: reviewsDrift 84s linear infinite;
  }
  .review-card {
    width: 336px;
    min-height: 190px;
    flex: 0 0 auto;
  }
  .reviews-carousel-wrap:hover .reviews-grid,
  .reviews-carousel-wrap.is-dragging .reviews-grid,
  .reviews-carousel-wrap.is-manual .reviews-grid {
    animation-play-state: paused;
  }
}
@media (max-width: 860px) {
  .review-clone { display: none; }
}
@keyframes reviewsDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Stagger-анимация при появлении */
.review-card.revealed {
  animation: reviewAppear 0.5s ease both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes reviewAppear {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.25s, transform 0.2s, box-shadow .25s;
  position: relative;
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
}
.review-card::before {
  content: '';
  position: absolute;
  inset: -60% 0 auto;
  height: 80%;
  background: linear-gradient(180deg, transparent, rgba(79,195,247,0.12), transparent);
  transform: translateY(-120%);
  animation: holoScan 5.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .28s);
  pointer-events: none;
}
.review-card > * {
  position: relative;
  z-index: 1;
}
.review-card:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-5px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  box-shadow: 0 0 24px rgba(79,195,247,0.08);
}
@keyframes holoScan {
  0%, 42% { transform: translateY(-120%); opacity: 0; }
  55% { opacity: 1; }
  80%, 100% { transform: translateY(170%); opacity: 0; }
}

/* Dots (видны только на мобиле) */
.reviews-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.reviews-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.reviews-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
.reviews-nav {
  position: absolute;
  top: calc(50% + 24px);
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,215,0,0.32);
  background: rgba(10,10,15,0.82);
  color: var(--gold);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0,0,0,0.35);
  transition: border-color .2s, background .2s, transform .2s;
}
.reviews-nav:hover {
  border-color: var(--gold);
  background: rgba(255,215,0,0.1);
  transform: translateY(-1px);
}
.reviews-nav-prev { left: 12px; }
.reviews-nav-next { right: 12px; }
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 42px; height: 42px;
  background: rgba(255,215,0,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}
.review-role {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.review-stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.review-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── О НАС ───────────────────────────────────────────────────────────────────── */
.about-section {
  padding: 20px 0 100px;
  position: relative;
  z-index: 1;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-cards-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}
.about-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 28px 24px;
  transition: border-color 0.25s;
}
.about-grid > .about-card:first-child { height: 100%; }
.about-cards-col .about-card { flex: 1; }
.about-card:hover { border-color: rgba(255,215,0,0.2); }
.about-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.about-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.about-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}
.about-card strong { color: var(--text); }
.constitution-note {
  margin: 0 0 16px;
  padding: 13px 14px;
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 8px;
  background: rgba(255,215,0,0.055);
}
.constitution-note-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 7px;
}
.constitution-note-text {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.55;
}
.about-list {
  list-style: none;
  margin-top: 4px;
  display: grid;
  gap: 8px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}
.about-bullet {
  color: var(--crimson);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.about-accent { color: var(--gold); }
.about-invest-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 16px;
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 12px;
  flex-wrap: wrap;
}
.about-invest-item { text-align: center; flex: 1; }
.about-invest-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.about-invest-val.accent-gold { color: var(--gold); }
.about-invest-label {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}
.about-invest-plus {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 900;
  flex-shrink: 0;
}

/* ── FAQ V2 ──────────────────────────────────────────────────────────────────── */
.faq-section {
  padding: 20px 0 100px;
  position: relative;
  z-index: 1;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 18px 24px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(255,215,0,0.2); }
.faq-item[data-faq] .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  user-select: none;
}
.faq-item[data-faq] .faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .25s;
  line-height: 1;
}
.faq-item[data-faq].open .faq-q::after { transform: rotate(45deg); }
.faq-item[data-faq] .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin-top .2s;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.faq-item[data-faq].open .faq-a {
  max-height: 800px;
  margin-top: 12px;
}

/* ── FOOTER V2 ───────────────────────────────────────────────────────────────── */
.footer-inner {
  display: flex;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer-brand .logo { font-size: 1.2rem; margin-bottom: 8px; }
.footer-tagline { color: var(--muted); font-size: 0.82rem; font-style: italic; }
.footer-links-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.footer-col a {
  color: rgba(224,224,224,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ── SEO problem pages ─────────────────────────────────────────────────────── */
.seo-page {
  position: relative;
  z-index: 1;
}
.seo-hero {
  padding: 130px 0 56px;
}
.seo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 32px;
  align-items: center;
}
.seo-eyebrow {
  color: var(--gold);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.seo-hero h1 {
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 4.1rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 18px;
}
.seo-lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
  max-width: 760px;
}
.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.seo-summary-card {
  background: linear-gradient(150deg, rgba(255,215,0,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,215,0,0.28);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.seo-summary-card ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.seo-summary-card li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
}
.seo-summary-card li::before {
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255,215,0,0.55);
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 0.7em;
  width: 7px;
}
.seo-content-section {
  padding: 24px 0 60px;
}
.seo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}
.seo-steps-card,
.seo-side-card {
  border-radius: 18px;
}
.seo-steps {
  counter-reset: seo-step;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.seo-steps li {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  line-height: 1.65;
  min-height: 56px;
  padding: 14px 16px 14px 58px;
  position: relative;
}
.seo-steps li::before {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), #ffa500);
  border-radius: 12px;
  color: #050509;
  content: counter(seo-step);
  counter-increment: seo-step;
  display: flex;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  left: 14px;
  position: absolute;
  top: 14px;
  width: 32px;
}
.seo-side-card {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 92px;
}
.seo-benefit {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  line-height: 1.55;
  padding-bottom: 12px;
}
.seo-benefit:last-of-type {
  border-bottom: 0;
}
.seo-related-section {
  padding: 10px 0 88px;
}
.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.seo-related-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  line-height: 1.45;
  min-height: 86px;
  padding: 16px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.seo-related-card:hover {
  background: rgba(255,215,0,0.06);
  border-color: rgba(255,215,0,0.36);
  transform: translateY(-2px);
}
.seo-faq-section {
  padding: 0 0 96px;
}
.seo-faq-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}
.seo-faq-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.seo-faq-card h2 {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 10px;
}
.seo-faq-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Buy page: oferta card ─────────────────────────────────────────────────── */
.oferta-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 540px;
  margin: 0 auto 24px;
  background: rgba(255,255,255,0.03);
}
.oferta-card:hover { border-color: rgba(255,215,0,0.4); }
.oferta-card.checked {
  border-color: var(--gold);
  background: rgba(255,215,0,0.05);
}
.oferta-cb-wrap {
  width: 22px; height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s;
  font-size: 14px;
  color: transparent;
}
.oferta-card.checked .oferta-cb-wrap {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}
.oferta-card-text { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.oferta-card-text a { color: var(--gold); }

/* ── Buy page ─────────────────────────────────────────────────────────────── */
.buy-page { padding: 100px 0 80px; position: relative; z-index: 1; }
.buy-hero { text-align: center; margin-bottom: 48px; }
.buy-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 10px;
}
.buy-hero p { color: var(--muted); font-size: 0.95rem; }
.buy-wrap { max-width: 600px; margin: 0 auto; }
.buy-step { margin-bottom: 36px; }
.buy-step-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.buy-plans { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media (max-width: 480px) { .buy-plans { grid-template-columns: 1fr; } }
.buy-plan {
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  background: rgba(0,0,0,0.2);
  position: relative;
}
.buy-plan:hover { border-color: rgba(255,215,0,0.35); background: rgba(255,215,0,0.04); }
.buy-plan.selected { border-color: var(--gold); background: rgba(255,215,0,0.07); }
.buy-plan-label { font-size: 0.75rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; font-family: 'Orbitron', sans-serif; }
.buy-plan-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.buy-plan-per { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.buy-plan-popular {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #FFA500);
  color: #000; font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem; font-weight: 900; letter-spacing: 2px;
  padding: 3px 10px; border-radius: 100px;
  white-space: nowrap;
}
.buy-pay-btn {
  width: 100%; justify-content: center;
  font-size: 1rem; padding: 16px 28px;
  margin-top: 8px;
}
.buy-pay-note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 10px; }
.buy-auth-section { margin-top: 32px; }
.buy-auth-tabs {
  display: flex; gap: 4px;
  background: rgba(0,0,0,0.3); border-radius: 10px; padding: 4px;
  margin-bottom: 20px;
}
.buy-auth-tab {
  flex: 1; padding: 9px 6px; border: none; border-radius: 7px;
  background: transparent; color: var(--muted); font-size: 0.8rem;
  font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.2s;
}
.buy-auth-tab.active { background: rgba(255,215,0,0.12); color: var(--gold); font-weight: 600; }

/* ── Responsive cleanup ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .plan-showcase-inner { gap: 24px; }
  .hero-trust-row { gap: 14px; }
  .footer-inner { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer-links-grid { gap: 16px; display: grid; grid-template-columns: 1fr 1fr; }
  .footer-brand { text-align: left; }
}

/* ── Mobile full responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Container padding */
  .container { padding: 0 20px; }

  /* Hero */
  .hero-v2 { padding: 80px 0 40px; min-height: auto; }
  .hero-v2-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .hero-v2-right { order: -1; }
  .hero-v2-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-status-badge { font-size: 0.78rem; padding: 6px 12px; }
  .hero-v2-cta { flex-direction: column; gap: 12px; }
  .hero-v2-cta .btn { width: 100%; justify-content: center; }
  .hero-trust-row { gap: 12px; flex-wrap: wrap; }
  .trust-sep { display: none; }

  /* Terminal (hero) — smaller on mobile */
  .terminal-window { font-size: 0.72rem; }
  .terminal-body { height: 240px; padding: 12px 14px; line-height: 1.7; }
  .terminal-glow-ring { display: none; }

  /* Tech section */
  .tech-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .tech-heading { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .terminal-static { display: none; } /* hide 2nd terminal on mobile */
  .tech-text { order: -1; }

  /* Features */
  .features-grid-v2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feat-card { padding: 18px 16px; }
  .feat-icon-wrap { width: 36px; height: 36px; font-size: 1.1rem; }
  .feat-card h4 { font-size: 0.85rem; }
  .feat-card p { font-size: 0.8rem; display: none; } /* hide descriptions on mobile */
  .section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }

  /* Pricing */
  .period-tabs { gap: 6px; flex-wrap: wrap; }
  .period-tab { font-size: 0.78rem; padding: 8px 14px; }
  .plan-showcase-inner { flex-direction: column; gap: 20px; }
  .plan-price-main { font-size: 2.8rem; }
  .plan-cta-main { width: 100%; justify-content: center; }

  /* About */
  .about-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .about-card { padding: 20px; }
  .about-invest-row { flex-direction: column; gap: 10px; }
  .about-invest-plus { transform: rotate(90deg); }

  /* FAQ */
  .faq-q { font-size: 0.9rem; }

  /* Reviews — горизонтальный scroll-snap карусель */
  .reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding: 4px 20px 8px;
    margin-left: -20px;
    margin-right: -20px;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card {
    flex: 0 0 82vw;
    width: 82vw;
    max-width: 82vw;
    scroll-snap-align: center;
  }
  .reviews-dots { display: flex; }

  /* Services */
  .services-grid-wrap { gap: 8px; }
  .service-chip { font-size: 0.78rem; padding: 6px 10px; }

  /* Promo */
  .promo-row { flex-direction: column; gap: 8px; }
  .promo-row input, .promo-row button { width: 100%; }

  /* Sections padding */
  .tech-section, .features-section, .pricing-section,
  .reviews-section, .about-section, .faq-section { padding: 32px 0; }

  /* Footer */
  .footer-bottom p { font-size: 0.78rem; }

  /* Saber divider */
  .saber-divider { margin: 28px 0 16px; }

  /* SEO problem pages */
  .seo-hero { padding: 92px 0 34px; }
  .seo-hero-grid,
  .seo-content-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .seo-hero h1 { font-size: 2rem; }
  .seo-actions .btn { width: 100%; justify-content: center; }
  .seo-summary-card,
  .seo-steps-card,
  .seo-side-card {
    border-radius: 14px;
    padding: 18px;
  }
  .seo-side-card { position: static; }
  .seo-related-grid { grid-template-columns: 1fr; }
  .seo-faq-grid { grid-template-columns: 1fr; }
  .seo-related-card { min-height: auto; }
}
