/* ==========================================================================
   银河云 (GalaxyCloud) - 超光速曲率引擎与天文台双重质感样式表
   
   Dark Mode UI:
   Hyperspace warp-speed kinetic UI design for "Galaxy Cloud (银河云)".
   Relativistic dark-space palette: event-horizon midnight blue (#050714),
   ionized warp-streak cobalt (#1d4ed8), and searing starlight white (#ffffff).
   Smoked-crystal HUD panels, hyper-drive warp velocity corridor.
   
   Light Mode UI:
   High-key celestial observatory UI design for "Galaxy Cloud (银河云)".
   Pure astronomical daylight palette: immaculate alpine snow-white base (#fafbfc),
   frosted mirror silver (#e2e8f0), cryogenic starlight blue (#38bdf8).
   Fine-line concentric polar star-trail arcs, chrome specular gleams.
   ========================================================================== */

/* 1. 全局设计令牌与昼夜色彩体系 */
:root {
  /* 白天模式 (Light Mode): 高阶纯净天文台观测站质感 */
  --bg-body: #fafbfc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-glass: rgba(250, 251, 252, 0.88);
  --bg-badge: #eff6ff;
  --bg-card-hover: #f8fafc;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-accent: #2563eb;
  
  /* 天文台银蓝色彩映射 */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #38bdf8;
  --accent: #6366f1;
  --accent-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #38bdf8 100%);
  --hero-glow: radial-gradient(circle at 50% 25%, rgba(56, 189, 248, 0.08) 0%, rgba(37, 99, 235, 0.03) 50%, transparent 80%);
  
  /* 磨砂镜银与极度精准的 1px 边框 */
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-highlight: #93c5fd;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 22px 40px -6px rgba(37, 99, 235, 0.12), 0 8px 18px -4px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
  
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1240px;
}

/* 夜间模式 (Dark Mode): 超光速曲率跃迁 (Hyperspace Warp-Speed Kinetic) */
[data-theme="dark"] {
  --bg-body: #050714; /* 事件视界深空午夜蓝 */
  --bg-surface: rgba(9, 14, 30, 0.85); /* 熏黑水晶 HUD 面板 */
  --bg-surface-elevated: rgba(14, 22, 46, 0.9);
  --bg-surface-glass: rgba(5, 7, 20, 0.85);
  --bg-badge: rgba(29, 78, 216, 0.25);
  --bg-card-hover: rgba(19, 29, 58, 0.8);
  
  --text-primary: #ffffff; /* 炽热星光白 */
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #60a5fa;
  
  /* 电离跃迁钴蓝与纯粹星光 */
  --primary: #1d4ed8;
  --primary-hover: #2563eb;
  --primary-light: rgba(29, 78, 216, 0.2);
  --secondary: #38bdf8;
  --accent: #818cf8;
  --accent-gradient: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #38bdf8 100%);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(29, 78, 216, 0.28) 0%, rgba(56, 189, 248, 0.12) 45%, transparent 75%);
  
  --border-color: rgba(29, 78, 216, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-highlight: rgba(59, 130, 246, 0.6);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.6);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.8);
  --shadow-xl: 0 22px 42px -6px rgba(5, 7, 20, 0.9);
  --shadow-glow: 0 0 35px rgba(29, 78, 216, 0.45);
  
  --success-bg: rgba(16, 185, 129, 0.15);
  --warning-bg: rgba(245, 158, 11, 0.15);
}

/* 2. 基础重置与交互底层 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* 背景星轨/曲率画布层 (交互式 60FPS 动力学引擎) */
#celestialCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

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

img, svg {
  vertical-align: middle;
}

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* 3. 头部与全功能导航目录 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

/* 昼夜模式 Logo 切换 */
.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;
}

.brand-chinese-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-badge);
  color: var(--text-accent);
  border: 1px solid var(--border-highlight);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* 导航目录：包含首页、每个板块及新增‘推荐资讯’ */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  padding: 8px 6px;
  position: relative;
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast), left var(--transition-fast);
  border-radius: 2px;
}

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

/* 推荐资讯特殊微标高亮 */
.nav-link-news {
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link-news::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
  animation: pulse-dot 2s infinite;
}

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

/* 精致专业化昼夜模式切换按钮 */
.theme-toggle-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
  background: rgba(148, 163, 184, 0.22);
  border-color: var(--border-highlight);
  transform: translateY(-1px) rotate(15deg);
  box-shadow: var(--shadow-sm);
}

.theme-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-sun {
  display: block;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.theme-icon-moon {
  display: none;
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

[data-theme="dark"] .theme-icon-sun {
  display: none;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
[data-theme="dark"] .theme-icon-moon {
  display: block;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* 按钮通用规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.5);
  filter: brightness(1.06);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border-color);
}

/* 4. 主视觉区 (Hero Section) */
.hero {
  position: relative;
  padding: 80px 0 65px;
  text-align: center;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-badge);
  border: 1px solid var(--border-highlight);
  color: var(--text-accent);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* 大标题必须包含‘银河云’ */
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.hero-gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 16px;
}

/* 主视觉区简介 (Detailed Intro Block) */
.hero-intro {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto 36px;
  padding: 16px 24px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-color);
}

.stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-value span {
  font-size: 1.1rem;
  color: var(--primary);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* 5. 专线视界 / 极速曲率走廊 HUD 交互视效 */
.warp-tunnel-section {
  padding: 40px 0 80px;
}

.warp-hud-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.warp-hud-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.warp-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.warp-hud-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.warp-status-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #10b981;
  background: var(--success-bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.warp-corridor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.tunnel-node-card {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

/* 悬浮发射光子束与零延迟坍缩反馈 */
.tunnel-node-card:hover {
  border-color: var(--secondary);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

.tunnel-flag {
  font-size: 1.5rem;
  margin-bottom: 6px;
  display: block;
}

.tunnel-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.tunnel-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tunnel-latency {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.tunnel-node-card:hover .tunnel-latency {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* 6. 产品核心优势介绍 (3个图文卡片) & 边框高光 */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background-color: rgba(148, 163, 184, 0.03);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 10px;
}

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

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

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

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

/* 镜面微光沿 1px 边框掠过动画 */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none;
}

.feature-card:hover::after {
  left: 140%;
  transition: left 0.85s ease-in-out;
}

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

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--bg-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

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

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

.feature-card-points {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.feature-card-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.feature-card-point svg {
  color: var(--success);
  flex-shrink: 0;
}

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

.media-ai-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

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

.media-ai-badge.streaming {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.media-ai-badge.ai {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

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

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

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.brand-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
}

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

.brand-badge-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.brand-icon-svg {
  width: 28px;
  height: 28px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

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

.spec-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

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

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

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

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-xl);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
  z-index: 10;
  white-space: nowrap;
  line-height: 1.2;
}

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

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

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

.price-num {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

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

.plan-billing-sub {
  font-size: 0.8rem;
  color: var(--text-accent);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.plan-feature-item svg {
  color: var(--success);
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
}

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

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

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

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

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

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

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

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

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

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

.faq-item.active .faq-answer {
  max-height: 320px;
  padding-bottom: 22px;
}

/* 11. 呼吁转化条 (Bottom CTA Banner) */
.bottom-cta-banner {
  background: var(--accent-gradient);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-top: 40px;
}

.bottom-cta-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.bottom-cta-desc {
  font-size: 1.1rem;
  opacity: 0.94;
  max-width: 640px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.bottom-cta-btn {
  background: #ffffff !important;
  color: #1d4ed8 !important;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.bottom-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: #f8fafc !important;
}

/* 12. 页脚严格规范 (Footer) */
/* 核心硬性约束：页脚只保留这四个标题，内容打开新的页面展示 */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 36px;
  position: relative;
  z-index: 2;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-link-item {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.footer-link-item:hover {
  color: var(--primary);
  transform: translateY(-1px);
  background: var(--bg-card-hover);
}

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

/* 13. 单独子页面排版 */
.page-hero {
  padding: 65px 0 45px;
  text-align: center;
  background: var(--bg-surface-glass);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 50px;
}

.page-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

.article-body {
  max-width: 860px;
  margin: 0 auto 80px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

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

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

.article-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-heading svg {
  color: var(--primary);
}

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

.article-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.article-callout {
  padding: 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  background: var(--bg-badge);
  border-left: 4px solid var(--primary);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.article-callout.warning {
  background: var(--warning-bg);
  border-left-color: var(--warning);
}

.article-callout.success {
  background: var(--success-bg);
  border-left-color: var(--success);
}

/* 面包屑导航与文章元数据 (SEO) */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

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

.breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

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

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

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

/* 文章目录 (TOC - Table of Contents) */
.toc-container {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 30px 0 40px;
}

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

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

.toc-item {
  font-size: 0.95rem;
  line-height: 1.5;
}

.toc-item a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.toc-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.toc-item.level-2 {
  padding-left: 0;
  font-weight: 600;
}

.toc-item.level-3 {
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 规范化数据对比表格 */
.article-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
}

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

.article-table th {
  background: var(--bg-badge);
  color: var(--text-primary);
  font-weight: 700;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

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

.article-table tr:nth-child(even) td {
  background: rgba(148, 163, 184, 0.03);
}

/* 文中专属转化卡片 */
.article-cta-box {
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  margin: 40px 0;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.article-cta-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.article-cta-desc {
  font-size: 0.95rem;
  opacity: 0.94;
  margin-bottom: 22px;
  line-height: 1.6;
}

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

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

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

.related-post-card {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

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

.related-post-card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* 14. 移动端响应式适配 (@media) */
@media (max-width: 1080px) {
  .hero-title {
    font-size: 2.9rem;
  }
  
  .warp-corridor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }
  
  .nav-container {
    height: 64px;
  }

  .brand-logo-img {
    height: 32px;
    max-width: 145px;
  }

  .brand-chinese-tag {
    font-size: 0.72rem;
    padding: 2px 6px;
  }

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

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 20px 24px;
    gap: 14px;
    box-shadow: var(--shadow-xl);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }

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

  .nav-link {
    width: 100%;
    font-size: 1.05rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding: 44px 0 36px;
  }

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

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

  .hero-intro {
    font-size: 0.95rem;
    padding: 14px 16px;
    margin-bottom: 28px;
  }

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

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

  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .warp-corridor-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .media-ai-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .media-ai-card {
    padding: 24px;
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .brand-badge-item {
    padding: 10px 6px;
  }

  .brand-badge-name {
    font-size: 0.72rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 16px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-btn {
    min-height: 50px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-question {
    padding: 18px 16px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 18px;
  }

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

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

  .bottom-cta-desc {
    font-size: 0.95rem;
  }

  .bottom-cta-btn {
    width: 100%;
    min-height: 50px;
  }

  .footer-links {
    gap: 18px;
  }

  .footer-link-item {
    font-size: 0.95rem;
  }

  .article-body {
    padding: 24px 18px;
  }

  .page-title {
    font-size: 1.85rem;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
