/* ==========================================================================
   AmneziaVPN.my - 尖端军工级去中心化零信任网络与特种骨干加速器
   视觉主题：黑曜石极夜钛黑 (Obsidian Midnight Titanium) + 电离矩阵翡翠绿 / 赛博量子青
   (Matrix Emerald & Cyber Quantum Cyan)
   规范：纯原生 CSS3、零外部重量级框架依赖、极速高刷与自适应排版
   ========================================================================== */

:root {
  /* 基础底色系统：黑曜石极夜钛黑 */
  --bg-black: #030507;
  --bg-primary: #060a0f;
  --bg-secondary: #0a1118;
  --bg-tertiary: #0f1822;
  --bg-elevated: #152230;
  --bg-glass: rgba(10, 17, 24, 0.78);
  --bg-glass-card: rgba(15, 24, 34, 0.65);

  /* 电离矩阵翡翠绿 (Matrix Emerald) */
  --emerald-pure: #00f59b;
  --emerald-bright: #10b981;
  --emerald-glow: rgba(0, 245, 155, 0.35);
  --emerald-subtle: rgba(16, 185, 129, 0.12);

  /* 赛博量子青 (Cyber Quantum Cyan) */
  --cyan-pure: #00e5ff;
  --cyan-bright: #06b6d4;
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --cyan-subtle: rgba(6, 182, 212, 0.12);

  /* 渐变与离子光晕 */
  --gradient-plasma: linear-gradient(135deg, #00f59b 0%, #00e5ff 100%);
  --gradient-plasma-rev: linear-gradient(135deg, #00e5ff 0%, #00f59b 100%);
  --gradient-dark: linear-gradient(180deg, #0a1118 0%, #060a0f 100%);
  --gradient-border: linear-gradient(135deg, rgba(0, 245, 155, 0.5) 0%, rgba(0, 229, 255, 0.5) 100%);

  /* 边框体系 */
  --border-muted: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(0, 245, 155, 0.18);
  --border-cyan: rgba(0, 229, 255, 0.22);
  --border-active: rgba(0, 245, 155, 0.65);

  /* 文本色系 */
  --text-white: #f8fafc;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  --text-dim: #475569;

  /* 状态指示色 */
  --status-online: #00f59b;
  --status-warning: #fbbf24;
  --status-danger: #f43f5e;

  /* 阴影与电离发光 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.85);
  --glow-emerald: 0 0 24px rgba(0, 245, 155, 0.3);
  --glow-cyan: 0 0 24px rgba(0, 229, 255, 0.3);
  --glow-dual: 0 0 35px rgba(0, 245, 155, 0.22), 0 0 20px rgba(0, 229, 255, 0.22);

  /* 字体家族 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, "Courier New", monospace;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* 全局重置与基础样式 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 245, 155, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* 容器规范 */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 顶部导航栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-white);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 245, 155, 0.2) 0%, rgba(0, 229, 255, 0.2) 100%);
  border: 1px solid var(--emerald-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-pure);
  box-shadow: var(--glow-emerald);
}

.nav-logo-text {
  background: var(--gradient-plasma);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

/* 动态滑动电离发光指示条 (跟着导航板块平滑位移) */
.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-plasma);
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(0, 245, 155, 0.75), 0 0 6px rgba(0, 229, 255, 0.85);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  pointer-events: none;
  opacity: 0;
  will-change: transform, width;
  z-index: 2;
}

/* 启用动态指示条后，隐藏静态伪元素，避免双重发光条重叠 */
.nav-links.has-indicator .nav-link.active::after {
  display: none !important;
}

/* 静态回退指示条 (移动端或无 JS 环境) */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-plasma);
  border-radius: 2px;
  box-shadow: var(--glow-emerald);
}

/* 全局章节锚点滚动避让顶部吸顶导航栏 */
section[id] {
  scroll-margin-top: 80px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  padding: 8px;
  cursor: pointer;
}

/* 按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  border: 1px solid transparent;
  font-size: 14px;
  padding: 10px 20px;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-plasma);
  color: #030507;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(0, 245, 155, 0.35);
}

.btn-primary:hover {
  background: var(--gradient-plasma-rev);
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.5);
  transform: translateY(-1px);
  color: #030507;
}

.btn-cyan {
  background: linear-gradient(135deg, #00e5ff 0%, #0891b2 100%);
  color: #030507;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.35);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #00e5ff 100%);
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(15, 24, 34, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--emerald-pure);
  color: var(--emerald-pure);
  box-shadow: var(--glow-emerald);
  background: rgba(0, 245, 155, 0.08);
}

.btn-outline-cyan {
  background: rgba(15, 24, 34, 0.7);
  border: 1px solid var(--border-cyan);
  color: var(--text-white);
}

.btn-outline-cyan:hover {
  border-color: var(--cyan-pure);
  color: var(--cyan-pure);
  box-shadow: var(--glow-cyan);
  background: rgba(0, 229, 255, 0.08);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

/* 极客勋章 Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid transparent;
}

.badge-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.badge-emerald {
  background: var(--emerald-subtle);
  border-color: rgba(0, 245, 155, 0.35);
  color: var(--emerald-pure);
}

.badge-cyan {
  background: var(--cyan-subtle);
  border-color: rgba(0, 229, 255, 0.35);
  color: var(--cyan-pure);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-muted);
  color: var(--text-muted);
}

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

.status-dot-cyan {
  background: var(--cyan-pure);
  box-shadow: 0 0 10px var(--cyan-pure);
}

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

/* 卡片通用架构 */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.card-glow:hover {
  border-color: var(--emerald-pure);
  box-shadow: var(--glow-emerald);
}

.card-glow-cyan:hover {
  border-color: var(--cyan-pure);
  box-shadow: var(--glow-cyan);
}

/* 终端界面与代码风格 */
.terminal-window {
  background: #04070a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow-emerald);
  font-family: var(--font-mono);
}

.terminal-header {
  background: #091017;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-muted);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #eab308; }
.terminal-dot.green { background: #22c55e; }

.terminal-title {
  font-size: 12px;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.terminal-body {
  padding: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #c9d1d9;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tagline {
  margin-bottom: 16px;
}

.hero-title {
  font-size: 44px;
  line-height: 1.18;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title-gradient {
  background: var(--gradient-plasma);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-muted);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--emerald-pure);
  line-height: 1.2;
}

.stat-value.cyan {
  color: var(--cyan-pure);
}

.stat-label {
  font-size: 12px;
  color: var(--text-dark);
  margin-top: 4px;
}

/* 差异化交互组件 1: 多协议动态跳频与 DPI 逃逸模拟器 */
.sim-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.sim-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 12px;
}

.sim-tab-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-muted);
  color: var(--text-muted);
  font-size: 13px;
  font-family: var(--font-mono);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-tab-btn:hover {
  color: var(--text-white);
  border-color: var(--cyan-pure);
}

.sim-tab-btn.active {
  background: var(--emerald-subtle);
  border-color: var(--emerald-pure);
  color: var(--emerald-pure);
  box-shadow: var(--glow-emerald);
}

.sim-display-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.sim-box {
  background: #04070a;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 16px;
}

.sim-box-title {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.entropy-meter {
  height: 8px;
  background: #111a24;
  border-radius: 4px;
  overflow: hidden;
  margin: 10px 0;
}

.entropy-bar {
  height: 100%;
  background: var(--gradient-plasma);
  transition: width 0.4s ease;
}

.canvas-stream-wrap {
  position: relative;
  background: #020406;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  height: 110px;
  overflow: hidden;
  margin-top: 12px;
}

/* 差异化交互组件 2: 全球 40+ 核心 Anycast BGP 抖动仪表盘 */
.jitter-dashboard-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
}

.jitter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.jitter-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg-tertiary);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-muted);
}

.jitter-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.jitter-tab.active {
  background: var(--bg-elevated);
  color: var(--emerald-pure);
  font-weight: 600;
}

.node-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.node-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.node-table th {
  padding: 12px 16px;
  background: var(--bg-tertiary);
  color: var(--text-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-muted);
}

.node-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-light);
}

.node-table tr:hover td {
  background: rgba(0, 245, 155, 0.03);
}

/* 差异化交互组件 3: AI / 超清流媒体 / 跨境多店铺跑分看板 */
.benchmark-section {
  padding: 60px 0;
}

.benchmark-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.benchmark-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.benchmark-mode-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.benchmark-mode-btn:hover {
  border-color: var(--cyan-pure);
  background: rgba(6, 182, 212, 0.05);
}

.benchmark-mode-btn.active {
  border-color: var(--emerald-pure);
  background: rgba(0, 245, 155, 0.06);
  box-shadow: var(--glow-emerald);
}

.benchmark-mode-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.benchmark-mode-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.benchmark-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #05080c;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 24px;
}

.bench-metric-card {
  border-right: 1px solid var(--border-muted);
  padding-right: 16px;
}

.bench-metric-card:last-child {
  border-right: none;
  padding-right: 0;
}

.bench-metric-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--emerald-pure);
  margin-bottom: 4px;
}

.bench-metric-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* 核心技术矩阵 Section */
.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.section-badge {
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  border-color: var(--emerald-pure);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), var(--glow-emerald);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--emerald-subtle);
  border: 1px solid rgba(0, 245, 155, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-pure);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 定价卡片 Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--emerald-pure);
  background: linear-gradient(180deg, rgba(0, 245, 155, 0.05) 0%, #0a1118 100%);
  box-shadow: var(--glow-emerald);
}

.popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gradient-plasma);
  color: #030507;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 38px;
  margin-bottom: 20px;
}

.plan-price-wrap {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-muted);
}

.plan-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--emerald-pure);
}

.plan-price {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.plan-period {
  font-size: 13px;
  color: var(--text-dark);
  margin-left: 4px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
}

.plan-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-pure);
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ 手风琴 Accordion */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

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

.faq-item.open {
  border-color: var(--emerald-pure);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--emerald-pure);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* 资讯中心与公报列表组件 */
.news-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
}

.news-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.news-cat-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-muted);
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-cat-btn:hover {
  color: var(--text-white);
  border-color: var(--cyan-pure);
}

.news-cat-btn.active {
  background: var(--cyan-subtle);
  border-color: var(--cyan-pure);
  color: var(--cyan-pure);
  font-weight: 600;
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}

.news-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.news-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-dark);
  font-family: var(--font-mono);
}

.news-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-full-content {
  display: none;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.8;
  padding-top: 16px;
  border-top: 1px dashed var(--border-muted);
  margin-top: 16px;
}

.news-full-content p {
  margin-bottom: 12px;
}

.news-expand-btn {
  background: transparent;
  border: 1px solid var(--border-muted);
  color: var(--emerald-pure);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.news-expand-btn:hover {
  background: var(--emerald-subtle);
  border-color: var(--emerald-pure);
}

/* 分页器 Pagination */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  color: var(--text-light);
  font-size: 13px;
  font-family: var(--font-mono);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover {
  border-color: var(--emerald-pure);
  color: var(--emerald-pure);
}

.page-btn.active {
  background: var(--gradient-plasma);
  color: #030507;
  font-weight: 700;
  border-color: transparent;
  box-shadow: var(--glow-emerald);
}

/* 帮助与文档中心 Layout */
.help-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: flex-start;
}

.help-sidebar {
  position: sticky;
  top: 96px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 20px;
}

.help-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.help-nav-item a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.help-nav-item a:hover, .help-nav-item a.active {
  background: var(--emerald-subtle);
  color: var(--emerald-pure);
  font-weight: 600;
}

.doc-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
}

.doc-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.doc-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0;
}

.doc-step-item {
  display: flex;
  gap: 16px;
  background: #05080c;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 18px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-pure);
  color: var(--emerald-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 法律文档 Typography (Privacy, Terms) */
.legal-container {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.legal-header {
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.legal-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-dark);
  font-family: var(--font-mono);
}

.legal-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin: 32px 0 12px 0;
}

.legal-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.legal-body li {
  margin-bottom: 8px;
}

/* 底部 Footer 规范 */
.footer {
  background: #030508;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: var(--emerald-pure);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-dark);
  font-family: var(--font-mono);
}

/* CTA 横幅 Banner */
.cta-banner {
  background: radial-gradient(circle at 50% 50%, rgba(0, 245, 155, 0.12) 0%, rgba(6, 10, 15, 0.95) 75%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow-emerald);
}

.cta-banner-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-banner-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
}

/* 响应式断点适配 */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .benchmark-modes {
    grid-template-columns: 1fr;
  }
  .benchmark-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bench-metric-card:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #060a0f;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-indicator {
    display: none !important;
  }
  .nav-links.has-indicator .nav-link.active::after {
    display: block !important;
  }
  .menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 32px;
  }
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .help-grid {
    grid-template-columns: 1fr;
  }
  .help-sidebar {
    position: static;
  }
  .sim-display-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 40px 20px;
  }
  .cta-banner-title {
    font-size: 26px;
  }
  .legal-container {
    padding: 28px 20px;
  }
}

