/* ============================================================
   Bitget V8 — AEO Answer Hub Design System
   Pure static CSS. No frameworks. No CDN.
   Aesthetic: AI Search Answer Terminal — dark, structured,
   answer-first hierarchy with clear CTA rhythm.
   ============================================================ */

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  /* Color System */
  --bg-base: #0A0E17;
  --bg-surface: #111726;
  --bg-surface-alt: #0D1320;
  --bg-elevated: #161E33;
  --bg-hover: #1A2238;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --text-primary: #F0F4FA;
  --text-secondary: #A8B3C7;
  --text-muted: #6B7691;
  --text-inverse: #0A0E17;

  /* Brand — Bitget Cyan */
  --accent-primary: #00F0FF;
  --accent-primary-dim: rgba(0, 240, 255, 0.12);
  --accent-primary-glow: rgba(0, 240, 255, 0.25);

  /* CTA Colors */
  --cta-register: #00F0FF;
  --cta-register-bg: #00F0FF;
  --cta-register-text: #0A0E17;
  --cta-register-hover: #5CF7FF;
  --cta-download: #FFB547;
  --cta-download-bg: rgba(255, 181, 71, 0.12);
  --cta-download-border: rgba(255, 181, 71, 0.35);
  --cta-download-text: #FFB547;
  --cta-download-hover: rgba(255, 181, 71, 0.20);

  /* Cluster Tags */
  --tag-register: #00F0FF;
  --tag-download: #FFB547;
  --tag-beginner: #7DD3FC;
  --tag-trust: #F87171;
  --tag-risk: #FB923C;

  /* Typography */
  --font-display: 'SF Pro Display', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'SF Pro Text', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  --fs-hero: clamp(2.2rem, 5vw, 3.4rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.1rem);
  --fs-h3: 1.15rem;
  --fs-body: 0.95rem;
  --fs-small: 0.82rem;
  --fs-tiny: 0.72rem;

  --lh-tight: 1.15;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 760px;
  --grid-gap: 24px;
  --nav-height: 64px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 24px var(--accent-primary-glow);

  /* Transitions */
  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 350ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -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;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--cta-register-hover);
}

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

/* ─── Accessibility ─────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--accent-primary);
  color: var(--text-inverse);
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 var(--radius-md) 0;
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ─── Layout System: 12/8/4 Grid ────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-sub {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

/* ─── Navigation ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text-primary);
}

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

.brand-name {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: var(--accent-primary-dim);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-left: var(--space-xs);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  margin-left: auto;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  font-weight: 500;
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

.lang-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-trigger:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  display: grid;
  gap: 2px;
  z-index: 200;
}

.lang-option {
  display: block;
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.lang-option:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.lang-option.is-current {
  color: var(--accent-primary);
  background: var(--accent-primary-dim);
  font-weight: 600;
}

/* ─── Hero Section ──────────────────────────────────────── */
.hero-section {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-2xl);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

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

.hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: var(--accent-primary-dim);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.hero-section h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #F0F4FA 0%, #A8B3C7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: var(--lh-normal);
  margin-bottom: var(--space-md);
}

.hero-desc {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.hero-trust {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  line-height: var(--lh-relaxed);
}

.hero-hot-questions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

.hot-q-link {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.hot-q-link:hover {
  color: var(--accent-primary);
  border-color: rgba(0, 240, 255, 0.3);
  background: var(--accent-primary-dim);
}

/* ─── Button System ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:disabled,
.btn[data-register-pending] {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-sm {
  padding: 9px 18px;
  font-size: var(--fs-small);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--cta-register-bg);
  color: var(--cta-register-text);
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.2);
}

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

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-download:hover {
  background: var(--cta-download-hover);
  color: var(--cta-download-text);
  border-color: rgba(255, 181, 71, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* ─── Top Questions Grid ────────────────────────────────── */
.topq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}

.topq-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.topq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.topq-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  background: var(--bg-elevated);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}

.topq-card:hover::before {
  opacity: 1;
}

.topq-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-primary-dim);
  border-radius: var(--radius-md);
  color: var(--accent-primary);
}

.topq-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.topq-q {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: var(--lh-normal);
  color: var(--text-primary);
}

.topq-hint {
  font-size: var(--fs-tiny);
  color: var(--text-muted);
}

.topq-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-base), color var(--transition-fast);
}

.topq-card:hover .topq-arrow {
  color: var(--accent-primary);
  transform: translateX(4px);
}

/* ─── Cluster Tags ──────────────────────────────────────── */
.cluster-tag {
  display: inline-block;
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.cluster-tag-register { background: rgba(0, 240, 255, 0.12); color: var(--tag-register); }
.cluster-tag-download { background: rgba(255, 181, 71, 0.12); color: var(--tag-download); }
.cluster-tag-beginner { background: rgba(125, 211, 252, 0.12); color: var(--tag-beginner); }
.cluster-tag-trust { background: rgba(248, 113, 113, 0.12); color: var(--tag-trust); }

/* ─── Answer Blocks ─────────────────────────────────────── */
.answers-list {
  display: grid;
  gap: var(--space-md);
  max-width: 880px;
  margin: 0 auto;
}

.answer-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition-base);
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.answer-block:hover {
  border-color: var(--border-default);
}

.answer-block:target {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 0 3px var(--accent-primary-dim);
}

.answer-q-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.answer-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  color: var(--accent-primary);
}

.answer-q {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.answer-short {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.answer-details {
  margin-bottom: var(--space-md);
}

.answer-expand {
  font-size: var(--fs-small);
  color: var(--accent-primary);
  cursor: pointer;
  font-weight: 500;
  padding: var(--space-xs) 0;
  display: inline-block;
}

.answer-expand:hover {
  color: var(--cta-register-hover);
}

.answer-long {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

.answer-cta {
  margin-top: var(--space-sm);
}

.answer-cta-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

/* ─── Quick Start Flow ──────────────────────────────────── */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--grid-gap);
  margin-bottom: var(--space-2xl);
}

.flow-step {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
  z-index: 1;
}

.flow-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
}

.flow-title {
  font-size: var(--fs-body);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.flow-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}

.flow-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* ─── Knowledge Graph ───────────────────────────────────── */
.kg-graph {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.kg-center {
  position: relative;
  z-index: 2;
}

.kg-core {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-2xl);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(0, 240, 255, 0.05));
  border: 2px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.kg-ring {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  width: 100%;
}

.kg-node {
  padding: var(--space-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
}

.kg-node:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.kg-node-title {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.kg-node-desc {
  display: block;
  font-size: var(--fs-tiny);
  color: var(--text-muted);
}

.kg-node-register { border-color: rgba(0, 240, 255, 0.2); }
.kg-node-register .kg-node-title { color: var(--tag-register); }
.kg-node-download { border-color: rgba(255, 181, 71, 0.2); }
.kg-node-download .kg-node-title { color: var(--tag-download); }
.kg-node-beginner { border-color: rgba(125, 211, 252, 0.2); }
.kg-node-beginner .kg-node-title { color: var(--tag-beginner); }
.kg-node-risk { border-color: rgba(248, 113, 113, 0.2); }
.kg-node-risk .kg-node-title { color: var(--tag-trust); }
.kg-node-lang { border-color: rgba(0, 240, 255, 0.15); }
.kg-node-verify { border-color: rgba(251, 146, 60, 0.2); }
.kg-node-verify .kg-node-title { color: var(--tag-risk); }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-list {
  display: grid;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-default);
}

.faq-item[open] {
  border-color: rgba(0, 240, 255, 0.2);
}

.faq-q {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-primary);
  font-weight: 300;
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 var(--space-lg) var(--space-md);
}

.faq-a p {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
}

/* ─── Risk Banner ───────────────────────────────────────── */
.risk-banner {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(248, 113, 113, 0.06);
  border: 1px solid rgba(248, 113, 113, 0.15);
  border-radius: var(--radius-lg);
  text-align: center;
}

.risk-banner h3 {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--tag-trust);
  line-height: var(--lh-relaxed);
}

/* ─── Final CTA ─────────────────────────────────────────── */
.final-cta-section {
  background: linear-gradient(180deg, var(--bg-base), var(--bg-surface-alt));
  border-top: 1px solid var(--border-subtle);
}

.final-cta-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta-box h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

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

.register-notice-text {
  margin-top: var(--space-lg);
  font-size: var(--fs-small);
  color: var(--tag-risk);
  font-weight: 600;
}

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

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-tagline {
  font-size: var(--fs-tiny);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: var(--space-xs);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--fs-small);
}

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

.footer-disclaimer,
.footer-risk {
  font-size: var(--fs-tiny);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 600px;
  margin: 0 auto var(--space-sm);
}

.footer-risk {
  color: var(--tag-trust);
  opacity: 0.7;
}

.footer-rights {
  font-size: var(--fs-tiny);
  color: var(--text-muted);
  margin-top: var(--space-md);
}

/* ─── Sticky CTA (Mobile) ───────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: var(--space-sm) var(--space-md);
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-default);
  gap: var(--space-sm);
}

.sticky-cta .btn {
  flex: 1;
}

/* ─── Download Page ─────────────────────────────────────── */
.download-page {
  background: var(--bg-base);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-lg);
}

.download-main {
  width: 100%;
  max-width: 560px;
}

.download-container {
  text-align: center;
}

.download-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.download-container h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.download-sub {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.download-options {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.download-manual {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.download-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  text-align: left;
  transition: all var(--transition-base);
}

.download-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  background: var(--bg-elevated);
  transform: translateY(-1px);
  color: var(--text-primary);
}

.download-card svg {
  color: var(--accent-primary);
  flex-shrink: 0;
}

.download-label {
  display: block;
  font-size: var(--fs-tiny);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.download-name {
  display: block;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text-primary);
}

.download-note {
  font-size: var(--fs-small);
  color: var(--text-muted);
  padding: var(--space-md);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

/* ─── Responsive: Tablet (8 columns) ────────────────────── */
@media (max-width: 1024px) {
  .topq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .flow-step:nth-child(4)::after,
  .flow-step:nth-child(3)::after {
    display: none;
  }

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

  .nav-links {
    gap: var(--space-md);
  }
}

/* ─── Responsive: Mobile (4 columns) ────────────────────── */
@media (max-width: 768px) {
  :root {
    --space-3xl: 64px;
    --space-2xl: 48px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-default);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-actions .btn-sm {
    padding: 8px 14px;
    font-size: var(--fs-tiny);
  }

  .menu-toggle {
    display: flex;
  }

  .lang-switcher {
    margin-left: auto;
  }

  .lang-trigger span {
    display: none;
  }

  .topq-grid {
    grid-template-columns: 1fr;
  }

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

  .flow-step::after {
    display: none !important;
  }

  .flow-step:not(:last-child) {
    border-bottom: 1px solid var(--border-subtle);
  }

  .kg-ring {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .final-cta-buttons {
    flex-direction: column;
  }

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

  .sticky-cta {
    display: flex;
  }

  body {
    padding-bottom: 64px;
  }

  .hero-hot-questions {
    flex-direction: column;
    align-items: stretch;
  }

  .hot-q-link {
    text-align: center;
  }

  .answer-cta-group {
    flex-direction: column;
  }

  .answer-cta-group .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .nav-actions .btn-download {
    display: none;
  }

  .brand-badge {
    display: none;
  }
}

/* ─── RTL Support ───────────────────────────────────────── */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .nav-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .nav-links a::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .topq-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .topq-card:hover .topq-arrow {
  transform: scaleX(-1) translateX(4px);
}

[dir="rtl"] .flow-step:not(:last-child)::after {
  right: auto;
  left: -16px;
}

[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .answer-q-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-links {
  flex-direction: row-reverse;
}

/* ─── Print ─────────────────────────────────────────────── */
@media print {
  .site-header,
  .sticky-cta,
  .hero-bg-grid,
  .nav-actions,
  .lang-switcher,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
