/* ==========================================================================
   西游云 (XiYou Cloud) - 官方推广落地页核心样式表
   Design Style: Cyber Cloud-Stride & Transcontinental Velocity
   Color Palette: Obsidian (#080A0F), Amber Gold (#F59E0B), Cloud Cyan (#06B6D4), Stealth Carbon (#131722)
   Zero External Heavy Libraries | 60FPS Native Hardware Acceleration
   ========================================================================== */

:root {
  /* 白天模式 (默认打开模式，通透高对比与科技金青色调) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(248, 250, 252, 0.88);
  --bg-hud: rgba(255, 255, 255, 0.92);
  
  --text-primary: #0a0f1d;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-glow: rgba(245, 158, 11, 0.35);
  
  --brand-gold: #f59e0b;
  --brand-gold-glow: rgba(245, 158, 11, 0.25);
  --brand-cyan: #06b6d4;
  --brand-cyan-glow: rgba(6, 182, 212, 0.25);
  --accent-emerald: #10b981;
  
  --brand-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #f59e0b 100%);
  --brand-gradient-hover: linear-gradient(135deg, #0369a1 0%, #0891b2 50%, #d97706 100%);
  
  --badge-bg: rgba(6, 182, 212, 0.1);
  --badge-text: #0891b2;
  --badge-border: rgba(6, 182, 212, 0.3);
  
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --card-shadow-hover: 0 20px 30px -10px rgba(6, 182, 212, 0.12), 0 0 20px rgba(245, 158, 11, 0.1);
  --hero-glow: radial-gradient(circle at 50% 30%, rgba(6, 182, 212, 0.12) 0%, rgba(245, 158, 11, 0.08) 40%, rgba(248, 250, 252, 0) 75%);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 深色模式 (Cyber Cloud-Stride Obsidian Dark Mode) */
[data-theme="dark"] {
  --bg-primary: #080a0f;
  --bg-secondary: #0d111a;
  --bg-tertiary: #131722;
  --bg-card: #0f141f;
  --bg-card-hover: #151b2a;
  --bg-glass: rgba(8, 10, 15, 0.85);
  --bg-hud: rgba(19, 23, 34, 0.85);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-color: #1e2638;
  --border-hover: #334155;
  --border-glow: rgba(245, 158, 11, 0.5);
  
  --brand-gold: #f59e0b;
  --brand-gold-glow: rgba(245, 158, 11, 0.4);
  --brand-cyan: #06b6d4;
  --brand-cyan-glow: rgba(6, 182, 212, 0.4);
  --accent-emerald: #10b981;
  
  --brand-gradient: linear-gradient(135deg, #06b6d4 0%, #38bdf8 40%, #f59e0b 100%);
  --brand-gradient-hover: linear-gradient(135deg, #22d3ee 0%, #7dd3fc 40%, #fbbf24 100%);
  
  --badge-bg: rgba(6, 182, 212, 0.15);
  --badge-text: #38bdf8;
  --badge-border: rgba(6, 182, 212, 0.35);
  
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 35px -5px rgba(6, 182, 212, 0.2), 0 0 25px rgba(245, 158, 11, 0.15);
  --hero-glow: radial-gradient(circle at 50% 25%, rgba(6, 182, 212, 0.16) 0%, rgba(245, 158, 11, 0.12) 45%, rgba(8, 10, 15, 0) 80%);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

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

img, svg {
  display: block;
}

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

/* 版心容器 */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

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

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

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

/* 白天模式下显示 logo-transparent，隐藏 dark 版 */
html:not([data-theme="dark"]) .brand-logo-dark {
  display: none !important;
}
html:not([data-theme="dark"]) .brand-logo-light {
  display: block !important;
}

/* 黑夜模式下显示 logo-dark，隐藏 light 版 */
html[data-theme="dark"] .brand-logo-light {
  display: none !important;
}
html[data-theme="dark"] .brand-logo-dark {
  display: block !important;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.45));
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 15px var(--brand-cyan-glow);
  position: relative;
}

.logo-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-gold));
  z-index: -1;
  opacity: 0.5;
  filter: blur(3px);
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.logo-text .brand-cn {
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text .brand-en {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}

/* 导航目录：首页加每个板块，点击平滑过渡 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-gold));
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

.nav-badge-new {
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: var(--brand-gold);
  color: #080a0f;
  font-weight: 800;
  margin-left: 4px;
  vertical-align: top;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.theme-toggle-btn:hover {
  background: rgba(148, 163, 184, 0.16);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 12px var(--brand-cyan-glow);
  transform: translateY(-1px);
}

.theme-icon-sun,
.theme-icon-moon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/* 白天默认显示太阳 */
html:not([data-theme="dark"]) .theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #f59e0b;
}
html:not([data-theme="dark"]) .theme-icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}

/* 黑夜模式显示月亮 */
html[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}
html[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #38bdf8;
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

/* 磁吸质感主 CTA 按钮 */
.btn-primary {
  background: var(--brand-gradient);
  color: #080a0f !important;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--brand-cyan-glow);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  box-shadow: 0 6px 24px var(--brand-cyan-glow), 0 0 16px var(--brand-gold-glow);
  transform: translateY(-2px);
}

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

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

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

/* 主视觉区 (Hero Section) & Canvas 背景 */
.hero-section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 70px;
  text-align: center;
  background-image: var(--hero-glow);
  overflow: hidden;
}

/* 交互式 HTML5 Canvas 背景：高流速金青色粒子与气流条带 */
#cloudVelocityCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 0 15px var(--brand-cyan-glow);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  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); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.hero-title .brand-highlight {
  background: linear-gradient(135deg, var(--brand-gold) 0%, #fbbf24 40%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--brand-gold-glow);
}

.hero-title .velocity-highlight {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, #38bdf8 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

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

/* 实时跨洋网络 HUD 指示条 (Live Route Strip HUD) */
.route-hud-bar {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 24px;
  background: var(--bg-hud);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hud-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hud-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hud-item-label {
  color: var(--text-muted);
}

.hud-ping-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: var(--brand-cyan);
}

.hud-protocols {
  display: flex;
  align-items: center;
  gap: 8px;
}

.protocol-chip {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, monospace;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--brand-gold);
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.protocol-chip:hover {
  border-color: var(--brand-gold);
  box-shadow: 0 0 10px var(--brand-gold-glow);
}

/* 通用章节规范 */
.section {
  padding: 96px 0;
  position: relative;
}

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

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

/* 核心优势 Bento Grid 卡片 (带琥珀金与电青流光边框特效) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), var(--brand-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #080a0f;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-gold));
  box-shadow: 0 4px 14px var(--brand-cyan-glow);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

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

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

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

.feature-card-list svg {
  color: var(--brand-gold);
  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-xl);
  padding: 40px 36px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.showcase-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
}

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

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

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: var(--transition);
}

.tag-item:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
  transform: translateY(-1px);
}

.tag-item svg {
  width: 18px;
  height: 18px;
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  font-size: 0.88rem;
}

.status-online {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-emerald);
  font-weight: 600;
}

.status-online .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* 套餐价格对比表 (参考行业真实套餐方案) */
.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-xl);
  padding: 40px 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

.pricing-card.featured {
  border: 2px solid var(--brand-gold);
  box-shadow: 0 12px 30px -8px var(--brand-gold-glow);
  transform: scale(1.03);
}

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

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-gold) 0%, #f59e0b 50%, #d97706 100%);
  color: #080a0f;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px var(--brand-gold-glow);
}

.plan-header {
  margin-bottom: 20px;
  text-align: center;
}

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

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

.plan-price-wrap {
  text-align: center;
  padding: 20px 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 28px;
}

.plan-currency {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  vertical-align: super;
}

.plan-price {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

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

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

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

.plan-features svg {
  flex-shrink: 0;
  color: var(--brand-cyan);
}

.pricing-card .btn {
  width: 100%;
}

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

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

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

.stars {
  display: flex;
  gap: 4px;
  color: var(--brand-gold);
  margin-bottom: 18px;
}

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

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #080a0f;
  font-size: 1rem;
}

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

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

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

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

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

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

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

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 24px;
  transition: max-height 0.35s ease-in-out;
}

/* 页脚 (Footer) - 严格遵循只保留4个标题规范并新窗口打开 */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 36px;
  margin-top: 60px;
}

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

.footer-nav-item a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.footer-nav-item a:hover {
  color: var(--brand-cyan);
}

.footer-nav-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-cyan);
  transition: width 0.25s ease;
}

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

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

/* 子页面通用文章样式 */
.page-container {
  max-width: 880px;
  margin: 130px auto 80px;
  padding: 0 24px;
}

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

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

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

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

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 16px;
}

.page-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul, .page-content ol {
  margin: 0 0 20px 24px;
}

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

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand-cyan);
  margin-bottom: 24px;
}

.back-home-link:hover {
  text-decoration: underline;
}

/* 资讯专栏卡片流 (用于推荐资讯页) */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.article-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.article-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--badge-bg);
  color: var(--brand-cyan);
  margin-bottom: 12px;
}

.article-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.article-snippet {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

/* 响应式媒体查询 (Mobile Responsive) */
@media (max-width: 992px) {
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-section {
    padding-top: 120px;
    padding-bottom: 50px;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
  }
  
  .route-hud-bar {
    padding: 16px;
    gap: 14px;
  }
  
  .hud-group {
    gap: 12px;
    width: 100%;
    justify-content: space-between;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .showcase-card {
    padding: 28px 20px;
  }
  
  .pricing-card {
    padding: 32px 20px;
  }
  
  .footer-nav-list {
    gap: 20px;
  }
  
  .footer-nav-item a {
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   深度 SEO 长篇文章专属样式表 (TOC, FAQ, Related Posts, Semantic Layout)
   ========================================================================== */

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

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

.breadcrumb a:hover {
  color: var(--brand-cyan);
}

.breadcrumb-separator {
  color: var(--border-hover);
}

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

.article-main-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article-tags-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.article-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  color: var(--brand-cyan);
  border: 1px solid var(--badge-border);
}

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

/* 目录 (TOC) 样式 */
.article-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0 40px;
  box-shadow: var(--card-shadow);
}

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

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

.toc-list li a {
  font-size: 0.94rem;
  color: var(--text-secondary);
  display: inline-block;
  padding: 3px 0;
  transition: var(--transition);
}

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

.toc-sublist {
  list-style: none;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.toc-sublist li a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 文章正文排版 */
.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: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: -0.01em;
}

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

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

.article-body ul, .article-body ol {
  margin: 0 0 24px 28px;
}

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

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

.article-body a {
  color: var(--brand-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-body a:hover {
  color: var(--brand-gold);
}

.article-body blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  background: var(--bg-tertiary);
  border-left: 4px solid var(--brand-cyan);
  border-radius: var(--radius-sm);
  font-style: normal;
  color: var(--text-primary);
}

/* 比较表格 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

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

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

.tech-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 700;
}

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

/* 正文内的代码与配置块 */
.code-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--brand-cyan);
  overflow-x: auto;
  margin: 24px 0;
}

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

.faq-qa-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 18px;
  box-shadow: var(--card-shadow);
}

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

.faq-q-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--brand-gold);
  color: #080a0f;
  font-size: 0.75rem;
  font-weight: 900;
}

.faq-a {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* 相关阅读网格 (Related Posts) */
.related-posts-section {
  margin: 48px 0;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
}

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

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition);
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

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

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

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}
