/* ==========================================================================
   Hotspot Shield VPN 性能实验室与架构评测官方主题
   Theme: Matte Titanium Void & Quantum Cobalt-Cyan / Aurora Emerald
   Design System: 哑光深碳钛金冷黑 + 量子流光钴青与极光冷翠渐变
   ========================================================================== */

:root {
  --bg-dark: #07090e;
  --bg-secondary: #0b0f19;
  --bg-card: #0e1422;
  --bg-card-hover: #131b2e;
  --bg-card-glass: rgba(14, 20, 34, 0.78);
  --bg-terminal: #05070a;

  --border-dim: rgba(56, 189, 248, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 210, 255, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.3);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-bright: #ffffff;

  --cyan-primary: #00d2ff;
  --cyan-light: #38bdf8;
  --cyan-dark: #0284c7;
  --cyan-glow: rgba(0, 210, 255, 0.2);

  --emerald-primary: #10b981;
  --emerald-light: #34d399;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.2);

  --gradient-tech: linear-gradient(135deg, #00d2ff 0%, #10b981 100%);
  --gradient-tech-hover: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
  --gradient-dark: linear-gradient(180deg, rgba(7, 9, 14, 0) 0%, rgba(7, 9, 14, 0.8) 100%);
  --gradient-radial: radial-gradient(circle at 50% -20%, rgba(0, 210, 255, 0.15), transparent 70%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-cyan-glow: 0 0 30px rgba(0, 210, 255, 0.18);
  --shadow-emerald-glow: 0 0 30px rgba(16, 185, 129, 0.18);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: clip;
  background: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.08) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  background-position: 0 0, -1px -1px, -1px -1px;
}

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

a:hover {
  color: var(--emerald-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--cyan-light);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--emerald-light);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.section-title .text-gradient {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Navigation Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dim);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 12px;
  box-sizing: border-box;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-bright);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--gradient-tech);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.35);
  flex-shrink: 0;
}

.brand-logo-icon svg {
  width: 17px;
  height: 17px;
  fill: #07090e;
}

.brand-name {
  color: var(--text-bright);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 3px;
  white-space: nowrap;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-tech);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 8px 18px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  color: var(--text-bright);
  padding: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: var(--cyan-light);
  color: var(--cyan-light);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-tech);
  color: #07090e;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.25);
}

.btn-primary:hover {
  background: var(--gradient-tech-hover);
  color: #07090e;
  box-shadow: 0 6px 24px rgba(0, 210, 255, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-dim);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan-light);
  color: var(--cyan-light);
  transform: translateY(-2px);
}

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

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

.hero-glow-bg {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.12) 0%, rgba(16, 185, 129, 0.05) 45%, transparent 75%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-bright);
  margin-bottom: 24px;
}

.hero-title span.highlight {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 36px auto;
}

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

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.metric-item {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--border-subtle);
}

.metric-item:last-child {
  border-right: none;
}

.metric-val {
  font-size: 1.9rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--cyan-light);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.metric-val.emerald {
  color: var(--emerald-light);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Feature & Tech Card Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan-glow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan-light);
}

.card-icon.emerald {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Interactive Dashboard Wrapper */
.dashboard-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-dim);
  background: rgba(11, 15, 25, 0.7);
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.terminal-dots span:nth-child(1) { background: #ef4444; }
.terminal-dots span:nth-child(2) { background: #f59e0b; }
.terminal-dots span:nth-child(3) { background: #10b981; }

.dashboard-title {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-bright);
}

.dashboard-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ctrl {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.84rem;
  padding: 6px 14px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-ctrl.active, .btn-ctrl:hover {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--cyan-light);
  color: var(--cyan-light);
}

.dashboard-body {
  padding: 28px;
}

/* Dashboard 1: Jitter & Ping Variance */
.canvas-wrapper {
  width: 100%;
  height: 260px;
  position: relative;
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
}

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

.jitter-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.jitter-stat-box {
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.jitter-stat-header {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.jitter-val {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--cyan-light);
}

.jitter-val.emerald {
  color: var(--emerald-light);
}

.jitter-val.amber {
  color: #f59e0b;
}

/* Dashboard 2: FEC Matrix & Packet Recovery */
.fec-sim-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: center;
}

.packet-stream-box {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  min-height: 240px;
}

.packet-matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.packet-cells {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.packet-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(0, 210, 255, 0.2);
  border: 1px solid var(--cyan-dark);
  transition: all 0.2s ease;
  position: relative;
}

.packet-cell.lost {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}

.packet-cell.recovered {
  background: rgba(16, 185, 129, 0.3);
  border-color: var(--emerald-light);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.packet-legend {
  display: flex;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.fec-controls-box {
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.slider-group {
  margin-bottom: 20px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.slider-input {
  width: 100%;
  accent-color: var(--cyan-light);
  cursor: pointer;
}

.fec-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.fec-stat-row:last-child {
  border-bottom: none;
}

.fec-stat-row span:last-child {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emerald-light);
}

/* Dashboard 3: Anycast Routing Failover */
.anycast-topology {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.topo-map-visual {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cable-route-box {
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
  background: rgba(14, 20, 34, 0.6);
  position: relative;
}

.cable-route-box.congested {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.05);
}

.cable-route-box.active-primary {
  border-color: var(--cyan-light);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.15);
}

.cable-route-box.active-failover {
  border-color: var(--emerald-light);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

.route-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.route-status-pill {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.pill-green { background: rgba(16, 185, 129, 0.15); color: var(--emerald-light); }
.pill-red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.pill-cyan { background: rgba(0, 210, 255, 0.15); color: var(--cyan-light); }

.route-latency-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}

.route-latency-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.fill-cyan { background: var(--cyan-light); }
.fill-emerald { background: var(--emerald-light); }
.fill-red { background: #ef4444; }

.anycast-log-terminal {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  height: 280px;
}

.terminal-stream {
  flex: 1;
  overflow-y: auto;
  color: var(--text-secondary);
  line-height: 1.6;
}

.log-line {
  margin-bottom: 6px;
}

.log-time { color: var(--text-muted); margin-right: 8px; }
.log-tag { color: var(--cyan-light); margin-right: 8px; }
.log-tag.alert { color: #f59e0b; }
.log-tag.success { color: var(--emerald-light); }

/* Benchmark Matrix Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dim);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.benchmark-table th {
  background: rgba(11, 15, 25, 0.9);
  padding: 18px 22px;
  font-weight: 700;
  color: var(--text-bright);
  border-bottom: 1px solid var(--border-dim);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.benchmark-table th.highlight-col {
  background: rgba(0, 210, 255, 0.08);
  color: var(--cyan-light);
  border-left: 1px solid var(--border-dim);
  border-right: 1px solid var(--border-dim);
}

.benchmark-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.benchmark-table td.highlight-col {
  background: rgba(0, 210, 255, 0.03);
  font-weight: 600;
  color: var(--text-bright);
  border-left: 1px solid var(--border-dim);
  border-right: 1px solid var(--border-dim);
}

.benchmark-table tr:last-child td {
  border-bottom: none;
}

.benchmark-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.benchmark-table tr:hover td.highlight-col {
  background: rgba(0, 210, 255, 0.06);
}

/* Pricing Section */
.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-dim);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

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

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.95) 0%, rgba(11, 25, 44, 0.95) 100%);
  border-color: var(--cyan-light);
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.2);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-tech);
  color: #07090e;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tier-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 6px;
}

.tier-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-box {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-bright);
  vertical-align: super;
}

.amount {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-bright);
  letter-spacing: -0.03em;
}

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

.feature-list {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.45;
}

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

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--cyan-light);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: rgba(7, 9, 14, 0.4);
}

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* News & Articles Component */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--cyan-light);
  color: var(--cyan-light);
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.news-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: var(--bg-card-hover);
}

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

.news-tag {
  background: rgba(0, 210, 255, 0.1);
  color: var(--cyan-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

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

.news-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 14px;
  line-height: 1.4;
}

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

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

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

.news-full-content h4 {
  color: var(--text-bright);
  font-size: 1.05rem;
  margin: 18px 0 8px 0;
}

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

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

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

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn.active, .page-btn:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--cyan-light);
  color: var(--cyan-light);
}

/* Site Footer */
.site-footer {
  background: #040609;
  border-top: 1px solid var(--border-dim);
  padding: 72px 0 36px 0;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

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

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

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan-light);
}

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

.footer-disclaimer {
  max-width: 680px;
  line-height: 1.6;
}

/* 404 & Go Landing Styles */
.terminal-card {
  max-width: 680px;
  margin: 60px auto;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.terminal-card-header {
  padding: 16px 24px;
  background: rgba(11, 15, 25, 0.8);
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-card-body {
  padding: 36px 32px;
  font-family: var(--font-mono);
}

/* Responsive Breakpoints & Navigation Optimization */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .grid-4, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-metrics-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .metric-item { border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-menu { gap: 10px; }
  .nav-link { font-size: 0.86rem; padding: 6px 2px; }
}

@media (max-width: 860px) {
  .container { padding: 0 16px; }

  /* 汉堡移动端抽屉导航 (覆盖 860px 以下移动端及小屏) */
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 28px;
    gap: 10px;
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
    animation: navSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-link {
    font-size: 0.96rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: block;
    color: var(--text-primary);
  }

  .nav-link:hover, .nav-link.active {
    color: var(--cyan-light);
    padding-left: 6px;
  }

  .nav-link.active::after {
    display: none;
  }

  .header-actions .btn {
    padding: 6px 14px;
    font-size: 0.84rem;
  }
}

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

@media (max-width: 640px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.85rem; }
  .grid-2, .grid-3, .grid-4, .pricing-grid, .anycast-topology, .fec-sim-grid {
    grid-template-columns: 1fr;
  }
  .jitter-metrics { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}

