/* ═══════════════════════════════════════════════════════════════════════════
   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;
}

/* ── 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); }

/* ── 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) {
  .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: 90px 32px 40px;
    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; }
}

/* ── 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-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: 320px 1fr;
  gap: 24px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .dash-grid { grid-template-columns: 1fr; }
}

.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-amount {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
}
.balance-currency { font-size: 1.5rem; }
.balance-note { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }

/* keys list */
.key-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.key-item:last-child { border-bottom: none; }
.key-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge {
  font-size: 0.65rem;
  font-family: 'Orbitron', sans-serif;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 1px;
}
.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 { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.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;
  word-break: break-all;
  cursor: pointer;
  transition: color 0.2s;
  border: 1px solid var(--border);
}
.key-value:hover { color: var(--gold); }

/* 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-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;
}

/* ── 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; }
}
@media (max-width: 480px) {
  .dash-plans { grid-template-columns: 1fr; }
}

/* ── 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; }

.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;
}

/* ── 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: 300px;
  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;
  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; }
.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 24px;
  font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  min-height: 260px;
  overflow-y: auto;
}
.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 { min-height: 280px; }
.terminal-static-body { padding: 20px; }

/* ── 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;
}
.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;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,215,0,0.25);
  background: rgba(255,215,0,0.03);
}
.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;
}
.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;
}
.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;
}
.plan-showcase.active { display: block; }
.plan-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* 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;
}
@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;
}
.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;
}

/* ── REVIEWS ─────────────────────────────────────────────────────────────────── */
.reviews-section {
  padding: 20px 0 100px;
  position: relative;
  z-index: 1;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.review-card {
  width: 320px;
  flex-shrink: 0;
  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;
}
.review-card:hover { border-color: rgba(255,215,0,0.2); }
.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: start;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-cards-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.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-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); }
.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: 300px;
  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;
}

/* ── 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: 32px; }
  .footer-links-grid { gap: 32px; }
}

/* ── 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 { min-height: 140px; padding: 12px; }
  .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 */
  .reviews-grid { grid-template-columns: 1fr; }

  /* 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: 48px 0; }

  /* Footer */
  .footer-links-grid { flex-direction: column; gap: 24px; }
  .footer-bottom p { font-size: 0.78rem; }

  /* Saber divider */
  .saber-divider { margin-bottom: 24px; }
}
