/* ==========================================================================
   山水云 (shanshuiyungw.homes) - 工业级仪表盘与等高线技术美学样式表
   Technical & Analytical Dashboard UI with Cartographic Contour Lines & Ocean Currents
   零外部框架依赖，秒开性能，纯原生 CSS
   ========================================================================== */

:root {
  /* 白天模式（默认）变量 - 极简瑞士精密制图风格 */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-header: rgba(248, 250, 252, 0.88);
  --bg-terminal: #0b121e;

  --text-primary: #090d16;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --text-mono: #047857;

  /* 翡翠绿 (Emerald) 与 海洋深度蓝 (Oceanic Cyan) 核心色标 */
  --emerald-primary: #059669;
  --emerald-hover: #047857;
  --emerald-light: rgba(5, 150, 105, 0.1);
  --emerald-glow: rgba(5, 150, 105, 0.22);
  --emerald-border: rgba(5, 150, 105, 0.35);

  --ocean-primary: #0284c7;
  --ocean-dark: #075985;
  --ocean-light: rgba(2, 132, 199, 0.08);

  --border-light: rgba(203, 213, 225, 0.85);
  --border-focus: #059669;
  --border-card: #cbd5e1;

  --grid-line-color: rgba(148, 163, 184, 0.18);
  --radar-contour: rgba(5, 150, 105, 0.15);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 32px -6px rgba(0, 0, 0, 0.12);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --nav-height: 68px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

/* 夜间/深色模式（Monochrome Dark + Precise Emerald Contour Lines + Oceanic Layered Currents） */
[data-theme="dark"] {
  --bg-primary: #06090e;
  --bg-secondary: #0a0f18;
  --bg-tertiary: #111a28;
  --bg-card: rgba(10, 15, 24, 0.85);
  --bg-card-hover: #121c2c;
  --bg-header: rgba(6, 9, 14, 0.88);
  --bg-terminal: #04070c;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #06090e;
  --text-mono: #34d399;

  --emerald-primary: #10b981;
  --emerald-hover: #34d399;
  --emerald-light: rgba(16, 185, 129, 0.12);
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --emerald-border: rgba(16, 185, 129, 0.4);

  --ocean-primary: #06b6d4;
  --ocean-dark: #0891b2;
  --ocean-light: rgba(6, 182, 212, 0.12);

  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: #10b981;
  --border-card: rgba(255, 255, 255, 0.1);

  --grid-line-color: rgba(255, 255, 255, 0.04);
  --radar-contour: rgba(16, 185, 129, 0.12);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 24px 40px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: -0.012em;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: 
    linear-gradient(var(--grid-line-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
}

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

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

/* 等宽字体类 */
.font-mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
}

/* 顶栏导航 Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--emerald-primary), var(--ocean-primary));
  color: #ffffff;
  box-shadow: 0 0 16px var(--emerald-glow);
}

.logo-badge svg {
  width: 20px;
  height: 20px;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-text {
  font-weight: 850;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--text-primary);
}

.brand-subcode {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--emerald-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 导航链接列表 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

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

.nav-link.badge-link {
  color: var(--ocean-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ocean-light);
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.nav-link.badge-link:hover {
  background: rgba(2, 132, 199, 0.18);
  border-color: var(--ocean-primary);
  color: var(--ocean-primary);
}

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

/* 昼夜切换透明质感专业按钮 */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  outline: none;
}

.theme-toggle-btn:hover {
  background: rgba(148, 163, 184, 0.2);
  border-color: var(--emerald-border);
  color: var(--emerald-primary);
  box-shadow: 0 0 10px var(--emerald-glow);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.theme-icon-sun {
  display: block;
}

.theme-icon-moon {
  display: none;
}

[data-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: block;
  color: #34d399;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
}

/* CTA 工业技术感按钮 */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--emerald-glow);
  transition: all var(--transition-fast);
  border: 1px solid rgba(16, 185, 129, 0.4);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

[data-theme="dark"] .btn-cta-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #04070c;
  font-weight: 800;
}

.btn-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--emerald-glow);
  filter: brightness(1.1);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--emerald-primary);
  color: var(--emerald-primary);
  background: var(--bg-tertiary);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero 主视觉区：3D 等高线地形球体 + 节点动态延时
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

.hero-dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-tech-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--emerald-primary);
  margin-bottom: 20px;
}

.meta-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-primary);
  box-shadow: 0 0 8px var(--emerald-primary);
  animation: radar-blip 1.8s infinite;
}

@keyframes radar-blip {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-title .brand-accent {
  color: var(--emerald-primary);
  text-decoration: underline;
  text-decoration-color: var(--ocean-primary);
  text-underline-offset: 6px;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 620px;
}

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

/* 终端遥测参数仪表板 (Terminal metrics strip) */
.hero-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.telemetry-val.emerald {
  color: var(--emerald-primary);
}

.telemetry-val.ocean {
  color: var(--ocean-primary);
}

/* 3D Topographic Globe 交互容器 (Aviation Cyber Radar Theme) */
.globe-display-card {
  position: relative;
  background: #080f1a;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 20px 40px -6px rgba(0, 0, 0, 0.7), 0 0 24px rgba(16, 185, 129, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f1f5f9;
}

[data-theme="light"] .globe-display-card {
  background: #060d18;
  border: 1px solid rgba(5, 150, 105, 0.4);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.25), 0 0 20px rgba(5, 150, 105, 0.12);
  color: #f1f5f9;
}

.globe-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.globe-topbar-code {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #34d399;
}

.globe-status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34d399;
  font-weight: 700;
  white-space: nowrap;
}

.live-status-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.globe-canvas-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.03) 45%, #04070e 80%);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.globe-canvas-wrap:active {
  cursor: grabbing;
}

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

/* 浮动快速控制微件 */
.globe-hud-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.globe-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(10, 18, 30, 0.75);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 9px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all var(--transition-fast);
}

.globe-tool-btn:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  color: #34d399;
}

.globe-hud-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  background: rgba(8, 15, 26, 0.85);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius-xs);
  backdrop-filter: blur(8px);
  font-size: 0.74rem;
  color: #94a3b8;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hud-item-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-weight: 500;
}

.hud-item-coords {
  color: #34d399;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* 浮动节点延时列表（侧边技术列表） */
.nodes-latency-dock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.node-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(15, 25, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  color: #cbd5e1;
}

.node-chip:hover,
.node-chip.active {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.node-chip-name {
  font-weight: 700;
}

.node-chip-ping {
  color: #34d399;
  font-weight: 800;
}

/* ==========================================================================
   板块公用头部（瑞士网格标尺与等高线标签）
   ========================================================================== */

.section-header {
  margin-bottom: 48px;
  position: relative;
}

.section-tag-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.section-badge-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-primary);
  letter-spacing: 0.08em;
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.section-rule {
  height: 1px;
  flex-grow: 1;
  background: var(--border-light);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.65;
}

/* ==========================================================================
   产品核心优势：3 个技术图文卡片 (排除标准 AI/聊天图标，专注基础设施)
   ========================================================================== */

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.card-tech-id {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.feature-vector-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-vector-icon.ocean {
  background: var(--ocean-light);
  border-color: rgba(2, 132, 199, 0.3);
  color: var(--ocean-primary);
}

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

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.feature-spec-list {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

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

.spec-val {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   流媒体图卡 & AI 支持图卡 (严禁常规聊天图标，采用分析式指标与拓扑)
   ========================================================================== */

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

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.showcase-card:hover {
  border-color: var(--emerald-border);
  box-shadow: var(--shadow-lg);
}

.showcase-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.showcase-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
}

.label-media {
  background: rgba(2, 132, 199, 0.12);
  color: var(--ocean-primary);
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.label-compute {
  background: var(--emerald-light);
  color: var(--emerald-primary);
  border: 1px solid var(--emerald-border);
}

.showcase-title {
  font-size: 1.6rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.showcase-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
}

/* 工业级技术指标矩阵 (替代卡通图标) */
.tech-spec-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.matrix-block {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}

.matrix-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.matrix-value {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.matrix-value.green {
  color: var(--emerald-primary);
}

.supported-list-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

/* ==========================================================================
   可折叠专线协议标签页 (Collapsible Protocol Tabs)
   ========================================================================== */

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

.protocol-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 24px;
  overflow-x: auto;
}

.proto-tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.proto-tab-btn:hover {
  color: var(--text-primary);
}

.proto-tab-btn.active {
  color: var(--emerald-primary);
  border-bottom-color: var(--emerald-primary);
  background: var(--emerald-light);
}

.proto-tab-pane {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px;
}

.proto-tab-pane.active {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.proto-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.proto-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.proto-terminal-output {
  background: var(--bg-terminal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #a7f3d0;
  line-height: 1.7;
  overflow-x: auto;
}

/* ==========================================================================
   海洋测深波形实时吞吐量监测 (Live Depth Sounder Throughput Wave Graph)
   ========================================================================== */

.metrics-sonar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  margin-top: 36px;
}

.sonar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

.sonar-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sonar-live-rates {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.sonar-canvas-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
}

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

/* ==========================================================================
   套餐价格对比区 (参考网上真实机场/专线套餐，参数详实)
   ========================================================================== */

.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 48px;
}

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

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-focus);
}

.pricing-card.featured {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 0 1px var(--emerald-primary), var(--shadow-lg);
}

.featured-corner-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--emerald-primary);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-bottom-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-md);
  letter-spacing: 0.05em;
}

.plan-head-wrap {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 38px;
}

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

.plan-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--emerald-primary);
}

.plan-price-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 850;
  color: var(--text-primary);
  line-height: 1;
}

.plan-cycle {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

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

.plan-feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 9px 0;
  border-bottom: 1px dashed var(--border-light);
}

.plan-feature-row:last-child {
  border-bottom: none;
}

.plan-feature-row strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.pricing-btn-wrap {
  margin-top: auto;
}

.pricing-btn-wrap .btn-cta-primary,
.pricing-btn-wrap .btn-secondary {
  width: 100%;
}

/* 参数明细横向对照表 */
.comparison-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

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

.comparison-table th {
  background: var(--bg-tertiary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--text-primary);
}

.comparison-table td.col-center,
.comparison-table th.col-center {
  text-align: center;
}

.comparison-table tr:hover td {
  background: var(--emerald-light);
}

.badge-yes {
  font-family: var(--font-mono);
  color: var(--emerald-primary);
  font-weight: 800;
}

/* ==========================================================================
   用户口碑 (Testimonials)
   ========================================================================== */

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-focus);
}

.review-stars {
  font-family: var(--font-mono);
  color: #eab308;
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 22px;
  flex-grow: 1;
}

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

.review-avatar-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--emerald-primary);
}

.author-name {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--text-primary);
}

.author-role {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ==========================================================================
   常见问题解答 FAQ (手风琴)
   ========================================================================== */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
}

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

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--emerald-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 24px 20px 24px;
  transition: max-height 0.35s ease-in-out;
}

/* 底部行动号召 Banner */
.bottom-cta-box {
  margin-top: 72px;
  padding: 52px 36px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bottom-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-primary), var(--ocean-primary));
}

.bottom-cta-title {
  font-size: 2.1rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.bottom-cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 28px auto;
}

/* ==========================================================================
   页脚 Footer - 严格保留 4 个标题且打开新页面
   ========================================================================== */

.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  padding: 44px 0 32px 0;
  text-align: center;
}

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

.footer-nav-link {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--emerald-primary);
  background: var(--emerald-light);
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   响应式媒体查询 (@media) - 确保手机端单栏与优质触控体验
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .features-grid-3,
  .dual-showcase-grid,
  .pricing-grid-3,
  .testimonials-grid-3 {
    grid-template-columns: 1fr;
  }

  .proto-tab-pane.active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

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

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-telemetry-strip {
    grid-template-columns: 1fr;
  }

  .nodes-latency-dock {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn-cta-lg,
  .btn-secondary {
    width: 100%;
    min-height: 48px;
  }

  .sonar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-nav-wrap {
    gap: 16px;
  }
}

/* ==========================================================================
   深度长文 SEO 专栏排版系统 (Long-form Technical Article & SEO Layout)
   ========================================================================== */

.article-page-container {
  padding-top: calc(var(--nav-height) + 32px);
  padding-bottom: 80px;
}

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

.article-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  color: var(--emerald-primary);
}

.article-breadcrumb-sep {
  color: var(--border-card);
}

.article-header-meta {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}

.article-tag-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald-primary);
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.article-h1-title {
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.article-meta-info-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

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

/* 2列布局：主文章 + 悬浮目录 (TOC) */
.article-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

/* 粘性侧边目录 */
.article-toc-sticky {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.toc-heading {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.toc-link {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  line-height: 1.45;
}

.toc-link:hover {
  color: var(--emerald-primary);
  background: var(--emerald-light);
  transform: translateX(3px);
}

.toc-link.sub-item {
  padding-left: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 文章正文排版规范 */
.article-rich-body {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.82;
}

.article-rich-body h2 {
  font-size: 1.65rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-top: 42px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.article-rich-body h2:first-of-type {
  margin-top: 0;
}

.article-rich-body h3 {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

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

.article-rich-body ul, 
.article-rich-body ol {
  padding-left: 24px;
  margin-bottom: 22px;
  line-height: 1.8;
}

.article-rich-body li {
  margin-bottom: 8px;
}

.article-rich-body a {
  color: var(--emerald-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.article-rich-body a:hover {
  filter: brightness(1.2);
}

/* 强调高亮信息块 */
.article-callout {
  background: var(--emerald-light);
  border-left: 4px solid var(--emerald-primary);
  padding: 18px 22px;
  border-radius: var(--radius-xs);
  margin: 26px 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.article-callout.warning {
  background: rgba(239, 68, 68, 0.08);
  border-left-color: #ef4444;
}

/* 文章内部转化横幅 (Mid-Article CTA Banner) */
.article-inline-cta-banner {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(2, 132, 199, 0.08));
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  margin: 40px 0;
  text-align: center;
}

.article-cta-title {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.article-cta-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 20px auto;
}

/* 文章 FAQ 区域 */
.article-faq-section {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 2px dashed var(--border-light);
}

.faq-card-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.faq-card-q {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-card-a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 相关阅读区域 */
.article-related-section {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 2px dashed var(--border-light);
}

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

.related-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.related-card:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-2px);
  background: var(--emerald-light);
}

.related-card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--emerald-primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.related-card-title {
  font-size: 1rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 8px;
}

.related-card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

@media (max-width: 1024px) {
  .article-page-grid {
    grid-template-columns: 1fr;
  }

  .article-toc-sticky {
    position: static;
    margin-bottom: 24px;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
  }

  .article-rich-body {
    padding: 30px 20px;
  }

  .article-h1-title {
    font-size: 1.95rem;
  }
}

/* ==========================================================================
   推荐资讯列表页卡片矩阵样式 (Insights Post Grid)
   ========================================================================== */

.insights-featured-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-secondary);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-normal);
}

.insights-featured-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--emerald-primary), #0284c7);
}

.insights-featured-card:hover {
  transform: translateY(-2px);
  border-color: var(--emerald-primary);
  box-shadow: 0 8px 30px rgba(5, 150, 105, 0.12);
}

.insights-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.insight-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  text-decoration: none;
  position: relative;
}

.insight-card:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  background: var(--bg-tertiary);
}

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

.insight-pill-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-primary);
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.insight-date {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.insight-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 12px;
}

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

.insight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.insight-read-more {
  color: var(--emerald-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.insight-card:hover .insight-read-more {
  gap: 8px;
}

@media (max-width: 900px) {
  .insights-grid-2col {
    grid-template-columns: 1fr;
  }
  .insights-featured-card {
    padding: 24px 20px;
  }
}


