/* ==========================================================================
   蓝胖云 (lanpangyun.mom) - 4D-Spatial Fold Architectural Optics UI
   Iconic Palette:
     - Pure Ceramic White (#fafbfd)
     - Vibrant Cerulean Cobalt Blue (#0066ff)
     - Surgical Slash of Crimson-Collar Red (#ef4444)
     - Deep Slate Typography (#0f172a)
   Strictly Zero Generic Cartoonish Mascots - Pure High-Craft Spatial Optics
   ========================================================================== */

:root {
  /* 4D 架构调色板 - 白天模式（默认） */
  --bg-primary: #fafbfd;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f4f9;
  --bg-glass: rgba(250, 251, 253, 0.82);
  --bg-pocket: #081226;
  --pocket-tunnel: radial-gradient(circle at 50% 50%, #0044cc 0%, #03112c 65%, #010613 100%);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --border-light: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-focus: #0066ff;

  /* 核心标识色 */
  --cobalt-primary: #0066ff;
  --cobalt-hover: #0052cc;
  --cobalt-glow: rgba(0, 102, 255, 0.35);
  --cobalt-subtle: rgba(0, 102, 255, 0.08);
  --cobalt-border: rgba(0, 102, 255, 0.2);

  --crimson-collar: #ef4444;
  --crimson-glow: rgba(239, 68, 68, 0.4);
  --crimson-subtle: rgba(239, 68, 68, 0.08);

  --success-color: #10b981;
  --warning-color: #f59e0b;

  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --card-shadow-hover: 0 22px 35px -8px rgba(0, 102, 255, 0.12), 0 8px 12px -4px rgba(15, 23, 42, 0.04);
  --pocket-shadow: inset 0 10px 40px rgba(0, 0, 0, 0.6), 0 20px 45px rgba(0, 102, 255, 0.2);

  --transition-cubic: cubic-bezier(0.16, 1, 0.3, 1);
  --speed-normal: 0.3s;
}

[data-theme="dark"] {
  /* 4D 架构调色板 - 夜间深度模式 */
  --bg-primary: #060913;
  --bg-surface: #0b1120;
  --bg-surface-elevated: #111a30;
  --bg-subtle: #0f172a;
  --bg-glass: rgba(11, 17, 32, 0.85);
  --bg-pocket: #020611;
  --pocket-tunnel: radial-gradient(circle at 50% 50%, #0055ff 0%, #031438 60%, #00040a 100%);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-focus: #3b82f6;

  --cobalt-primary: #2575fc;
  --cobalt-hover: #4d8dfd;
  --cobalt-glow: rgba(37, 117, 252, 0.45);
  --cobalt-subtle: rgba(37, 117, 252, 0.15);
  --cobalt-border: rgba(37, 117, 252, 0.35);

  --crimson-collar: #f87171;
  --crimson-glow: rgba(248, 113, 113, 0.4);
  --crimson-subtle: rgba(248, 113, 113, 0.15);

  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 20px 40px -8px rgba(0, 102, 255, 0.25);
  --pocket-shadow: inset 0 10px 50px rgba(0, 0, 0, 0.85), 0 25px 60px rgba(0, 102, 255, 0.35);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--speed-normal) ease, color var(--speed-normal) ease;
  overflow-x: hidden;
  min-height: 100vh;
}

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

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   顶部导航栏（包含首页锚点目录与推荐资讯入口）
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--speed-normal) ease, border-color var(--speed-normal) ease;
}

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

/* 品牌 Logo - 四维口袋光圈灵感 */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--cobalt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px var(--cobalt-glow);
}

.brand-icon-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--crimson-collar);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

/* 完整导航目录项 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

/* 推荐资讯特殊入口微标 */
.nav-badge-news {
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--crimson-collar);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  line-height: 1.2;
}

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

/* 昼夜切换按钮：精致、专业、半透明微光 */
.theme-toggle-btn {
  background: rgba(125, 125, 125, 0.08);
  border: 1px solid var(--border-medium);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.25s var(--transition-cubic);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
  background: rgba(125, 125, 125, 0.16);
  border-color: var(--cobalt-primary);
  color: var(--cobalt-primary);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--transition-cubic);
}

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--transition-cubic);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-cobalt-pill {
  background-color: var(--cobalt-primary);
  color: #ffffff;
  border-radius: 9999px;
  padding: 12px 28px;
  box-shadow: 0 4px 18px var(--cobalt-glow);
  position: relative;
  overflow: hidden;
}

.btn-cobalt-pill:hover {
  background-color: var(--cobalt-hover);
  box-shadow: 0 6px 24px var(--cobalt-glow);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  padding: 12px 26px;
}

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

.btn-block {
  width: 100%;
}

/* ==========================================================================
   4D-Pocket Spatial-Fold Hero 主视觉区
   ========================================================================== */
.hero-spatial {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
}

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

/* 左侧：严谨宏大的空间排版 */
.hero-left {
  position: relative;
  z-index: 2;
}

.crimson-slash-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--crimson-collar);
  padding: 7px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  box-shadow: var(--card-shadow);
}

.crimson-slash-badge .tag {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--crimson-collar);
  font-family: ui-monospace, monospace;
}

.crimson-slash-badge .text {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-headline {
  font-size: 3.4rem;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -1.4px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-headline .brand-highlight {
  color: var(--cobalt-primary);
  position: relative;
  display: inline-block;
}

.hero-headline .brand-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background-color: var(--cobalt-subtle);
  z-index: -1;
  border-radius: 4px;
}

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

/* Monospace IPLC/BGP 实时遥测指标 */
.latency-metrics-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 18px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 34px;
  box-shadow: var(--card-shadow);
  flex-wrap: wrap;
}

.metric-node {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-node-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--success-color);
  box-shadow: 0 0 8px var(--success-color);
}

.metric-latency {
  color: var(--cobalt-primary);
  font-weight: 700;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   右侧：4D 空间折叠建筑级口袋孔径 (Architectural 4D Spatial-Pocket Recess)
   ========================================================================== */
.hero-right-aperture {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  padding: 20px 0;
}

.spatial-pocket-stage {
  width: 100%;
  max-width: 480px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.25s var(--transition-cubic);
}

/* 外部精密建筑级空间底盘 (Architectural Ceramic Chassis Frame) */
.aperture-chassis {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 244, 252, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 20px 22px 18px;
  box-shadow: 0 25px 60px -15px rgba(0, 102, 255, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.05);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

[data-theme="dark"] .aperture-chassis {
  background: linear-gradient(155deg, rgba(17, 26, 48, 0.95) 0%, rgba(7, 12, 24, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* 底盘顶部遥测信息栏 */
.chassis-telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding: 0 4px;
}

.telemetry-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cobalt-primary);
}

.telemetry-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--success-color);
  box-shadow: 0 0 8px var(--success-color);
  animation: pulse-dot 2s infinite;
}

.telemetry-channel {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

/* 顶部外科级绯红项圈导轨与光学精密透镜核心 (Crimson-Collar Precision Rail + Chrono-Lens) */
.collar-rail-assembly {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0px;
  z-index: 10;
}

.collar-rail-slot {
  width: 100%;
  height: 12px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 99px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .collar-rail-slot {
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
}

.collar-rail-bar {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #b91c1c 0%, #ef4444 30%, #f87171 50%, #ef4444 70%, #b91c1c 100%);
  border-radius: 99px;
  box-shadow: 0 0 12px var(--crimson-glow);
}

.collar-ticks {
  position: absolute;
  right: 14px;
  font-size: 0.55rem;
  color: var(--crimson-collar);
  opacity: 0.5;
  letter-spacing: 2px;
  pointer-events: none;
}

/* 极简高精钛金光学谐振透镜 (Chrono-Optic Resonator Lens) */
.chrono-lens-assembly {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
}

.chrono-bezel-outer {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chrono-gold-ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #ca8a04, #fef08a, #ca8a04, #854d0e, #ca8a04);
  padding: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}

.chrono-sapphire-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #032b69 70%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.chrono-laser-diode {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 6px #38bdf8, 0 0 10px #0284c7;
  animation: laserPulse 2s ease-in-out infinite alternate;
}

@keyframes laserPulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* 核心半圆形空间折叠口袋孔径 (True Semicircular Spatial-Pocket Recess) */
.semicircular-pocket-aperture {
  width: 100%;
  height: 260px;
  border-radius: 0 0 220px 220px;
  background: radial-gradient(ellipse at 50% 10%, #0044cc 0%, #03143c 55%, #010614 100%);
  position: relative;
  overflow: hidden;
  margin-top: -3px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top: none;
  box-shadow: inset 0 20px 50px rgba(0, 0, 0, 0.9), inset 0 0 80px rgba(0, 102, 255, 0.45);
}

/* 全高清 Canvas 视差渲染层 */
.tunnel-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* 孔径内边缘环境遮蔽 */
.pocket-lip-occlusion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 0 0 220px 220px;
  box-shadow: inset 0 16px 30px rgba(0, 0, 0, 0.75), inset 0 -10px 25px rgba(0, 0, 0, 0.5);
}

/* 底盘底部刻度规 (Laser-Etched Precision Scale) */
.chassis-footer-scale {
  margin-top: 14px;
  padding: 0 4px;
  color: var(--text-muted);
}

.ruler-scale-svg {
  width: 100%;
  height: 14px;
  display: block;
}

.scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-top: 4px;
  opacity: 0.75;
}

/* ==========================================================================
   从四维折叠缝隙中提取的顶级奢华磨砂玻璃遥测浮动卡片 (Luxury HUD Cards)
   ========================================================================== */
.floating-hud-card {
  position: absolute;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 24px 50px -12px rgba(0, 50, 160, 0.16), 0 2px 6px rgba(0, 0, 0, 0.03);
  color: #0f172a;
  transition: all 0.35s var(--transition-cubic);
  min-width: 195px;
}

[data-theme="dark"] .floating-hud-card {
  background: rgba(12, 19, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 55px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.floating-hud-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 30px 60px -10px rgba(0, 102, 255, 0.3);
  border-color: var(--cobalt-primary);
}

.card-top-right {
  top: -22px;
  right: -28px;
}

.card-bottom-left {
  bottom: 10px;
  left: -36px;
}

.card-bottom-right {
  bottom: -26px;
  right: 10px;
}

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

.hud-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
}

.indicator-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.beacon-blue { background-color: var(--cobalt-primary); box-shadow: 0 0 8px var(--cobalt-primary); }
.beacon-red { background-color: var(--crimson-collar); box-shadow: 0 0 8px var(--crimson-collar); }
.beacon-green { background-color: var(--success-color); box-shadow: 0 0 8px var(--success-color); }

.hud-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
}

.hud-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 5px;
  letter-spacing: 0.6px;
}

.pill-blue { background: rgba(0, 102, 255, 0.1); color: var(--cobalt-primary); }
.pill-red { background: rgba(239, 68, 68, 0.1); color: var(--crimson-collar); }
.pill-green { background: rgba(16, 185, 129, 0.12); color: var(--success-color); }

.hud-value-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 10px;
}

.hud-val-num {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--cobalt-primary);
  line-height: 1;
}

.hud-val-unit {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.hud-val-code {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--crimson-collar);
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.hud-wave-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.smooth-wave-svg {
  width: 100%;
  height: 22px;
  display: block;
}

.hud-sub-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-online {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--success-color);
  box-shadow: 0 0 5px var(--success-color);
}

.hud-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.crypto-shield-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
}

.crypto-shield-badge svg {
  color: var(--crimson-collar);
}

.crypto-spec-tag {
  font-size: 0.65rem;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.sla-live-track {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--success-color);
  box-shadow: 0 0 6px var(--success-color);
  animation: pulse-dot 1.8s infinite;
}

/* ==========================================================================
   通用板块规范
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-subtle);
  transition: background-color var(--speed-normal) ease;
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cobalt-primary);
  margin-bottom: 14px;
  font-family: ui-monospace, monospace;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

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

.architect-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 38px 30px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s var(--transition-cubic);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.architect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.architect-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--cobalt-border);
}

.architect-card:hover::before {
  background: var(--cobalt-primary);
}

.card-num-watermark {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-muted);
  opacity: 0.12;
  font-family: ui-monospace, monospace;
}

.card-icon-frame {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: var(--cobalt-subtle);
  color: var(--cobalt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.architect-card:hover .card-icon-frame {
  background-color: var(--cobalt-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.card-title {
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 12px;
}

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

.card-meta-list {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.card-meta-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-meta-list li svg {
  color: var(--cobalt-primary);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   流媒体 & AI 专项图卡板块
   ========================================================================== */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.specialty-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 42px 36px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s var(--transition-cubic);
}

.specialty-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--cobalt-border);
}

.spec-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background-color: var(--cobalt-subtle);
  color: var(--cobalt-primary);
  margin-bottom: 18px;
  font-family: ui-monospace, monospace;
}

.spec-badge.ai-badge {
  background-color: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

.spec-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 14px;
}

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

.chips-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cobalt-primary);
}

.spec-footer-metrics {
  background: var(--bg-subtle);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-light);
}

.spec-stat-num {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--cobalt-primary);
  font-family: ui-monospace, monospace;
}

.spec-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   清晰的套餐价格对比表（参考网上真实机场/加速器行情）
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 42px 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--transition-cubic);
}

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

.pricing-plan-card.featured {
  border: 2px solid var(--cobalt-primary);
  box-shadow: 0 12px 35px -5px var(--cobalt-glow);
  transform: scale(1.02);
}

.pricing-plan-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.popular-ribbon-cut {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cobalt-primary);
  color: #ffffff;
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px var(--cobalt-glow);
}

.plan-head-wrap {
  margin-bottom: 22px;
}

.plan-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
}

.plan-type-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background-color: var(--cobalt-subtle);
  color: var(--cobalt-primary);
  font-family: ui-monospace, monospace;
}

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

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

.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.currency-symbol {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cobalt-primary);
}

.amount {
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1;
  font-family: ui-monospace, monospace;
}

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

.price-annual-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

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

.plan-specs-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.plan-specs-list li svg {
  color: var(--cobalt-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.plan-specs-list li.disabled {
  color: var(--text-muted);
  opacity: 0.45;
}

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

.review-brick {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 34px 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.review-brick:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--cobalt-border);
}

.review-stars-row {
  display: flex;
  gap: 4px;
  color: var(--warning-color);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

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

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.reviewer-icon-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--cobalt-subtle);
  color: var(--cobalt-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.reviewer-name {
  font-size: 0.96rem;
  font-weight: 700;
}

.reviewer-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.faq-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

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

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

.faq-arrow-icon {
  width: 20px;
  height: 20px;
  color: var(--cobalt-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--transition-cubic), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-panel.active .faq-body {
  padding-bottom: 22px;
}

/* ==========================================================================
   号召性横幅
   ========================================================================== */
.cta-quantum-banner {
  background: linear-gradient(135deg, #0052cc 0%, #0066ff 60%, #1d4ed8 100%);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px -10px var(--cobalt-glow);
}

.cta-quantum-banner h2 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-quantum-banner p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white-pill {
  background: #ffffff;
  color: #0052cc;
  font-weight: 700;
  border-radius: 9999px;
  padding: 14px 36px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-white-pill:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  color: #0044aa;
}

/* ==========================================================================
   页脚规范：严格仅保留四个标题，在新页面打开
   ========================================================================== */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 48px 0 36px;
  margin-top: auto;
  transition: background-color var(--speed-normal) ease, border-color var(--speed-normal) ease;
}

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

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

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

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   子页面及资讯页面排版规范 (Subpages & Articles)
   ========================================================================== */
.subpage-container {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 28px;
}

.subpage-header {
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.subpage-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 10px;
}

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

.subpage-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 44px;
  box-shadow: var(--card-shadow);
  line-height: 1.8;
  color: var(--text-secondary);
}

.subpage-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 34px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--cobalt-primary);
}

.subpage-content h2:first-of-type {
  margin-top: 0;
}

.subpage-content p {
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.subpage-content ul, .subpage-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.subpage-content li {
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.article-hero-box {
  background: var(--bg-subtle);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  border-left: 4px solid var(--crimson-collar);
}

.article-meta-row {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ==========================================================================
   响应式媒体查询 (@media) - 确保手机端完美单栏与触控体验
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-headline {
    font-size: 2.6rem;
  }

  .spatial-pocket-stage {
    max-width: 440px;
    margin: 20px auto 30px;
  }

  .card-top-right {
    top: -12px;
    right: -10px;
  }

  .card-bottom-left {
    bottom: 8px;
    left: -12px;
  }

  .card-bottom-right {
    bottom: -18px;
    right: 6px;
  }

  .features-grid,
  .specialty-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-plan-card.featured {
    transform: none;
  }

  .nav-menu {
    display: none; /* 移动端精简顶栏 */
  }
}

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

  .navbar .nav-inner {
    height: 64px;
  }

  .hero-spatial {
    padding: 50px 0 60px;
  }

  .hero-headline {
    font-size: 2.1rem;
    letter-spacing: -0.5px;
  }

  .hero-intro {
    font-size: 1.02rem;
  }

  .spatial-pocket-stage {
    max-width: 100%;
    margin: 10px auto;
  }

  .aperture-chassis {
    padding: 16px 14px 14px;
    border-radius: 22px;
  }

  .semicircular-pocket-aperture {
    height: 200px;
    border-radius: 4px 4px 160px 160px;
  }

  .quantum-orbit-rings {
    width: 200px;
    height: 200px;
  }

  .ring-outer { width: 190px; height: 190px; }
  .ring-middle { width: 130px; height: 130px; }
  .ring-inner { width: 80px; height: 80px; }

  /* 移动端将 3 块悬浮遥测卡片平铺在底盘下方，避免横向溢出与重叠 */
  .floating-hud-card {
    position: static;
    margin-top: 12px;
    width: 100%;
  }

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

  .btn-cobalt-pill, .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .subpage-content {
    padding: 24px 18px;
  }

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

/* ==========================================================================
   深度 SEO 长篇科普文章与推荐资讯门户专用样式表
   ========================================================================== */
/* 面包屑导航 (Breadcrumb) */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--cobalt-primary);
}

.breadcrumb-sep {
  opacity: 0.4;
}

.breadcrumb-current {
  color: var(--cobalt-primary);
  font-weight: 600;
}

/* 资讯中心文章列表卡片网格 (Portal Grid) */
.portal-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.portal-article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--transition-cubic);
  position: relative;
  overflow: hidden;
}

.portal-article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--cobalt-border);
}

.portal-card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--cobalt-subtle);
  color: var(--cobalt-primary);
  margin-bottom: 14px;
  align-self: flex-start;
}

.portal-card-tag.tag-hot {
  background: var(--crimson-subtle);
  color: var(--crimson-collar);
}

.portal-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.portal-card-title a:hover {
  color: var(--cobalt-primary);
}

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

.portal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.portal-read-more:hover {
  color: var(--cobalt-hover);
  transform: translateX(3px);
}

/* 文章目录 (Table of Contents - TOC) */
.article-toc-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--cobalt-primary);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 28px 0 36px;
}

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

.toc-list {
  list-style: none;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-item {
  font-size: 0.94rem;
  margin-bottom: 0 !important;
}

.toc-link {
  color: var(--text-secondary);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.toc-link:hover {
  color: var(--cobalt-primary);
  padding-left: 4px;
}

.toc-num {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  color: var(--cobalt-primary);
  font-weight: 700;
}

/* 正文图表与对比卡片 */
.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

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

.article-table th {
  background: var(--bg-subtle);
  color: var(--text-primary);
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

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

.article-table tr:hover td {
  background-color: rgba(0, 102, 255, 0.03);
}

/* 高亮呼出框 (Callouts) */
.article-callout {
  padding: 20px 24px;
  border-radius: 12px;
  margin: 24px 0;
  border-left: 4px solid var(--cobalt-primary);
  background: var(--bg-subtle);
}

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

.callout-p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0 !important;
}

.callout-pro {
  border-left-color: var(--crimson-collar);
  background: var(--crimson-subtle);
}

/* 内链与锚文本强化 */
.in-article-link {
  color: var(--cobalt-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

.in-article-link:hover {
  color: var(--cobalt-hover);
  background-color: var(--cobalt-subtle);
  border-radius: 4px;
}

/* 文章专属 FAQ 区块 */
.article-faq-section {
  margin: 44px 0 36px;
  border-top: 2px dashed var(--border-light);
  padding-top: 36px;
}

.article-faq-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.article-faq-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

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

.article-faq-q::before {
  content: 'Q:';
  color: var(--cobalt-primary);
  font-family: ui-monospace, monospace;
}

.article-faq-a {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 24px;
}

/* 相关阅读 (Related Reading Section) */
.related-reading-box {
  margin-top: 48px;
  border-top: 1px solid var(--border-light);
  padding-top: 36px;
}

.related-reading-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.related-reading-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  list-style: none;
  padding-left: 0 !important;
}

.related-reading-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px 20px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-reading-card:hover {
  border-color: var(--cobalt-primary);
  background: var(--bg-surface);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

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

.related-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

  .article-toc-box {
    padding: 18px 20px;
  }

  .article-table th, .article-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

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

