/* ===================================================================
   BiuBiu 超光速全球专线加速网络 - 核心样式表
   Design Language: Hyperspace Warp-Transit Dark UI & Frosted Titanium Light UI
   Palette: True OLED Black (#000000), Ionized Cyan (#00f7ff), Stellar Gold (#ffd166),
            Icy Titanium Chrome Borders & Smoked-Glass HUD.
   Strictly Zero Generic AI Robot Icons.
   =================================================================== */

:root {
  /* 默认白天模式 (Light Mode: 钛合金超导与冰晶微光) */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-void: #0a0f18;
  
  --card-bg: rgba(255, 255, 255, 0.88);
  --card-hover-bg: #ffffff;
  --card-border: rgba(203, 213, 225, 0.8);
  --card-border-hover: rgba(0, 180, 216, 0.6);
  --card-hud-border: linear-gradient(135deg, rgba(79, 70, 229, 0.4) 0%, rgba(6, 182, 212, 0.5) 100%);
  
  --text-primary: #090d16;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-glow: rgba(0, 180, 216, 0.3);
  
  /* 品牌与超空间色彩体系 */
  --brand-cyan: #0891b2;
  --brand-cyan-glow: #00f7ff;
  --brand-primary: #4f46e5;
  --brand-secondary: #7c3aed;
  --stellar-gold: #d97706;
  --stellar-gold-glow: rgba(245, 158, 11, 0.4);
  
  --brand-gradient: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #7c3aed 100%);
  --brand-gradient-hover: linear-gradient(135deg, #0369a1 0%, #4338ca 50%, #6d28d9 100%);
  --cyan-gradient: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  --brand-glow: 0 10px 30px -5px rgba(2, 132, 199, 0.35);
  
  --badge-bg: rgba(6, 182, 212, 0.08);
  --badge-text: #0284c7;
  --badge-border: rgba(6, 182, 212, 0.28);
  
  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-border: rgba(226, 232, 240, 0.85);
  
  --theme-btn-bg: rgba(241, 245, 249, 0.85);
  --theme-btn-border: #cbd5e1;
  --theme-btn-hover: #ffffff;
  
  --titanium-chrome: rgba(203, 213, 225, 0.6);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 22px 45px -10px rgba(6, 182, 212, 0.15);
  --shadow-hud: 0 16px 36px -8px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Roboto Mono", Consolas, monospace;
}

/* ================= 黑暗模式 (True OLED Black Cosmos Palette) ================= */
[data-theme="dark"] {
  --bg-primary: #000000;
  --bg-secondary: #050811;
  --bg-tertiary: #0c1222;
  --bg-void: #000000;
  
  /* 烟熏玻璃 HUD 容器 (Smoked-Glass HUD) */
  --card-bg: rgba(7, 12, 24, 0.72);
  --card-hover-bg: rgba(11, 18, 36, 0.85);
  --card-border: rgba(0, 247, 255, 0.18);
  --card-border-hover: rgba(0, 247, 255, 0.6);
  --card-hud-border: linear-gradient(135deg, rgba(0, 247, 255, 0.5) 0%, rgba(255, 209, 102, 0.3) 50%, rgba(99, 102, 241, 0.4) 100%);
  
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #7888a2;
  --text-glow: rgba(0, 247, 255, 0.6);
  
  /* 离子化超空间青蓝与恒星金 */
  --brand-cyan: #00f7ff;
  --brand-cyan-glow: #00f7ff;
  --brand-primary: #00f7ff;
  --brand-secondary: #6366f1;
  --stellar-gold: #ffd166;
  --stellar-gold-glow: rgba(255, 209, 102, 0.5);
  
  --brand-gradient: linear-gradient(135deg, #00f7ff 0%, #6366f1 65%, #ffd166 100%);
  --brand-gradient-hover: linear-gradient(135deg, #38bdf8 0%, #4f46e5 65%, #f59e0b 100%);
  --cyan-gradient: linear-gradient(135deg, #00f7ff 0%, #0284c7 100%);
  --brand-glow: 0 12px 35px -5px rgba(0, 247, 255, 0.4);
  
  --badge-bg: rgba(0, 247, 255, 0.12);
  --badge-text: #00f7ff;
  --badge-border: rgba(0, 247, 255, 0.35);
  
  --nav-bg: rgba(0, 0, 0, 0.82);
  --nav-border: rgba(0, 247, 255, 0.14);
  
  --theme-btn-bg: rgba(10, 18, 32, 0.75);
  --theme-btn-border: rgba(0, 247, 255, 0.25);
  --theme-btn-hover: rgba(18, 30, 54, 0.9);
  
  /* 冰霜钛金属镀铬边缘 */
  --titanium-chrome: rgba(226, 232, 240, 0.18);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 14px 35px -8px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 25px 60px -12px rgba(0, 247, 255, 0.2);
  --shadow-hud: 0 20px 50px -10px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(0, 247, 255, 0.3);
}

/* ================= 全局基础设置 ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* 顶部交互平滑锚点偏移修正 */
section[id], div[id] {
  scroll-margin-top: 86px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

img, svg {
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* 渐变与微光字体 */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 800;
}

.cyan-text {
  color: var(--brand-cyan);
  text-shadow: 0 0 12px var(--text-glow);
}

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

/* ================= 3D 超空间画布背景 ================= */
.warp-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

#warpCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ================= 顶部导航栏 (Navbar) ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo-warp-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #000 0%, #0d192e 100%);
  border: 1px solid var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  box-shadow: 0 0 16px rgba(0, 247, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.logo-warp-icon svg {
  transition: transform 0.4s ease;
}

.logo-link:hover .logo-warp-icon svg {
  transform: rotate(45deg) scale(1.1);
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  font-weight: 700;
  letter-spacing: 1px;
}

/* 导航链接目录 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand-cyan);
  background: var(--badge-bg);
}

.nav-link.active {
  color: var(--brand-cyan);
}

.nav-link.nav-link-special {
  color: var(--brand-cyan);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.15);
}

.nav-link.nav-link-special:hover {
  background: var(--brand-cyan);
  color: #000000;
  box-shadow: 0 0 18px rgba(0, 247, 255, 0.45);
}

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

/* 昼夜切换按钮：钛金属透光半透明磨砂设计 */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--theme-btn-bg);
  border: 1px solid var(--theme-btn-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  position: relative;
  outline: none;
}

.theme-toggle-btn:hover {
  background: var(--theme-btn-hover);
  color: var(--brand-cyan);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 14px var(--text-glow);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  position: absolute;
}

:root:not([data-theme="dark"]) .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: #d97706;
}

:root:not([data-theme="dark"]) .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: var(--brand-cyan);
  filter: drop-shadow(0 0 6px var(--brand-cyan));
}

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

/* ================= 按钮与回弹阻尼物理微交互 ================= */
/* Heavy-damped physical recoil click interaction */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  position: relative;
  user-select: none;
}

.btn:active {
  /* 深度重阻尼物理后坐力反冲体验 */
  transform: translateY(3px) scale(0.975);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 247, 255, 0.4) !important;
  filter: brightness(0.92);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff !important;
  box-shadow: var(--brand-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-primary {
  color: #000000 !important;
  background: linear-gradient(135deg, #00f7ff 0%, #38bdf8 50%, #ffd166 100%);
  box-shadow: 0 0 25px rgba(0, 247, 255, 0.45);
  border: 1px solid rgba(0, 247, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(0, 247, 255, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--card-hover-bg);
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
  transform: translateY(-1px);
}

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

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

.btn-white {
  background: #ffffff;
  color: #090d16 !important;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .btn-white {
  background: #00f7ff;
  color: #000000 !important;
  box-shadow: 0 0 30px rgba(0, 247, 255, 0.6);
}

.btn-white:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ================= 主视觉区 (Hero Section) ================= */
.hero-section {
  position: relative;
  padding: 165px 0 100px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.15);
  margin-bottom: 24px;
}

.hero-pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00f7ff;
  box-shadow: 0 0 12px #00f7ff;
  animation: warp-pulse 1.8s infinite;
}

@keyframes warp-pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 247, 255, 0.8); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(0, 247, 255, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 247, 255, 0); }
}

.hero-title {
  font-size: 3.75rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 42px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.highlight-item svg {
  color: var(--brand-cyan);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ================= 浮动烟熏玻璃 HUD 视觉看板 ================= */
.hero-hud-wrap {
  margin-top: 55px;
  position: relative;
}

.hud-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-hud);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.hud-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-status-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-cyan);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 航线微交互双跳跃节点栏 (Hover Double-ping Warp Leap) */
.hud-routes-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.route-node-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.route-node-btn:hover, .route-node-btn.active {
  background: var(--card-hover-bg);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 16px rgba(0, 247, 255, 0.3);
  transform: translateY(-2px);
}

.route-node-ping-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.route-node-btn:hover .route-node-ping-indicator,
.route-node-btn.active .route-node-ping-indicator {
  opacity: 1;
  animation: double-ping 0.8s ease-in-out infinite alternate;
}

@keyframes double-ping {
  0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(0, 247, 255, 0.8); }
  50% { transform: scale(1.3); box-shadow: 0 0 0 6px rgba(0, 247, 255, 0.4); }
  100% { transform: scale(1.0); box-shadow: 0 0 0 10px rgba(0, 247, 255, 0); }
}

.route-node-name {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.route-node-latency {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-cyan);
}

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

.hud-metric-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: all 0.25s ease;
}

.hud-metric-box:hover {
  border-color: var(--brand-cyan);
}

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

.hud-metric-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

/* ================= 通用 Section 布局 ================= */
.section-wrap {
  padding: 100px 0;
  position: relative;
}

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

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

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

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

/* ================= 核心优势 (3个图文卡片) ================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-lg);
  background: var(--card-hover-bg);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 247, 255, 0.15) 0%, rgba(99, 102, 241, 0.2) 100%);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  margin-bottom: 26px;
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
}

.feature-icon-box svg {
  width: 30px;
  height: 30px;
}

.feature-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-card-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

.feature-list {
  border-top: 1px solid var(--card-border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.feature-list-item svg {
  width: 17px;
  height: 17px;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

/* ================= 流媒体与 AI 支持图卡展示区 ================= */
.media-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.showcase-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

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

.showcase-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.showcase-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
}

.showcase-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.showcase-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.platform-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.platform-pill:hover {
  background: var(--card-hover-bg);
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 247, 255, 0.15);
}

.platform-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.showcase-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--card-border);
}

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

.showcase-features-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

/* ================= 套餐价格对比表 (真实网上公道价格) ================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
}

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

.pricing-card.featured {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 35px rgba(0, 247, 255, 0.25);
  background: var(--card-hover-bg);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00f7ff 0%, #6366f1 100%);
  color: #000000;
  padding: 4px 18px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 247, 255, 0.4);
  white-space: nowrap;
}

.pricing-tier {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.pricing-subhead {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.price-box {
  margin-bottom: 26px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
}

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

.price-original {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
  flex-grow: 1;
}

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

.pricing-feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.pricing-feature-item.muted {
  color: var(--text-muted);
  opacity: 0.55;
}

.pricing-btn {
  width: 100%;
}

/* ================= 用户真实口碑 (Testimonials) ================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-md);
}

.review-rating {
  display: flex;
  gap: 4px;
  color: #ffd166;
  margin-bottom: 18px;
}

.review-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-quote {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--card-border);
  padding-top: 18px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f7ff 0%, #6366f1 100%);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.author-info h4 {
  font-size: 0.96rem;
  font-weight: 800;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ================= 常见问题 (FAQ) 手风琴 ================= */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.faq-question:hover {
  color: var(--brand-cyan);
}

.faq-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.35s ease;
  flex-shrink: 0;
  color: var(--text-muted);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}

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

/* ================= 底部转化激励条 (CTA Banner) ================= */
.cta-banner {
  background: linear-gradient(135deg, #050d1a 0%, #0d1b33 50%, #152c52 100%);
  border: 1px solid var(--brand-cyan);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 247, 255, 0.25);
  margin-top: 40px;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 680px;
  margin: 0 auto 34px;
}

/* ================= 页脚 (Footer) - 严格只保留四个标题 ================= */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 40px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.footer-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: var(--brand-cyan);
  background: var(--badge-bg);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--card-border);
  padding-top: 26px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin-bottom: 8px;
}

/* ================= 子页面与资讯页 (Articles / Docs) ================= */
.subpage-hero {
  padding: 150px 0 60px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--card-border);
  position: relative;
}

.subpage-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.subpage-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.doc-content-wrap {
  padding: 60px 0 100px;
  max-width: 960px;
  margin: 0 auto;
}

.doc-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 34px;
  backdrop-filter: blur(16px);
}

.doc-section-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-section-title svg {
  color: var(--brand-cyan);
  width: 26px;
  height: 26px;
}

.doc-paragraph {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}

.doc-list {
  margin: 18px 0 22px 26px;
  list-style-type: disc;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
}

.doc-list li {
  margin-bottom: 10px;
}

.node-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.node-table th, .node-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.node-table th {
  background: var(--bg-tertiary);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.node-table td {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* 资讯列表卡片 (Insights / Articles) */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.insight-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
}

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

.insight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-cyan);
  margin-bottom: 14px;
}

.insight-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
}

.insight-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.insight-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-cyan);
}

/* 网站地图网格 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.sitemap-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.sitemap-card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-primary);
}

.sitemap-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sitemap-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  transition: all 0.2s ease;
  font-size: 0.94rem;
  font-weight: 600;
}

.sitemap-link-item:hover {
  background: var(--badge-bg);
  color: var(--brand-cyan);
  transform: translateX(4px);
}

/* ================= 响应式媒体查询 (@media) 手机端完美适配 ================= */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hud-routes-selector {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--card-border);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
  }
  
  .hero-section {
    padding: 130px 0 60px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .hud-routes-selector {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .hud-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .section-wrap {
    padding: 65px 0;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .media-ai-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 18px;
  }
  
  .doc-card {
    padding: 26px 18px;
  }
  
  .cta-banner {
    padding: 40px 20px;
  }
  
  .cta-banner h2 {
    font-size: 1.8rem;
  }
}

/* ================= 深度科普 SEO 文章专属排版样式 ================= */
.article-wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 50px 24px 100px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.article-breadcrumb a:hover {
  color: var(--brand-cyan);
}

.article-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 28px;
}

.article-main-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.article-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 文章目录 (Table of Contents) 交互组件 */
.article-toc {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--brand-cyan);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  margin-bottom: 40px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.toc-header svg {
  color: var(--brand-cyan);
  width: 22px;
  height: 22px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: toc-counter;
}

.toc-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.95rem;
}

.toc-link {
  color: var(--text-secondary);
  font-weight: 600;
  transition: all 0.2s ease;
}

.toc-link:hover {
  color: var(--brand-cyan);
  transform: translateX(4px);
  display: inline-block;
}

/* 正文深度排版 */
.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
  scroll-margin-top: 90px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 30px 0 14px;
  scroll-margin-top: 90px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 700;
}

.article-body ul, .article-body ol {
  margin: 18px 0 24px 28px;
}

.article-body ul {
  list-style-type: disc;
}

.article-body ol {
  list-style-type: decimal;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.callout-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--brand-cyan);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 0.96rem;
  line-height: 1.75;
}

.callout-box.tip {
  border-left-color: #ffd166;
  background: rgba(255, 209, 102, 0.06);
}

.callout-box.brand-highlight {
  border-left-color: var(--brand-cyan);
  background: var(--badge-bg);
  box-shadow: 0 4px 20px rgba(0, 247, 255, 0.12);
}

.callout-title {
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 比较表格与代码块 */
.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.article-table th, .article-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.article-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.92rem;
}

.article-table td {
  font-size: 0.94rem;
}

.article-code {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--brand-cyan);
  margin: 22px 0;
  overflow-x: auto;
}

/* 正文内链高亮 */
.inline-link {
  color: var(--brand-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

.inline-link:hover {
  text-shadow: 0 0 8px var(--text-glow);
}

/* 相关阅读区域 (Related Articles) */
.related-articles-section {
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--card-border);
}

.related-section-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.related-article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.related-article-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-article-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.4;
}

.related-article-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .article-main-title {
    font-size: 1.85rem;
  }
  .article-toc {
    padding: 20px;
  }
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}
