@font-face {
  font-family: Inter;
  src: url("./assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./assets/fonts/inter-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./assets/fonts/inter-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./assets/fonts/inter-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07080b;
  --bg-2: #0b0e13;
  --bg-3: #12161d;
  --card: #161b23;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(242, 190, 58, 0.28);
  --gold: #f2be3a;
  --gold-2: #e0a318;
  --gold-soft: rgba(242, 190, 58, 0.14);
  --text: #f4f6f8;
  --muted: #8b93a1;
  --dim: #5e6673;
  --up: #0ecb81;
  --down: #f6465d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --header: 72px;
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 12px;
  z-index: 80;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Promo */
.promo {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #1a1408, #2a210c 40%, #1a1408);
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
  color: #f8e7b0;
  position: relative;
  padding: 0 36px;
}
.promo[hidden] { display: none !important; }
.promo b { color: #fff; font-weight: 650; }
.promo a { color: var(--gold); font-weight: 600; }
.promo-x {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  color: #f8e7b0;
  opacity: 0.7;
}
.promo-x:hover { opacity: 1; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(7, 8, 11, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 8, 11, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  font-size: 18px;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav > .nav-item > a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}
.nav > .nav-item > a:hover,
.nav-item.is-open > a { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-item { position: relative; align-self: stretch; display: flex; align-items: center; }
.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  padding: 14px;
  background: #12171f;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 60;
  grid-template-columns: 1fr;
  gap: 4px 20px;
}
.mega::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: -10px;
  height: 12px;
}
.mega-wide {
  min-width: 560px;
  grid-template-columns: 1fr 1fr;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.is-open .mega,
.nav-item:target .mega { display: grid; }
.mega-end .mega { left: auto; right: 0; }
.mega-col p {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 4px 12px 8px;
  font-weight: 650;
}
.mega a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}
.mega a small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--dim);
  margin-top: 3px;
}
.mega a:hover { background: rgba(242,190,58,0.1); color: var(--text); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.lang-wrap { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
}
.lang-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 240px;
  max-height: 360px;
  overflow: auto;
  background: #151a22;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.lang-menu a {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
}
.lang-menu a:hover,
.lang-menu a.is-current {
  background: rgba(242, 190, 58, 0.1);
  color: var(--text);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.btn-gold {
  background: linear-gradient(180deg, #f7d56a, var(--gold) 46%, var(--gold-2));
  color: #1a1406;
  box-shadow: 0 8px 24px rgba(242, 190, 58, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gold:hover { box-shadow: 0 12px 28px rgba(242, 190, 58, 0.38); }
.btn-line {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.6px;
  background: var(--text);
}
.nav-toggle span { top: 20px; }
.nav-toggle::before { top: 14px; }
.nav-toggle::after { top: 26px; }
.nav-drawer { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 740px;
  height: calc(100vh - 112px);
  max-height: 920px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 58px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 420px at 80% 20%, rgba(242, 190, 58, 0.16), transparent 55%),
    radial-gradient(700px 380px at 10% 80%, rgba(80, 120, 255, 0.08), transparent 50%),
    #07080b;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  mix-blend-mode: screen;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 40%, #000 20%, transparent 75%);
  opacity: 0.5;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.hero-orb.a {
  width: 280px;
  height: 280px;
  right: 12%;
  top: 8%;
  background: rgba(242, 190, 58, 0.18);
  animation: pulse 6s ease-in-out infinite;
}
.hero-orb.b {
  width: 220px;
  height: 220px;
  left: 8%;
  bottom: 16%;
  background: rgba(64, 110, 255, 0.12);
  animation: pulse 7s ease-in-out infinite reverse;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,8,11,0.15) 0%, rgba(7,8,11,0.2) 70%, #07080b 100%);
}
.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  padding: 20px 0 12px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line-2);
  background: var(--gold-soft);
  color: #f8e7b0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242,190,58,0.18);
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 750;
}
.hero h1 span {
  background: linear-gradient(90deg, #fff 20%, #f2be3a 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 0 0 26px;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}
.hero-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 560px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.signup-step {
  display: none;
  flex: 1;
  min-width: 0;
  gap: 8px;
}
.signup-step.is-on { display: flex; }
.hero-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 12px 14px;
  color: var(--text);
}
.hero-form input::placeholder { color: var(--dim); }
.hero-form .btn { min-width: 148px; min-height: 46px; }
.hero-form.is-busy .btn { opacity: 0.65; pointer-events: none; }
.form-note {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--dim);
}
.hero-form.is-error + .form-note,
.form-note.is-error { color: var(--down); }
.hero-form.is-ok + .form-note,
.form-note.is-ok { color: var(--up); }
.form-resend {
  margin: 4px 0 0;
  font-size: 12px;
}
.form-resend[hidden] { display: none !important; }
.form-resend button {
  color: var(--gold);
  padding: 0;
  font-weight: 600;
}
.form-resend button:hover { text-decoration: underline; }
.hero-alt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--dim);
  font-size: 12px;
}
.hero-alt::before,
.hero-alt::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 90px;
  background: var(--line);
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  font-weight: 600;
}
.social-row a:hover { border-color: rgba(255,255,255,0.16); }
.hero-apps {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.qr {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0d1016;
}
.qr img { width: 100%; height: 100%; object-fit: cover; }
.app-meta { color: var(--muted); font-size: 13px; }
.app-meta strong { display: block; color: var(--text); margin-bottom: 6px; }
.store-row { display: flex; gap: 8px; flex-wrap: wrap; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #10141b;
  font-size: 11px;
  line-height: 1.15;
}
.store b { display: block; font-size: 13px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  max-width: 620px;
}
.stat {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
  direction: ltr;
  unicode-bidi: isolate;
}
.stat span { color: var(--dim); font-size: 12px; }

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,190,58,0.22), transparent 68%);
  filter: blur(8px);
  z-index: -1;
}
.hero-device {
  width: min(560px, 100%);
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.55));
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card {
  position: absolute;
  min-width: 168px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(16, 20, 27, 0.78);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.float-card .row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
}
.float-card .muted { color: var(--muted); font-size: 12px; margin-top: 4px; }
.float-card.c1 { left: -8px; top: 18%; animation: floaty 6s ease-in-out infinite; }
.float-card.c2 { right: 0; top: 28%; animation: floaty 7s ease-in-out infinite reverse; }
.float-card.c3 { left: 8%; bottom: 12%; animation: floaty 6.5s ease-in-out infinite 0.4s; }
.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
  animation: spark 3.2s linear infinite;
}

.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 16, 0.88);
  overflow: hidden;
  backdrop-filter: blur(12px);
  direction: ltr;
  width: 100%;
  max-width: 100%;
  contain: paint;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 13px;
  white-space: nowrap;
}
.ticker-item b { letter-spacing: 0.02em; }
.is-up { color: var(--up); }
.is-down { color: var(--down); }

/* Sections */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section-h {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.section-h h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
}
.section-h p { margin: 0; color: var(--muted); max-width: 560px; }
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.market-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.market-card [data-panel] {
  overflow-x: auto;
}
.tabs {
  display: flex;
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
}
.tabs button {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.tabs button.is-on {
  background: rgba(242,190,58,0.12);
  color: var(--gold);
}
[data-panel] { display: none; }
[data-panel].is-on { display: block; }
.market-table { width: 100%; border-collapse: collapse; }
.market-table th,
.market-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.market-table th { color: var(--dim); font-weight: 500; font-size: 12px; }
.market-table tr:last-child td { border-bottom: 0; }
.market-table tr:hover td { background: rgba(255,255,255,0.02); }
.pair {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}
.coin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #111;
}
.coin.btc { background: #f7931a; }
.coin.eth { background: #627eea; color: #fff; }
.coin.sol { background: linear-gradient(135deg, #9945ff, #14f195); color: #fff; }
.coin.xrp { background: #23292f; color: #fff; }
.coin.doge { background: #c2a633; }
.coin.ada { background: #0033ad; color: #fff; }
.coin.avax { background: #e84142; color: #fff; }
.coin.ton { background: #0098ea; color: #fff; }
.market-table th.num,
.market-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sparkline {
  width: 88px;
  height: 28px;
  display: block;
}
.sparkline polyline {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.is-up .sparkline polyline { stroke: var(--up); }
.is-down .sparkline polyline { stroke: var(--down); }
.trade-btn:hover { background: var(--gold); color: #1a1406; }

.product-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.product {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #171c24, #10141b);
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.product:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.product.wide { grid-column: 1 / 2; grid-row: 1 / 3; min-height: 520px; }
.product img {
  position: absolute;
  right: -10px;
  bottom: -20px;
  width: 72%;
  max-height: 70%;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.92;
  transition: transform .35s ease;
}
.product.wide img { width: 92%; max-height: 62%; right: -6%; bottom: -4%; }
.product:hover img { transform: translateY(-8px) scale(1.03); }
.product h3 { margin: 0 0 8px; font-size: 24px; }
.product p { margin: 0; color: var(--muted); max-width: 320px; }
.product .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #10141b;
}
.step em {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #090b10;
  box-shadow: var(--shadow);
}
.checklist { margin: 18px 0 24px; }
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='%23111' d='M4.6 9.2 1.8 6.4l1-1 1.8 1.8L9.2 2.6l1 1z'/></svg>") center / 10px no-repeat;
}

.security-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}
.secure-hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 22px;
  border: 1px solid var(--line);
}
.secure-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.secure-hero .copy {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.82));
}
.mini {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #10141b;
}
.mini h3 { margin: 0 0 8px; }
.mini p { margin: 0; color: var(--muted); }

.app-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 200px at 80% 20%, rgba(242,190,58,0.12), transparent 60%),
    #10141b;
}
.app-band img {
  width: min(420px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
}

.faq { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #10141b;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-q::after {
  content: "+";
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}
.faq-item.is-open .faq-q::after { content: "–"; }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}
.faq-item.is-open .faq-a { display: block; }

.final-cta {
  text-align: center;
  padding: 72px 24px;
  border-radius: 28px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(700px 220px at 50% 0%, rgba(242,190,58,0.16), transparent 60%),
    #12160d;
}
.final-cta h2 { margin: 0 0 10px; font-size: clamp(32px, 4vw, 48px); }
.final-cta p { margin: 0 auto 24px; color: var(--muted); max-width: 560px; }
.final-cta .hero-form { margin: 0 auto; }

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}
.site-footer h4 { margin: 0 0 14px; color: var(--text); font-size: 14px; }
.site-footer a { display: block; margin: 8px 0; color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.legal {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
}

.reveal {
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { transform: none; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.12); opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spark {
  0% { transform: translate(0,0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(40px, -80px); opacity: 0; }
}

.gateway {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #07080b;
  text-align: center;
  padding: 24px;
}
.gateway img { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 18px; }
.gateway p { color: var(--muted); }
.loader {
  width: 42px;
  height: 2px;
  margin: 18px auto 0;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  border-radius: 2px;
}
.loader i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold);
  animation: load 1s ease-in-out infinite;
}
@keyframes load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 55;
}
body.nav-open .nav-scrim { display: block; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { transform: none; }
}

@media (max-width: 1024px) {
  .hero-inner, .split, .split.reverse, .security-grid, .app-band, .product-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .product.wide { grid-column: auto; grid-row: auto; min-height: 420px; }
  .hero-visual { min-height: 420px; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --header: 60px; }
  .nav, .btn-ghost.login { display: none; }
  .nav-toggle { display: block; }
  .hero { min-height: 0; height: auto; max-height: none; padding-bottom: 0; }
  .ticker { position: relative; }
  .lang-name { display: none; }
  .hero-inner { padding-top: 16px; gap: 12px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 15px; margin-bottom: 16px; }
  .hero-form { flex-direction: column; }
  .signup-step.is-on { flex-direction: column; }
  .hero-apps, .float-card.c1, .float-card.c2, .float-card.c3 { display: none; }
  .hero-visual { min-height: 280px; }
  .hero-device { width: min(420px, 100%); }
  .hero-stats { margin-top: 8px; margin-bottom: 4px; }
  .promo { display: none; }
  .section { padding: 56px 0; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-drawer {
    display: none;
    position: fixed;
    inset: 72px 12px auto;
    background: #151a22;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px 12px 16px;
    z-index: 60;
    max-height: calc(100vh - 96px);
    overflow: auto;
  }
  body.nav-open .nav-drawer { display: block; }
  .nav-drawer a { display: block; padding: 10px 12px 10px 18px; border-radius: 8px; color: var(--muted); font-size: 14px; }
  .nav-drawer > a { color: var(--text); padding-left: 12px; }
  .nav-drawer .btn { margin: 12px 4px 4px; width: calc(100% - 8px); }
  .nav-drawer details { border-bottom: 1px solid var(--line); }
  .nav-drawer summary {
    padding: 12px;
    cursor: pointer;
    font-weight: 650;
    list-style: none;
    color: var(--text);
  }
  .nav-drawer summary::-webkit-details-marker { display: none; }
  .nav-drawer summary::after {
    content: "+";
    float: right;
    color: var(--gold);
    font-weight: 500;
  }
  .nav-drawer details[open] summary::after { content: "–"; }
  .sparkline { width: 64px; }
}
html[dir="rtl"],
html[dir="rtl"] body {
  direction: ltr;
}
[dir="rtl"] .lang-menu { right: 0; left: auto; }
[dir="rtl"] .float-card.c1 { left: auto; right: -8px; }
[dir="rtl"] .header-inner,
[dir="rtl"] .hero-inner,
[dir="rtl"] .split,
[dir="rtl"] .footer-grid {
  direction: ltr;
}
[dir="rtl"] .hero-copy,
[dir="rtl"] .promo,
[dir="rtl"] .section-h,
[dir="rtl"] .product,
[dir="rtl"] .step,
[dir="rtl"] .faq,
[dir="rtl"] .mini,
[dir="rtl"] .secure-hero .copy,
[dir="rtl"] .final-cta,
[dir="rtl"] .site-footer {
  direction: rtl;
  text-align: right;
}
  @media (max-width: 860px) {
    [dir="rtl"] .hero-form,
    [dir="rtl"] .signup-step.is-on { flex-direction: column; }
  }
[dir="rtl"] .nav { direction: rtl; }
[dir="rtl"] .mega { left: auto; right: 0; }
[dir="rtl"] .mega-end .mega { right: auto; left: 0; }

html.lang-pending body > *:not(#lang-gate) { visibility: hidden; }
html.lang-pending #lang-gate { display: grid; visibility: visible; }
#lang-gate[hidden] { display: none !important; }
