/* ==========================================================================
   大象网络 (Elephant Network) - 橙紫晨暮暖调 + 典雅风致排版系统
   全屏科技树拓扑背景 · 柔和暖调基底 · 隶书书卷风骨 · 零第三方依赖秒开体验
   ========================================================================== */

/* -------------------- 1. CSS 变量与设计令牌 -------------------- */
:root {
  /* 暖调晨暮橙紫色系基底 */
  --bg-gradient-start: #FAF5F8;
  --bg-gradient-end: #FFF7F2;
  --bg-alt: rgba(247, 242, 246, 0.6);
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --bg-glass-header: rgba(250, 245, 248, 0.85);
  --bg-table-header: rgba(247, 242, 246, 0.95);

  /* 边框与微光 */
  --border-subtle: rgba(108, 92, 231, 0.12);
  --border-highlight: rgba(255, 125, 0, 0.4);
  --border-purple: rgba(108, 92, 231, 0.35);

  /* 文字色彩规范 (超高对比度 11:1+，完全满足并超越 WCAG 4.5:1) */
  --text-heading: #1F162B;    /* 深浓夜空紫黑主标题 */
  --text-main: #1F162B;       /* 主正文深浓紫黑 */
  --text-muted: #3D324A;      /* 次级正文典雅紫褐 */
  --text-dim: #5F526E;        /* 辅助微弱说明文字 */
  --text-inverse: #ffffff;

  /* 科技点缀色彩：日落橙 #FF7D00 与 深空紫 #6C5CE7 */
  --sunset-orange: #FF7D00;
  --deep-purple: #6C5CE7;
  --accent-pink-purple: #E056FD;
  --accent-cyan: #0984E3;
  --accent-emerald: #00B894;
  --accent-gradient: linear-gradient(135deg, #FF7D00 0%, #A55EEA 50%, #6C5CE7 100%);
  --accent-gradient-warm: linear-gradient(135deg, #FF7D00 0%, #FF9F43 100%);
  --accent-gradient-purple: linear-gradient(135deg, #6C5CE7 0%, #8E44AD 100%);

  /* 阴影与微光 */
  --shadow-sm: 0 4px 12px rgba(31, 22, 43, 0.04);
  --shadow-md: 0 10px 30px rgba(31, 22, 43, 0.07);
  --shadow-glow-orange: 0 4px 20px rgba(255, 125, 0, 0.28);
  --shadow-glow-purple: 0 6px 25px rgba(108, 92, 231, 0.28);

  /* 圆角规范 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* 布局参数 */
  --header-height: 72px;
  --container-max: 1200px;

  /* 字体族定义：古典端庄楷隶过渡字栈 vs 现代科技无衬线 */
  --font-classical: "LiSu", "隶书", "Noto Serif SC", "Source Han Serif SC", STKaiti, "Songti SC", "SimSun", serif, system-ui;
  --font-modern-tech: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* -------------------- 2. 全局重置与全屏连贯科技树背景 -------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 键盘无障碍访问：跳转到主要内容 (Skip Link) */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--accent-gradient);
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 10000;
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: var(--shadow-glow-orange);
  outline: none;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--deep-purple);
}

/* 屏幕阅读器辅助类 (Screen Reader Only) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

body {
  font-family: var(--font-classical);
  background-color: var(--bg-gradient-start);
  color: var(--text-main);
  line-height: 1.8;
  letter-spacing: 0.04em;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/*
 * 全屏科技树背景技术架构 (贯穿全视口高度，长滚动全局连贯无缝)
 * 采用 fixed 绝对顶层覆盖技术，科技线条控制在 8%~15% 克制不透明度
 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    linear-gradient(180deg, rgba(250, 245, 248, 0.88) 0%, rgba(255, 247, 242, 0.94) 100%),
    url('tech-tree.svg');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

/* 标题区与数字参数保留干净硬朗的现代科技无衬线及等宽数字 */
h1, h2, h3, h4, h5, h6,
.brand-title,
.brand-badge,
.section-badge,
.metric-value,
.metric-label,
.plan-name,
.plan-price-main,
.plan-price-unit,
.node-latency,
.node-name,
.btn,
.nav-link,
.nav-login-link,
.category-title,
.service-name,
.author-name,
.faq-question,
.footer-brand-title,
.footer-nav-link,
th,
table,
code,
pre {
  font-family: var(--font-modern-tech);
  letter-spacing: -0.01em;
}

/* 等宽数字防止排版形变 */
.metric-value,
.plan-price-main,
.node-latency,
.price-tag {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* 正文段落与列表追求隶书书卷舒展与呼吸感 */
p, li, blockquote, .feature-desc, .faq-answer, .testimonial-quote, .prose p, .footer-desc {
  font-family: var(--font-classical);
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: var(--text-muted);
}

a {
  color: var(--deep-purple);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--sunset-orange);
}

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

/* 所有带锚点的目标区块标题必须设置 scroll-margin-top: 80px，防止吸顶遮挡 */
#features,
#ai-streaming,
#pricing,
#faq,
[id] {
  scroll-margin-top: 80px;
}

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

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

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

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 125, 0, 0.08);
  border: 1px solid rgba(255, 125, 0, 0.25);
  border-radius: var(--radius-full);
  color: var(--sunset-orange);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
}

/* 橙紫晨暮渐变文字 */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-warm {
  background: var(--accent-gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: var(--accent-gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -------------------- 4. 按钮规范 (满足 44x44px 触控标准) -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff !important;
  box-shadow: var(--shadow-glow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4), 0 2px 10px rgba(255, 125, 0, 0.3);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-heading);
  border-color: rgba(108, 92, 231, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--deep-purple);
  color: var(--deep-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  min-height: 44px;
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
  min-height: 52px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* -------------------- 5. 吸顶固定页眉 (Header & Nav) -------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-glass-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
}

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

/* 品牌 Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-gradient);
  box-shadow: var(--shadow-glow-orange);
  color: #ffffff;
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
}

.brand-badge {
  font-size: 0.7rem;
  color: var(--sunset-orange);
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* 中间主导航 (站内内链严禁 nofollow) */
.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--sunset-orange);
  background-color: rgba(255, 125, 0, 0.08);
}

.nav-link.active {
  color: var(--deep-purple);
  background-color: rgba(108, 92, 231, 0.08);
}

/* 右侧行动区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-login-link:hover {
  color: var(--deep-purple);
  background-color: rgba(108, 92, 231, 0.08);
}

.mobile-nav-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  cursor: pointer;
}

/* -------------------- 6. 主视觉区 (Hero Section) -------------------- */
.hero-section {
  padding: 80px 0 90px 0;
  position: relative;
}

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

.hero-content {
  max-width: 650px;
}

.hero-badge-wrap {
  margin-bottom: 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 125, 0, 0.08);
  border: 1px solid rgba(255, 125, 0, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--sunset-orange);
  font-weight: 700;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sunset-orange);
  box-shadow: 0 0 8px var(--sunset-orange);
  animation: pulse-dot 2s infinite ease-in-out;
}

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

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-heading);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--sunset-orange);
  flex-shrink: 0;
}

/* Hero 右侧：轻微半透明磨砂玻璃卡片 */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 184, 148, 0.12);
  color: #00876c;
  border: 1px solid rgba(0, 184, 148, 0.25);
}

.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #00B894;
  border-radius: 50%;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  font-weight: 600;
}

.metric-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-heading);
}

.metric-value.emerald { color: #00997B; }
.metric-value.cyan { color: var(--sunset-orange); }

.node-status-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.node-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-heading);
  font-weight: 600;
}

.node-latency {
  color: var(--deep-purple);
  font-weight: 700;
}

/* -------------------- 7. 产品核心优势卡片 (3 Cards 磨砂玻璃质感) -------------------- */
.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: var(--radius-lg);
  padding: 36px 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 36px rgba(108, 92, 231, 0.12), 0 0 20px rgba(255, 125, 0, 0.08);
}

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

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(255, 125, 0, 0.1);
  color: var(--sunset-orange);
  border: 1px solid rgba(255, 125, 0, 0.25);
  flex-shrink: 0;
}

.feature-card:nth-child(2) .feature-icon-wrap {
  background: rgba(108, 92, 231, 0.1);
  color: var(--deep-purple);
  border-color: rgba(108, 92, 231, 0.25);
}

.feature-card:nth-child(3) .feature-icon-wrap {
  background: rgba(224, 86, 253, 0.1);
  color: var(--accent-pink-purple);
  border-color: rgba(224, 86, 253, 0.25);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 14px;
  line-height: 1.35;
}

.feature-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(108, 92, 231, 0.08);
}

.feature-tag {
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(108, 92, 231, 0.06);
  color: var(--deep-purple);
  font-weight: 600;
  border: 1px solid rgba(108, 92, 231, 0.15);
}

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

.service-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.service-category-card:hover {
  border-color: var(--border-purple);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md), 0 0 20px rgba(108, 92, 231, 0.08);
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.category-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(108, 92, 231, 0.08);
  color: var(--deep-purple);
  border: 1px solid rgba(108, 92, 231, 0.25);
}

.service-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.service-item:hover {
  background: #ffffff;
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 125, 0, 0.08);
  flex-shrink: 0;
  font-size: 1.15rem;
}

.service-info {
  flex: 1;
}

.service-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.service-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sunset-orange);
  margin-right: 4px;
}

/* -------------------- 9. 套餐价格对比表 (Pricing Table) -------------------- */
.pricing-wrapper {
  position: relative;
}

.pricing-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.pricing-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table caption {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: left;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border-subtle);
  caption-side: top;
}

.pricing-table th,
.pricing-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.pricing-table tbody th {
  font-weight: normal;
  text-align: left;
}

.pricing-table thead th {
  background: var(--bg-table-header);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-table tbody tr {
  transition: background-color 0.2s ease;
}

.pricing-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.pricing-table tbody tr.popular-row {
  background-color: rgba(255, 125, 0, 0.04);
  position: relative;
  border-left: 3px solid var(--sunset-orange);
}

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

.plan-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-heading);
}

.plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.plan-badge-popular {
  background: rgba(255, 125, 0, 0.12);
  color: var(--sunset-orange);
  border: 1px solid rgba(255, 125, 0, 0.3);
}

.plan-badge-flagship {
  background: rgba(108, 92, 231, 0.12);
  color: var(--deep-purple);
  border: 1px solid rgba(108, 92, 231, 0.3);
}

.plan-price-main {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
}

.plan-price-unit {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.plan-features-list {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.plan-features-list svg {
  color: var(--sunset-orange);
  flex-shrink: 0;
}

.pricing-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-weight: 600;
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.pricing-guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.pricing-guarantee-item svg {
  color: var(--deep-purple);
}

/* -------------------- 10. 真实用户评价 (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: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-purple);
  background: var(--bg-card-hover);
  box-shadow: 0 14px 32px rgba(108, 92, 231, 0.1);
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--sunset-orange);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.testimonial-quote {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  flex-grow: 1;
}

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

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

.author-avatar.blue { background: linear-gradient(135deg, #6C5CE7, #8E44AD); }
.author-avatar.purple { background: linear-gradient(135deg, #A55EEA, #4B6584); }
.author-avatar.emerald { background: linear-gradient(135deg, #FF7D00, #FA8231); }

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

.author-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
}

.author-role {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.author-tag {
  display: inline-block;
  font-size: 0.74rem;
  color: var(--sunset-orange);
  font-weight: 700;
  margin-top: 2px;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.faq-item[open] {
  border-color: var(--border-purple);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

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

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

.faq-icon-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.08);
  color: var(--deep-purple);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] .faq-icon-indicator {
  transform: rotate(180deg);
  background: rgba(255, 125, 0, 0.15);
  color: var(--sunset-orange);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid rgba(108, 92, 231, 0.08);
  padding-top: 16px;
}

.faq-answer a {
  color: var(--deep-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.faq-answer a:hover {
  color: var(--sunset-orange);
}

/* -------------------- 12. 页脚 (Footer) -------------------- */
.site-footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 40px 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  min-height: 44px;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
}

.footer-desc {
  max-width: 600px;
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* 页脚仅保留四个链接标题 */
.footer-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-bottom: 36px;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.footer-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--sunset-orange);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-subtle);
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-modern-tech);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sunset-orange);
}

/* -------------------- 13. 辅助子页面公用样式 -------------------- */
.page-hero {
  padding: 60px 0 40px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(250, 245, 248, 0.6);
}

.page-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 14px;
}

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

.page-content-wrapper {
  max-width: 860px;
  margin: 50px auto 90px auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.prose h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 36px 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--deep-purple);
  margin: 24px 0 12px 0;
}

.prose p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.prose ul, .prose ol {
  margin: 16px 0 24px 20px;
  color: var(--text-muted);
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.prose strong {
  color: var(--text-heading);
}

.callout-box {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(108, 92, 231, 0.06);
  border-left: 4px solid var(--deep-purple);
  margin: 24px 0;
  color: var(--text-heading);
}

.callout-box.warning {
  background: rgba(255, 125, 0, 0.08);
  border-left-color: var(--sunset-orange);
}

.callout-box.success {
  background: rgba(0, 184, 148, 0.08);
  border-left-color: #00B894;
}

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

.sitemap-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sitemap-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.sitemap-links-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.sitemap-links-list a:hover {
  color: var(--sunset-orange);
}

/* -------------------- 14. 移动端原生媒体查询 (@media) -------------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-list {
    justify-content: center;
  }

  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  .ai-streaming-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-glass-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 18px 24px 24px 24px;
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .pricing-scroll-hint {
    display: flex;
  }

  .service-items {
    grid-template-columns: 1fr;
  }

  .page-content-wrapper {
    padding: 24px 18px;
    margin-top: 30px;
    margin-bottom: 60px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-links-row {
    border-radius: var(--radius-md);
    padding: 12px 16px;
    width: 100%;
    justify-content: space-around;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .header-actions .nav-login-link {
    display: none;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-row {
    flex-direction: column;
    gap: 4px;
  }

  .footer-nav-link {
    width: 100%;
  }
}

/* -------------------- 15. 动效无障碍偏好适配 (prefers-reduced-motion) -------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------- 16. JavaScript 禁用环境下的导航优雅降级 -------------------- */
noscript .main-nav {
  display: block !important;
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
@media (max-width: 768px) {
  noscript .main-nav {
    display: block !important;
    position: static !important;
    margin-top: 10px;
    background: var(--bg-card) !important;
    border-radius: var(--radius-sm);
    padding: 12px !important;
  }
  noscript .mobile-nav-toggle {
    display: none !important;
  }
}
