/* ==========================================================================
   魔戒机场 (The One Ring Cloud) - 相对论吸积盘宇宙级原生样式表
   Relativistic Accretion-Ring Cosmological Design System
   调色盘: True OLED Black (#000000), Accretion-Disk Amber (#f59e0b), Cryogenic Starlight (#e0f2fe)
   ========================================================================== */

:root {
  /* 白天模式 (恒星白昼与星辉微光) */
  --bg-oled: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #f1f5f9;
  --bg-header: rgba(248, 250, 252, 0.85);
  
  --border-color: rgba(226, 232, 240, 0.85);
  --border-amber: rgba(217, 119, 6, 0.35);
  --border-cryo: rgba(2, 132, 199, 0.3);
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  --amber-core: #d97706;
  --amber-glow: rgba(217, 119, 6, 0.2);
  --amber-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  
  --cryo-arc: #0284c7;
  --cryo-light: #e0f2fe;
  --cryo-glow: rgba(2, 132, 199, 0.15);
  
  --smoked-crystal: rgba(255, 255, 255, 0.85);
  --smoked-crystal-border: rgba(217, 119, 6, 0.25);
  --smoked-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

  --shadow-lensing: 0 0 35px rgba(245, 158, 11, 0.25);
  --toggle-bg: rgba(241, 245, 249, 0.9);
  --toggle-border: rgba(203, 213, 225, 0.9);
  --toggle-icon: #1e293b;
  
  --canvas-filter: invert(0);
}

[data-theme="dark"] {
  /* 暗黑事件视界模式 (True OLED Black + 吸积盘余晖琥珀 + 深空低温星弧) */
  --bg-oled: #000000;
  --bg-surface: #04070d;
  --bg-card: rgba(8, 12, 20, 0.78);
  --bg-card-hover: rgba(14, 21, 35, 0.9);
  --bg-header: rgba(0, 0, 0, 0.85);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-amber: rgba(245, 158, 11, 0.3);
  --border-cryo: rgba(224, 242, 254, 0.25);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --amber-core: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.35);
  --amber-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #b45309 100%);
  
  --cryo-arc: #e0f2fe;
  --cryo-light: #38bdf8;
  --cryo-glow: rgba(56, 189, 248, 0.25);
  
  --smoked-crystal: rgba(6, 10, 18, 0.75);
  --smoked-crystal-border: rgba(245, 158, 11, 0.28);
  --smoked-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(245, 158, 11, 0.04);

  --shadow-lensing: 0 0 45px rgba(245, 158, 11, 0.4);
  --toggle-bg: rgba(18, 24, 38, 0.8);
  --toggle-border: rgba(245, 158, 11, 0.25);
  --toggle-icon: #f59e0b;
  
  --canvas-filter: invert(0);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* 锚点跳转平滑缓冲 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-oled);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

ul, ol {
  list-style: none;
}

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

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

/* 相对论宇宙导航栏 */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

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

.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.25) 0%, rgba(0, 0, 0, 0.9) 85%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon-box svg {
  width: 22px;
  height: 22px;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.12) rotate(10deg);
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.9));
}

.brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-core);
  font-weight: 600;
  margin-left: 4px;
  display: block;
  line-height: 1;
}

/* 导航锚点目录 - 带平滑过渡与高亮 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 4px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--amber-gradient);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber-core);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

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

/* 精致透明化昼夜模式切换按钮 */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-border);
  color: var(--toggle-icon);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
}

.theme-toggle-btn:hover {
  border-color: var(--amber-core);
  color: var(--amber-core);
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 0 16px var(--amber-glow);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.theme-toggle-btn .icon-sun {
  display: none;
}
.theme-toggle-btn .icon-moon {
  display: block;
}

[data-theme="light"] .theme-toggle-btn .icon-sun {
  display: block;
}
[data-theme="light"] .theme-toggle-btn .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 24px;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--amber-gradient);
  color: #000000 !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.6);
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--smoked-crystal);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: var(--amber-core);
  color: var(--amber-core) !important;
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--amber-glow);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: 10px;
}

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

/* 移动端汉堡按钮 */
.mobile-toggle {
  display: none;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   主视觉区 (Hero Section) - 爱因斯坦环与黑洞吸积盘空间布局
   Einstein-ring spatial layout with interactive canvas & smoked-crystal HUD
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 80px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(245, 158, 11, 0.08) 0%, rgba(0, 0, 0, 0.95) 75%);
}

/* 相对论引力透镜吸积盘画布 */
#accretionCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-amber);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amber-core);
  margin-bottom: 24px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.cosmic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-core);
  box-shadow: 0 0 10px var(--amber-core);
  animation: pulseCosmic 2s infinite ease-in-out;
}

@keyframes pulseCosmic {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-title .gradient-amber {
  background: var(--amber-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
}

.hero-title .gradient-cryo {
  color: var(--cryo-arc);
  text-shadow: 0 0 25px rgba(224, 242, 254, 0.4);
}

.hero-subtitle {
  font-size: 1.22rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
}

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

/* 浮动熏晶 HUD 模块面板 (Smoked-Crystal HUD Panels) */
.hud-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}

.hud-panel {
  background: var(--smoked-crystal);
  border: 1px solid var(--smoked-crystal-border);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--smoked-shadow);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.hud-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-core), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.hud-panel:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--amber-core);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.25);
}

.hud-panel:hover::before {
  opacity: 1;
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hud-node-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #10b981;
  font-weight: 600;
}

.hud-status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.hud-latency {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hud-latency span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-core);
  margin-left: 2px;
}

.hud-detail {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   通用区块排版
   ========================================================================== */

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

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-core);
  margin-bottom: 12px;
}

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

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

/* ==========================================================================
   产品核心优势介绍 (3个图文卡片)
   ========================================================================== */

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 38px 30px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

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

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-amber);
  color: var(--amber-core);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.2);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

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

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

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

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

.feature-list li svg {
  width: 17px;
  height: 17px;
  color: var(--amber-core);
  flex-shrink: 0;
}

/* ==========================================================================
   流媒体解锁图卡 & AI 支持图卡
   ========================================================================== */

.media-ai-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.unlock-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 34px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.unlock-card:hover {
  border-color: var(--border-cryo);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--cryo-glow);
}

.unlock-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.unlock-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-badge-icon {
  background: rgba(239, 68, 68, 0.14);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.ai-badge-icon {
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.unlock-header-icon svg {
  width: 26px;
  height: 26px;
}

.unlock-header h3 {
  font-size: 1.4rem;
  font-weight: 750;
  color: var(--text-primary);
}

.unlock-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 26px;
  line-height: 1.65;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.badge-box {
  background: var(--smoked-crystal);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.badge-box:hover {
  border-color: var(--amber-core);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.badge-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge-name {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.logo-netflix { color: #e50914; }
.logo-youtube { color: #ff0000; }
.logo-disney { color: #38bdf8; }
.logo-hbo { color: #c084fc; }
.logo-spotify { color: #1db954; }
.logo-prime { color: #00a8e1; }

.logo-openai { color: #10a37f; }
.logo-claude { color: #f59e0b; }
.logo-gemini { color: #60a5fa; }
.logo-midjourney { color: #a855f7; }
.logo-copilot { color: #38bdf8; }
.logo-sora { color: #ec4899; }

.unlock-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--smoked-crystal);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-top: auto;
}

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

.unlock-highlights-item svg {
  width: 16px;
  height: 16px;
  color: var(--amber-core);
  flex-shrink: 0;
}

/* ==========================================================================
   套餐价格对比表 (Pricing) - 参考魔戒官方真实按量不限时套餐价格
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(14px);
}

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

.pricing-card.popular {
  border-color: var(--amber-core);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.35);
  background: var(--bg-card);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber-gradient);
  color: #000000;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
}

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

.pricing-plan-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  min-height: 40px;
  margin-bottom: 20px;
}

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

.pricing-currency {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--amber-core);
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-cycle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--amber-core);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-feature-item.muted {
  color: var(--text-muted);
  opacity: 0.6;
}

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

/* ==========================================================================
   用户评价 (Testimonials)
   ========================================================================== */

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 26px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-amber);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

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

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

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 1rem;
}

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

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

/* ==========================================================================
   常见问题解答 (FAQ)
   ========================================================================== */

.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}

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

.faq-item[open] {
  border-color: var(--amber-core);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

.faq-question {
  padding: 22px 26px;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-primary);
  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-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--amber-core);
}

.faq-answer {
  padding: 0 26px 24px;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

/* CTA 横幅 */
.cta-banner {
  margin: 70px 0 20px;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.2) 0%, rgba(10, 14, 23, 0.95) 100%);
  border: 1px solid var(--border-amber);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--amber-glow);
}

.cta-banner h2 {
  font-size: 2.3rem;
  font-weight: 850;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 34px;
}

.cta-banner .btn {
  background: var(--amber-gradient);
  color: #000000 !important;
  font-size: 1.05rem;
  padding: 14px 40px;
  font-weight: 800;
}

/* ==========================================================================
   页脚 (页脚只保留 网站地图, 关于我们, 服务条款, 隐私政策 四个标题)
   ========================================================================== */

.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 34px;
  margin-top: 70px;
  transition: all 0.3s ease;
}

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

.footer-nav-item {
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.footer-nav-item:hover {
  color: var(--amber-core);
  background: rgba(245, 158, 11, 0.1);
}

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

.footer-brand-note {
  margin-bottom: 8px;
}

/* 推荐资讯与文档专用排版 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(12px);
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-amber);
  box-shadow: var(--shadow-lensing);
}

.news-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-core);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.news-title {
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 14px;
}

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

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

/* ==========================================================================
   长篇深度 SEO 文章专用样式 (Table of Contents, Typography, FAQ, Related Posts)
   ========================================================================== */

.article-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 36px;
}

.article-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

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

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

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

/* 目录结构 (Table of Contents) */
.toc-container {
  background: var(--smoked-crystal);
  border: 1px solid var(--border-amber);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 32px 0 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.toc-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--amber-core);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 8px;
}

.toc-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.toc-link {
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.toc-link:hover {
  color: var(--amber-core);
  padding-left: 6px;
}

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

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 48px 0 20px;
  padding-left: 14px;
  border-left: 4px solid var(--amber-core);
  scroll-margin-top: 90px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 30px 0 14px;
  scroll-margin-top: 90px;
}

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

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

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

.article-body li {
  margin-bottom: 10px;
  line-height: 1.75;
}

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

.article-body a:hover {
  color: #fbbf24;
}

.article-callout {
  background: var(--smoked-crystal);
  border: 1px solid var(--border-amber);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 28px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 30px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.article-table th {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-core);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border-color);
}

.article-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

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

/* 文章专属 FAQ 区块 */
.article-faq-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
}

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

/* 相关阅读推荐 */
.related-posts-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

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

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

.related-card {
  background: var(--smoked-crystal);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

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

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

.related-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-grow: 1;
}

.related-card span {
  font-size: 0.82rem;
  color: var(--amber-core);
  font-weight: 600;
}

/* ==========================================================================
   响应式媒体查询 (@media) - 确保手机端完美单栏，按钮适合手指点击
   ========================================================================== */

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hud-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .media-ai-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-inner {
    height: 66px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 10px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 60px 0 60px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

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

  .hud-telemetry-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

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

  .cta-banner h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .btn {
    min-height: 46px;
    width: 100%;
  }
  .nav-actions .btn {
    display: none;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
}
