/* ==========================================================================
   龙猫云 (longmaoyun.buzz) - Cyber-Telecom 电讯级加速核心样式表
   深度黑曜石 (#0A0E17) | 电光青 (#00F0FF) | 荧光翡翠 (#00FF66)
   极简纯原生 CSS 架构 | 支持昼夜模式切换 | 硬件级 60FPS 丝滑渲染
   ========================================================================== */

/* 1. 设计变量体系 */
:root {
  /* 白天模式 (默认打开模式) - 高清科技白与电光蓝 */
  --bg-body: #f4f7fb;
  --bg-card: #ffffff;
  --bg-card-secondary: #eef3f9;
  --bg-card-elevated: #ffffff;
  --bg-nav: rgba(244, 247, 251, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.75);
  --ticker-bg: #e2e8f0;
  --text-main: #0a0e17;
  --text-muted: #334155;
  --text-sub: #64748b;
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-glow: rgba(2, 132, 199, 0.2);
  --cyan: #0891b2;
  --cyan-glow: rgba(8, 145, 178, 0.2);
  --emerald: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.2);
  --border: rgba(203, 213, 225, 0.8);
  --border-card: rgba(148, 163, 184, 0.2);
  --border-telecom: rgba(2, 132, 199, 0.3);
  --shadow-sm: 0 2px 8px rgba(10, 14, 23, 0.04);
  --shadow-md: 0 10px 30px -8px rgba(10, 14, 23, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(2, 132, 199, 0.15);
  --badge-bg: rgba(2, 132, 199, 0.08);
  --badge-text: #0284c7;
  --canvas-opacity: 0.55;
  --grid-line: rgba(2, 132, 199, 0.05);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 夜间深色模式 - Cyber-Telecom 黑曜石电讯暗黑美学 */
[data-theme="dark"] {
  --bg-body: #0a0e17;
  --bg-card: #0f1523;
  --bg-card-secondary: #141c2e;
  --bg-card-elevated: #182238;
  --bg-nav: rgba(10, 14, 23, 0.9);
  --bg-glass: rgba(15, 21, 35, 0.75);
  --ticker-bg: #0d1320;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;
  --primary: #00f0ff;
  --primary-hover: #38bdf8;
  --primary-glow: rgba(0, 240, 255, 0.25);
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --emerald: #00ff66;
  --emerald-glow: rgba(0, 255, 102, 0.3);
  --border: rgba(255, 255, 255, 0.08);
  --border-card: rgba(0, 240, 255, 0.12);
  --border-telecom: rgba(0, 240, 255, 0.3);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 45px -10px rgba(0, 240, 255, 0.2);
  --badge-bg: rgba(0, 240, 255, 0.1);
  --badge-text: #00f0ff;
  --canvas-opacity: 0.85;
  --grid-line: rgba(0, 240, 255, 0.04);
}

/* 2. 基础重置与平滑滚动 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

/* 锚点滚动定位偏移补偿，消除过度偏下留白 */
section[id], div[id] {
  scroll-margin-top: 76px;
}

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

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

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

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

/* 3. 实时全局延迟仪表盘走字栏 (Ping Latency Ticker) */
.ping-ticker {
  background: var(--ticker-bg);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  padding: 6px 0;
  overflow: hidden;
  position: relative;
  z-index: 101;
}

.ticker-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ticker-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.led-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: ledPulse 1.8s infinite;
}

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

.ticker-nodes {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ticker-node-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.ticker-node-item .ping-val {
  color: var(--emerald);
  font-weight: 700;
}

.ticker-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-sub);
}

/* 4. 顶部玻璃拟态导航栏 (Sticky Glassmorphic Nav) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-rack-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--bg-card-secondary);
  border: 1px solid var(--border-telecom);
  border-radius: var(--radius-sm);
  color: var(--primary);
}

.brand-rack-badge svg {
  width: 18px;
  height: 18px;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary-glow);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-badge-new {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--primary);
  color: #000;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  vertical-align: middle;
  text-transform: uppercase;
}

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

/* 精致半透明磨砂昼夜切换按钮 (无粗糙Emoji，内嵌丝滑矢量SVG) */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-main);
  transition: all var(--transition-normal);
  position: relative;
  cursor: pointer;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 14px var(--primary-glow);
  transform: translateY(-2px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

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

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

/* 按钮通用规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #000;
  border: 1px solid var(--primary);
  box-shadow: 0 0 18px var(--primary-glow);
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  color: #060911;
  font-weight: 800;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px var(--primary-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
}

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

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
  min-height: 52px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  min-height: 40px;
}

.btn-block {
  width: 100%;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

/* 5. 动态 Hero 主视觉区 + 原生 3D Canvas 拓扑图 */
.hero-section {
  position: relative;
  padding: 42px 0 32px;
  overflow: hidden;
  text-align: center;
}

#networkCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: var(--canvas-opacity);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.hero-telecom-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-telecom);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--primary);
  margin-bottom: 16px;
  box-shadow: 0 0 16px var(--primary-glow);
}

.hero-telecom-pill .signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.hero-telecom-pill .bar {
  width: 3px;
  background: var(--emerald);
  border-radius: 1px;
}
.hero-telecom-pill .b1 { height: 4px; }
.hero-telecom-pill .b2 { height: 7px; }
.hero-telecom-pill .b3 { height: 10px; }
.hero-telecom-pill .b4 { height: 13px; }

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--primary-glow);
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

/* 6. 高密度网络遥测仪表盘卡片 (Telemetry Metrics) */
.telemetry-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
  text-align: left;
}

.telemetry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.telemetry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.telemetry-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.telemetry-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.telemetry-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, monospace;
  line-height: 1;
  margin-bottom: 4px;
}

.telemetry-value .unit {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-left: 2px;
}

.telemetry-status-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 7. 协议切换器 & 专线延迟对比微组件 (Protocol & Latency Widget) */
.interactive-telecom-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-telecom);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-md);
  margin: 30px 0 10px;
}

.widget-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.protocol-header h2,
.protocol-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.protocol-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.protocol-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg-card-secondary);
  padding: 6px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.proto-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: ui-monospace, monospace;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.proto-btn.active {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 12px var(--primary-glow);
}

.proto-info-box {
  background: var(--bg-card-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.proto-info-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.proto-info-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 延迟对比表盘仪表 */
.latency-compare-box {
  background: var(--bg-card-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.compare-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gauge-track {
  margin-bottom: 18px;
}

.gauge-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.gauge-bar-bg {
  height: 10px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.gauge-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

.fill-bad {
  width: 82%;
  background: #ef4444;
}

.fill-good {
  width: 14%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald-glow);
}

/* 8. 便当盒网格架构 (Bento Grid) - IPLC/BGP 专线路由拓扑 */
.bento-section {
  padding: 42px 0 36px;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-family: ui-monospace, monospace;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 36px var(--primary-glow);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  border: 1px solid var(--border-telecom);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

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

.bento-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.bento-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.telecom-specs {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.telecom-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-family: ui-monospace, monospace;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.telecom-specs li:last-child {
  margin-bottom: 0;
}

.telecom-specs svg {
  width: 14px;
  height: 14px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* 9. 流媒体图卡 & AI 支持图卡 */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  background: var(--badge-bg);
  color: var(--badge-text);
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid var(--border-telecom);
}

.showcase-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.showcase-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

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

.pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  color: #fff;
  flex-shrink: 0;
}

.pill-status {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 5px;
}

.pill-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

/* 10. 参考网上真实套餐价格对比表 (Pricing) */
.pricing-section {
  padding: 24px 0 32px;
  background: var(--bg-card-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-section .section-header {
  margin: 0 auto 16px;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--primary-glow);
}

.pricing-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px var(--primary-glow);
}

.pricing-header {
  text-align: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.pricing-tier {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 3px;
}

.pricing-tagline {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.pricing-amount {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-main);
  font-family: ui-monospace, monospace;
  line-height: 1;
  margin: 8px 0 3px;
}

.pricing-amount .currency {
  font-size: 1.25rem;
  font-weight: 700;
  margin-right: 2px;
  color: var(--primary);
}

.pricing-amount .cycle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
}

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

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.pricing-features-list li svg {
  width: 15px;
  height: 15px;
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 11. 用户口碑评价 (Testimonials) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.telecom-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  margin-bottom: 10px;
}

.telecom-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.user-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-secondary);
  border: 1px solid var(--border-telecom);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.user-meta h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}

.user-meta span {
  font-size: 0.74rem;
  color: var(--text-sub);
}

/* 12. 常见问题 (FAQ) */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

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

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.faq-question svg {
  width: 16px;
  height: 16px;
  color: var(--text-sub);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 18px 16px;
}

/* 13. 呼吁转化横幅 (CTA Banner) */
.cta-banner {
  background: linear-gradient(135deg, #091322 0%, #032b49 100%);
  border: 1px solid var(--border-telecom);
  border-radius: var(--radius-lg);
  padding: 38px 24px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 40px var(--primary-glow);
  margin: 32px auto 48px;
  position: relative;
  overflow: hidden;
}

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

.cta-banner p {
  font-size: 0.98rem;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto 22px;
}

/* 14. 极简页脚 (Footer) - 严格仅保留四个指定标题 */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 32px 0 22px;
  transition: all var(--transition-normal);
}

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

.footer-link {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-sub);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* 15. 资讯/推荐资讯文章页面版式 (Insights Page) */
.subpage-hero {
  padding: 64px 0 42px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card-secondary);
}

.subpage-hero h1 {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

.subpage-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.article-content {
  max-width: 880px;
  margin: 50px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.article-section {
  margin-bottom: 40px;
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-section h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
}

.article-section p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.article-section ul, .article-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

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

.highlight-box {
  background: var(--badge-bg);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
}

.highlight-box p {
  color: var(--badge-text);
  margin-bottom: 0;
  font-weight: 600;
}

/* 资讯列表网格 */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.news-card {
  background: var(--bg-card-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-fast);
}

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

.news-date {
  font-size: 0.78rem;
  font-family: ui-monospace, monospace;
  color: var(--primary);
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 16. 响应式适配媒体查询 (@media) */
@media (max-width: 1024px) {
  .telemetry-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .ticker-nodes {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 22px 24px;
    box-shadow: var(--shadow-md);
    gap: 16px;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .widget-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.span-2 {
    grid-column: span 1;
  }

  .showcase-grid,
  .pricing-grid,
  .news-cards-grid {
    grid-template-columns: 1fr;
  }

  .pills-grid {
    grid-template-columns: 1fr;
  }

  .article-content {
    padding: 28px 20px;
  }
}

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

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }
}

/* 17. 深度 SEO 文章排版规范 (Article TOC, Meta, FAQ, Related Posts) */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-family: ui-monospace, monospace;
  color: var(--text-sub);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.article-meta .meta-tag {
  background: var(--badge-bg);
  color: var(--badge-text);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  border: 1px solid var(--border-telecom);
}

.article-toc {
  background: var(--bg-card-secondary);
  border: 1px solid var(--border-telecom);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 30px 0 40px;
  box-shadow: var(--shadow-sm);
}

.article-toc h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc ol {
  padding-left: 20px;
  margin-bottom: 0;
}

.article-toc li {
  margin-bottom: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
}

.article-toc li a {
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.article-toc li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.article-callout {
  background: var(--badge-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.article-callout.tip {
  border-left-color: var(--emerald);
  background: var(--emerald-glow);
}

.article-callout p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
}

.article-callout a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
}

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

.article-table th {
  background: var(--bg-card-secondary);
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-weight: 800;
  color: var(--text-main);
}

.article-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.article-table tr:nth-child(even) td {
  background: var(--bg-card-secondary);
}

.related-reading-section {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 2px dashed var(--border);
}

.related-reading-section h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.related-item {
  background: var(--bg-card-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all var(--transition-fast);
}

.related-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.related-item a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
  display: block;
}

.related-item a:hover {
  color: var(--primary);
}

.related-item span {
  font-size: 0.78rem;
  font-family: ui-monospace, monospace;
  color: var(--text-sub);
  margin-top: 6px;
  display: block;
}

