/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0B0B0C;
    --bg2:       #111318;
  --accent:    #3B82F6;
  --accent-dim:#3B82F620;
  --accent-glow:#3B82F655;
  --white:     #FFFFFF;
  --h2-color:  #FFFFFF;
  --muted:     #94A3B8;
  --muted2:    #64748B;
  --label-color:#60A5FA;
  --border:    rgba(148,163,184,0.12);
  --border2:   rgba(148,163,184,0.07);
  --card-bg:   rgba(255,255,255,0.04);
  --card-hover:rgba(255,255,255,0.07);
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font:      'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────────── */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--white); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); color: var(--h2-color); }
h3 { font-size: 1rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--h2-color); }

p { color: var(--muted); line-height: 1.7; }

/* ─── LAYOUT ────────────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; position: relative; }

/* ─── GLOW HELPERS ──────────────────────────────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.glow-blue  { background: rgba(26,102,255,0.35); }
.glow-violet{ background: rgba(120,60,255,0.25); }

/* ─── NAVBAR ────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
}

.navbar-inner {
  max-width: 1140px;
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11,11,12,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 12px 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.logo-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  position: relative;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.lang-switcher.is-open {
  will-change: transform;
}

.lang-dropdown-trigger {
  display: none;
  align-items: center;
  gap: 4px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}

.lang-dropdown-trigger:hover,
.lang-switcher.is-open .lang-dropdown-trigger {
  border-color: rgba(29,103,246,0.45);
  background: rgba(29,103,246,0.1);
}

.lang-dropdown-chevron {
  opacity: 0.7;
  transition: transform 0.2s;
}

.lang-switcher.is-open .lang-dropdown-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  display: contents;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

/* flag emoji tweak */
.lang-btn .lang-flag { font-size: 1rem; margin-right: 3px; }

.lang-btn.active,
.lang-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ── Countdown ── */
.pricing-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(26,102,255,0.08);
  border: 1px solid rgba(26,102,255,0.25);
  border-radius: 12px;
  padding: 12px 24px;
  margin: 0 auto 32px;
  max-width: 480px;
  font-size: 0.85rem;
  color: var(--muted);
}
.pricing-countdown .cd-label {
  font-size: 0.8rem;
  color: var(--muted2);
}
.pricing-countdown .cd-units {
  display: flex;
  gap: 8px;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.cd-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
  line-height: 1;
}
.cd-sep {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.4;
}
.cd-lbl {
  font-size: 0.6rem;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cd-tag {
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Comparison table ── */
.compare-wrap {
  margin-top: 40px;
}
.compare-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  margin: 0 auto 0;
  transition: all 0.2s;
  font-family: var(--font);
}
.compare-toggle:hover { border-color: var(--accent); color: var(--white); }
.compare-toggle svg { transition: transform 0.3s; }
.compare-toggle.open svg { transform: rotate(180deg); }

.compare-table-wrap {
  display: none;
  overflow: hidden;
  margin-top: 20px;
}
.compare-table-wrap.open { display: block; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.compare-table th,
.compare-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  color: var(--muted);
  font-weight: 400;
}
.compare-table thead th {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding-bottom: 16px;
}
.compare-table thead th.col-plus {
  color: var(--accent);
}
.compare-table td.yes { color: #34d399; font-size: 1.1rem; }
.compare-table td.no  { color: var(--muted2); font-size: 1.1rem; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Footer social icons ── */
.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.footer-social-btn:hover {
  border-color: var(--accent);
  color: var(--white);
  background: rgba(26,102,255,0.1);
}
.footer-tg-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(26,102,255,0.12);
  border: 1px solid rgba(26,102,255,0.3);
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-family: var(--font);
}
.footer-tg-btn:hover {
  background: rgba(26,102,255,0.2);
  color: var(--white);
}

.btn-nav {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-nav:hover {
  background: #2575ff;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-nav-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}

.btn-nav-outline:hover {
  background: rgba(26,102,255,0.12);
  border-color: rgba(26,102,255,0.4);
  box-shadow: none;
}

.btn-nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #2575ff;
  box-shadow: 0 0 32px var(--accent-glow), 0 8px 24px rgba(26,102,255,0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.30);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}

/* ─── HERO ──────────────────────────────────────────────────────── */
#hero {
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-wrap > *:first-child {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(26,102,255,0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-label-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title span { color: inherit; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── HERO MOCKUP ───────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
  contain: layout style;
  isolation: isolate;
}

.mockup-card {
  background: rgba(20,22,30,0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
  animation: float 4s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%       { transform: translate3d(0, -10px, 0); }
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mockup-logo-small {
  display: inline-flex;
  align-items: center;
}

.mockup-logo-img {
  height: 16px;
  width: auto;
  display: block;
}

.mockup-badge {
  background: rgba(26,102,255,0.15);
  border: 1px solid rgba(26,102,255,0.3);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-balances {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.balance-item {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}

.balance-currency {
  font-size: 0.7rem;
  color: var(--muted2);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.balance-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  min-width: 5.5ch;
  display: inline-block;
}

.balance-item.active {
  border-color: rgba(26,102,255,0.4);
  background: rgba(26,102,255,0.08);
}

.balance-item.active .balance-currency { color: var(--accent); }

.mockup-action {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mockup-action-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.mockup-action-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0.85;
}

.mockup-txs { display: flex; flex-direction: column; gap: 8px; }

.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg2);
  border-radius: 10px;
  border: 1px solid var(--border2);
}

.tx-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.tx-dot.green { background: #22C55E; box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.tx-dot.blue  { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

.tx-info { display: flex; align-items: center; flex: 1; }

.tx-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

.tx-amount {
  font-size: 0.85rem;
  font-weight: 700;
  color: #22C55E;
}

.tx-amount.neutral { color: var(--muted); }

/* Floating mini-cards */
.float-tag {
  position: absolute;
  background: rgba(11,11,12,0.92);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  animation: float2 5s ease-in-out infinite;
  white-space: nowrap;
  z-index: 10;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

.float-tag.tg { right: 0; top: -50px; color: var(--accent); animation-delay: 1s; }
.float-tag.usdt { left: 0; bottom: -50px; animation-delay: 2s; }

@keyframes float2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%       { transform: translate3d(0, -8px, 0); }
}

/* ─── SECTION HEADER ────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--label-color);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--accent);
  display: block;
}

.section-title { margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 560px; }

.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-sub { margin: 0 auto; }
.section-head.center .section-label::before { display: none; }
.section-head.center .section-label::after {
  content: '';
  width: 20px; height: 2px;
  background: var(--accent);
  display: block;
}

/* ─── HOW IT WORKS ──────────────────────────────────────────────── */
#how { background: var(--bg); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s;
  cursor: default;
}

.step-card:hover {
  background: var(--card-hover);
  border-color: rgba(26,102,255,0.3);
  transform: translateY(-4px);
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num-circle {
  width: 28px; height: 28px;
  background: rgba(26,102,255,0.15);
  border: 1px solid rgba(26,102,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
}

.step-icon {
  width: 48px; height: 48px;
  background: rgba(26,102,255,0.1);
  border: 1px solid rgba(26,102,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.step-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ─── FEATURES ──────────────────────────────────────────────────── */
#features { background: var(--bg2); overflow: hidden; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.feat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s;
}

.feat-card:hover {
  border-color: rgba(26,102,255,0.25);
  background: rgba(26,102,255,0.04);
}

.feat-icon {
  width: 44px; height: 44px;
  background: rgba(26,102,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feat-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

.feat-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.feat-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ─── AUDIENCE TAGS ─────────────────────────────────────────────── */
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.audience-tag {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  transition: all 0.2s;
  cursor: default;
}

.audience-tag:hover {
  border-color: rgba(26,102,255,0.4);
  color: var(--white);
  background: rgba(26,102,255,0.08);
}

/* ─── PRICING ───────────────────────────────────────────────────── */
#pricing { position: relative; overflow: hidden; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.plan-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s;
}

.plan-card.popular {
  border-color: rgba(26,102,255,0.5);
  background: rgba(26,102,255,0.06);
  box-shadow: 0 0 60px rgba(26,102,255,0.12), inset 0 1px 0 rgba(26,102,255,0.2);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 0 20px var(--accent-glow);
}

.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted2);
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.plan-price strong {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.plan-price sup {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  align-self: flex-start;
  margin-top: 8px;
}

.plan-period {
  font-size: 0.85rem;
  color: var(--muted2);
  margin-bottom: 28px;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.plan-features li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.check { stroke: var(--accent); fill: none; stroke-width: 2.5; }
.cross { stroke: var(--muted2); fill: none; stroke-width: 2.5; }

.plan-features li.has-feature { color: var(--white); }

/* Тариф+ — жирный текст и зелёные галочки */
.plan-card.popular .plan-features li.has-feature {
  color: #FFFFFF;
  font-weight: 600;
}
.plan-card.popular .plan-features li svg.check {
  stroke: #34d399;
  stroke-width: 3;
  width: 18px;
  height: 18px;
  background: rgba(52,211,153,0.12);
  border-radius: 50%;
  padding: 2px;
  box-sizing: content-box;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(52,211,153,0.5));
}

.plan-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.plan-btn.primary {
  background: var(--accent);
  color: var(--white);
}

.plan-btn.primary:hover {
  background: #2575ff;
  box-shadow: 0 0 28px var(--accent-glow);
}

.plan-btn.outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
}

.plan-btn.outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}

.pricing-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--muted2);
}

/* ─── CONDITIONS ────────────────────────────────────────────────── */
#conditions { background: var(--bg2); }

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.cond-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.cond-icon {
  width: 44px; height: 44px;
  background: rgba(26,102,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cond-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

.cond-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cond-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

.cond-highlight {
  display: inline-block;
  color: var(--white);
  font-weight: 600;
}

/* ─── FAQ ───────────────────────────────────────────────────────── */
#faq {}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open { border-color: rgba(26,102,255,0.3); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.faq-icon svg { width: 14px; height: 14px; stroke: var(--muted); fill: none; stroke-width: 2.5; transition: stroke 0.2s; }

.faq-item.open .faq-icon { background: rgba(26,102,255,0.15); transform: rotate(45deg); }
.faq-item.open .faq-icon svg { stroke: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--border2);
  padding-top: 16px;
}

/* ─── TELEGRAM CTA ──────────────────────────────────────────────── */
#tg-cta {
  background: var(--bg2);
  padding: 80px 0;
}

.tg-cta-inner {
  background: rgba(26,102,255,0.06);
  border: 1px solid rgba(26,102,255,0.2);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tg-cta-inner h2 { margin-bottom: 14px; font-size: clamp(1.5rem,3vw,2.2rem); }
.tg-cta-inner p  { font-size: 1rem; color: var(--muted); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

.tg-cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.tg-disclaimer {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tg-disclaimer li {
  list-style: none;
  font-size: 0.775rem;
  color: var(--muted2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tg-disclaimer li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
.site-footer,
footer {
  background: linear-gradient(180deg, var(--bg) 0%, #07080a 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 56px 0 28px;
  position: relative;
}

.site-footer::before,
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29,103,246,0.55), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px 28px;
  align-items: start;
}

.footer-brand .logo-img {
  height: 26px;
  margin-bottom: 14px;
}

.footer-tagline {
  margin: 0 0 18px;
  max-width: 280px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-family: var(--font);
}

.footer-action-btn:hover {
  background: #2575ff;
  box-shadow: 0 0 24px var(--accent-glow);
}

.footer-action-btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--white);
}

.footer-action-btn--ghost:hover {
  background: rgba(29,103,246,0.12);
  border-color: rgba(29,103,246,0.35);
  box-shadow: none;
}

.footer-col-title {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

.footer-col {
  padding: 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(29,103,246,0.1) 0%, rgba(255,255,255,0.02) 55%);
  border: 1px solid rgba(29,103,246,0.18);
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  color: var(--muted2);
  font-size: 0.86rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted2);
  line-height: 1.65;
  max-width: 920px;
}

/* Legacy FAQ footer layout */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
  align-items: start;
}

.footer-inner > .logo {
  grid-column: 1 / -1;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted2);
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-knowledge-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 12px;
}

.footer-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  grid-column: 1 / -1;
}

.footer-knowledge-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-knowledge-col a {
  color: var(--muted2);
  font-size: 0.86rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-knowledge-col a:hover {
  color: var(--white);
}

.footer-socials {
  display: none;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9rem;
}

.article-table th,
.article-table td {
  border-bottom: 1px solid var(--border2);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: var(--white);
  font-weight: 700;
  background: rgba(255,255,255,0.03);
}

.article-table td {
  color: var(--muted);
}

.footer-disclaimer {
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border2);
  font-size: 0.75rem;
  color: var(--muted2);
  line-height: 1.6;
}
[data-lang] { display: none; }
[data-lang].active { display: block; }
span[data-lang].active { display: inline; }

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .footer-grid .footer-col:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .navbar { padding: 0 10px; }
  .navbar-inner {
    padding: 10px 12px;
    gap: 8px;
  }
  .logo-img { height: 22px; }

  /* Index: logo | lang dropdown + TG in one row */
  .navbar-inner:has(.lang-switcher) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .navbar-inner:has(.lang-switcher) .nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .navbar-inner:has(.lang-switcher) .logo {
    min-width: 0;
  }
  .navbar-inner:has(.lang-switcher) .lang-switcher {
    display: block;
    padding: 0;
    background: none;
    border: none;
  }
  .navbar-inner:has(.lang-switcher) .lang-dropdown-trigger {
    display: inline-flex;
  }
  .navbar-inner:has(.lang-switcher) .lang-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 132px;
    padding: 4px;
    background: rgba(14,14,16,0.98);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
    z-index: 120;
    flex-direction: column;
    gap: 2px;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }
  .navbar-inner:has(.lang-switcher) .lang-switcher.is-open .lang-dropdown-menu {
    will-change: transform, opacity;
  }
  .navbar-inner:has(.lang-switcher) .lang-switcher.is-open .lang-dropdown-menu {
    display: flex;
  }
  .navbar-inner:has(.lang-switcher) .lang-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    font-size: 0.75rem;
    border-radius: 7px;
    text-align: left;
  }
  .navbar-inner:has(.lang-switcher) .lang-btn .lang-flag {
    display: inline;
    margin-right: 8px;
  }
  .navbar-inner:has(.lang-switcher) .btn-nav-register {
    display: none;
  }

  /* FAQ: compact single row */
  .navbar-inner:not(:has(.lang-switcher)) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .navbar-inner:not(:has(.lang-switcher)) .nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .navbar-inner:not(:has(.lang-switcher)) .btn-nav-outline {
    padding: 8px 10px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .btn-nav-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    min-width: 40px;
    font-size: 0.75rem;
  }
  .btn-nav-contact span[data-lang],
  .btn-nav-contact span[data-lang].active,
  .btn-nav-contact .btn-nav-contact-label {
    display: none !important;
  }

  .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .tg-cta-inner { padding: 40px 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-brand { grid-column: auto; padding: 22px; }
  .footer-col { padding: 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-knowledge-grid { grid-template-columns: 1fr; }
  .float-tag { display: none; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  #hero { padding-top: 120px; }
  h1 { font-size: 1.8rem; }
  .plan-card { padding: 28px 20px; }
  .tg-cta-btns { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-actions { flex-direction: column; }
  .footer-action-btn { width: 100%; justify-content: center; }
  .navbar-inner:not(:has(.lang-switcher)) .btn-nav-outline {
    padding: 8px 8px;
    font-size: 0.68rem;
  }
}

/* ─── ANIMATIONS ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .mockup-card,
  .float-tag {
    animation: none !important;
    transform: translate3d(0, 0, 0) !important;
    will-change: auto !important;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ─── NOISE TEXTURE ──────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
}

/* ─── CUSTOM CURSOR ──────────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,102,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear;
  will-change: transform;
}

/* ─── SECTION DIVIDERS ───────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(26,102,255,0.3) 30%, rgba(255,255,255,0.08) 50%, rgba(26,102,255,0.3) 70%, transparent 100%);
  margin: 0;
}

/* ─── STEP CONNECTORS ────────────────────────────────────────────── */
.steps-grid {
  position: relative;
}
.steps-connector {
  position: absolute;
  top: 56px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 1px;
  background: linear-gradient(90deg, rgba(26,102,255,0.5), rgba(26,102,255,0.2), rgba(26,102,255,0.5));
  z-index: 0;
  pointer-events: none;
}
.steps-connector::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(26,102,255,0.7);
  border-right: 1px solid rgba(26,102,255,0.7);
  transform: rotate(45deg);
}
.step-card {
  position: relative;
  z-index: 1;
}

/* ─── ANIMATED PRICING BORDER ────────────────────────────────────── */
.plan-card.popular {
  position: relative;
  animation: popularPulse 4s ease-in-out infinite;
}
.plan-card.popular .price-particles {
  overflow: hidden;
}

/* Пульсирующее свечение всей карточки */
@keyframes popularPulse {
  0%,100% { box-shadow: 0 0 40px rgba(26,102,255,0.15), inset 0 1px 0 rgba(26,102,255,0.2); }
  50%      { box-shadow: 0 0 80px rgba(26,102,255,0.35), 0 0 120px rgba(123,63,255,0.15), inset 0 1px 0 rgba(26,102,255,0.3); }
}

/* Градиентная рамка */
.plan-card.popular::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, #1A66FF, #7B3FFF, #00C2FF, #1A66FF);
  background-size: 400% 400%;
  animation: gradientBorder 3s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}


@keyframes gradientBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Плавающие частицы внутри карточки */
.plan-card.popular .price-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  z-index: 0;
}
.price-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: floatParticle var(--dur) ease-in-out var(--delay) infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(0) scale(0); opacity: 0; }
  20%  { opacity: 0.7; transform: translateY(-20px) scale(1); }
  80%  { opacity: 0.3; }
  100% { transform: translateY(-80px) scale(0.3); opacity: 0; }
}

/* Badge-анимация */
.plan-badge {
  animation: badgeBounce 2.5s ease-in-out infinite;
}
@keyframes badgeBounce {
  0%,100% { transform: translateX(-50%) scale(1); }
  50%      { transform: translateX(-50%) scale(1.08); box-shadow: 0 4px 20px rgba(26,102,255,0.5); }
}

/* ─── TILT CARDS ─────────────────────────────────────────────────── */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  will-change: transform;
}
.tilt-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ─── FAQ NUMBERED ───────────────────────────────────────────────── */
.faq-question-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 22px;
  height: 22px;
  background: rgba(26,102,255,0.12);
  border: 1px solid rgba(26,102,255,0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* ─── MOCKUP LIVE TICKER ─────────────────────────────────────────── */
.balance-amount {
  transition: opacity 0.3s ease;
}
.balance-amount.updating {
  opacity: 0.3;
}

/* ─── MODAL OVERLAY ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: #14141a;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-box-wide {
  max-width: 660px;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  transition: all 0.2s;
  z-index: 2;
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.modal-header {
  padding: 32px 32px 0;
}
.modal-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 6px;
}
.modal-header p { font-size: 0.875rem; color: var(--muted); }
.modal-body { padding: 24px 32px 32px; }

/* ── Register modal tabs ── */
.reg-tabs {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 24px;
}
.reg-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.reg-tab.active {
  background: var(--accent);
  color: var(--white);
}

/* ── Plan selector ── */
.plan-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.plan-opt {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--card-bg);
  position: relative;
}
.plan-opt.selected {
  border-color: var(--accent);
  background: rgba(26,102,255,0.1);
}
.plan-opt-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.plan-opt-price {
  font-size: 0.8rem;
  color: var(--muted);
}
.plan-opt-badge {
  position: absolute;
  top: -8px; right: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Form fields ── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder { color: var(--muted2); }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,102,255,0.15);
}
.form-input.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 5px;
  display: none;
}
.form-error.visible { display: block; }

.password-wrap { position: relative; }
.toggle-pw {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted2);
  padding: 0;
  display: flex;
  align-items: center;
}
.toggle-pw:hover { color: var(--white); }
.toggle-pw svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.form-submit {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--accent);
  color: var(--white);
  transition: all 0.25s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 20px;
}
.form-submit:hover:not(:disabled) {
  background: #2575ff;
  box-shadow: 0 0 28px var(--accent-glow);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-submit .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.form-submit.loading .spinner { display: block; }
.form-submit.loading .btn-text { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.tg-login-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s;
  margin-top: 12px;
}
.tg-login-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.tg-login-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.register-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.register-link {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.register-link-site {
  border: none;
  background: var(--accent);
  color: var(--white);
}

.register-link-site:hover {
  background: #2575ff;
  box-shadow: 0 0 28px var(--accent-glow);
}

.register-link-tg {
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--white);
}

.register-link-tg:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}

.register-link-tg svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.register-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted2);
  margin-top: 14px;
  line-height: 1.6;
}

.form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0;
  color: var(--muted2); font-size: 0.8rem;
}
.form-divider::before, .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-footer-note {
  text-align: center;
  font-size: 0.775rem;
  color: var(--muted2);
  margin-top: 14px;
  line-height: 1.6;
}
.form-footer-note a {
  color: var(--accent);
  text-decoration: none;
}
.form-footer-note a:hover { text-decoration: underline; }

/* ── Success state ── */
.reg-success {
  text-align: center;
  padding: 20px 0 8px;
  display: none;
}
.reg-success.visible { display: block; }
.success-icon {
  width: 64px; height: 64px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.success-icon svg { width: 28px; height: 28px; stroke: #22c55e; fill: none; stroke-width: 2.5; }
.reg-success h3 { font-size: 1.2rem; margin-bottom: 10px; }
.reg-success p { font-size: 0.875rem; color: var(--muted); }

/* ── Tab content panels ── */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── POLICY MODALS ──────────────────────────────────────────────── */
.policy-content {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
}
.policy-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 20px 0 8px;
}
.policy-content h4:first-child { margin-top: 0; }
.policy-content p { margin-bottom: 10px; }
.policy-content ul { padding-left: 18px; margin-bottom: 10px; }
.policy-content ul li { margin-bottom: 5px; }

/* ─── TOAST ──────────────────────────────────────────────────────── */
.toast-wrap {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: #1a1a22;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  max-width: 360px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  pointer-events: all;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  font-size: 0.875rem;
  color: var(--white);
}
.toast.show { transform: translateX(0); }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.toast.success .toast-dot { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.toast.error   .toast-dot { background: #ef4444; }
.toast.info    .toast-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

/* ─── SEO LANDING PAGES ──────────────────────────────────────────── */
.seo-page {
  padding: 120px 0 80px;
}

.seo-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 0.82rem;
  color: var(--muted2);
}

.seo-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.seo-breadcrumbs a:hover { color: var(--white); }

.seo-hero {
  max-width: 820px;
  margin-bottom: 48px;
  padding: 32px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(145deg, rgba(29,103,246,0.08) 0%, rgba(255,255,255,0.02) 100%);
}

.seo-kicker {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.seo-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.seo-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 680px;
}

.seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seo-content {
  max-width: 820px;
  margin-bottom: 56px;
  padding: 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
}

.seo-content h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.seo-content h3 {
  margin-top: 18px;
  margin-bottom: 10px;
  color: var(--white);
}

.seo-content p,
.seo-content li {
  color: var(--muted);
  line-height: 1.7;
}

.seo-content ul,
.seo-content ol {
  margin: 12px 0 20px;
  padding-left: 1.25rem;
}

.seo-bottom-cta {
  max-width: 820px;
  padding: 36px;
  border-radius: 18px;
  text-align: center;
  background: rgba(29,103,246,0.08);
  border: 1px solid rgba(29,103,246,0.22);
}

.seo-bottom-cta h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.seo-bottom-cta p {
  margin: 0 0 22px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .seo-page { padding-top: 100px; }
  .seo-hero, .seo-content, .seo-bottom-cta { padding: 22px; }
  .seo-cta-row { flex-direction: column; }
  .seo-cta-row .btn-primary,
  .seo-cta-row .btn-secondary { width: 100%; justify-content: center; }
}