/* ==========================================================================
   MAYIVPN.HOMES - 蚂蚁VPN 官方核心样式系统
   设计风格: Titanium Obsidian & Solar Amber / Flame Orange (钨金暗夜 + 日珥橙渐变)
   ========================================================================== */

:root {
  /* 基础暗黑配色 */
  --bg-deep: #07080b;
  --bg-surface: #0e1118;
  --bg-card: #131722;
  --bg-card-hover: #1a2030;
  --bg-card-active: #20273c;
  --bg-glass: rgba(19, 23, 34, 0.75);

  /* 核心强调色: 能量琥珀金 & 日珥橙 */
  --solar-amber: #f59e0b;
  --flame-orange: #ff5e14;
  --neon-orange: #ff7d26;
  --neon-yellow: #fcd34d;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  /* 渐变与光晕 */
  --grad-solar: linear-gradient(135deg, #ff5e14 0%, #f59e0b 100%);
  --grad-solar-hover: linear-gradient(135deg, #ff7426 0%, #fbbf24 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(26, 32, 48, 0.6) 0%, rgba(14, 17, 24, 0.8) 100%);
  --glow-orange: 0 0 25px rgba(255, 94, 20, 0.35);
  --glow-orange-lg: 0 0 50px rgba(255, 94, 20, 0.25);
  --glow-amber: 0 0 20px rgba(245, 158, 11, 0.25);

  /* 边框与微光 */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-amber: rgba(245, 158, 11, 0.22);
  --border-orange: rgba(255, 94, 20, 0.35);
  --border-highlight: rgba(255, 125, 38, 0.6);

  /* 文字颜色 */
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;
  --text-orange: #ff7d26;
  --text-amber: #fbbf24;

  /* 字体栈 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, Monaco, "Courier New", monospace;

  /* 尺寸与圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 94, 20, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 100% 30%, rgba(245, 158, 11, 0.04) 0%, transparent 35%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

button, input {
  font-family: inherit;
}

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

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 通用标签与徽章 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.badge-solar {
  background: rgba(255, 94, 20, 0.12);
  border: 1px solid var(--border-orange);
  color: var(--neon-orange);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
}

.badge-mono {
  font-family: var(--font-mono);
  font-size: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-dot-orange {
  background-color: var(--flame-orange);
  box-shadow: 0 0 10px var(--flame-orange);
}

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-solar {
  background: var(--grad-solar);
  color: #0b0c10;
  box-shadow: var(--glow-orange);
  font-weight: 700;
}

.btn-solar:hover {
  background: var(--grad-solar-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255, 94, 20, 0.5);
  color: #000;
}

.btn-solar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
}

.btn-solar:hover::after {
  left: 140%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-amber);
  transform: translateY(-2px);
  color: var(--text-amber);
}

.btn-outline-orange {
  background: transparent;
  border: 1px solid var(--border-orange);
  color: var(--neon-orange);
}

.btn-outline-orange:hover {
  background: rgba(255, 94, 20, 0.1);
  border-color: var(--flame-orange);
  box-shadow: var(--glow-orange);
}

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

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

/* 顶部全息公告横幅 */
.top-notice {
  background: linear-gradient(90deg, #131722 0%, #1f1b24 50%, #131722 100%);
  border-bottom: 1px solid rgba(255, 94, 20, 0.2);
  padding: 8px 0;
  font-size: 13px;
  text-align: center;
  color: var(--text-muted);
}

.top-notice span.highlight {
  color: var(--neon-orange);
  font-weight: 600;
}

/* 导航栏 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: var(--grad-solar);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-orange);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  fill: #08090c;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title span {
  color: var(--solar-amber);
}

.brand-subtitle {
  font-size: 10px;
  color: var(--text-dark);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

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

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-solar);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* 移动端汉堡菜单 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

/* 页面主要区域 */
main {
  flex: 1;
}

/* 英雄区 (Hero) */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

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

.hero-content h1 {
  font-size: 46px;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 20px 0;
}

.gradient-text {
  background: var(--grad-solar);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--solar-amber);
}

/* 蜂巢终端实时负载面板 */
.terminal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--glow-orange);
  overflow: hidden;
  position: relative;
}

.terminal-header {
  background: #191e2b;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

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

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.terminal-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.terminal-node-name {
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-ping {
  color: var(--accent-green);
  font-weight: 700;
}

.terminal-speed {
  color: var(--solar-amber);
}

.terminal-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.3);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

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

.spec-label {
  font-size: 11px;
  color: var(--text-dark);
}

.spec-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

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

.section-alt {
  background: linear-gradient(180deg, rgba(14, 17, 24, 0.5) 0%, rgba(7, 8, 11, 0.8) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-subhead {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon-orange);
  margin-bottom: 10px;
  font-family: var(--font-mono);
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}

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

/* 微内核跑分对比卡 */
.benchmark-container {
  background: var(--bg-card);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}

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

.bench-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.bench-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
}

.bench-card.featured {
  border-color: var(--flame-orange);
  background: linear-gradient(180deg, rgba(255, 94, 20, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
  box-shadow: var(--glow-orange);
}

.bench-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bench-num {
  font-size: 32px;
  font-weight: 850;
  font-family: var(--font-mono);
  color: var(--neon-orange);
  margin: 12px 0;
}

.bench-bar-wrap {
  width: 100%;
  height: 8px;
  background: #232a3d;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.bench-bar-fill {
  height: 100%;
  background: var(--grad-solar);
  border-radius: 4px;
}

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

/* 场景解锁矩阵 */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.matrix-card:hover {
  border-color: var(--border-amber);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.matrix-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 94, 20, 0.1);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--neon-orange);
}

.matrix-icon svg {
  width: 24px;
  height: 24px;
}

.matrix-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.matrix-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.matrix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.matrix-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* 核心特性卡片网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.feature-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 94, 20, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--solar-amber);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

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

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

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

.pricing-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-5px);
}

.pricing-card.popular {
  background: linear-gradient(180deg, #1b202e 0%, #111520 100%);
  border: 2px solid var(--flame-orange);
  box-shadow: var(--glow-orange);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-solar);
  color: #000;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.plan-name {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

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

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

.price-currency {
  font-size: 20px;
  color: var(--solar-amber);
  font-weight: 700;
}

.price-num {
  font-size: 42px;
  font-weight: 850;
  color: #fff;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
}

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

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

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

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

.plan-feature-item.muted {
  color: var(--text-dark);
  text-decoration: line-through;
}

.plan-feature-item.muted svg {
  color: var(--text-dark);
}

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

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

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

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--solar-amber);
  transition: transform 0.3s ease;
}

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

.faq-item.active {
  border-color: var(--border-orange);
}

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

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* 资讯公告中心 (News) 专属样式 */
.news-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.news-tab {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.news-tab:hover, .news-tab.active {
  background: var(--grad-solar);
  color: #0b0c10;
  border-color: transparent;
  box-shadow: var(--glow-orange);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

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

.news-card:hover {
  border-color: var(--border-amber);
}

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

.news-tag {
  color: var(--neon-orange);
  background: rgba(255, 94, 20, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.news-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}

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

.news-body {
  display: none;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 18px;
  margin-top: 16px;
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.75;
}

.news-card.expanded .news-body {
  display: block;
  animation: fadeIn 0.3s ease;
}

.news-expand-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--solar-amber);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}

.news-expand-btn:hover {
  color: var(--neon-orange);
}

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

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-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-muted);
  font-size: 13px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--border-amber);
  color: #fff;
}

.page-btn.active {
  background: var(--grad-solar);
  color: #000;
  border-color: transparent;
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* 帮助文档 (Help) 布局 */
.help-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: flex-start;
}

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

.help-nav-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

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

.help-nav-link {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: block;
}

.help-nav-link:hover, .help-nav-link.active {
  background: rgba(255, 94, 20, 0.1);
  color: var(--neon-orange);
}

.help-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.help-article h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.help-article h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-amber);
  margin: 24px 0 12px;
}

.help-article p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.code-box {
  background: #090b10;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #e5e7eb;
  overflow-x: auto;
  margin: 16px 0;
  position: relative;
}

.code-box code {
  color: var(--neon-yellow);
}

.alert-tip {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--accent-green);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  font-size: 13px;
  color: #d1fae5;
}

.alert-warn {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--solar-amber);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  font-size: 13px;
  color: #fef3c7;
}

/* 法律条款与隐私政策 (Legal / Docs) */
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.legal-card h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-dark);
  font-family: var(--font-mono);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--solar-amber);
  margin: 32px 0 14px;
}

.legal-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 20px 0 10px;
}

.legal-card p, .legal-card li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

/* CTA 横幅 */
.cta-banner {
  background: radial-gradient(circle at 50% 50%, rgba(255, 94, 20, 0.15) 0%, rgba(19, 23, 34, 0.95) 70%);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--glow-orange);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 34px;
  font-weight: 850;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* 页脚 Footer */
.footer {
  background: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  margin-top: 80px;
}

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

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 20px;
}

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

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

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

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

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

.footer-badges {
  display: flex;
  gap: 12px;
}

/* 404 & Go 页面专属终端卡 */
.redirect-screen {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.terminal-box-lg {
  width: 100%;
  max-width: 640px;
  background: #0d1017;
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), var(--glow-orange);
  overflow: hidden;
}

.radar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--border-orange);
  margin: 0 auto 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border-top: 2px solid var(--solar-amber);
  border-right: 2px solid transparent;
  animation: radar-spin 1.2s linear infinite;
}

@keyframes radar-spin {
  100% { transform: rotate(360deg); }
}

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

/* 响应式断点 */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .matrix-grid, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .help-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #0b0e14;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
  .nav-links.show {
    display: flex;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .benchmark-grid, .matrix-grid, .pricing-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .legal-card {
    padding: 28px 20px;
  }
}

