/**
 * 一分机场 (yifenjic.com) - 官方极客工程级全站视觉系统
 * 主题：黑曜石极夜钛黑底色 + 电离矩阵翡翠绿 / 赛博量子青高光渐变
 * (Obsidian Midnight Titanium & Matrix Emerald / Cyber Quantum Cyan)
 */

:root {
  /* 基础底色体系 - 黑曜石极夜钛黑 */
  --bg-primary: #070a0e;
  --bg-secondary: #0b1117;
  --bg-card: #0f1720;
  --bg-card-hover: #14202c;
  --bg-terminal: #05070a;
  --bg-header: rgba(7, 10, 14, 0.88);
  --bg-glass: rgba(15, 23, 32, 0.7);

  /* 高光与离子流渐变体系 - 电离矩阵翡翠绿 & 赛博量子青 */
  --accent-emerald: #00ff88;
  --accent-emerald-dim: #05b364;
  --accent-emerald-dark: #00381d;
  --accent-cyan: #00f0ff;
  --accent-cyan-dim: #0891b2;
  --accent-cyan-dark: #003747;
  
  --gradient-matrix: linear-gradient(135deg, #00ff88 0%, #00f0ff 100%);
  --gradient-matrix-rev: linear-gradient(135deg, #00f0ff 0%, #00ff88 100%);
  --gradient-titanium: linear-gradient(180deg, rgba(20, 32, 44, 0.6) 0%, rgba(11, 17, 23, 0.8) 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(0, 255, 136, 0.15) 0%, rgba(0, 240, 255, 0.05) 50%, transparent 70%);

  /* 边框体系 */
  --border-subtle: rgba(0, 255, 136, 0.12);
  --border-medium: rgba(0, 240, 255, 0.22);
  --border-strong: rgba(0, 255, 136, 0.38);
  --border-glow: rgba(0, 240, 255, 0.6);

  /* 阴影发光 */
  --glow-emerald: 0 0 25px rgba(0, 255, 136, 0.25);
  --glow-cyan: 0 0 25px rgba(0, 240, 255, 0.25);
  --glow-subtle: 0 10px 30px rgba(0, 0, 0, 0.6);

  /* 文字排版 */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-emerald: #00ff88;
  --text-cyan: #00f0ff;
  --text-warning: #f59e0b;
  --text-danger: #ef4444;

  /* 字体族系 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", 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-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(0, 255, 136, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(0, 240, 255, 0.04) 0%, transparent 40%),
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* 链接与排版 */
a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-emerald);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

.text-gradient {
  background: var(--gradient-matrix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan {
  color: var(--accent-cyan);
}

.text-emerald {
  color: var(--accent-emerald);
}

.text-muted {
  color: var(--text-muted);
}

.font-mono {
  font-family: var(--font-mono);
}

/* 容器与布局 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
}

/* 顶部导航栏 (Header) */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header.scrolled {
  border-bottom-color: var(--border-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 255, 136, 0.05);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--gradient-matrix);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #05070a;
  font-weight: 900;
  font-size: 16px;
  box-shadow: var(--glow-emerald);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 999px;
  color: var(--accent-emerald);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.2s;
  padding: 6px 2px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-emerald);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-matrix);
  border-radius: 2px;
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

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

.btn-primary {
  background: var(--gradient-matrix);
  color: #05070a;
  box-shadow: var(--glow-emerald);
}

.btn-primary:hover {
  color: #020406;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5), 0 0 15px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(15, 23, 32, 0.6);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

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

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

.btn-block {
  width: 100%;
}

/* 标签 Badge */
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 卡片与网格系统 */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  box-shadow: var(--glow-subtle), 0 0 20px rgba(0, 240, 255, 0.08);
  transform: translateY(-3px);
}

.card-titanium {
  background: var(--gradient-titanium);
  border: 1px solid var(--border-medium);
}

/* 终端模拟器卡片 Terminal Box */
.terminal-card {
  background: var(--bg-terminal);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-family: var(--font-mono);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

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

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

.console-dot.red { background: #ff5f56; }
.console-dot.yellow { background: #ffbd2e; }
.console-dot.green { background: #27c93f; }

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

/* Section 通用布局 */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

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

.section-title {
  font-size: 32px;
  margin: 12px 0 16px 0;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* 3大差异化交互组件特有样式 (Dashboard) */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.board-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

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

.board-card-title {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.board-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.proto-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.2s;
}

.proto-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.proto-btn.active {
  background: rgba(0, 255, 136, 0.12);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

/* 协议对比模拟看板内部网格 */
.dpi-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.dpi-card-left, .dpi-card-right {
  background: var(--bg-terminal);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-subtle);
}

.dpi-card-left {
  border-color: rgba(239, 68, 68, 0.3);
}

.dpi-card-right {
  border-color: rgba(0, 255, 136, 0.35);
  box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.05);
}

.dpi-status-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
}

.packet-log {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.35);
  padding: 12px;
  border-radius: var(--radius-sm);
  min-height: 110px;
  line-height: 1.7;
}

/* Jitter 仪表盘 Canvas */
.canvas-wrapper {
  background: var(--bg-terminal);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 12px;
}

#jitterCanvas {
  width: 100%;
  height: 240px;
  display: block;
}

.node-metrics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.metric-pill-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.metric-pill-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.metric-pill-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
}

/* 跑分看板 Tabs 与跑分条 */
.bench-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.bench-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}

.bench-tab.active {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid var(--border-medium);
}

.bench-result-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.bench-item-card {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.bench-item-name {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bench-progress-wrap {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.bench-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-matrix);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bench-stat-val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

/* 定价卡片与表格 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

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

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-medium);
  box-shadow: var(--glow-cyan);
}

.price-card.featured {
  border-color: var(--accent-emerald);
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.05) 0%, rgba(15, 23, 32, 0.9) 100%);
  box-shadow: var(--glow-emerald);
}

.featured-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gradient-matrix);
  color: #05070a;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.price-tier-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.price-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.currency-sym {
  font-size: 20px;
  color: var(--text-secondary);
}

.price-val {
  font-size: 38px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.price-cycle {
  font-size: 13px;
  color: var(--text-muted);
}

.price-feature-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: bold;
}

/* FAQ 手风琴 (Accordion) */
/* FAQ 手风琴与增强搜索过滤体系 */
.faq-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.faq-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-tab-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.faq-tab-btn.active {
  background: rgba(0, 255, 136, 0.12);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.faq-search-wrapper {
  max-width: 680px;
  margin: 0 auto 30px auto;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  background: var(--bg-terminal);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.faq-search-input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.35);
}

.faq-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-cyan);
  font-size: 16px;
  pointer-events: none;
}

.faq-in-cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

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

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

.faq-question {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-emerald);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 22px 20px 22px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}

/* 资讯中心样式 (News) */
.news-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.news-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.news-filter-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.news-filter-btn.active {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  font-weight: 700;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

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

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

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.news-category-badge {
  padding: 2px 8px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  color: var(--accent-cyan);
  font-weight: 600;
}

.news-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

.news-full-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 0;
}

.news-full-body.open {
  max-height: 2000px;
  opacity: 1;
  padding-top: 18px;
  margin-bottom: 18px;
}

.news-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.news-toggle-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--accent-cyan);
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

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

.page-num-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.page-num-btn.active {
  background: var(--gradient-matrix);
  color: #05070a;
  font-weight: 700;
  border-color: transparent;
}

/* 帮助中心使用手册 (Help) */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

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

.help-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.help-card-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.help-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-box {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  font-size: 13.5px;
}

.step-num {
  color: var(--accent-emerald);
  font-weight: 700;
  font-family: var(--font-mono);
  margin-right: 6px;
}

/* 页脚 Footer */
.footer {
  margin-top: auto;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

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

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 16px 0 20px 0;
  max-width: 320px;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

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

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

.footer-link:hover {
  color: var(--accent-emerald);
}

.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: 12.5px;
  color: var(--text-muted);
}

/* 响应式断点适配 */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dpi-compare-grid {
    grid-template-columns: 1fr;
  }
  .bench-result-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  .nav-menu {
    display: none;
  }
  .section-title {
    font-size: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .board-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

