/* ============================================================
   Bitget V12 — Partner Entry & Referral Code Design System
   Pure static CSS. No frameworks. No UI libraries.
   Aesthetic: Partner Credential Terminal — deep navy-charcoal
   base, brand cyan-green #00F0DE, gold premium accent #FFB800,
   Sora display font, credential-card centered layout.
   Distinct from V9 (Manrope/green glassmorphism product tour).
   ============================================================ */

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  /* Color System — Partner Credential Terminal */
  --bg-base: #0B1120;
  --bg-surface: #131B2E;
  --bg-surface-alt: #0F1626;
  --bg-elevated: #1A2340;
  --bg-hover: #222E4D;
  --bg-glass: rgba(19, 27, 46, 0.65);
  --bg-glass-strong: rgba(19, 27, 46, 0.85);
  --bg-credential: linear-gradient(145deg, #162039 0%, #0F1626 100%);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-credential: rgba(0, 240, 222, 0.22);

  /* Text */
  --text-primary: #EEF2FA;
  --text-secondary: #A8B3CC;
  --text-muted: #5F6B85;
  --text-inverse: #0B1120;

  /* Brand — Bitget Cyan-Green */
  --brand: #00F0DE;
  --brand-dim: rgba(0, 240, 222, 0.10);
  --brand-glow: rgba(0, 240, 222, 0.28);
  --brand-hover: #2CF5E6;

  /* Premium Accent — Gold (partner credential) */
  --gold: #FFB800;
  --gold-dim: rgba(255, 184, 0, 0.10);
  --gold-glow: rgba(255, 184, 0, 0.25);
  --gold-hover: #FFCA33;

  /* Semantic */
  --accent-violet: #8B7CFF;
  --accent-rose: #F87171;
  --accent-sky: #38BDF8;

  /* CTA System */
  --cta-register-bg: #00F0DE;
  --cta-register-text: #052520;
  --cta-register-hover: #2CF5E6;
  --cta-register-shadow: 0 4px 20px rgba(0, 240, 222, 0.35);
  --cta-download-bg: rgba(255, 184, 0, 0.10);
  --cta-download-border: rgba(255, 184, 0, 0.42);
  --cta-download-text: #FFB800;
  --cta-download-hover-bg: rgba(255, 184, 0, 0.18);
  --cta-ghost-border: rgba(255, 255, 255, 0.16);
  --cta-ghost-text: #EEF2FA;

  /* Typography — Sora (display) + Inter (body) */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'PingFang SC', 'Hiragino Sans', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'PingFang SC', 'Hiragino Sans', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

  --fs-hero: clamp(2.2rem, 5.2vw, 3.6rem);
  --fs-h2: clamp(1.6rem, 3.2vw, 2.2rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.78rem;
  --fs-code: clamp(1.6rem, 4vw, 2.6rem);

  --lh-tight: 1.1;
  --lh-normal: 1.5;
  --lh-relaxed: 1.68;

  /* Spacing — 4px base */
  --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;

  /* Layout — 12/8/4 grid, 1200px max */
  --max-width: 1200px;
  --max-width-narrow: 760px;
  --max-width-credential: 560px;
  --grid-gap: 24px;
  --nav-height: 68px;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.46);
  --shadow-glow: 0 0 30px var(--brand-glow);
  --shadow-gold: 0 0 24px var(--gold-glow);
  --shadow-credential: 0 20px 60px rgba(0, 0, 0, 0.50), 0 0 0 1px var(--border-credential);

  /* Transitions */
  --t-fast: 120ms;
  --t-base: 200ms;
  --t-slow: 350ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand); text-decoration: none; transition: color var(--t-base) var(--ease); }
a:hover { color: var(--brand-hover); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: var(--lh-tight); color: var(--text-primary); }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ─── Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-20);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: var(--max-width-narrow);
  margin: 0 auto var(--space-12);
}

.section-head h2 { font-size: var(--fs-h2); margin-top: var(--space-3); }

.section-sub {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-4);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-dim);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 240, 222, 0.20);
}

.eyebrow-gold {
  color: var(--gold);
  background: var(--gold-dim);
  border-color: rgba(255, 184, 0, 0.22);
}

/* ─── Skip Link ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--brand);
  color: var(--text-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ─── Navigation ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-primary);
  flex-shrink: 0;
}
.brand:hover { color: var(--text-primary); }

.logo-svg { width: 28px; height: 28px; flex-shrink: 0; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.brand-badge {
  font-size: var(--fs-tiny);
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 2px var(--space-2);
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 184, 0, 0.18);
  white-space: nowrap;
  margin-left: var(--space-1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links a {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  font-weight: 500;
  transition: color var(--t-base) var(--ease);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  line-height: 1;
  padding: 0 var(--space-5);
  height: 44px;
  border-radius: var(--radius-md);
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.btn-sm { height: 36px; padding: 0 var(--space-4); font-size: var(--fs-tiny); }
.btn-lg { height: 52px; padding: 0 var(--space-8); font-size: var(--fs-body); }
.btn-xl { height: 56px; padding: 0 var(--space-10); font-size: 1.05rem; }

.btn-primary {
  background: var(--cta-register-bg);
  color: var(--cta-register-text);
  box-shadow: var(--cta-register-shadow);
}
.btn-primary:hover {
  background: var(--cta-register-hover);
  color: var(--cta-register-text);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(0, 240, 222, 0.45);
}

.btn-download {
  background: var(--cta-download-bg);
  color: var(--cta-download-text);
  border-color: var(--cta-download-border);
}
.btn-download:hover {
  background: var(--cta-download-hover-bg);
  color: var(--gold-hover);
  border-color: rgba(255, 184, 0, 0.60);
}

.btn-ghost {
  background: transparent;
  color: var(--cta-ghost-text);
  border-color: var(--cta-ghost-border);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text-primary);
}

.btn-block { display: flex; width: 100%; }

.btn-desktop-only { display: inline-flex; }

/* ─── Language Switcher ─────────────────────────────────── */
.lang-switcher { position: relative; }

.lang-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-3);
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  font-size: var(--fs-tiny);
  font-weight: 500;
  transition: all var(--t-base) var(--ease);
}
.lang-trigger:hover { border-color: var(--border-strong); color: var(--text-primary); }
.lang-trigger:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 180px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  max-height: 360px;
  overflow-y: auto;
  z-index: 200;
}

.lang-option {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--fs-small);
  transition: all var(--t-fast) var(--ease);
}
.lang-option:hover { background: var(--bg-hover); color: var(--text-primary); }
.lang-option.is-current { color: var(--brand); font-weight: 600; background: var(--brand-dim); }

/* ─── Mobile Menu Toggle ────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-sm);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero — Partner Entry ──────────────────────────────── */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-20);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 222, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 222, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
}
.hero-glow-cyan {
  background: var(--brand);
  top: -200px;
  left: -100px;
}
.hero-glow-gold {
  background: var(--gold);
  bottom: -200px;
  right: -100px;
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-text { max-width: 560px; }

.hero-text h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  margin-top: var(--space-4);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: var(--lh-relaxed);
  margin-top: var(--space-5);
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-top: var(--space-5);
}
.hero-trust svg { color: var(--brand); flex-shrink: 0; }

/* ─── Hero Credential Card ──────────────────────────────── */
.hero-credential {
  position: relative;
  z-index: 1;
}

.credential-card {
  background: var(--bg-credential);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-credential);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}
.credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--brand));
  opacity: 0.6;
}

.credential-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.credential-label {
  font-family: var(--font-display);
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.credential-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-tiny);
  color: var(--text-muted);
}
.credential-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-rose);
}
.credential-status.is-ready .status-dot { background: var(--brand); }

.credential-code-display {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-default);
  margin-bottom: var(--space-6);
}

.credential-code {
  font-family: var(--font-mono);
  font-size: var(--fs-code);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  line-height: 1.2;
  word-break: break-all;
}

.credential-code-pending {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 600;
}

.credential-code-sub {
  font-size: var(--fs-tiny);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

.credential-actions {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.credential-copy-btn {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  transition: all var(--t-base) var(--ease);
}
.credential-copy-btn:hover { border-color: var(--border-strong); color: var(--text-primary); background: var(--bg-hover); }
.credential-copy-btn.copied { color: var(--brand); border-color: var(--brand); }
.credential-copy-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.credential-qr {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5);
  background: rgba(0, 0, 0, 0.20);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.credential-qr-img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 6px;
  flex-shrink: 0;
}
.credential-qr-img img { width: 100%; height: 100%; }

.credential-qr-placeholder {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px dashed var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
}

.credential-qr-text h4 {
  font-size: var(--fs-small);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}
.credential-qr-text p {
  font-size: var(--fs-tiny);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

.credential-note {
  font-size: var(--fs-tiny);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-4);
  line-height: var(--lh-normal);
}

/* ─── Partner Code Section ──────────────────────────────── */
.partner-code-section {
  background: var(--bg-surface-alt);
  border-block: 1px solid var(--border-subtle);
}

.code-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.code-card-large {
  background: var(--bg-credential);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-credential);
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
}
.code-card-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--brand));
  opacity: 0.5;
}

.code-card-large .credential-code-display {
  margin-bottom: var(--space-8);
}

.code-card-info h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-3);
}
.code-card-info p {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
}

.code-card-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.info-pill {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.info-pill-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.info-pill-icon.gold { background: var(--gold-dim); color: var(--gold); }
.info-pill h4 { font-size: var(--fs-small); margin-bottom: var(--space-1); }
.info-pill p { font-size: var(--fs-tiny); color: var(--text-muted); line-height: var(--lh-normal); }

/* ─── Steps Section ─────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  transition: all var(--t-base) var(--ease);
}
.step-card:hover { border-color: var(--border-default); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-dim);
  border: 1px solid rgba(0, 240, 222, 0.20);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand);
  margin-bottom: var(--space-5);
}

.step-card h3 { font-size: var(--fs-body); font-weight: 700; margin-bottom: var(--space-2); }
.step-card p { font-size: var(--fs-small); color: var(--text-secondary); line-height: var(--lh-relaxed); margin-bottom: var(--space-5); }

.step-cta { margin-top: auto; }

/* ─── Value Props (Why Use) ─────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--t-base) var(--ease);
}
.value-card:hover { border-color: rgba(0, 240, 222, 0.20); box-shadow: var(--shadow-md); }

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: var(--space-5);
}
.value-icon.gold { background: var(--gold-dim); color: var(--gold); }

.value-card h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.value-card p { font-size: var(--fs-small); color: var(--text-secondary); line-height: var(--lh-relaxed); }

/* ─── Download Section ──────────────────────────────────── */
.download-section {
  background: var(--bg-surface-alt);
  border-block: 1px solid var(--border-subtle);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto var(--space-8);
}

.download-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--t-base) var(--ease);
}
.download-card:hover { border-color: rgba(255, 184, 0, 0.22); box-shadow: var(--shadow-md); }

.download-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto var(--space-5);
}

.download-card h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.download-card p { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--space-5); }

.download-note {
  text-align: center;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--space-5);
  background: rgba(255, 184, 0, 0.06);
  border: 1px solid rgba(255, 184, 0, 0.15);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
}
.download-note strong { color: var(--gold); }

/* ─── Eligibility / Claims Clarity ─────────────────────── */
.eligibility-section {
  background: var(--bg-base);
}

.eligibility-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.eligibility-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold);
}

.eligibility-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.eligibility-item p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}
.eligibility-item strong { color: var(--text-primary); }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease);
}
.faq-item[open] { border-color: rgba(0, 240, 222, 0.20); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  width: 100%;
  text-align: start;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--t-base) var(--ease);
}
.faq-item[open] .faq-icon { transform: rotate(180deg); color: var(--brand); }

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
}

/* ─── CTA Strip ─────────────────────────────────────────── */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-10);
}

/* ─── Final CTA ─────────────────────────────────────────── */
.final-cta {
  position: relative;
  text-align: center;
  padding-block: var(--space-24);
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0, 240, 222, 0.08), transparent 70%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: var(--lh-relaxed);
  margin-top: var(--space-4);
}

.final-cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

/* ─── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--space-12) var(--space-8);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
}
.footer-brand .brand-name { color: var(--text-primary); }

.footer-links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  font-size: var(--fs-small);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-disclaimer {
  width: 100%;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--fs-tiny);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* ─── Sticky CTA (Mobile) ───────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-default);
}
.sticky-cta.is-visible { display: flex; }
.sticky-cta .btn { flex: 1; }

/* ─── RTL Support ───────────────────────────────────────── */
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-glow-cyan { left: auto; right: -100px; }
[dir="rtl"] .hero-glow-gold { right: auto; left: -100px; }
[dir="rtl"] .eligibility-item { border-left: none; border-right: 3px solid var(--gold); }
[dir="rtl"] .credential-actions { flex-direction: row-reverse; }
[dir="rtl"] .footer-inner { flex-direction: row-reverse; }
[dir="rtl"] .code-card-grid,
[dir="rtl"] .steps-grid,
[dir="rtl"] .value-grid,
[dir="rtl"] .download-grid { direction: rtl; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero-text { max-width: 100%; }
  .code-card-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --space-20: 56px; --space-24: 64px; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-4);
    gap: var(--space-2);
    align-items: stretch;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); }
  .nav-links a:hover { background: var(--bg-hover); }

  .btn-desktop-only { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding-top: calc(var(--nav-height) + var(--space-10)); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  .credential-actions { flex-direction: column; }
  .credential-qr { flex-direction: column; text-align: center; }
  .credential-qr-text { text-align: center; }

  .steps-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }

  .final-cta-buttons { flex-direction: column; }
  .final-cta-buttons .btn { width: 100%; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .sticky-cta.is-visible { display: flex; }
  body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }
  .credential-card { padding: var(--space-5); }
  .code-card-large { padding: var(--space-6); }
  .step-card, .value-card, .download-card { padding: var(--space-5); }
}

/* ─── Reduced Motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ─── Print ─────────────────────────────────────────────── */
@media print {
  .site-header, .sticky-cta, .hero-glow, .hero-bg-grid { display: none; }
  body { background: #fff; color: #000; }
}
