/* ==========================================================================
   TAG Quantum™ - 金融级全球 Anycast 超低延迟专线与多路径量子中继网络
   视觉规范：深空星暴银黑底色 (#08090d / #0e1118) + 脉冲日冕琥珀金 (#f59e0b / #fbbf24) 与聚变等离子橙 (#ff5722 / #ff7849) 高光渐变
   ========================================================================== */

:root {
  /* 基础主底色：深空星暴银黑 */
  --bg-primary: #08090d;
  --bg-secondary: #0e1118;
  --bg-tertiary: #131722;
  --bg-card: rgba(19, 23, 34, 0.78);
  --bg-card-hover: rgba(26, 32, 47, 0.92);
  --bg-card-elevated: #181d2a;
  --bg-terminal: #07080c;

  /* 高光与聚变渐变：日冕琥珀金 + 聚变等离子橙 */
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-orange: #ff5722;
  --accent-orange-light: #ff7849;
  --accent-amber: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.28);
  --accent-orange-glow: rgba(255, 87, 34, 0.25);

  /* 状态色彩 */
  --status-success: #10b981;
  --status-warning: #f59e0b;
  --status-danger: #ef4444;
  --status-info: #fbbf24;

  /* 渐变体系 */
  --gradient-quantum: linear-gradient(135deg, #f59e0b 0%, #ff5722 100%);
  --gradient-quantum-rev: linear-gradient(135deg, #ff5722 0%, #f59e0b 100%);
  --gradient-corona: linear-gradient(135deg, #fbbf24 0%, #ff7849 100%);
  --gradient-card: linear-gradient(180deg, rgba(24, 29, 43, 0.7) 0%, rgba(14, 17, 24, 0.85) 100%);
  --gradient-border: linear-gradient(135deg, rgba(245, 158, 11, 0.4) 0%, rgba(255, 87, 34, 0.2) 50%, rgba(255, 255, 255, 0.04) 100%);

  /* 文字色彩 */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #08090d;

  /* 边框与阴影 */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(245, 158, 11, 0.25);
  --border-strong: rgba(245, 158, 11, 0.5);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.25);
  --shadow-glow-strong: 0 0 40px rgba(255, 87, 34, 0.35);

  /* 尺寸与排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, Menlo, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 85% 30%, rgba(255, 87, 34, 0.05) 0%, transparent 50%),
              var(--bg-primary);
}

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

img, svg {
  vertical-align: middle;
}

/* 容器规范 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 排版工具类 */
.font-mono {
  font-family: var(--font-mono);
}

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

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

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

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

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

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

/* 顶部导航栏 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: border-color 0.3s ease;
}

.header.scrolled {
  border-bottom: 1px solid var(--border-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 统一 Logo 规范：严格为简洁大气的 TAG */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--gradient-quantum);
  color: var(--text-dark);
  font-weight: 900;
  font-size: 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 16px var(--accent-glow);
}

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

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-quantum);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-glow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 统一按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

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

.btn-primary {
  background: var(--gradient-quantum);
  color: #08090d;
  box-shadow: 0 4px 18px var(--accent-glow);
  border: 1px solid rgba(251, 191, 36, 0.5);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-orange-glow);
  background: var(--gradient-corona);
}

.btn-secondary {
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent-gold-light);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: var(--accent-gold);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.05);
}

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

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

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent-gold-light);
  margin-bottom: 24px;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.15);
}

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

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

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-subtle);
}

.hero-meta-item {
  text-align: center;
}

.hero-meta-label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-meta-value {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-gold-light);
}

/* 通用区块与卡片 */
.section {
  padding: 80px 0;
  position: relative;
}

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

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

.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

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

/* 交互看板控制面板卡片规范 */
.console-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 40px;
}

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

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(8, 9, 13, 0.7);
  border-bottom: 1px solid var(--border-subtle);
}

.console-dots {
  display: flex;
  gap: 8px;
}

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

.console-dot.red { background: #ef4444; }
.console-dot.yellow { background: #f59e0b; }
.console-dot.green { background: #10b981; }

.console-body {
  padding: 24px;
}

/* 交互看板 1: BGP Anycast 拓扑 */
.topo-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.topo-btn {
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topo-btn.active, .topo-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

.canvas-container {
  position: relative;
  width: 100%;
  height: 320px;
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.canvas-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.topo-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.topo-stat-box {
  background: rgba(8, 9, 13, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 14px 18px;
  border-radius: var(--radius-md);
}

.topo-stat-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.topo-stat-value {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-gold-light);
}

/* 交互看板 2: 8K 极限压测仪 */
.speed-test-panel {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: stretch;
}

.speed-metric-display {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}

.speed-gauge-val {
  font-size: 56px;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-quantum);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.speed-gauge-unit {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 20px;
}

.speed-metrics-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  text-align: left;
}

/* 交互看板 3: AI 探针 */
.probe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.probe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.probe-target {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.probe-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
}

.probe-data-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

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

.probe-data-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-gold-light);
}

/* 四维技术矩阵 */
.tech-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-quantum);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.tech-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
  margin-bottom: 20px;
}

.tech-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* 套餐价格卡片 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

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

.pricing-card.featured {
  border-color: var(--accent-gold);
  background: var(--gradient-card);
  box-shadow: 0 0 35px var(--accent-glow);
  transform: scale(1.03);
}

.pricing-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent-gold-light);
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-quantum);
  color: #08090d;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.plan-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

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

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold);
}

.plan-amount {
  font-size: 42px;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
}

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

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

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

.plan-feature-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* FAQ 手风琴 */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

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

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

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

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--accent-gold);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* SEO 文章内容排版容器 */
.seo-content-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 40px;
}

.seo-content-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin: 24px 0 12px;
}

.seo-content-block h3:first-child {
  margin-top: 0;
}

.seo-content-block p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* 页脚规范：严禁出现 XML 网站地图 链接，Logo 严格为 TAG */
.footer {
  background: #050609;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  margin-top: auto;
}

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

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

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

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 10px;
}

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-meta-tags {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .hero-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-matrix-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .probe-grid { grid-template-columns: 1fr; }
  .speed-test-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }
  .hero-meta-grid { grid-template-columns: 1fr; }
  .tech-matrix-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .topo-stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ==========================================================================
   页面专属扩展样式表：资费对比 / 资讯中心 / 教程帮助 / 法律条款 / 异常路由
   ========================================================================== */

/* 资费横向对比表 */
.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-top: 40px;
  box-shadow: var(--shadow-medium);
}

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

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.pricing-table th {
  background: rgba(8, 9, 13, 0.8);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--bg-card-elevated);
  z-index: 2;
  font-weight: 600;
}

.pricing-table tr:hover td {
  background: rgba(245, 158, 11, 0.04);
}

.table-badge-highlight {
  color: var(--accent-gold-light);
  font-weight: 700;
}

/* 支付与保障说明 */
.guarantee-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(255, 87, 34, 0.05) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.guarantee-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-quantum);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #08090d;
  flex-shrink: 0;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.payment-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* 资讯中心样式 */
.news-filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

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

.news-filter-btn.active, .news-filter-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

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

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

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

.news-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-category-badge {
  padding: 3px 10px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.news-date {
  font-size: 12.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

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

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

.news-full-body {
  display: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.75;
}

.news-full-body.open {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.news-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--accent-gold);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.news-toggle-btn:hover {
  color: var(--accent-orange-light);
}

/* 分页器控件 */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

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

.page-num-btn:hover, .page-num-btn.active {
  background: var(--gradient-quantum);
  border-color: transparent;
  color: #08090d;
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* 帮助中心样式 */
.tutorial-tab-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  overflow-x: auto;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.tab-btn.active, .tab-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

.tutorial-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--gradient-quantum);
  color: #08090d;
  font-weight: 800;
  font-size: 13px;
  border-radius: 50%;
  margin-right: 12px;
}

.code-snippet-box {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-gold-light);
  position: relative;
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* DNS 泄漏检测交互组件 */
.leak-test-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
}

.leak-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

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

.leak-item-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.leak-item-val {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* 法律合规文档样式 (隐私政策 & 服务条款) */
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 96px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.legal-nav-link {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.legal-nav-link:hover, .legal-nav-link.active {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold-light);
}

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

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

/* 404 页面样式 */
.error-page-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  padding: 40px 20px;
}

.error-card {
  max-width: 600px;
  width: 100%;
  background: var(--bg-terminal);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-glow);
}

.error-code {
  font-size: 80px;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
  background: var(--gradient-quantum);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
