/* ===================================================================
   BYG Cloud (白月光) - 宇宙深空 3D 粒子地球 & 玻璃拟物 HUD 科技主题
   Color Palette:
     Cosmic Obsidian: #040812
     Smoked Glass: rgba(15, 23, 42, 0.55) with backdrop-filter blur
     Electric Royal Blue: #2563EB
     Luminous Sky Blue: #38BDF8
     Active Emerald Green: #10B981
   =================================================================== */

:root {
  /* 白天模式 */
  --bg-space: #f8fafc;
  --bg-header: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.95);
  --bg-hud: rgba(241, 245, 249, 0.9);
  --border-glass: rgba(37, 99, 235, 0.15);
  --border-glass-hover: rgba(56, 189, 248, 0.45);
  --text-main: #0b1120;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --primary-blue: #2563eb;
  --sky-blue: #0284c7;
  --emerald-green: #10b981;
  --btn-primary-bg: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --glow-accent: rgba(37, 99, 235, 0.12);
  --hud-metric-bg: rgba(248, 250, 252, 0.95);
  --section-alt-bg: #f1f5f9;
}

[data-theme="dark"] {
  /* 宇宙深黑深空模式 (Deep Cosmic Obsidian) */
  --bg-space: #040812;
  --bg-header: rgba(4, 8, 18, 0.75);
  --bg-glass: rgba(15, 23, 42, 0.55);
  --bg-glass-card: rgba(11, 19, 36, 0.65);
  --bg-hud: rgba(15, 23, 42, 0.75);
  --border-glass: rgba(56, 189, 248, 0.15);
  --border-glass-hover: rgba(56, 189, 248, 0.55);
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --primary-blue: #2563eb;
  --sky-blue: #38bdf8;
  --emerald-green: #10b981;
  --btn-primary-bg: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --card-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 20px -2px rgba(37, 99, 235, 0.15);
  --glow-accent: rgba(37, 99, 235, 0.25);
  --hud-metric-bg: rgba(11, 19, 36, 0.85);
  --section-alt-bg: #070d1d;
}

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

html {
  scroll-behavior: smooth;
  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-space);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

/* 锚点滚动平滑偏移量，确保不被置顶导航栏遮挡 */
section[id], div[id] {
  scroll-margin-top: 86px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

/* 悬浮通透导航栏 (Transparent Floating Navbar) */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

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

/* 品牌 Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.brand-logo.logo-light {
  display: block;
}

.brand-logo.logo-dark {
  display: none;
}

[data-theme="dark"] .brand-logo.logo-light {
  display: none;
}

[data-theme="dark"] .brand-logo.logo-dark {
  display: block;
}

/* 导航锚点链接 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.nav-link:hover, .nav-link.active-nav {
  color: var(--sky-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--sky-blue);
  box-shadow: 0 0 8px var(--sky-blue);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active-nav::after {
  width: 100%;
}

/* 导航控制区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 精致质感昼夜模式切换按钮 */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--sky-blue);
  color: var(--sky-blue);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
}

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

.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;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-glass:hover {
  border-color: var(--sky-blue);
  color: var(--sky-blue);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

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

.btn-block {
  width: 100%;
}

.btn-white {
  background: #ffffff;
  color: #040812 !important;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* 徽章 Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.12);
  color: var(--sky-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 22px;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-green);
  box-shadow: 0 0 10px var(--emerald-green);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ===================================================================
   全屏主视觉舞台 (Full-Bleed Hero Stage)
   3D Particle Globe + Floating Glass HUD Aesthetic
   =================================================================== */
.hero-stage {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
  overflow: hidden;
}

/* 3D 粒子地球 Canvas 容器 */
.globe-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

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

/* Hero 内容双栏分流 */
.hero-content-wrapper {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

/* 左侧文本与技术简介区 */
.hero-left-column {
  max-width: 660px;
}

.hero-headline {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
  color: var(--text-main);
}

.text-sky {
  color: var(--sky-blue);
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.4);
}

/* 4 行技术简介 (IPLC & 流量深度混淆简介) */
.hero-tech-summary {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 32px;
  box-shadow: var(--card-shadow);
}

.summary-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 10px;
}

.summary-line:last-child {
  margin-bottom: 0;
}

.summary-bullet {
  color: var(--sky-blue);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.95rem;
}

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

/* 右侧悬浮 HUD 遥测仪表盘 (Right Floating HUD Overlays) */
.hero-hud-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  perspective: 1000px;
}

.hud-panel {
  background: var(--bg-hud);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hud-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky-blue), transparent);
  opacity: 0.5;
}

.hud-panel:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-3px) scale(1.01);
}

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

.hud-title-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.hud-uptime-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-green);
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* 磨砂遥测方格网格 (Frosted Dark Square Metric Tiles) */
.hud-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-tile {
  background: var(--hud-metric-bg);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}

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

.metric-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--sky-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* 动画分段延迟指示条 (Animated Segmented Latency Bar) */
.latency-bar-container {
  margin-top: 10px;
}

.latency-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.latency-val {
  color: var(--emerald-green);
  font-weight: 800;
}

.segmented-bar {
  display: flex;
  gap: 4px;
  height: 10px;
}

.segment {
  flex: 1;
  background: rgba(56, 189, 248, 0.2);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.segment.active {
  background: var(--sky-blue);
  box-shadow: 0 0 8px var(--sky-blue);
}

.segment.pulse {
  background: var(--emerald-green);
  box-shadow: 0 0 10px var(--emerald-green);
  animation: segmentPulse 1.8s infinite ease-in-out;
}

@keyframes segmentPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===================================================================
   板块基础与 Bento Grid 架构
   =================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background-color: var(--section-alt-bg);
  transition: background-color 0.3s ease;
}

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

.section-tag {
  color: var(--sky-blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
  color: var(--text-main);
}

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

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

.feature-bento-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 38px 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.25);
}

/* 1px 精细技术线框图标 */
.tech-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-blue);
  margin-bottom: 24px;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

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

.feature-telemetry-row {
  display: flex;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-glass);
}

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

.telemetry-value {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--sky-blue);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.telemetry-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.unlock-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.unlock-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 20px 40px -10px rgba(56, 189, 248, 0.2);
}

.unlock-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.unlock-card.media .unlock-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.unlock-card.ai .unlock-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.unlock-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.unlock-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 26px;
}

/* 标签云 */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-hud);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tech-tag:hover {
  border-color: var(--sky-blue);
  color: var(--sky-blue);
}

.tech-tag svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ===================================================================
   清晰真实的套餐价格对比表 (3-Column IPLC Pricing Matrix)
   参考网上真实机场套餐定价 (¥18/月、¥38/月、¥328/年)
   =================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 42px 32px;
  box-shadow: var(--card-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
}

.pricing-card.popular {
  border-color: var(--sky-blue);
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.35);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  min-height: 40px;
}

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

.currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sky-blue);
}

.price {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

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

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

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

.plan-feature-item svg {
  color: var(--emerald-green);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

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

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

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

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

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

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--sky-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

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

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

.faq-item {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

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

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

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  color: var(--sky-blue);
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 26px 22px;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

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

.faq-item:not(.active) .faq-answer {
  display: none;
}

/* 底部号召性 CTA 卡片 */
.bottom-cta {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 24px;
  padding: 64px 44px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.45);
  margin-top: 50px;
}

.bottom-cta h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.bottom-cta p {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* ===================================================================
   页脚规范 (严格只保留四个标题，在新页面打开)
   =================================================================== */
.footer {
  background: var(--bg-glass-card);
  border-top: 1px solid var(--border-glass);
  padding: 48px 0 36px;
  margin-top: 80px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

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

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

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

/* ===================================================================
   推荐资讯 (Insights) 专属样式
   =================================================================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

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

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

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

.telemetry-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--sky-blue);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

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

.insight-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

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

.insight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.insight-read-time {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sky-blue);
}

.link-arrow:hover {
  opacity: 0.8;
}

/* 内页独立排版 */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 50px;
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.page-content {
  max-width: 880px;
  margin: 0 auto 80px;
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 48px 42px;
  box-shadow: var(--card-shadow);
}

.page-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-glass);
}

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

.page-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}

.page-content ul, .page-content ol {
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-left: 24px;
}

.page-content li {
  line-height: 1.75;
  margin-bottom: 8px;
}

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

.node-item {
  background: var(--bg-hud);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-item-name {
  font-weight: 600;
  color: var(--text-main);
}

.node-item-ping {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-green);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.sitemap-section {
  margin-bottom: 30px;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  list-style: none;
}

.sitemap-card {
  background: var(--bg-hud);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 18px 20px;
  display: block;
  transition: all 0.2s ease;
}

.sitemap-card:hover {
  border-color: var(--sky-blue);
  transform: translateX(4px);
}

.sitemap-card h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.sitemap-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ===================================================================
   响应式媒体查询适配 (@media)
   =================================================================== */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-grid,
  .pricing-grid,
  .reviews-grid,
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .nav-links {
    display: none; /* 移动端精简模式 */
  }

  .hero-stage {
    padding: 40px 0 60px;
  }

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

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

  .hero-cta-group .btn {
    width: 100%;
  }

  .features-grid,
  .unlock-grid,
  .pricing-grid,
  .reviews-grid,
  .insights-grid,
  .node-grid,
  .sitemap-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-bento-card,
  .unlock-card,
  .pricing-card,
  .review-card,
  .insight-card,
  .page-content {
    padding: 26px 20px;
  }

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

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

  .btn {
    min-height: 48px; /* 触控标准 */
    font-size: 1rem;
  }
}
/* 文章详情页专属排版样式 (Article Layout & TOC) */
.article-wrap {
  max-width: 920px;
  margin: 0 auto 80px;
}

.article-header {
  padding: 50px 0 30px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 36px;
}

.article-tag-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.article-title {
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.6px;
  color: var(--text-main);
  margin-bottom: 18px;
}

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

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

/* 目录 (Table of Contents - TOC) */
.article-toc {
  background: var(--bg-hud);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 40px;
  box-shadow: var(--card-shadow);
}

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

.toc-list {
  list-style: none;
  padding-left: 4px;
}

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

.toc-list li a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.toc-list li a:hover {
  color: var(--sky-blue);
  transform: translateX(4px);
}

.toc-num {
  color: var(--sky-blue);
  font-weight: 700;
}

/* 正文主体 */
.article-body {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 48px 42px;
  box-shadow: var(--card-shadow);
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 1.02rem;
}

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 42px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
  scroll-margin-top: 96px;
}

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

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

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

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

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

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

.article-callout {
  background: var(--bg-hud);
  border-left: 4px solid var(--sky-blue);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 26px 0;
  color: var(--text-main);
}

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

.article-table-container {
  overflow-x: auto;
  margin: 26px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.article-table th, .article-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-glass);
  text-align: left;
}

.article-table th {
  background: var(--bg-hud);
  color: var(--text-main);
  font-weight: 700;
}

.article-table tr:nth-child(even) {
  background: rgba(37, 99, 235, 0.03);
}

/* 关联内链样式 */
.internal-link {
  color: var(--sky-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.internal-link:hover {
  opacity: 0.8;
}

/* 文章内部 FAQ 模块 */
.article-faq-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-glass);
}

.article-faq-item {
  background: var(--bg-hud);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
}

.article-faq-q {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.article-faq-a {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0 !important;
}

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

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

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

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

.related-card:hover {
  border-color: var(--sky-blue);
  transform: translateY(-3px);
}

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

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

@media (max-width: 768px) {
  .article-body {
    padding: 26px 20px;
    font-size: 0.96rem;
  }
  .article-title {
    font-size: 1.75rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}
