/* ==========================================================================
   一云梯 (1yunti · yiyunti.buzz) - 官方极夜极光风格原生样式表
   纯原生 CSS · 零外部依赖 · 昼夜模式平滑过渡 · 3D 建筑视差微交互 · 全端响应式
   ========================================================================== */

:root {
  /* 官方默认：Nocturnal-Aurora 极夜极光深色主题 */
  --bg: #0b0e1a;
  --bg-elevated: #151a28;
  --bg-elevated-2: #1a2133;
  --bg-subtle: #101524;
  --bg-glass: rgba(11, 14, 26, 0.78);
  --bg-glass-btn: rgba(255, 255, 255, 0.05);
  --bg-glass-btn-hover: rgba(255, 255, 255, 0.12);

  --text: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-glass: rgba(255, 255, 255, 0.15);

  --mint: #2dd4bf;
  --mint-soft: rgba(45, 212, 191, 0.12);
  --mint-glow: rgba(45, 212, 191, 0.25);

  --indigo: #6366f1;
  --azure: #38bdf8;
  --cta-gradient: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);
  --cta-shadow: 0 8px 26px -6px rgba(99, 102, 241, 0.55);

  --aurora-top: radial-gradient(ellipse 60% 48% at 14% 0%, rgba(30, 27, 75, 0.92), transparent 72%),
                radial-gradient(ellipse 56% 48% at 88% 0%, rgba(13, 46, 53, 0.88), transparent 72%);

  --card-shadow: 0 2px 6px rgba(0, 0, 0, 0.28), 0 14px 32px -10px rgba(0, 0, 0, 0.48);
  --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(45, 212, 191, 0.45);
  --warning: #fbbf24;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container-max: 1180px;
  --header-height: 80px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-theme: background-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                      color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                      border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                      box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 白天模式（点击右上角切换） */
[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-elevated: #ffffff;
  --bg-elevated-2: #f1f5f9;
  --bg-subtle: #edf2f8;
  --bg-glass: rgba(246, 248, 252, 0.84);
  --bg-glass-btn: rgba(15, 23, 42, 0.04);
  --bg-glass-btn-hover: rgba(15, 23, 42, 0.09);

  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.18);
  --border-glass: rgba(15, 23, 42, 0.14);

  --mint: #0d9488;
  --mint-soft: rgba(13, 148, 136, 0.1);
  --mint-glow: rgba(13, 148, 136, 0.22);

  --aurora-top: radial-gradient(ellipse 60% 45% at 14% 0%, rgba(99, 102, 241, 0.13), transparent 70%),
                radial-gradient(ellipse 56% 45% at 88% 0%, rgba(45, 212, 191, 0.14), transparent 70%);

  --card-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 10px 26px -8px rgba(15, 23, 42, 0.08);
  --card-shadow-hover: 0 10px 28px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(13, 148, 136, 0.45);
  --warning: #d97706;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  background-image: var(--aurora-top);
  background-repeat: no-repeat;
  background-size: 100% 760px;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: var(--transition-theme);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* 容器与通用排版 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 86px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-theme);
}

/* 锚点跳转目标脉冲提示动效 */
@keyframes anchorReveal {
  0% {
    opacity: 0.72;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-anchor-active {
  animation: anchorReveal 0.55s var(--spring) both;
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mint);
  background: var(--mint-soft);
  border: 1px solid rgba(45, 212, 191, 0.22);
  padding: 5px 14px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--text);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ==========================================================================
   顶部官方导航栏
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-theme);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* 左侧官方品牌 Logo（自动适配深浅双色背景，无矩形底边） */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text);
}

.brand-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  image-rendering: -webkit-optimize-contrast;
  transition: filter 0.35s ease, transform 0.25s var(--spring);
}

.brand:hover .brand-logo-img {
  transform: translateY(-1px);
}

[data-theme="light"] .brand-logo-img {
  filter: invert(1) contrast(1.15);
  mix-blend-mode: multiply;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--bg-glass-btn-hover);
  outline: none;
}

.nav-links a.active {
  color: var(--mint);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* 右上角精致透明化昼夜模式切换按钮 */
.theme-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass-btn);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.25s var(--spring), box-shadow 0.3s ease;
}

.theme-toggle:hover {
  background: var(--bg-glass-btn-hover);
  border-color: var(--mint);
  box-shadow: 0 0 14px -2px var(--mint-glow);
  transform: translateY(-1px);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  width: 17px;
  height: 17px;
  transition: transform 0.45s var(--spring), opacity 0.32s ease;
}

/* 默认深色模式下显示弯月（精致冷光青色），切换浅色显示太阳 */
.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: var(--mint);
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(75deg) scale(0.5);
  color: #f59e0b;
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-75deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* 移动端快捷锚点导航条 */
.mobile-nav-bar {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg-glass);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-nav-bar::-webkit-scrollbar {
  display: none;
}

.mobile-nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  list-style: none;
  white-space: nowrap;
}

.mobile-nav-list a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}

.mobile-nav-list a.active {
  color: var(--mint);
  border-color: rgba(45, 212, 191, 0.38);
}

/* ==========================================================================
   矩形官方风格按钮规范
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.25s var(--spring), box-shadow 0.28s ease, background-color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-sm {
  font-size: 13.5px;
  padding: 9px 16px;
  min-height: 38px;
  border-radius: var(--radius-xs);
}

.btn-lg {
  font-size: 15.5px;
  padding: 15px 30px;
  min-height: 50px;
}

/* 电光靛蓝 -> 蔚蓝渐变主按钮 */
.btn-primary {
  background: var(--cta-gradient);
  color: #ffffff;
  box-shadow: var(--cta-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(99, 102, 241, 0.65);
  filter: brightness(1.06);
}

/* 深色描边矩形次按钮 */
.btn-outline {
  background: rgba(21, 26, 40, 0.65);
  color: var(--text);
  border-color: var(--border-strong);
}

[data-theme="light"] .btn-outline {
  background: var(--bg-elevated);
}

.btn-outline:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: var(--mint-soft);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   主视觉区 (1:1 Official Hero + 建筑视差视口 + 底部四指标卡)
   ========================================================================== */
.hero {
  position: relative;
  padding: 72px 0 68px;
  overflow: hidden;
}

.hero-main {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 52px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mint);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(36px, 4.9vw, 56px);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-title-brand {
  display: block;
  margin-bottom: 6px;
}

.hero-subtitle {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-inline-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.hero-inline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-inline-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: var(--mint-soft);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-inline-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.hero-inline-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 右侧现代玻璃摩天大楼仰拍 3D 视差视口 */
.hero-viewport-wrap {
  perspective: 1100px;
}

.hero-viewport {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
  aspect-ratio: 4 / 3;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--spring), box-shadow 0.35s ease;
  will-change: transform;
}

.hero-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.45s var(--spring);
}

.hero-viewport-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 35%), rgba(255, 255, 255, 0.22), transparent 72%);
  mix-blend-mode: overlay;
  opacity: 0.65;
  transition: opacity 0.35s ease;
}

.hero-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* 底部四指标卡片行 */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--card-shadow);
  transition: transform 0.38s var(--spring), border-color 0.35s var(--spring), box-shadow 0.38s var(--spring), background-color 0.45s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(45, 212, 191, 0.35);
}

.metric-num {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.metric-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 4px;
}

.metric-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   核心优势（3个图文卡片）
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s var(--spring), border-color 0.3s ease, box-shadow 0.35s ease, background-color 0.45s ease;
  display: flex;
  flex-direction: column;
}

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

.feature-visual {
  height: 112px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.14), rgba(45, 212, 191, 0.1));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--mint);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 16px;
  flex: 1;
}

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

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

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}

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

.media-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.32s var(--spring), border-color 0.28s ease, box-shadow 0.32s ease, background-color 0.45s ease;
}

.media-card:hover {
  transform: translateY(-3px);
  border-color: var(--mint);
  box-shadow: var(--card-shadow-hover);
}

.media-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* 流媒体标识色块 */
.icon-netflix { background: linear-gradient(135deg, #e50914, #991b1b); }
.icon-youtube { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.icon-disney { background: linear-gradient(135deg, #0063e5, #0f172a); }
.icon-hbo { background: linear-gradient(135deg, #6d28d9, #1e1b4b); }
.icon-hulu { background: linear-gradient(135deg, #1ce783, #059669); color: #052e16; }
.icon-spotify { background: linear-gradient(135deg, #1db954, #14532d); }

/* AI 平台几何标识色块（无 AI 机器人或闪光表情） */
.icon-openai { background: linear-gradient(135deg, #10a37f, #065f46); }
.icon-claude { background: linear-gradient(135deg, #d97757, #9a3412); }
.icon-gemini { background: linear-gradient(135deg, #4f46e5, #0ea5e9); }
.icon-midjourney { background: linear-gradient(135deg, #4338ca, #6d28d9); }
.icon-cursor { background: linear-gradient(135deg, #1e293b, #38bdf8); }
.icon-perplexity { background: linear-gradient(135deg, #0284c7, #0d9488); }

.media-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.media-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  background: var(--mint-soft);
  color: var(--mint);
}

.media-body p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* ==========================================================================
   真实套餐价格表（4 档 VIP1 - VIP4 + 横向对比表）
   ========================================================================== */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 42px;
}

.plan-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--spring), border-color 0.3s ease, box-shadow 0.35s ease, background-color 0.45s ease;
}

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

.plan-card.plan-featured {
  border: 1.5px solid var(--mint);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.06) 0%, var(--bg-elevated) 38%);
}

.plan-ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--cta-gradient);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-xs);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.plan-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

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

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.plan-currency {
  font-size: 16px;
  font-weight: 700;
  color: var(--mint);
}

.plan-amount {
  font-size: 36px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

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

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

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

.plan-features svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
  flex-shrink: 0;
}

.compare-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--card-shadow);
  transition: var(--transition-theme);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 15px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

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

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

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

.compare-table td {
  color: var(--text-secondary);
}

.compare-highlight {
  color: var(--mint) !important;
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 18px;
  line-height: 1.65;
}

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

.review-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.3s var(--spring), border-color 0.25s ease, background-color 0.45s ease;
}

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

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--warning);
  margin-bottom: 14px;
}

.review-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.review-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.76;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--mint-soft);
  border: 1px solid rgba(45, 212, 191, 0.28);
  color: var(--mint);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

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

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

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: border-color 0.25s ease, background-color 0.45s ease;
}

.faq-item[open] {
  border-color: var(--mint);
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.28s var(--spring), color 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--mint);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.78;
}

/* ==========================================================================
   底部行动号召 (CTA Banner)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.72), rgba(13, 46, 53, 0.68));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 52px 32px;
  text-align: center;
}

[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(45, 212, 191, 0.14));
}

.cta-banner h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   页脚（严格仅保留四个标题链接，点击打开新页面）
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: 38px 0;
  transition: var(--transition-theme);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  list-style: none;
}

.footer-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 4px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--mint);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   独立信息子页面 & 推荐资讯页面样式
   ========================================================================== */
.doc-hero {
  padding: 62px 0 42px;
  border-bottom: 1px solid var(--border);
}

.doc-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 10px;
}

.doc-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 700px;
}

.doc-content {
  padding: 52px 0 80px;
}

.doc-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 22px;
  transition: var(--transition-theme);
}

.doc-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.doc-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 12px;
}

.doc-card p:last-child {
  margin-bottom: 0;
}

.doc-card ul {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
}

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

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

.sitemap-links {
  list-style: none;
  padding-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sitemap-links a {
  color: var(--mint);
  font-weight: 500;
}

.sitemap-links a:hover {
  text-decoration: underline;
}

/* 推荐资讯列表网格与长篇 SEO 文章排版样式 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.news-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.32s var(--spring), border-color 0.28s ease, box-shadow 0.32s ease, background-color 0.45s ease;
}

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

.news-card-featured {
  grid-column: span 2;
  border-color: rgba(45, 212, 191, 0.35);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.06), var(--bg-elevated) 55%);
}

.news-card h2 {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.38;
  color: var(--text);
  margin-bottom: 10px;
  border: none;
  padding: 0;
}

.news-card h2 a:hover {
  color: var(--mint);
}

.news-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 18px;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
}

.news-read-more {
  color: var(--mint);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-read-more:hover {
  text-decoration: underline;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-badge {
  color: var(--mint);
  background: var(--mint-soft);
  border: 1px solid rgba(45, 212, 191, 0.22);
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  font-weight: 600;
}

/* 长篇深度文章专用布局 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

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

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.toc-box {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--card-shadow);
}

.toc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

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

.toc-list a {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  display: block;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.toc-list a:hover {
  color: var(--mint);
  padding-left: 4px;
}

.article-body {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 38px 40px;
  box-shadow: var(--card-shadow);
}

.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 34px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

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

.article-body h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 10px;
}

.article-body p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.88;
  margin-bottom: 15px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.85;
}

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

.article-body a {
  color: var(--mint);
  font-weight: 600;
}

.article-body a:hover {
  text-decoration: underline;
}

.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--mint);
}

.article-callout {
  background: var(--mint-soft);
  border-left: 3px solid var(--mint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.article-cta-box {
  margin: 28px 0;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.65), rgba(13, 46, 53, 0.6));
  border: 1px solid var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

[data-theme="light"] .article-cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.09), rgba(45, 212, 191, 0.12));
}

.article-cta-box strong {
  display: block;
  font-size: 16.5px;
  color: var(--text);
  margin-bottom: 4px;
}

.article-cta-box span {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.article-faq {
  margin-top: 32px;
}

.article-faq .faq-list {
  max-width: 100%;
}

.related-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

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

.related-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: border-color 0.25s ease, transform 0.25s var(--spring);
}

.related-card:hover {
  border-color: var(--mint);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.related-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.48;
}

.related-card-tag {
  font-size: 12px;
  color: var(--mint);
}

/* ==========================================================================
   响应式适配 (@media)
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .mobile-nav-bar {
    display: block;
  }

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

@media (max-width: 960px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .media-grid,
  .reviews-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc-box {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .brand-logo-img {
    height: 46px;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 56px 0;
  }

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

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

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-inline-features {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-outline {
    display: none;
  }

  /* 手机端完美单栏显示 */
  .hero-metrics,
  .grid-3,
  .media-grid,
  .pricing-grid-4,
  .reviews-grid,
  .sitemap-grid,
  .news-grid,
  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-card-featured {
    grid-column: span 1;
  }

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

  .plan-card,
  .feature-card,
  .review-card,
  .doc-card {
    padding: 24px 20px;
  }

  .btn {
    min-height: 48px;
  }

  .header-actions .btn-sm {
    min-height: 38px;
    padding: 8px 14px;
  }

  .cta-banner {
    padding: 36px 20px;
  }

  .cta-banner .btn {
    width: 100%;
  }

  .footer-nav {
    gap: 14px 22px;
  }
}

@media (max-width: 480px) {
  .faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
  }

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