/* ==========================================================================
   鲤云 (liyun.best) - 东方水墨曜石沉浸式原生样式表 (Oriental Aquatic Obsidian)
   - 基底暗渊曜石黑 (#06080D) · 水光波纹焦散 · 锦鲤绯红 (#FF3B30) · 帝王金 (#FFB300)
   - 严禁星光/魔法棒/AI闪烁/机器人 · 纯粹自然流体动力学与网络遥测物理交互
   - 昼夜双模式自然过渡 · 全设备响应式单栏优化
   ========================================================================== */

:root {
  /* 白天模式 (湖光玉石 / 珍珠水雾) */
  --bg-primary: #f4f7fa;
  --bg-secondary: #eaf0f6;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(244, 247, 250, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.78);
  --border-color: #dbe4ee;
  --border-subtle: #edf2f7;
  --border-focus: #0284c7;

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

  /* 东方水墨与锦鲤质感色盘 */
  --cinnabar-red: #ff3b30;
  --cinnabar-hover: #e02d23;
  --cinnabar-glow: rgba(255, 59, 48, 0.25);

  --imperial-gold: #ffb300;
  --imperial-gold-dark: #d99800;
  --imperial-gold-glow: rgba(255, 179, 0, 0.22);

  --water-cyan: #0284c7;
  --water-cyan-glow: rgba(2, 132, 199, 0.22);

  --primary: var(--cinnabar-red);
  --primary-hover: var(--cinnabar-hover);
  --primary-light: rgba(255, 59, 48, 0.08);
  --primary-glow: var(--cinnabar-glow);

  --gradient-brand: linear-gradient(135deg, #ff3b30 0%, #ff8533 50%, #ffb300 100%);
  --gradient-water: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --gradient-scale: linear-gradient(135deg, rgba(255, 59, 48, 0.12) 0%, rgba(255, 179, 0, 0.12) 100%);

  --shadow-sm: 0 1px 3px rgba(10, 17, 30, 0.06);
  --shadow-md: 0 4px 18px -2px rgba(10, 17, 30, 0.08), 0 2px 6px -1px rgba(10, 17, 30, 0.04);
  --shadow-lg: 0 14px 34px -4px rgba(10, 17, 30, 0.12);
  --shadow-card-glow: 0 0 24px rgba(255, 59, 48, 0.12);

  --nav-blur: blur(16px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 夜间模式 (深湖曜石黑 Dark Lake Obsidian #06080D) */
[data-theme="dark"] {
  --bg-primary: #06080d;
  --bg-secondary: #0a0f17;
  --bg-card: rgba(14, 22, 36, 0.75);
  --bg-card-hover: rgba(20, 31, 51, 0.88);
  --bg-glass: rgba(6, 8, 13, 0.85);
  --bg-glass-card: rgba(14, 22, 36, 0.65);
  --border-color: rgba(255, 255, 255, 0.09);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-focus: #00f2fe;

  --text-primary: #f5f7fa;
  --text-secondary: #cbd5e1;
  --text-muted: #7e8c9f;
  --text-inverse: #06080d;

  --cinnabar-red: #ff3b30;
  --cinnabar-hover: #ff5757;
  --cinnabar-glow: rgba(255, 59, 48, 0.35);

  --imperial-gold: #ffb300;
  --imperial-gold-dark: #ffa000;
  --imperial-gold-glow: rgba(255, 179, 0, 0.35);

  --water-cyan: #00f2fe;
  --water-cyan-glow: rgba(0, 242, 254, 0.28);

  --primary: var(--cinnabar-red);
  --primary-hover: var(--cinnabar-hover);
  --primary-light: rgba(255, 59, 48, 0.15);
  --primary-glow: var(--cinnabar-glow);

  --gradient-brand: linear-gradient(135deg, #ff3b30 0%, #ff6b35 50%, #ffb300 100%);
  --gradient-water: linear-gradient(135deg, #00f2fe 0%, #06b6d4 100%);
  --gradient-scale: linear-gradient(135deg, rgba(255, 59, 48, 0.18) 0%, rgba(255, 179, 0, 0.16) 100%);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 6px 24px -2px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 16px 40px -4px rgba(0, 0, 0, 0.8);
  --shadow-card-glow: 0 0 30px rgba(0, 242, 254, 0.12);
}

/* 全局重置与平滑滚动动态过渡 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  min-height: 100vh;
}

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

ul, ol {
  list-style: none;
}

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

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

.container-narrow {
  max-width: 860px;
}

/* 顶部导航栏 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-glass);
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px var(--cinnabar-glow);
}

.brand-logo .brand-highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 导航目录 (包含首页 + 每个板块 + 推荐资讯) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 4px;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--cinnabar-red);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* 推荐资讯特殊标徽导航项 */
.nav-link.nav-news {
  color: var(--imperial-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.nav-link.nav-news:hover {
  color: #ffc107;
}

.nav-news-badge {
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--imperial-gold-glow);
  border: 1px solid var(--imperial-gold);
  color: var(--imperial-gold);
  line-height: 1.2;
}

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

/* 昼夜模式切换按钮 - 精致通透毛玻璃 */
.theme-toggle-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  backdrop-filter: blur(8px);
}

.theme-toggle-btn:hover {
  border-color: var(--imperial-gold);
  color: var(--imperial-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--imperial-gold-glow);
}

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

.theme-toggle-btn .sun-icon {
  position: absolute;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-toggle-btn .moon-icon {
  position: absolute;
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}

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

[data-theme="dark"] .theme-toggle-btn .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* 通用 CTA 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff !important;
  box-shadow: 0 4px 18px var(--cinnabar-glow);
  border: 1px solid transparent;
}

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

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

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

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

.btn-block {
  width: 100%;
}

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

/* ==========================================================================
   主视觉区 (Hero Section) - 沉浸式水渊与真实 3D/Canvas 锦鲤流体
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 50px 0 70px;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
}

/* 交互式 WebGL/Canvas 锦鲤水纹层 */
.koi-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

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

/* 主视觉内容层（浮在水幕与锦鲤之上） */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-main-col {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.geometric-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--gradient-scale);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cinnabar-red);
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}

.scale-dot {
  width: 7px;
  height: 7px;
  background-color: var(--imperial-gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--imperial-gold);
}

.hero-title {
  font-size: 3.3rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.hero-title .brand-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--water-cyan);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 30px;
}

/* 浮动鱼鳞协议切换胶囊 (Floating Fish-Scale Pill Button) */
.protocol-scale-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.scale-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 5px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.scale-glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 10px var(--cinnabar-glow);
  z-index: 1;
}

.scale-option {
  position: relative;
  z-index: 2;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: color 0.25s ease;
  user-select: none;
}

.scale-option.active {
  color: #ffffff;
}

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

/* 左右侧翼实时节点网络遥测卡片 (Flanking Server Telemetry Cards) */
.hero-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.telemetry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

.telemetry-card.pulse-glow {
  border-color: var(--cinnabar-red);
  box-shadow: 0 0 26px var(--cinnabar-glow);
}

.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.node-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.node-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.node-route-badge {
  font-size: 0.74rem;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--cinnabar-red);
  font-weight: 600;
}

.telemetry-metrics {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.latency-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--water-cyan);
  line-height: 1;
}

.loss-val {
  font-size: 0.82rem;
  color: #10b981;
  font-weight: 600;
}

/* 通用区块头 */
.section {
  padding: 85px 0;
  position: relative;
}

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

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

.section-tag {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cinnabar-red);
  margin-bottom: 12px;
}

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

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

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

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

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

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-scale);
  color: var(--cinnabar-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--border-color);
}

.feature-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

.feature-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.feature-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-highlights svg {
  color: #10b981;
  flex-shrink: 0;
}

/* 流媒体与 AI 支持图卡区 */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
}

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

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  width: fit-content;
}

.badge-media {
  background: rgba(255, 59, 48, 0.12);
  color: var(--cinnabar-red);
  border: 1px solid rgba(255, 59, 48, 0.25);
}

.badge-ai {
  background: rgba(0, 242, 254, 0.12);
  color: var(--water-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

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

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

.tags-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-normal);
}

.service-pill:hover {
  border-color: var(--cinnabar-red);
  color: var(--cinnabar-red);
  transform: scale(1.03);
}

.service-pill svg {
  width: 18px;
  height: 18px;
}

/* 套餐价格对比表 (参考网上主流真实套餐价格) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.pricing-card.popular {
  border-color: var(--cinnabar-red);
  box-shadow: var(--shadow-lg), 0 0 28px var(--cinnabar-glow);
  transform: scale(1.03);
  z-index: 2;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #ffffff;
  padding: 4px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px var(--cinnabar-glow);
}

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

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

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

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

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

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

.plan-sub-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--imperial-gold);
  font-weight: 600;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

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

.plan-feature-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* 用户评价 (剔除违和五角星，采用自然鱼鳞/网络遥测品质勋章) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  backdrop-filter: blur(12px);
}

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

.review-scale-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--imperial-gold);
  background: var(--imperial-gold-glow);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

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

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.user-info {
  display: flex;
  flex-direction: column;
}

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

.user-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 常见问题解答 (FAQ) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  backdrop-filter: blur(12px);
}

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

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

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

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

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

.faq-item.active .faq-answer {
  padding: 0 24px 22px;
}

/* 底部 CTA 诱导横幅 */
.cta-banner-section {
  padding: 60px 0 80px;
}

.cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.cta-banner-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.cta-banner-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
}

/* 页脚 - 严格只保留四个标题，在新页面中展示 */
.footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
  transition: var(--transition-normal);
}

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

.footer-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding: 6px 4px;
}

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

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

/* 子页面专属文章样式 */
.subpage-hero {
  padding: 60px 0 40px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.subpage-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

.subpage-content {
  padding: 60px 0 80px;
}

.doc-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  line-height: 1.8;
  backdrop-filter: blur(12px);
}

.doc-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.doc-article h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.doc-article p {
  margin-bottom: 16px;
}

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

.doc-article li {
  list-style: disc;
  margin-bottom: 8px;
}

.alert-box {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  border-left: 4px solid var(--cinnabar-red);
  background: var(--primary-light);
  color: var(--text-primary);
}

.alert-box.alert-danger {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.alert-box.alert-success {
  border-left-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

/* 推荐资讯卡片流专用样式 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-tag {
  color: var(--cinnabar-red);
  font-weight: 700;
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

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

.news-summary {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.news-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--water-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-link:hover {
  color: var(--cinnabar-red);
}

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

.sitemap-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sitemap-card h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

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

.sitemap-list a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sitemap-list a:hover {
  color: var(--cinnabar-red);
  transform: translateX(4px);
}

/* ==========================================================================
   深度 SEO 长篇科普文章专属样式体系 (TOC目录、表格、FAQ、相关阅读、内链)
   ========================================================================== */

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

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--cinnabar-red);
}

.breadcrumbs .sep {
  opacity: 0.5;
}

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

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.article-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: var(--gradient-scale);
  color: var(--cinnabar-red);
  font-weight: 700;
  font-size: 0.78rem;
  border: 1px solid var(--border-color);
}

.article-toc {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--cinnabar-red);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 30px 0 40px;
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
}

.toc-list li {
  list-style-type: decimal;
}

.toc-list a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.toc-list a:hover {
  color: var(--cinnabar-red);
  text-decoration: underline;
}

.article-body {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.85;
}

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

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

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

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 28px;
}

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

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

.article-body a {
  color: var(--cinnabar-red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: #ff5757;
}

.seo-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  background: var(--bg-card);
}

.seo-table th, .seo-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.seo-table th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 700;
  white-space: nowrap;
}

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

.seo-table tr:hover td {
  background: var(--bg-card-hover);
}

.highlight-row td {
  background: rgba(255, 59, 48, 0.05);
  font-weight: 600;
}

.code-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88rem;
  color: var(--text-primary);
  overflow-x: auto;
  margin: 22px 0 28px;
  line-height: 1.6;
}

.callout-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--water-cyan);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
}

.callout-box.callout-gold {
  border-left-color: var(--imperial-gold);
}

.callout-box.callout-red {
  border-left-color: var(--cinnabar-red);
}

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

/* 文章 FAQ 板块 */
.article-faq-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px dashed var(--border-color);
}

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

.article-faq-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 18px;
}

.faq-q-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.faq-q-badge {
  color: var(--cinnabar-red);
  font-weight: 800;
}

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

/* 相关深度阅读推荐矩阵 */
.related-posts-section {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
}

.related-posts-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 22px;
}

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

.related-post-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.related-post-card:hover {
  transform: translateY(-3px);
  border-color: var(--cinnabar-red);
  box-shadow: var(--shadow-sm);
}

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

.related-post-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
  flex-grow: 1;
}

.related-post-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--water-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 文章末尾专属高转化呼吁卡片 */
.article-cta-box {
  background: var(--gradient-brand);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  margin: 50px 0 20px;
  box-shadow: var(--shadow-lg), 0 0 30px var(--cinnabar-glow);
}

.article-cta-box h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.article-cta-box p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 26px;
}

.article-cta-box .btn {
  background: #ffffff;
  color: var(--cinnabar-red) !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.article-cta-box .btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

/* ==========================================================================
   响应式媒体查询 (@media)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .hero-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card.popular {
    transform: none;
  }

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

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

  .header .nav-wrap {
    height: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    gap: 18px;
    align-items: flex-start;
  }

  .nav-links.active {
    display: flex;
  }

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

  .hero-section {
    padding: 40px 0 40px;
    min-height: auto;
  }

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

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

  .hero-intro {
    font-size: 0.96rem;
    margin-bottom: 24px;
  }

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

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-lg, .hero-cta-group .btn {
    width: 100%;
    min-height: 50px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .showcase-card {
    padding: 26px 20px;
  }

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

  .cta-banner-title {
    font-size: 1.75rem;
  }

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

  .doc-article {
    padding: 28px 18px;
  }

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