:root {
  --bg: #0a0e17;
  --bg-card: rgba(18, 24, 38, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 196, 0.25);

  --text: #eef2ff;
  --text-muted: #8b95a8;
  --text-dim: #5c6578;

  --mint: #00e5c4;
  --mint-dim: rgba(0, 229, 196, 0.15);
  --violet: #7c6cff;
  --violet-dim: rgba(124, 108, 255, 0.2);
  --amber: #ffb547;
  --amber-dim: rgba(255, 181, 71, 0.15);
  --rose: #ff6b8a;

  --font: 'Outfit', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 18px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
}

a { color: inherit; text-decoration: none; }

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

/* ── Ambient ── */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__mesh {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(0, 229, 196, 0.12), transparent),
    radial-gradient(ellipse 45% 35% at 80% 10%, rgba(124, 108, 255, 0.14), transparent),
    radial-gradient(ellipse 40% 30% at 60% 85%, rgba(255, 181, 71, 0.08), transparent);
  animation: meshShift 20s ease-in-out infinite alternate;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

@keyframes meshShift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 2%) scale(1.05); }
}

.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(14, 18, 28, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mint-dim), var(--violet-dim));
  border: 1px solid var(--border-glow);
  color: var(--mint);
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(0, 229, 196, 0.12);
}

.brand__mark--sm { width: 34px; height: 34px; }
.brand__mark svg { width: 22px; height: 22px; }
.brand__mark--sm svg { width: 18px; height: 18px; }

.brand__name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  opacity: 0.9;
  line-height: 1;
}

.footer__brand .brand__tag {
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  opacity: 0.75;
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: var(--bg-glass);
}

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

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
}

.lang-switch__btn {
  padding: 6px 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch__btn.active {
  background: var(--mint-dim);
  color: var(--mint);
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-glass);
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 80px 16px auto;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(14, 18, 28, 0.96);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav a:hover { background: var(--bg-glass); color: var(--text); }
.mobile-nav .btn { margin-top: 8px; text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--mint) 0%, #00c4a7 100%);
  color: #041510;
  box-shadow: 0 4px 20px rgba(0, 229, 196, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 229, 196, 0.35);
}

.btn--glow {
  background: linear-gradient(135deg, var(--mint) 0%, #00c4a7 100%);
  color: #041510;
  box-shadow: 0 0 32px rgba(0, 229, 196, 0.3);
}

.btn--glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(0, 229, 196, 0.45);
}

.btn--ghost {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--ghost:hover { border-color: var(--mint); color: var(--mint); }

/* ── Hero ── */
main { position: relative; z-index: 1; }

.hero {
  padding: 40px 0 64px;
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 560px;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--mint), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.6;
}

/* ── Calculator ── */
.calculator {
  position: relative;
  padding: 24px;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}

.calc-row {
  position: relative;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.calc-row__compact {
  display: flex;
  align-items: stretch;
  gap: 12px;
  cursor: pointer;
}

.calc-row:not(.is-open):hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.calc-row.is-open {
  z-index: 25;
}

.calc-field {
  flex: 1;
  min-width: 0;
}

.calc-field label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.calc-field input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.calc-field input[readonly] { color: var(--mint); }

.calc-limits, .calc-rate {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.currency-select {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  padding: 0 4px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.currency-select__icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}

.currency-select__icon .currency-icon__main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.currency-icon__network {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(12, 16, 26, 0.95);
  overflow: hidden;
  background: #0e121c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.currency-icon__network img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.currency-icon__network--text {
  display: grid;
  place-items: center;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mint);
  line-height: 1;
  padding: 1px;
}

.currency-select__icon--fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg-glass);
}

.currency-select__icon--rub { background: #21a038; color: #fff; }
.currency-select__icon--sber { background: #21a038; color: #fff; }
.currency-select__icon--tinkoff { background: #ffdd2d; color: #333; }
.currency-select__icon--alfa { background: #ef3124; color: #fff; }
.currency-select__icon--sbp { background: #7c6cff; color: #fff; }
.currency-select__icon--btc { background: linear-gradient(135deg, var(--amber), #e69500); color: #1a1200; }
.currency-select__icon--usdt { background: #26a17b; color: #fff; }
.currency-select__icon--usdc { background: #2775ca; color: #fff; }
.currency-select__icon--eth { background: var(--violet-dim); color: var(--violet); }
.currency-select__icon--kzt { background: #00afca; color: #fff; }
.currency-select__icon--kaspi { background: #f14635; color: #fff; }
.currency-select__icon--halyk { background: #00804a; color: #fff; }
.currency-select__icon--cash { background: rgba(255, 181, 71, 0.25); color: var(--amber); }
.currency-select__icon--ton { background: #0098ea; color: #fff; }

.currency-select[aria-expanded="true"] svg { transform: rotate(180deg); }
.currency-select svg { transition: transform 0.2s; }

/* ── Currency picker dropdown ── */
.currency-picker {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  max-height: min(420px, 70vh);
  padding: 16px;
  border-radius: 20px;
  background: rgba(12, 16, 26, 0.98);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: pickerIn 0.2s ease;
}

.currency-picker[hidden] { display: none !important; }

@keyframes pickerIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.currency-picker__header {
  padding: 8px 8px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  cursor: pointer;
}

.currency-picker__label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.currency-picker__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.currency-picker__amount {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.currency-picker__current {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.currency-picker__current .currency-select__icon {
  width: 28px;
  height: 28px;
}

.currency-picker__current .currency-icon__network {
  width: 16px;
  height: 16px;
  right: -3px;
  bottom: -3px;
}

.currency-picker__current-code {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.currency-picker__chevron {
  color: var(--text-dim);
  flex-shrink: 0;
}

.currency-picker__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 4px 12px;
}

.currency-picker__filter {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.currency-picker__filter:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.currency-picker__filter.active {
  background: var(--mint-dim);
  border-color: var(--border-glow);
  color: var(--mint);
}

.currency-picker__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 0 4px 8px;
  border-bottom: 1px solid var(--border);
}

.currency-picker__search svg { color: var(--text-dim); flex-shrink: 0; }

.currency-picker__search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--text);
}

.currency-picker__search input::placeholder { color: var(--text-dim); }

.currency-picker__list {
  flex: 1;
  min-height: 0;
  max-height: 240px;
  overflow-y: auto;
  padding: 4px;
  margin-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.currency-picker__list::-webkit-scrollbar { width: 4px; }
.currency-picker__list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.currency-picker__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 10px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.currency-picker__item:hover,
.currency-picker__item.active {
  background: rgba(255, 255, 255, 0.05);
}

.currency-picker__item.active {
  box-shadow: inset 0 0 0 1px var(--border-glow);
}

.currency-picker__item .currency-select__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.currency-picker__item .currency-icon__network {
  width: 17px;
  height: 17px;
}

.currency-picker__item-name {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.currency-picker__item-code {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
}

.currency-picker__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: none;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.currency-picker__footer:hover { color: var(--mint); }
.currency-picker__footer svg { flex-shrink: 0; }

.currency-select__code {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.swap-btn {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -8px auto;
  border-radius: 14px;
  border: 1px solid var(--border-glow);
  background: var(--bg-card);
  color: var(--mint);
  cursor: pointer;
  transition: transform 0.3s, background 0.2s;
}

.swap-btn:hover { background: var(--mint-dim); }
.swap-btn.spinning { animation: swapSpin 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); }

@keyframes swapSpin {
  0% { transform: rotate(0) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

.calc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
  padding: 0 4px;
}

.calc-meta__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.calc-meta__item svg { color: var(--mint); flex-shrink: 0; }

.calc-actions {
  display: grid;
  gap: 10px;
}

.calc-manager {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.calc-manager svg {
  flex-shrink: 0;
  color: #29b6f6;
}

/* ── Exchange wizard modal ── */
.exchange-wizard {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
}

.exchange-wizard[hidden] { display: none !important; }

.exchange-wizard__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.72);
  backdrop-filter: blur(6px);
}

.exchange-wizard__panel {
  position: relative;
  width: min(820px, 96vw);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 229, 196, 0.08);
}

.exchange-wizard__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 0;
  flex: 1;
  max-height: min(92vh, 900px);
}

.exchange-wizard__content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px 26px 22px;
  overflow: hidden;
}

.wizard-visual {
  position: relative;
  padding: 28px 20px;
  background:
    radial-gradient(ellipse 120% 80% at 20% 0%, rgba(0, 229, 196, 0.14), transparent 55%),
    radial-gradient(ellipse 100% 70% at 100% 100%, rgba(124, 108, 255, 0.18), transparent 50%),
    rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}

.wizard-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}

.wizard-visual__img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 32px rgba(0, 229, 196, 0.15));
}

.wizard-visual__coins {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.wizard-visual__coin {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.wizard-visual__coin img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.wizard-visual__arrow {
  color: var(--mint);
  flex-shrink: 0;
  opacity: 0.85;
}

.wizard-visual__title {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  color: var(--text);
}

.wizard-visual__desc {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.45;
  max-width: 200px;
}

.wizard-visual__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(0, 229, 196, 0.1);
  border: 1px solid rgba(0, 229, 196, 0.25);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mint);
}

.wizard-visual__features {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: 100%;
}

.wizard-visual__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wizard-visual__feature svg {
  flex-shrink: 0;
  color: var(--mint);
}

.exchange-wizard__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
}

.exchange-wizard__progress {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.wizard-progress__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wizard-progress__icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.wizard-progress__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.45;
  transition: opacity 0.25s, filter 0.25s;
}

.wizard-progress__item.is-active .wizard-progress__icon {
  background: rgba(0, 229, 196, 0.1);
  border-color: rgba(0, 229, 196, 0.35);
  box-shadow: 0 0 20px rgba(0, 229, 196, 0.15);
  transform: scale(1.06);
}

.wizard-progress__item.is-active .wizard-progress__icon img {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(0, 229, 196, 0.35));
}

.wizard-progress__item.is-done .wizard-progress__icon {
  background: rgba(0, 229, 196, 0.08);
  border-color: rgba(0, 229, 196, 0.22);
}

.wizard-progress__item.is-done .wizard-progress__icon img {
  opacity: 0.85;
}

.wizard-progress__dot {
  width: 100%;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s, box-shadow 0.25s;
}

.wizard-progress__item.is-active .wizard-progress__dot {
  background: linear-gradient(90deg, var(--mint), var(--violet));
  box-shadow: 0 0 12px rgba(0, 229, 196, 0.35);
}

.wizard-progress__item.is-done .wizard-progress__dot {
  background: linear-gradient(90deg, rgba(0, 229, 196, 0.85), rgba(124, 108, 255, 0.75));
}

.wizard-progress__label {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.2;
}

.wizard-progress__item.is-active .wizard-progress__label { color: var(--mint); }
.wizard-progress__item.is-done .wizard-progress__label { color: var(--text-muted); }

.exchange-wizard__head {
  margin-bottom: 14px;
  padding-right: 36px;
}

.exchange-wizard__step-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.exchange-wizard__head h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.exchange-wizard__body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding-right: 2px;
}

.wizard-pane__lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.wizard-summary {
  padding: 18px;
  border-radius: 16px;
  display: grid;
  gap: 14px;
}

.wizard-summary__hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.wizard-summary__coin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}

.wizard-summary__coin img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.wizard-summary__coin span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

.wizard-summary__coin small {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
}

.wizard-summary__swap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint-dim);
  border: 1px solid var(--border-glow);
  color: var(--mint);
  flex-shrink: 0;
}

.wizard-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
}

.wizard-summary__row span:first-child { color: var(--text-dim); }
.wizard-summary__row strong { text-align: right; }

.wizard-summary__divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.wizard-verify__launch {
  padding: 22px 20px;
  border-radius: 18px;
  text-align: center;
}

.wizard-verify__launch-img {
  margin: 0 auto 12px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 229, 196, 0.2));
}

.wizard-verify__launch-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--mint);
}

.wizard-verify__steps {
  list-style: none;
  margin: 16px 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
  text-align: left;
}

.wizard-verify__steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wizard-verify__steps li::before {
  content: counter(step);
  counter-increment: step;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--mint-dim);
  color: var(--mint);
  border: 1px solid var(--border-glow);
}

.wizard-verify__launch .wizard-verify__steps {
  counter-reset: step;
}

.wizard-verify__url-label {
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wizard-verify__url {
  display: block;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  word-break: break-all;
  line-height: 1.45;
  text-align: left;
}

.wizard-verify__waiting {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wizard-verify__waiting::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: verifyPulse 1.2s ease-in-out infinite;
}

@keyframes verifyPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

.wizard-verify__hint {
  margin-top: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

#wizard-open-coinproof { margin-top: 4px; }

.wizard-verify__success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: var(--mint-dim);
  border: 1px solid var(--border-glow);
  color: var(--mint);
  font-weight: 600;
}

.wizard-verify--skip p {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.wizard-form {
  display: grid;
  gap: 14px;
}

.wizard-form__field {
  display: grid;
  gap: 6px;
}

.wizard-form__field span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.wizard-form__field input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
}

.wizard-form__field input:focus { border-color: var(--border-glow); }

.wizard-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.wizard-form__check input { margin-top: 3px; accent-color: var(--mint); }

.wizard-payment {
  padding: 16px;
  border-radius: 16px;
  display: grid;
  gap: 10px;
}

.wizard-payment__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

.wizard-payment__row span { color: var(--text-dim); }
.wizard-payment__row code {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--mint);
  word-break: break-all;
  text-align: right;
}

.wizard-timer {
  margin-top: 12px;
  text-align: center;
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--amber);
  font-weight: 600;
}

.wizard-done {
  text-align: center;
  padding: 8px 0;
}

.wizard-done__hero {
  margin-bottom: 12px;
}

.wizard-done__img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(0, 229, 196, 0.25));
}

.wizard-done__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--mint-dim);
  color: var(--mint);
  border: 1px solid var(--border-glow);
}

.wizard-done h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.wizard-done p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.wizard-done__id {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.wizard-done__id strong {
  color: var(--text);
  font-family: var(--mono);
}

.exchange-wizard__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.exchange-wizard__footer .btn { flex: 1; }

@media (max-width: 720px) {
  .exchange-wizard__layout {
    grid-template-columns: 1fr;
  }

  .wizard-visual {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-height: auto;
  }

  .wizard-visual__img {
    width: 72px;
    height: 72px;
  }

  .wizard-visual__title { font-size: 0.85rem; }
  .wizard-visual__desc { display: none; }
  .wizard-visual__features { display: none; }

  .exchange-wizard__content {
    padding: 18px 16px 16px;
  }

  .wizard-progress__label { font-size: 0.52rem; }
}

@media (max-width: 520px) {
  .wizard-summary__hero { flex-direction: column; gap: 10px; }
  .wizard-summary__swap { transform: rotate(90deg); }
}

/* ── Wallet AML check ── */
.wallet-check {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 18px;
}

.wallet-check__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.wallet-check__tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint);
}

.wallet-check__status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
}

.wallet-check__status.is-verified { color: var(--mint); }
.wallet-check__status.is-blocked { color: var(--rose); }

.wallet-check__label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.wallet-check__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}

.wallet-check__input:focus { border-color: var(--border-glow); }
.wallet-check__input.is-invalid { border-color: var(--rose); }
.wallet-check__input.is-valid { border-color: rgba(0, 229, 196, 0.45); }

.wallet-check__hint {
  margin-top: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.wallet-check__cta {
  margin-top: 14px;
  text-decoration: none;
  text-align: center;
}

.wallet-check__verified {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--mint-dim);
  border: 1px solid var(--border-glow);
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── AML modal ── */
.aml-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.aml-modal[hidden] { display: none !important; }

.aml-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.72);
  backdrop-filter: blur(6px);
}

.aml-modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 24px;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  animation: pickerIn 0.25s ease;
}

.aml-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-glass);
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.aml-modal__scan { text-align: center; }

.aml-radar {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
}

.aml-radar__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 196, 0.15);
}

.aml-radar__ring--2 { inset: 18px; border-color: rgba(0, 229, 196, 0.08); }

.aml-radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 229, 196, 0.25) 60deg, transparent 120deg);
  animation: amlSweep 2s linear infinite;
}

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

.aml-radar__score {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--mint);
}

.aml-modal__scan h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.aml-modal__addr {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  word-break: break-all;
  margin-bottom: 12px;
}

.aml-modal__status {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.aml-checks {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aml-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.aml-checks li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}

.aml-checks li.is-checking::before {
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 1s ease infinite;
}

.aml-checks li.is-ok::before { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.aml-checks li.is-fail::before { background: var(--rose); box-shadow: 0 0 8px var(--rose); }
.aml-checks li.is-ok { color: var(--text); border-color: rgba(0, 229, 196, 0.2); }
.aml-checks li.is-fail { color: var(--rose); border-color: rgba(255, 107, 138, 0.25); }

.aml-modal__result { text-align: center; }

.aml-result__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 800;
}

.aml-result__icon.is-pass {
  background: var(--mint-dim);
  color: var(--mint);
  border: 1px solid var(--border-glow);
}

.aml-result__icon.is-fail {
  background: rgba(255, 107, 138, 0.15);
  color: var(--rose);
  border: 1px solid rgba(255, 107, 138, 0.3);
}

.aml-modal__result h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.aml-modal__result p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ── Sections ── */
.section {
  padding: 64px 0;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(124, 108, 255, 0.04), transparent);
}

.section__head {
  margin-bottom: 40px;
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint);
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.link-arrow {
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.2s;
}

.link-arrow:hover { color: var(--mint); }

/* ── Steps ── */
.steps {
  display: grid;
  gap: 16px;
}

.step {
  padding: 24px;
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.step:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.step__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Features ── */
.features {
  display: grid;
  gap: 20px;
}

.feature {
  padding: 28px;
  border-radius: 22px;
}

.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature__icon--mint { background: var(--mint-dim); color: var(--mint); }
.feature__icon--violet { background: var(--violet-dim); color: var(--violet); }
.feature__icon--amber { background: var(--amber-dim); color: var(--amber); }

.feature h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Reviews ── */
.reviews {
  display: grid;
  gap: 16px;
}

.review {
  padding: 24px;
  border-radius: var(--radius);
}

.review__stars {
  color: var(--amber);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.review footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.82rem;
}

.review footer strong { color: var(--text); }
.review footer span { color: var(--text-dim); }

/* ── Telegram ── */
.telegram {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
  border-color: rgba(0, 229, 196, 0.2);
  box-shadow: 0 0 40px rgba(0, 229, 196, 0.08);
}

.telegram__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2aabee, #229ed9);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.telegram h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.telegram p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── FAQ ── */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.faq-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.faq-tab.active,
.faq-tab:hover {
  border-color: var(--border-glow);
  color: var(--mint);
  background: var(--mint-dim);
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--mint);
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0 24px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.footer__grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__brand p {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 240px;
}

.footer__col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--mint); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.nav a.is-active { color: var(--mint); }

.mobile-nav a.is-active {
  background: var(--mint-dim);
  color: var(--mint);
}

/* ── Inner pages ── */
.page-main {
  position: relative;
  z-index: 1;
  padding: 32px 0 64px;
}

.page-hero {
  margin-bottom: 32px;
}

.page-hero__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint);
  margin-bottom: 10px;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
}

.page-layout {
  display: grid;
  gap: 24px;
}

.page-layout--aside {
  grid-template-columns: 1fr;
}

.content-card {
  padding: 24px 22px;
  border-radius: 20px;
}

.content-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 12px;
}

.content-card h2:first-child { margin-top: 0; }

.content-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text);
}

.content-card p,
.content-card li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.content-card ul,
.content-card ol {
  margin: 10px 0 10px 20px;
}

.content-card li { margin-bottom: 6px; }

.content-card a { color: var(--mint); }

.legal-updated {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.info-cards {
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 20px;
  border-radius: 16px;
}

.info-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.news-grid {
  display: grid;
  gap: 18px;
}

.news-card {
  padding: 22px;
  border-radius: 18px;
  display: grid;
  gap: 10px;
}

.news-card__date {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.news-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.news-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  gap: 16px;
}

.contact-item {
  padding: 20px;
  border-radius: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mint-dim);
  color: var(--mint);
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.account-grid {
  display: grid;
  gap: 24px;
  max-width: 480px;
  margin: 0 auto;
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.account-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
}

.account-form input:focus { border-color: var(--border-glow); }

.account-form__links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

.account-form__links a { color: var(--mint); }

.account-benefits {
  padding: 20px;
  border-radius: 16px;
}

.account-benefits h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.account-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.account-benefits li {
  display: flex;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.account-benefits li::before {
  content: '✓';
  color: var(--mint);
  font-weight: 700;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.page-back:hover { color: var(--mint); }

@media (min-width: 900px) {
  .page-layout--aside {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }

  .info-cards { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Chat FAB ── */
.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid var(--border-glow);
  background: linear-gradient(135deg, var(--mint), #00c4a7);
  color: #041510;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 229, 196, 0.35);
  transition: transform 0.2s;
}

.chat-fab:hover { transform: scale(1.05); }

/* ── Responsive ── */
@media (min-width: 768px) {
  .burger { display: none; }

  .nav { display: flex; }

  .hero__grid {
    grid-template-columns: 1fr 460px;
    gap: 48px;
    align-items: center;
  }

  .hero { padding: 64px 0 80px; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }

  .telegram {
    flex-direction: row;
    align-items: center;
  }

  .telegram .btn { flex-shrink: 0; }

  .footer__grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .header { padding: 20px 0; }

  .steps { grid-template-columns: repeat(5, 1fr); }

  .hero__content { padding-top: 24px; }
}

@media (max-width: 767px) {
  .header__actions .btn--primary { display: none; }
}
