/* ==========================================================================
   Bitget V2 — App-first Fast Registration & Download Static Conversion Page
   Pure static CSS. No frameworks. V2 independent theme tokens.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --bg-brand-cyan: #00f0ff;
  --bg-brand-cyan-soft: rgba(0, 240, 255, 0.12);
  --bg-brand-cyan-glow: rgba(0, 240, 255, 0.35);

  /* Surfaces (dark fintech, not pure black) */
  --bg-base: #0a0e17;
  --bg-elev-1: #0f1521;
  --bg-elev-2: #151c2b;
  --bg-elev-3: #1c2536;
  --bg-glass: rgba(21, 28, 43, 0.72);

  /* Text */
  --text-primary: #f4f7fb;
  --text-secondary: #aeb8c9;
  --text-muted: #6b7588;
  --text-on-cyan: #06121a;

  /* Lines */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-brand: rgba(0, 240, 255, 0.4);

  /* Gradients */
  --grad-hero: radial-gradient(120% 90% at 80% 0%, rgba(0, 240, 255, 0.16) 0%, rgba(0, 240, 255, 0) 55%), linear-gradient(180deg, #0a0e17 0%, #0c111c 100%);
  --grad-cta: linear-gradient(135deg, #00f0ff 0%, #00c8d6 100%);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans CJK TC", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Naskh Arabic", "Noto Sans Thai", "Noto Sans", sans-serif;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Container */
  --container-max: 1200px;
  --container-pad: 24px;

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.32);
  --shadow-cta: 0 10px 28px rgba(0, 240, 255, 0.30);
  --shadow-sticky: 0 -2px 18px rgba(0, 0, 0, 0.45);
  --shadow-float: 0 24px 64px rgba(0, 0, 0, 0.5);

  /* Buttons */
  --btn-h: 52px;
  --btn-h-sm: 44px;
  --btn-px: 28px;
  --btn-fs: 16px;

  /* QR */
  --qr-size: 200px;
  --qr-size-mobile: 168px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: var(--space-24); }
.section--tight { padding-block: var(--space-16); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bg-brand-cyan);
  background: var(--bg-brand-cyan-soft);
  border: 1px solid var(--border-brand);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.section-head { max-width: 720px; margin-bottom: var(--space-12); }
.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: var(--space-4);
}
.section-head p {
  color: var(--text-secondary);
  margin-top: var(--space-3);
  font-size: 17px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--btn-h);
  padding-inline: var(--btn-px);
  border-radius: var(--r-md);
  font-size: var(--btn-fs);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--grad-cta);
  color: var(--text-on-cyan);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { box-shadow: 0 14px 36px rgba(0, 240, 255, 0.42); transform: translateY(-1px); }
.btn--secondary {
  background: var(--bg-elev-2);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn--secondary:hover { border-color: var(--border-brand); background: var(--bg-elev-3); }
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  height: var(--btn-h-sm);
}
.btn--ghost:hover { border-color: var(--border-brand); }
.btn--block { width: 100%; }
.btn--sm { height: var(--btn-h-sm); padding-inline: 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* Accessibility focus */
:focus-visible {
  outline: 2px solid var(--bg-brand-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__brand { display: flex; align-items: center; gap: var(--space-2); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.nav__brand img { width: 28px; height: 28px; }
.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav__lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: var(--r-sm);
  background: var(--bg-elev-2); border: 1px solid var(--border-subtle);
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
}
.lang-toggle:hover { border-color: var(--border-brand); color: var(--text-primary); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 200px; max-height: 360px; overflow-y: auto;
  background: var(--bg-elev-2); border: 1px solid var(--border-subtle);
  border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 8px;
  display: none;
}
.lang-menu.is-open { display: block; }
.lang-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 14px; color: var(--text-secondary);
}
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--bg-elev-3); color: var(--text-primary); }
.nav__menu-toggle { display: none; }

/* ---------- Hero (App-first) ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding-block: var(--space-20) var(--space-24);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px; pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-12);
  align-items: center;
}
.hero__copy { max-width: 560px; }
.hero__title {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: var(--space-5);
}
.hero__subtitle {
  color: var(--text-secondary);
  font-size: clamp(16px, 2vw, 19px);
  margin-top: var(--space-5);
  max-width: 480px;
}
.hero__trust {
  display: flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-4); color: var(--text-muted); font-size: 14px;
}
.hero__trust svg { width: 16px; height: 16px; color: var(--bg-brand-cyan); }
.hero__cta { margin-top: var(--space-8); }
.hero__store-row { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Phone mockup visual —精致 App 界面,SVG 走势图,无编造数据 */
.hero__visual { display: flex; justify-content: center; position: relative; }
.phone-mockup {
  position: relative;
  width: 300px; height: 612px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1b2438 0%, #0c111c 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-float);
  padding: 12px;
  overflow: hidden;
}
.phone-mockup::after {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 24px; border-radius: 999px; background: #05070c; z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: var(--bg-base); position: relative;
  display: flex; flex-direction: column;
}
/* iOS 状态栏 */
.ps-statusbar {
  height: 44px; padding: 14px 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600; color: var(--text-primary);
  flex-shrink: 0;
}
.ps-statusbar__icons { display: flex; gap: 5px; align-items: center; }
.ps-statusbar__icons svg { width: 16px; height: 11px; fill: var(--text-primary); }
/* App 头部 */
.ps-appbar {
  padding: 8px 16px 12px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.ps-appbar__brand { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 16px; }
.ps-appbar__brand img { width: 22px; height: 22px; border-radius: 5px; }
.ps-appbar__icons { display: flex; gap: 8px; }
.ps-appbar__icons span {
  width: 30px; height: 30px; border-radius: 9px; background: var(--bg-elev-2);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  font-size: 14px;
}
/* 滚动内容区 */
.ps-body { flex: 1; padding: 0 14px 14px; display: flex; flex-direction: column; gap: 11px; overflow: hidden; }
/* 资产总览卡 */
.ps-balance {
  background: linear-gradient(135deg, rgba(0,240,255,0.14), rgba(0,240,255,0.02));
  border: 1px solid var(--border-brand);
  border-radius: 16px; padding: 14px 16px;
}
.ps-balance__label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.ps-balance__value { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 3px; color: var(--text-primary); }
.ps-balance__tags { display: flex; gap: 6px; margin-top: 8px; }
.ps-tag { font-size: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,0.06); color: var(--text-secondary); font-weight: 500; }
/* 主图表卡 */
.ps-chart {
  background: var(--bg-elev-1); border: 1px solid var(--border-subtle);
  border-radius: 14px; padding: 12px;
}
.ps-chart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ps-chart__pair { font-size: 13px; font-weight: 700; }
.ps-chart__pair span { color: var(--text-muted); font-weight: 500; font-size: 11px; margin-left: 4px; }
.ps-chart__chg { font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.ps-chart__chg--up { color: #2ee6a6; background: rgba(46,230,166,0.12); }
.ps-chart__chg--down { color: #ff5c7a; background: rgba(255,92,122,0.12); }
.ps-chart__svg { width: 100%; height: 70px; display: block; }
/* 市场列表 */
.ps-markets { display: flex; flex-direction: column; gap: 7px; }
.ps-market {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-elev-1); border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 9px 12px;
}
.ps-market__sym { font-size: 12px; font-weight: 700; min-width: 34px; }
.ps-market__spark { flex: 1; height: 22px; }
.ps-market__chg { font-size: 11px; font-weight: 700; min-width: 48px; text-align: right; }
.ps-up { color: #2ee6a6; }
.ps-down { color: #ff5c7a; }
/* 底部 Tab 栏 */
.ps-tabbar {
  display: flex; justify-content: space-around;
  padding: 10px 0 8px; border-top: 1px solid var(--border-subtle);
  margin-top: auto; flex-shrink: 0;
}
.ps-tab { font-size: 10px; color: var(--text-muted); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ps-tab--active { color: var(--bg-brand-cyan); }
.ps-tab::before { content: ""; width: 16px; height: 16px; border-radius: 5px; background: currentColor; opacity: 0.5; }
.ps-tab--active::before { opacity: 1; }
/* 光晕 */
.phone-glow {
  position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,240,255,0.18), transparent 65%);
  filter: blur(24px); z-index: -1; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
/* 装饰浮动小卡 */
.phone-float {
  position: absolute; z-index: 3;
  background: var(--bg-glass); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 10px 14px; box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
}
.phone-float--tl { top: 12%; inset-inline-start: -8%; }
.phone-float--br { bottom: 16%; inset-inline-end: -6%; }
.phone-float__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-brand-cyan); box-shadow: 0 0 8px var(--bg-brand-cyan); }
.phone-float span { color: var(--text-muted); font-weight: 500; }

/* QR pill in hero */
.hero__qr {
  margin-top: var(--space-6);
  display: inline-flex; align-items: center; gap: var(--space-4);
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: 14px 18px;
  backdrop-filter: blur(8px);
}
.hero__qr-img { width: 84px; height: 84px; border-radius: 12px; background: #fff; padding: 6px; }
.hero__qr-img img { width: 100%; height: 100%; }
.hero__qr-text { font-size: 14px; }
.hero__qr-text strong { display: block; font-size: 15px; }
.hero__qr-text span { color: var(--text-muted); }

/* ---------- Quick Register Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.step-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step-card:hover { border-color: var(--border-brand); transform: translateY(-2px); }
.step-card__num {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-brand-cyan-soft); color: var(--bg-brand-cyan);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; margin-bottom: var(--space-4);
}
.step-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.step-card p { color: var(--text-secondary); margin-top: var(--space-2); font-size: 15px; }

/* ---------- Download Options ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.dl-card {
  display: flex; align-items: center; gap: var(--space-4);
  background: var(--bg-elev-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  min-height: 96px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.dl-card:hover { border-color: var(--border-brand); background: var(--bg-elev-2); transform: translateY(-2px); }
.dl-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg-elev-3); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dl-card__icon img { width: 26px; height: 26px; }
.dl-card__text strong { display: block; font-size: 16px; font-weight: 600; }
.dl-card__text span { color: var(--text-muted); font-size: 13px; }

.download-qr-wrap {
  margin-top: var(--space-8);
  display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: stretch; justify-content: center;
}
.qr-card {
  background: var(--bg-elev-1); border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl); padding: var(--space-6);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-width: 240px;
}
.qr-card__img {
  width: var(--qr-size); height: var(--qr-size);
  background: #fff; border-radius: var(--r-lg); padding: var(--space-3);
  margin-bottom: var(--space-4);
}
.qr-card__img img { width: 100%; height: 100%; }
.qr-card h3 { font-size: 18px; font-weight: 700; }
.qr-card p { color: var(--text-secondary); font-size: 14px; margin-top: var(--space-2); max-width: 220px; }
.qr-card--disabled .qr-card__img {
  background: var(--bg-elev-3); display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--border-strong);
}
.qr-card--disabled .qr-card__img span { color: var(--text-muted); font-size: 12px; padding: 12px; text-align: center; }

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.benefit {
  padding: var(--space-6);
  border-radius: var(--r-lg);
  background: var(--bg-elev-1);
  border: 1px solid var(--border-subtle);
}
.benefit__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-brand-cyan-soft); margin-bottom: var(--space-4);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-brand-cyan); font-size: 20px;
}
.benefit h3 { font-size: 17px; font-weight: 700; }
.benefit p { color: var(--text-secondary); font-size: 14px; margin-top: var(--space-2); }

/* ---------- Funnel (Register first, download next) ---------- */
.funnel {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--space-12);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-10);
  align-items: center;
}
.funnel__steps { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.funnel__step {
  flex: 1; min-width: 160px;
  background: var(--bg-elev-2); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: var(--space-5);
}
.funnel__step h3 { font-size: 16px; font-weight: 700; }
.funnel__step p { color: var(--text-secondary); font-size: 14px; margin-top: var(--space-2); }
.funnel__arrow { color: var(--bg-brand-cyan); font-size: 22px; align-self: center; }
.funnel__cta { display: flex; flex-direction: column; gap: var(--space-3); min-width: 220px; }

/* ---------- Trust notes ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.trust-item {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--space-6);
}
.trust-item h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.trust-item h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bg-brand-cyan); flex-shrink: 0; }
.trust-item p { color: var(--text-secondary); font-size: 14px; margin-top: var(--space-3); }

/* ---------- Multilingual ---------- */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-3);
}
.lang-chip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--bg-elev-1); border: 1px solid var(--border-subtle);
  font-size: 14px; transition: border-color 0.2s ease;
}
.lang-chip:hover { border-color: var(--border-brand); }
.lang-chip span { color: var(--text-muted); font-size: 12px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); max-width: 820px; }
.faq-item {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item__q {
  width: 100%; text-align: start;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5);
  font-size: 16px; font-weight: 600;
}
.faq-item__q .faq-icon { flex-shrink: 0; transition: transform 0.2s ease; color: var(--bg-brand-cyan); }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary); font-size: 15px;
}
.faq-item.is-open .faq-item__a { max-height: 400px; }
.faq-item__a-inner { padding: 0 var(--space-5) var(--space-5); }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  background: radial-gradient(80% 120% at 50% 0%, rgba(0,240,255,0.14), transparent 60%), var(--bg-elev-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--space-20) var(--space-12);
}
.final-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
.final-cta p { color: var(--text-secondary); margin-top: var(--space-3); font-size: 18px; }
.final-cta .btn-row { justify-content: center; margin-top: var(--space-8); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--space-12) var(--space-8);
  background: var(--bg-base);
}
.footer-grid {
  display: flex; flex-wrap: wrap; gap: var(--space-8);
  justify-content: space-between; align-items: flex-start;
}
.footer-brand { max-width: 360px; }
.footer-brand .nav__brand { margin-bottom: var(--space-3); }
.footer-brand p { color: var(--text-muted); font-size: 14px; }
.footer-links { display: flex; gap: var(--space-8); flex-wrap: wrap; }
.footer-links h4 { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-3); }
.footer-links a { display: block; color: var(--text-secondary); font-size: 14px; padding: 4px 0; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
  margin-top: var(--space-8); padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  justify-content: space-between; align-items: center;
  color: var(--text-muted); font-size: 13px;
}
.footer-disclaimer { color: var(--text-muted); font-size: 12px; max-width: 680px; margin-top: var(--space-4); line-height: 1.5; }

/* ---------- Mobile Sticky CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 90;
  display: none;
  background: rgba(10, 14, 23, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sticky);
  padding: 12px var(--container-pad);
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.sticky-cta__inner { max-width: var(--container-max); margin-inline: auto; display: flex; gap: var(--space-3); }
.sticky-cta .btn { flex: 1; height: 50px; }

/* ---------- Download redirect page ---------- */
.dl-redirect {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: var(--space-8); text-align: center;
}
.dl-redirect__card { max-width: 440px; }
.dl-redirect__card .nav__brand { justify-content: center; margin-bottom: var(--space-6); }
.dl-redirect__card h1 { font-size: 26px; font-weight: 700; }
.dl-redirect__card p { color: var(--text-secondary); margin-top: var(--space-3); }
.dl-redirect__links { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-8); }

/* ---------- RTL ---------- */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .nav__actions { flex-direction: row-reverse; }
[dir="rtl"] .hero__grid { direction: rtl; }
[dir="rtl"] .step-card__num,
[dir="rtl"] .benefit__icon { margin-inline-end: 0; }
[dir="rtl"] .faq-item__q { text-align: end; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero__visual { order: -1; }
  .phone-mockup { width: 270px; height: 552px; }
  .phone-float { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .funnel { grid-template-columns: 1fr; }
  .funnel__cta { min-width: 0; flex-direction: row; }
}

@media (max-width: 639px) {
  :root { --container-pad: 16px; }
  .section { padding-block: var(--space-16); }
  .nav { height: 56px; }
  .nav__actions .btn--ghost { display: none; }
  .nav__menu-toggle { display: inline-flex; }
  .nav__actions .btn--primary { display: none; }
  .hero { padding-block: var(--space-10) var(--space-16); }
  .hero__title { font-size: 32px; }
  .hero__store-row .btn { flex: 1; }
  .phone-mockup { width: 230px; height: 470px; }
  .phone-screen__bar { height: 72px; padding-top: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .final-cta { padding: var(--space-12) var(--space-5); }
  .funnel { padding: var(--space-6); }
  .funnel__cta { flex-direction: column; }
  .qr-card__img { width: var(--qr-size-mobile); height: var(--qr-size-mobile); }
  .hero__qr { flex-direction: column; align-items: flex-start; }
  /* sticky CTA */
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Mobile nav drawer */
.mobile-actions { display: none; }
@media (max-width: 639px) {
  .mobile-actions.is-open {
    display: flex; flex-direction: column; gap: var(--space-3);
    position: absolute; top: 56px; inset-inline: 0;
    background: var(--bg-elev-1); border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-5) var(--container-pad);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
