/* ===================================================================
   八戒机场 (bajie.quest) - 东方云岫 · 青金矿石轻奢原生样式表
   Design: Oriental Mountain-Mist & Lapis-Lazuli Luxury Daylight UI
   Palette: Warm Xuan-Paper Ivory (#faf9f5), Lapis Blue (#1e3a8a), 
            Antique Brass (#b45309), Soft Mist Grey (#e2e8f0)
   =================================================================== */

:root {
  /* 暖宣纸象牙白底色体系 (Daylight Mode 默认) */
  --bg-body: #faf9f5;
  --bg-body-secondary: #f4f3ec;
  --bg-surface: rgba(255, 255, 255, 0.88);
  --bg-surface-elevated: #ffffff;
  --bg-glass: rgba(250, 249, 245, 0.82);
  --bg-card-lapis: rgba(30, 58, 138, 0.035);
  --bg-subtle: #f1efe7;

  /* 边框与微光 */
  --border-light: rgba(30, 58, 138, 0.08);
  --border-subtle: rgba(217, 119, 6, 0.15);
  --border-brass: rgba(180, 83, 9, 0.35);
  --border-highlight: rgba(30, 58, 138, 0.2);

  /* 水墨与矿石色彩 */
  --text-main: #0f172a;           /* 松烟黛黑 */
  --text-muted: #334155;          /* 水墨黛灰 */
  --text-faint: #64748b;          /* 远山浅黛 */
  --text-brass: #b45309;          /* 古法拉丝黄铜金 */
  --text-inverse: #ffffff;

  /* 青金石与矿金渐变 */
  --color-lapis: #1e3a8a;         /* 深矿青金蓝 */
  --color-lapis-dark: #172554;
  --color-brass: #b45309;         /* 古铜赤金 */
  --color-brass-glow: #d97706;
  --color-cinnabar: #b91c1c;      /* 宣印朱砂红 */
  --color-jade: #047857;          /* 翠峦青竹 */

  --lapis-gradient: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  --brass-gradient: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
  --mist-gradient: linear-gradient(180deg, rgba(250, 249, 245, 0) 0%, rgba(244, 243, 236, 0.85) 100%);

  /* 阴影体系：矿石悬浮与金丝微光 */
  --shadow-sm: 0 2px 8px rgba(30, 58, 138, 0.04);
  --shadow-md: 0 10px 30px -5px rgba(30, 58, 138, 0.07), 0 4px 12px rgba(180, 83, 9, 0.03);
  --shadow-lg: 0 24px 48px -12px rgba(30, 58, 138, 0.12), 0 8px 24px -4px rgba(180, 83, 9, 0.06);
  --shadow-gold-vein: inset 0 0 24px rgba(217, 119, 6, 0.08), 0 16px 36px rgba(30, 58, 138, 0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Serif SC", serif, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, "Fira Code", monospace;

  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 昼夜模式：沉浸深邃暗夜青金 (Dark Lapis Night Mode) */
[data-theme="dark"] {
  --bg-body: #070b14;
  --bg-body-secondary: #0c1220;
  --bg-surface: rgba(14, 23, 42, 0.85);
  --bg-surface-elevated: #111e38;
  --bg-glass: rgba(7, 11, 20, 0.82);
  --bg-card-lapis: rgba(30, 58, 138, 0.22);
  --bg-subtle: #131d33;

  --border-light: rgba(59, 130, 246, 0.14);
  --border-subtle: rgba(245, 158, 11, 0.2);
  --border-brass: rgba(245, 158, 11, 0.45);
  --border-highlight: rgba(96, 165, 250, 0.3);

  --text-main: #f8fafc;           /* 凝霜素练 */
  --text-muted: #cbd5e1;          /* 苍山烟岚 */
  --text-faint: #64748b;          /* 暮夜幽空 */
  --text-brass: #f59e0b;          /* 纯赤真金 */
  --text-inverse: #070b14;

  --color-lapis: #3b82f6;
  --color-lapis-dark: #1d4ed8;
  --color-brass: #f59e0b;
  --color-brass-glow: #fbbf24;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.65), 0 0 20px rgba(59, 130, 246, 0.12);
  --shadow-lg: 0 24px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(59, 130, 246, 0.18);
  --shadow-gold-vein: inset 0 0 30px rgba(245, 158, 11, 0.15), 0 20px 40px rgba(0, 0, 0, 0.75);
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.68;
  scroll-behavior: smooth;
  scroll-padding-top: 86px; /* 预留导航栏高度过渡平滑 */
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 远山流岚卷轴背景层 (Atmospheric Mountain-Mist Veils) */
.mist-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 900px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mist-layer-1 {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 30%, rgba(30, 58, 138, 0.06) 0%, rgba(217, 119, 6, 0.035) 45%, transparent 75%);
  filter: blur(60px);
  animation: mistDrift 24s ease-in-out infinite alternate;
}

.mist-layer-2 {
  position: absolute;
  top: 250px;
  left: 20%;
  width: 800px;
  height: 450px;
  background: radial-gradient(circle, rgba(180, 83, 9, 0.04) 0%, transparent 70%);
  filter: blur(80px);
  animation: mistDrift 18s ease-in-out infinite alternate-reverse;
}

@keyframes mistDrift {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-48%) translateY(25px) scale(1.06); }
  100% { transform: translateX(-52%) translateY(-15px) scale(0.98); }
}

/* 容器定义 */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* 顶部导航栏 - 毛玻璃矿石横梁 */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 200;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  transition: all var(--transition-normal);
}

[data-theme="dark"] .brand-logo-img {
  filter: brightness(1.28) contrast(1.08) drop-shadow(0 0 3px rgba(255, 255, 255, 0.4));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-normal), background-color var(--transition-normal);
}

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

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

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

/* 特色导航标签：“推荐资讯”金石高亮徽章 */
.nav-link-badge {
  position: relative;
  color: var(--text-brass) !important;
  font-weight: 600;
}

.nav-link-badge::before {
  content: "•";
  color: var(--color-brass-glow);
  margin-right: 4px;
  font-size: 1.1rem;
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

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

/* 昼夜模式切换按钮：精工古铜金石质感 */
.theme-toggle-btn {
  background: rgba(30, 58, 138, 0.05);
  border: 1px solid var(--border-brass);
  color: var(--text-brass);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.theme-toggle-btn:hover {
  background: rgba(180, 83, 9, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.2);
}

.theme-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

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

.btn-primary {
  background: var(--lapis-gradient);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
}

.btn-brass {
  background: var(--brass-gradient);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-brass:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-brass);
}

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

/* 主视觉区 (Hero Section) - 远山云栖大境 */
.hero-section {
  padding: 85px 0 70px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-brass);
  color: var(--text-brass);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.pulse-dot-gold {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brass-glow);
  box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
  animation: pulseGoldDot 1.8s infinite;
}

@keyframes pulseGoldDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(217, 119, 6, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

.hero-headline {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  color: var(--text-main);
}

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

.hero-subtitle {
  font-size: 1.22rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 38px;
  line-height: 1.8;
  font-weight: 400;
}

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

/* 核心指标金石微雕底座 */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
  padding: 26px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.metric-item {
  text-align: center;
  position: relative;
}

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

.metric-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-lapis);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.metric-number span {
  color: var(--color-brass);
  font-size: 1.25rem;
}

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

/* 章节通用标题区 */
.section {
  padding: 85px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-body-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

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

.section-tag::before, .section-tag::after {
  content: "—";
  color: var(--border-brass);
  margin: 0 6px;
}

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

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

/* 核心优势：3个图文青金石卡片 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brass-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-brass);
  box-shadow: var(--shadow-gold-vein);
}

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

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(30, 58, 138, 0.08);
  color: var(--color-lapis);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

.feature-icon-wrapper svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

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

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 20px;
}

.feature-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-pill {
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 500;
  border: 1px solid var(--border-light);
}

/* 互动专线测速看板 (Mist Dispersion & Monospace Latency Metrics) */
.latency-board-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 45px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

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

.latency-title-group h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.latency-title-group p {
  font-size: 0.88rem;
  color: var(--text-faint);
}

.latency-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(4, 120, 87, 0.1);
  color: var(--color-jade);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(4, 120, 87, 0.2);
}

.route-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.route-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-normal);
  position: relative;
  cursor: pointer;
}

/* 悬浮金丝矿脉微光 (Internal gold-mineral veins hover) */
.route-card:hover {
  transform: translateY(-4px);
  background: var(--bg-surface-elevated);
  border-color: var(--border-brass);
  box-shadow: inset 0 0 16px rgba(217, 119, 6, 0.12), 0 12px 24px rgba(30, 58, 138, 0.08);
}

.route-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.route-flag-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
}

.route-type-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(30, 58, 138, 0.1);
  color: var(--color-lapis);
  font-weight: 600;
}

.route-ping-metric {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-lapis);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.route-ping-metric small {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-weight: 500;
}

.route-meta-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

/* 图文展示双栏卡片 (流媒体 & AI 支持卡片) */
.showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 50px 48px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  transition: all var(--transition-normal);
}

.showcase-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-brass);
}

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

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-brass);
  background: rgba(180, 83, 9, 0.08);
  border: 1px solid var(--border-brass);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.showcase-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.3;
}

.showcase-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 26px;
}

.showcase-checklist {
  list-style: none;
  margin-bottom: 30px;
}

.showcase-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.showcase-checklist svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-brass-glow);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

/* 流媒体与 AI 矩阵 */
.media-grid, .ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.media-item, .ai-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-normal);
}

.media-item:hover, .ai-item:hover {
  background: var(--bg-surface-elevated);
  transform: translateY(-3px);
  border-color: var(--border-brass);
  box-shadow: var(--shadow-sm);
}

.media-logo-box, .ai-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.media-logo-netflix { background: #e50914; }
.media-logo-disney { background: #113ccf; }
.media-logo-youtube { background: #ff0000; }
.media-logo-hbo { background: #5822b4; }
.media-logo-prime { background: #00a8e1; }
.media-logo-dazn { background: #0c1926; border: 1px solid #ffde00; color: #ffde00; }

.ai-logo-chatgpt { background: #10a37f; }
.ai-logo-claude { background: #cc785c; }
.ai-logo-gemini { background: linear-gradient(135deg, #1ba0e2 0%, #9b51e0 100%); }
.ai-logo-midjourney { background: #2b2d42; }
.ai-logo-copilot { background: #0078d4; }
.ai-logo-cursor { background: #1e1e1e; border: 1px solid #444; }

.media-info h4, .ai-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.media-info span, .ai-info span {
  font-size: 0.78rem;
  color: var(--color-brass);
  font-weight: 600;
}

/* 套餐价格对比区 (Real Authentic Pricing Models) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 48px;
}

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

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-brass);
}

.pricing-card.popular {
  border: 2px solid var(--color-brass-glow);
  box-shadow: var(--shadow-gold-vein);
  transform: scale(1.02);
}

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

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brass-gradient);
  color: #ffffff;
  padding: 4px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

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

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

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

.plan-price-box {
  margin: 18px 0 20px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
}

.price-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-lapis);
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-lapis);
  line-height: 1;
}

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

.plan-divider {
  height: 1px;
  background-color: var(--border-light);
  margin-bottom: 20px;
}

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

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-features li strong {
  color: var(--text-main);
}

.plan-features svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-brass-glow);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

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

/* 规格详细参数对比表 */
.comparison-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}

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

.comparison-table th, 
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

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

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-main);
}

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

.comparison-table td {
  color: var(--text-muted);
}

.check-icon {
  color: var(--color-brass);
  font-weight: bold;
}

/* 用户真实评价 (Strictly zero generic AI avatars - 传统东方金石印章印鉴质感) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-brass);
  box-shadow: var(--shadow-gold-vein);
}

.review-stars {
  color: var(--color-brass-glow);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

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

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

/* 金石印鉴印章 (Seal stamp style - 真实防伪古典人文章) */
.seal-stamp {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 1px;
  flex-shrink: 0;
  border: 2px solid currentColor;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

.seal-cinnabar {
  color: var(--color-cinnabar);
  background: rgba(185, 28, 28, 0.08);
}

.seal-lapis {
  color: var(--color-lapis);
  background: rgba(30, 58, 138, 0.08);
}

.seal-brass {
  color: var(--color-brass);
  background: rgba(180, 83, 9, 0.08);
}

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

.author-info span {
  font-size: 0.82rem;
  color: var(--text-faint);
}

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

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

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

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--text-brass);
  stroke-width: 2;
  transition: transform var(--transition-normal);
}

details[open] .faq-icon {
  transform: rotate(180deg);
}

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

details[open] .faq-answer {
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

/* 底部行动召唤条 (Bottom CTA Banner) */
.cta-banner {
  background: var(--lapis-gradient);
  border-radius: var(--radius-lg);
  padding: 60px 44px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(30, 58, 138, 0.35);
  margin-bottom: 65px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 660px;
  margin: 0 auto 34px;
}

/* 页脚 (Footer) - 严格保留四个标题 */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 48px 0 40px;
  text-align: center;
  transition: background-color var(--transition-normal);
}

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

.footer-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  transition: color var(--transition-normal);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.footer-link:hover {
  color: var(--color-brass);
  background: var(--bg-subtle);
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* ===================================================================
   独立子页面样式 (关于我们 / 服务条款 / 隐私政策 / 网站地图 / 推荐资讯)
   =================================================================== */

.page-wrapper {
  padding: 65px 0 90px;
}

.page-header-box {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

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

.page-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 52px 50px;
  box-shadow: var(--shadow-sm);
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.85;
}

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

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

.article-section-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 12px;
}

.article-section-title svg {
  width: 24px;
  height: 24px;
  color: var(--color-brass);
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.article-text {
  font-size: 1.04rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.article-list {
  padding-left: 22px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

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

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

.callout-box {
  background: rgba(30, 58, 138, 0.05);
  border-left: 4px solid var(--color-lapis);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  color: var(--text-main);
  font-size: 1rem;
}

.callout-box.alert-danger {
  background: rgba(185, 28, 28, 0.08);
  border-left-color: var(--color-cinnabar);
}

.callout-box.alert-success {
  background: rgba(4, 120, 87, 0.08);
  border-left-color: var(--color-jade);
}

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

.info-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.info-card h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 资讯列表专用排版 */
.news-feed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.news-article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.news-article-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-brass);
  box-shadow: var(--shadow-gold-vein);
}

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

.news-tag {
  background: rgba(180, 83, 9, 0.1);
  color: var(--text-brass);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

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

.news-excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ===================================================================
   SEO 深度长文专项样式 (面包屑 / 目录 / FAQ / 相关阅读 / 内链强化)
   =================================================================== */

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

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

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

.breadcrumb-nav .sep {
  opacity: 0.5;
}

/* 页面文章目录框 (TOC - Table of Contents) */
.article-toc-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-brass);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0 40px;
  box-shadow: inset 0 0 16px rgba(217, 119, 6, 0.04);
}

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

.article-toc-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-brass);
  stroke-width: 2.2;
}

.article-toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  padding-left: 0;
}

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

.article-toc-list li a::before {
  content: "§";
  color: var(--color-brass);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

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

/* 文章专属内链高亮胶囊 (SEO Internal Link Pill) */
.internal-link-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: rgba(30, 58, 138, 0.08);
  color: var(--color-lapis);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--color-lapis);
  transition: all 0.2s ease;
}

.internal-link-inline:hover {
  background: var(--color-lapis);
  color: #ffffff;
  border-bottom-style: solid;
}

/* 文章正文 FAQ 专用排版 */
.article-faq-wrapper {
  margin: 48px 0 36px;
  border-top: 2px dashed var(--border-light);
  padding-top: 36px;
}

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

.article-faq-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

.article-faq-q {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-faq-a {
  padding: 0 20px 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 相关阅读网格 (Related Articles Box) */
.related-articles-box {
  margin: 45px 0 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 36px;
}

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

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

.related-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.related-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-brass);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

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

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

.related-card-desc {
  font-size: 0.88rem;
  color: var(--text-faint);
  line-height: 1.5;
}

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


/* 网站地图专用链接树 */
.sitemap-group {
  margin-bottom: 34px;
}

.sitemap-group-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.sitemap-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.sitemap-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.96rem;
  transition: all var(--transition-normal);
}

.sitemap-link-card:hover {
  background: rgba(30, 58, 138, 0.06);
  border-color: var(--color-lapis);
  color: var(--color-lapis);
  transform: translateX(4px);
}

.sitemap-link-card svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ===================================================================
   响应式媒体查询 (@media)
   =================================================================== */

@media (max-width: 1120px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .route-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none; /* 移动端精简顶部导航 */
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    height: 66px;
  }
  .brand-logo-img {
    height: 32px;
  }
  .hero-section {
    padding: 50px 0 42px;
  }
  .hero-headline {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
  }
  .metric-item:not(:last-child)::after {
    display: none;
  }
  .showcase-card,
  .showcase-card.reverse {
    grid-template-columns: 1fr;
    padding: 34px 24px;
    gap: 30px;
  }
  .media-grid, .ai-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .route-cards-grid {
    grid-template-columns: 1fr;
  }
  .comparison-wrapper {
    overflow-x: auto;
  }
  .comparison-table {
    min-width: 620px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  .article-card {
    padding: 30px 22px;
  }
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 50px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }
  .hero-headline {
    font-size: 1.95rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .cta-banner {
    padding: 40px 22px;
  }
  .cta-banner h2 {
    font-size: 1.75rem;
  }
}
