/* ===================================================================
   精灵学院 (riolu-vip.cfd) - Clean Pure-White SaaS & Periwinkle-Violet UI
   严格遵循设计规范：Cobalt Blue (#2563eb), Periwinkle-Violet (#6366f1),
   Warm Marigold (#f59e0b), Sky-Cyan (#06b6d4), Dense Charcoal (#111827)
   纯 CSS3 + 原生 HTML5，零外部重型依赖，极致秒开
=================================================================== */

:root {
  /* 调色板 Palette */
  --primary: #2563eb;          /* Vibrant Cobalt-Blue */
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.28);
  --violet: #6366f1;           /* Periwinkle-Violet */
  --violet-light: #eef2ff;
  --marigold: #f59e0b;         /* Warm Marigold-Yellow */
  --marigold-light: #fef3c7;
  --cyan: #06b6d4;             /* Sky-Cyan */
  --cyan-light: #ecfeff;
  --success: #10b981;

  /* 白天模式 (Pure-White Daylight SaaS) */
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfdfe;
  --bg-nav: rgba(255, 255, 255, 0.94);
  --bg-topbar: #f8fafc;
  --text-main: #111827;        /* Dense Charcoal Typography */
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --border-subtle: #e5e7eb;
  --border-focus: #d1d5db;
  --card-shadow: 0 4px 20px -2px rgba(17, 24, 39, 0.05), 0 2px 6px -1px rgba(17, 24, 39, 0.02);
  --card-shadow-hover: 0 16px 32px -4px rgba(37, 99, 235, 0.12), 0 6px 12px -2px rgba(17, 24, 39, 0.04);
  --hero-bg: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  --toggle-bg: #f1f5f9;
  --toggle-border: #e2e8f0;
  --toggle-hover: #e2e8f0;
}

[data-theme="dark"] {
  /* 专业质感深色模式 */
  --bg-body: #0b0f19;
  --bg-surface: #111827;
  --bg-alt: #0e1422;
  --bg-card: #141c2e;
  --bg-card-hover: #19233a;
  --bg-nav: rgba(11, 15, 25, 0.92);
  --bg-topbar: #080c14;
  --text-main: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border-subtle: #1f2937;
  --border-focus: #374151;
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --card-shadow-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.35);
  --hero-bg: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.15) 0%, #0b0f19 80%);
  --toggle-bg: rgba(255, 255, 255, 0.08);
  --toggle-border: rgba(255, 255, 255, 0.15);
  --toggle-hover: rgba(255, 255, 255, 0.15);
  --primary-light: rgba(37, 99, 235, 0.15);
  --violet-light: rgba(99, 102, 241, 0.15);
  --marigold-light: rgba(245, 158, 11, 0.15);
  --cyan-light: rgba(6, 182, 212, 0.15);
}

/* 基础重置与平滑滚动 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* 适配双层顶部导航高度 */
}

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

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

/* ===================================================================
   Airy Dual-Tier SaaS Header (双层极简 SaaS 导航栏)
=================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--bg-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* 顶部微导航行 (Top Micro-Links Row) */
.header-topbar {
  background-color: var(--bg-topbar);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  padding: 6px 0;
  transition: background-color 0.3s ease;
}

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

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 500;
}

.topbar-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-dot 2s infinite;
}

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

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.topbar-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar-link:hover {
  color: var(--primary);
}

/* 主导航行 (Main Nav Row) */
.header-main {
  height: 68px;
}

.header-main-inner,
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo 标识 */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  transition: opacity 0.2s ease;
}

.logo-img {
  height: 24px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
  transition: transform 0.2s ease;
}

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

.logo-divider {
  width: 1px;
  height: 16px;
  background-color: var(--border-focus);
}

.logo-badge,
.logo-brand-tag {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.logo-badge span,
.logo-brand-tag span {
  color: var(--primary);
}

/* 导航链接目录 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

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

.nav-link-special {
  color: var(--primary) !important;
  font-weight: 600;
}

/* 头部操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 精致透明昼夜切换按钮 */
.theme-toggle-btn {
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: var(--toggle-hover);
  transform: scale(1.06);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

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

/* ===================================================================
   Spring-Button & CTA 交互规范 (Vibrant Cobalt #2563eb)
=================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 44px;
  border: 1px solid transparent;
  white-space: nowrap;
}

/* 坚挺的 #2563eb 实体蓝按键 + 2px 弹簧抬升微交互 */
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px var(--primary-glow);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

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

.btn-lg {
  padding: 13px 28px;
  font-size: 1rem;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

/* ===================================================================
   主视觉区 (Hero Section) - 双栏编辑插画风
=================================================================== */
.hero {
  position: relative;
  padding: 72px 0 64px;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

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

/* 左侧文案区 */
.hero-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-caption-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

.hero-headline {
  font-size: 3.1rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

/* 坚挺双实体蓝主次按钮 */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* 特色福利条带 (含卷毛鼠EMBY影视) */
.hero-benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-benefit-tag {
  background-color: var(--marigold-light);
  color: #b45309;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.775rem;
}

[data-theme="dark"] .hero-benefit-tag {
  color: #fbbf24;
}

/* 右侧矢量插画区 (Editorial Flat-Vector Illustration) */
.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  perspective: 1000px;
}

.hero-svg-art {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 30px rgba(17, 24, 39, 0.08));
  transition: transform 0.4s ease;
}

.hero-illustration:hover .hero-svg-art {
  transform: translateY(-4px) rotateX(1deg);
}

/* ===================================================================
   核心优势板块 (Spacious 3-Column Feature Grid)
=================================================================== */
.section {
  padding: 84px 0;
}

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

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

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

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

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: var(--card-shadow);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.icon-box-violet { background-color: var(--violet-light); color: var(--violet); }
.icon-box-cobalt { background-color: var(--primary-light); color: var(--primary); }
.icon-box-cyan   { background-color: var(--cyan-light);   color: var(--cyan); }

.feature-card-title {
  font-size: 1.3rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

.feature-bullets {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

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

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

/* ===================================================================
   流媒体 & AI 大模型展示图卡 (Media & AI Cards)
=================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 38px 34px;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.showcase-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.badge-pill-violet { background-color: var(--violet-light); color: var(--violet); }
.badge-pill-cyan   { background-color: var(--cyan-light);   color: var(--cyan); }

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

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

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

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.tag-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.showcase-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 12px 18px;
  border: 1px dashed var(--border-focus);
}

.showcase-footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ===================================================================
   参考网上真实加速器价格表 (Transparent Realistic Pricing Table)
=================================================================== */
.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-subtle);
  border-radius: 18px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--card-shadow);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 36px -4px rgba(37, 99, 235, 0.22);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.775rem;
  font-weight: 750;
  padding: 4px 16px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.pricing-plan-title {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 6px;
}

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

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

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

.price-discount-hint {
  font-size: 0.775rem;
  color: #b45309;
  background: var(--marigold-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: auto;
}

[data-theme="dark"] .price-discount-hint {
  color: #fbbf24;
}

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

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

.pricing-feature-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.pricing-feature-list li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-feature-list li.disabled svg {
  color: var(--text-muted);
}

/* ===================================================================
   探索新世界 (Centered Explore CTA Section)
=================================================================== */
.explore-cta-section {
  text-align: center;
  padding: 60px 0 20px;
}

.explore-cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(99, 102, 241, 0.06) 100%);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 20px;
  padding: 52px 36px;
  max-width: 900px;
  margin: 0 auto;
}

.explore-cta-box h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}

.explore-cta-box p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 28px;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

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

.testimonial-stars {
  color: var(--marigold);
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
  font-style: normal;
}

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

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

.user-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

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

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

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-card:hover {
  border-color: var(--border-focus);
}

.faq-card.active {
  border-color: var(--primary);
  box-shadow: var(--card-shadow);
}

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

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

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

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

.faq-card.active .faq-body {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ===================================================================
   页脚 (严格遵守需求：只保留这四个标题，打开新页面)
=================================================================== */
.footer {
  margin-top: auto;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0 32px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.footer-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

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

/* ===================================================================
   推荐资讯页面及子页面样式
=================================================================== */
.page-hero {
  padding: 56px 0 36px;
  text-align: center;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero-title {
  font-size: 2.3rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 40px auto 80px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.article-tag {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  width: fit-content;
}

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

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

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.back-home-bar {
  margin-bottom: 24px;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* 子页面 (关于、条款、隐私、网站地图) 专用文章排版 */
.page-header {
  padding: 56px 0 36px;
  text-align: center;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border-subtle);
}

.page-title {
  font-size: 2.3rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

.page-content-wrapper {
  max-width: 860px;
  margin: 36px auto 80px;
  padding: 0 24px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}

.doc-section-title {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-section-title svg {
  color: var(--primary);
}

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

.doc-list {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

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

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

.sitemap-group {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.sitemap-group-title {
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.sitemap-links {
  list-style: none;
}

.sitemap-links li {
  margin-bottom: 12px;
}

.sitemap-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.sitemap-links a:hover {
  color: var(--primary);
}

/* ===================================================================
   深度长篇 SEO 文章排版规范 (Article Reader Styles)
=================================================================== */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

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

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

.breadcrumb-sep {
  color: var(--border-focus);
}

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

.article-title-main {
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

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

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

/* 目录引导盒 (Table of Contents) */
.article-toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 40px;
  box-shadow: var(--card-shadow);
}

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

.article-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-toc-list li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.article-toc-list li a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.article-toc-list .toc-sub {
  padding-left: 20px;
  font-size: 0.9rem;
}

/* 深度正文排版 */
.article-body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 48px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-subtle);
  letter-spacing: -0.01em;
  position: relative;
}

.article-body h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 750;
  color: var(--text-main);
  margin: 32px 0 16px;
}

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

.article-body ul,
.article-body ol {
  margin: 0 0 24px 24px;
  line-height: 1.8;
}

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

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

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

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

/* 提示卡片与引用 */
.article-callout {
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
}

.article-callout.callout-warning {
  border-left-color: var(--marigold);
  background: var(--marigold-light);
  color: #92400e;
}

[data-theme="dark"] .article-callout.callout-warning {
  color: #fde68a;
}

.article-callout-title {
  font-size: 1rem;
  font-weight: 750;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 表格排版 */
.table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

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

.data-table th {
  background: var(--bg-alt);
  color: var(--text-main);
  font-weight: 750;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

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

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

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

/* 文章内置 CTA 横幅 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  padding: 36px 32px;
  margin: 48px 0;
  text-align: center;
}

.article-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.article-cta-box p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 22px;
}

/* 文章 FAQ 板块 */
.article-faq-section {
  margin: 54px 0;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.article-faq-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

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

/* 相关阅读板块 */
.article-related-section {
  margin: 54px 0 80px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

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

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

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow);
}

.related-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.related-card-title {
  font-size: 0.975rem;
  font-weight: 750;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 10px;
  flex-grow: 1;
}

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

/* ===================================================================
   响应式适配 (@media) - 确保手机端单栏顺滑呈现
=================================================================== */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 28px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-illustration {
    max-width: 400px;
  }
  .features-grid,
  .pricing-grid,
  .testimonials-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-topbar {
    display: none; /* 移动端隐藏微导航 */
  }
  .nav-links {
    display: none; /* 移动端精简目录，直达核心 */
  }
  .hero {
    padding: 48px 0 40px;
  }
  .hero-headline {
    font-size: 2rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .features-grid,
  .showcase-grid,
  .pricing-grid,
  .testimonials-grid,
  .article-grid,
  .sitemap-grid,
  .related-grid {
    grid-template-columns: 1fr; /* 移动端绝对单栏 */
    gap: 20px;
  }
  .pricing-card {
    padding: 28px 20px;
  }
  .explore-cta-box {
    padding: 36px 20px;
  }
  .footer-nav {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 20px;
  }
  .logo-badge {
    font-size: 0.875rem;
  }
  .logo-divider {
    height: 14px;
  }
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    gap: 14px;
  }
}
