/* ============================================================
   Hotspot Shield VPN (hotspotshield.homes) - 官方设计系统与样式规范
   主题风格: 黑曜石玄武岩深渊哑黑 + 聚变等离子烈焰金红 + 战术雷达青翠微光
   ============================================================ */

:root {
  /* 基础与表面背景色 (黑曜石玄武岩) */
  --bg-void: #080a0d;
  --bg-surface-1: #0f1319;
  --bg-surface-2: #151b23;
  --bg-surface-3: #1c2430;
  --bg-card: rgba(17, 23, 31, 0.85);
  --bg-card-hover: rgba(24, 32, 44, 0.95);
  --bg-glass: rgba(12, 16, 22, 0.72);

  /* 聚变等离子烈焰金红 (主视觉强调色) */
  --plasma-red: #ff3344;
  --plasma-orange: #ff6a00;
  --plasma-amber: #ff9d00;
  --plasma-gold: #ffc400;
  --plasma-gradient: linear-gradient(135deg, #ff3344 0%, #ff6a00 50%, #ffb300 100%);
  --plasma-gradient-hover: linear-gradient(135deg, #ff4d5e 0%, #ff7e1a 50%, #ffc11a 100%);
  --plasma-glow: 0 0 28px rgba(255, 106, 0, 0.38);
  --plasma-glow-sm: 0 0 12px rgba(255, 106, 0, 0.28);

  /* 战术雷达青翠微光 (系统在线与遥测色) */
  --radar-emerald: #00e676;
  --radar-cyan: #00f5d4;
  --radar-teal: #00b4d8;
  --radar-gradient: linear-gradient(135deg, #00e676 0%, #00f5d4 100%);
  --radar-glow: 0 0 20px rgba(0, 230, 118, 0.32);

  /* 边框体系 */
  --border-subtle: rgba(255, 106, 0, 0.14);
  --border-medium: rgba(255, 106, 0, 0.28);
  --border-active: rgba(255, 106, 0, 0.6);
  --border-emerald: rgba(0, 230, 118, 0.3);
  --border-glass: rgba(255, 255, 255, 0.08);

  /* 文本颜色 */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8292a6;
  --text-dim: #4d5b6e;

  /* 字体家族 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", "Cascadia Code", Consolas, Menlo, Monaco, monospace;

  /* 阴影体系 */
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 106, 0, 0.12);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(255, 106, 0, 0.25);

  /* 尺寸与圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* 转场动效 */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 背景战术高频电磁网格与热点光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 18% 12%, rgba(255, 77, 0, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 82% 40%, rgba(255, 180, 0, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(0, 230, 118, 0.04) 0%, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  z-index: -2;
  pointer-events: none;
}

/* 战术蜂窝防护罩层 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 60%, rgba(8, 10, 13, 0.85) 100%);
  z-index: -1;
  pointer-events: none;
}

/* 容器定义 */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* 排版与渐变文本 */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1.025rem;
}

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

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

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

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

/* 战术标签与徽章 */
.badge-tactical {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid var(--border-medium);
  color: var(--plasma-amber);
}

.badge-tactical.emerald {
  background: rgba(0, 230, 118, 0.1);
  border-color: var(--border-emerald);
  color: var(--radar-emerald);
}

.badge-tactical.cyan {
  background: rgba(0, 245, 212, 0.1);
  border-color: rgba(0, 245, 212, 0.28);
  color: var(--radar-cyan);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--radar-emerald);
  box-shadow: 0 0 8px var(--radar-emerald);
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

.status-dot.orange {
  background: var(--plasma-orange);
  box-shadow: 0 0 8px var(--plasma-orange);
}

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--plasma-gradient);
  color: #080a0d;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255, 106, 0, 0.35);
}

.btn-primary:hover {
  background: var(--plasma-gradient-hover);
  box-shadow: 0 6px 26px rgba(255, 106, 0, 0.55);
  transform: translateY(-2px);
  color: #000;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--plasma-orange);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-tactical {
  background: rgba(255, 106, 0, 0.08);
  border-color: var(--border-medium);
  color: var(--plasma-amber);
}

.btn-tactical:hover {
  background: rgba(255, 106, 0, 0.18);
  border-color: var(--plasma-orange);
  color: #ffffff;
  box-shadow: var(--plasma-glow-sm);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* 顶部导航 Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 10, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(8, 10, 13, 0.96);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

/* Logo 规范: 统一简洁的 "Hotspot Shield" (严禁带域名后缀) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--plasma-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080a0d;
  box-shadow: var(--plasma-glow-sm);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 2px;
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--plasma-gradient);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

/* 移动端抽屉菜单 */
@media (max-width: 960px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(12, 16, 22, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-medium);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: block;
  }
}

/* 核心通用 Section 样式 */
.section {
  padding: 96px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

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

.section-title {
  font-size: 2.35rem;
  margin-top: 14px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

/* Hero 英雄主视觉区 */
.hero-section {
  padding-top: 60px;
  padding-bottom: 100px;
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.35rem;
  line-height: 1.15;
  margin-bottom: 22px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 34px;
  line-height: 1.7;
}

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

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-item svg {
  color: var(--plasma-orange);
  flex-shrink: 0;
}

/* Hero 右侧战术 EMP 遥测终端 */
.hero-telemetry-terminal {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.hero-telemetry-terminal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--plasma-gradient);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border-glass);
}

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

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

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

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--radar-emerald);
}

.terminal-body {
  padding: 24px;
}

.telemetry-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.telemetry-metric-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
}

.metric-foot {
  font-size: 0.75rem;
  color: var(--radar-emerald);
  margin-top: 4px;
}

.terminal-status-log {
  background: #06080b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.log-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.log-line:last-child {
  margin-bottom: 0;
}

.log-tag {
  color: var(--plasma-orange);
  font-weight: 600;
}

.log-tag.ok {
  color: var(--radar-emerald);
}

/* 交互看板通用卡片样式 */
.interactive-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .interactive-card {
    padding: 20px;
  }
}

.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
}

.dashboard-title-group h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.dashboard-title-group p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 看板 1: Catapult Hydra 2.0 队头阻塞抗丢包模拟看板 */
.slider-control-box {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.slider-value-badge {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--plasma-amber);
  background: rgba(255, 106, 0, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.custom-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1c2430;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--plasma-orange);
  box-shadow: 0 0 12px var(--plasma-orange);
  cursor: pointer;
  border: 2px solid #ffffff;
  transition: transform 0.1s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.comparison-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 860px) {
  .comparison-dual-grid {
    grid-template-columns: 1fr;
  }
}

.protocol-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.protocol-card.hydra {
  border-color: var(--border-medium);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.05) 0%, var(--bg-surface-2) 100%);
}

.protocol-card.hydra::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--plasma-gradient);
}

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

.protocol-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.protocol-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.protocol-badge.hydra {
  background: rgba(255, 106, 0, 0.15);
  color: var(--plasma-amber);
  border: 1px solid var(--border-medium);
}

.protocol-badge.legacy {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.protocol-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.875rem;
}

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

.stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
}

.stream-visual-bar-wrap {
  margin-top: 18px;
}

.stream-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.stream-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.stream-bar-fill.hydra {
  background: var(--plasma-gradient);
}

.stream-bar-fill.legacy {
  background: #64748b;
}

/* 看板 2: 125+ Anycast 边缘热点抗突发 DDoS 削峰仪表盘 */
.ddos-simulation-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .ddos-simulation-panel {
    grid-template-columns: 1fr;
  }
}

.ddos-control-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.ddos-chart-canvas-wrap {
  width: 100%;
  height: 220px;
  background: #06080b;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

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

/* 看板 3: 8K 超高清 / VR 流媒体与 AI 实时语音 API 跑分看板 */
.route-benchmark-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.route-benchmark-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
}

.route-benchmark-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.route-benchmark-table tr:hover td {
  background: rgba(255, 106, 0, 0.04);
}

/* 核心特性矩阵 3 栏 / 4 栏卡片 */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .feature-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .feature-grid-3 {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plasma-orange);
  margin-bottom: 22px;
}

.feature-card:hover .feature-icon-box {
  background: var(--plasma-gradient);
  color: #080a0d;
  box-shadow: var(--plasma-glow-sm);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

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

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.1) 0%, var(--bg-surface-1) 100%);
  border: 2px solid var(--plasma-orange);
  box-shadow: 0 15px 40px rgba(255, 106, 0, 0.2);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--plasma-gradient);
  color: #080a0d;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--plasma-glow-sm);
}

.pricing-plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 42px;
  margin-bottom: 20px;
}

.pricing-price-wrap {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--plasma-amber);
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

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

.price-saving-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--radar-emerald);
  background: rgba(0, 230, 118, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

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

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features-list li svg {
  color: var(--radar-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

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

.faq-item {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

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

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--plasma-orange);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: var(--bg-surface-2);
}

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

.faq-answer-inner {
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border-glass);
}

/* 资讯中心与技术公报 (内置前端分页器与展开收起) */
.news-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tab {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
  background: rgba(255, 106, 0, 0.15);
  border-color: var(--border-medium);
  color: #ffffff;
}

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

.news-article-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all var(--transition-normal);
}

.news-article-card:hover {
  border-color: var(--border-subtle);
  background: var(--bg-surface-2);
}

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

.news-article-title {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #ffffff;
}

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

.news-full-content {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-glass);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.news-full-content.show {
  display: block;
}

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

.news-toggle-btn:hover {
  color: #ffffff;
}

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

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn:hover,
.page-btn.active {
  background: var(--plasma-orange);
  border-color: var(--plasma-orange);
  color: #080a0d;
  font-weight: 700;
}

/* 帮助文档与客户端排障 */
.help-grid-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .help-grid-layout {
    grid-template-columns: 1fr;
  }
}

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

.help-nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
  transition: all var(--transition-fast);
}

.help-nav-link:hover,
.help-nav-link.active {
  background: rgba(255, 106, 0, 0.12);
  color: var(--plasma-amber);
}

.help-content-box {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.help-section-block {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-glass);
}

.help-section-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.help-section-block h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.tutorial-step-card {
  background: var(--bg-surface-2);
  border-left: 3px solid var(--plasma-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin-bottom: 16px;
}

.tutorial-step-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

/* 法律合规正文样式 (隐私政策 / 服务条款) */
.legal-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 48px;
}

@media (max-width: 768px) {
  .legal-content-wrap {
    padding: 24px;
  }
}

.legal-section-item {
  margin-bottom: 36px;
}

.legal-section-item h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #ffffff;
}

.legal-section-item p {
  margin-bottom: 12px;
  font-size: 0.975rem;
  line-height: 1.75;
}

.legal-section-item ul {
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.legal-section-item li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* 页脚 Footer 规范: 统一 Logo 为 "Hotspot Shield"，严禁出现 "XML 网站地图" 文本链接 */
.site-footer {
  background: #050709;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 36px 0;
  margin-top: 80px;
}

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

@media (max-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

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

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 20px;
}

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

.footer-link-list li {
  margin-bottom: 12px;
}

.footer-link-list a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link-list a:hover {
  color: var(--plasma-amber);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-compliance-tags {
  display: flex;
  gap: 16px;
}

/* 404 军工极客风承接页 */
.error-hero-card {
  text-align: center;
  max-width: 640px;
  margin: 60px auto;
  padding: 60px 32px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

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

