/* ===================================================================
   西游云 (XiYou Cloud) - 极奢黑曜金视觉设计体系
   高对比度保障 | 完美清晰度 | 防折行防遮挡 | 昼夜无缝自适应
=================================================================== */

:root {
  /* -----------------------------------------------------------------
     深色黑曜金模式 (默认 / 夜间) - 超高对比度，字体纯白/象牙金，清晰醒目
  ----------------------------------------------------------------- */
  --bg-obsidian: #090807;
  --bg-basalt: #151311;
  --bg-card: #171513;
  --bg-card-hover: #1f1c19;
  --bg-card-inner: #1a1815;
  --bg-nav: rgba(12, 10, 9, 0.92);
  
  --gold-primary: #f59e0b;
  --gold-metallic: #d4af37;
  --gold-amber: #b45309;
  --gold-light: #fef08a; /* 极亮金黄，确保深色背景下字字清晰 */
  --gold-glow: rgba(245, 158, 11, 0.3);
  --gold-glow-intense: rgba(245, 158, 11, 0.5);
  --gold-border: rgba(212, 175, 55, 0.35);
  --gold-border-focus: #f59e0b;
  
  --crimson-ember: #ef4444;
  
  --text-ivory: #ffffff;      /* 纯白标题，极高对比度 */
  --text-primary: #ffffff;    /* 纯白主字 */
  --text-secondary: #e7e5e4;  /* 浅暖灰，阅读极度舒适清晰 */
  --text-muted: #a8a29e;      /* 辅助提示文字 */
  
  --pill-bg: rgba(245, 158, 11, 0.12);
  --pill-border: rgba(245, 158, 11, 0.45);
  --pill-text: #fde68a;       /* 保证药丸徽章文字明亮可读 */
  
  --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --gold-gradient-shine: linear-gradient(120deg, #ffffff 0%, #fef08a 20%, #f59e0b 60%, #b45309 100%);
  
  --border-chamfer: 1px solid var(--gold-border);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.9), 0 0 1px 1px rgba(212, 175, 55, 0.15);
  --shadow-btn: 0 8px 24px -4px rgba(245, 158, 11, 0.5);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-normal: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* -----------------------------------------------------------------
   浅色模式 (白天模式) - 象牙白底色，深色高对比文字，金棕点缀，完全不发虚
----------------------------------------------------------------- */
[data-theme="light"] {
  --bg-obsidian: #faf8f5;
  --bg-basalt: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fefdfb;
  --bg-card-inner: #f5f2eb;
  --bg-nav: rgba(250, 248, 245, 0.95);
  
  --gold-primary: #b45309;
  --gold-metallic: #92400e;
  --gold-amber: #78350f;
  --gold-light: #78350f;
  --gold-glow: rgba(180, 83, 9, 0.2);
  --gold-glow-intense: rgba(180, 83, 9, 0.35);
  --gold-border: rgba(180, 83, 9, 0.25);
  --gold-border-focus: #b45309;
  
  --crimson-ember: #b91c1c;
  
  --text-ivory: #1c1917;      /* 深黑灰主标题，极清晰 */
  --text-primary: #1c1917;    /* 纯正深色文字 */
  --text-secondary: #292524;  /* 深色副标题与正文 */
  --text-muted: #57534e;      /* 辅助文字不浅发灰 */
  
  --pill-bg: rgba(245, 158, 11, 0.14);
  --pill-border: rgba(180, 83, 9, 0.4);
  --pill-text: #78350f;       /* 浅色模式下深琥珀色药丸字，极其醒目 */
  
  --gold-gradient: linear-gradient(135deg, #d97706 0%, #b45309 60%, #78350f 100%);
  --gold-gradient-shine: linear-gradient(120deg, #b45309 0%, #d97706 40%, #78350f 100%);
  
  --border-chamfer: 1px solid rgba(180, 83, 9, 0.22);
  --shadow-card: 0 10px 25px -4px rgba(28, 25, 23, 0.08), 0 0 1px 1px rgba(180, 83, 9, 0.15);
  --shadow-btn: 0 8px 20px -3px rgba(180, 83, 9, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===================================================================
   导航栏 (Navbar) - 严格防止文字竖排换行，保持一栏横向
=================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-nav);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gold-border);
  transition: var(--transition-normal);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--text-ivory);
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-mascot-img {
  height: 44px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px var(--gold-glow));
  transition: var(--transition-normal);
  vertical-align: middle;
}

.brand-logo:hover .brand-mascot-img {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 4px 16px var(--gold-glow-intense));
}

.brand-text {
  font-weight: 900;
  color: var(--text-ivory);
}

:root:not([data-theme="light"]) .brand-text {
  background: var(--gold-gradient-shine);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .brand-text {
  color: #1c1917;
}

/* 导航链接 - 严格 whitespace: nowrap 防止汉字断行 */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 14px;
  margin: 0 8px;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-normal);
  padding: 6px 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap; /* 绝对禁止“首”和“页”折行！ */
  flex-shrink: 0;
}

.nav-link svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold-primary);
  stroke-width: 2;
  opacity: 0.85;
  flex-shrink: 0;
}

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

.nav-link.highlight-tag {
  color: var(--pill-text);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-weight: 700;
}

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

/* 昼夜切换按钮 */
.theme-toggle-btn {
  background: var(--bg-basalt);
  border: 1px solid var(--gold-border);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold-primary);
  transition: var(--transition-normal);
  position: relative;
  outline: none;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px var(--gold-glow);
  transform: translateY(-1px);
}

.theme-icon-sun,
.theme-icon-moon {
  position: absolute;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

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

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

/* 按钮规范 */
.btn-gold-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #171003 !important;
  border: 1px solid rgba(254, 243, 199, 0.8);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-gold-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(245, 158, 11, 0.6);
  filter: brightness(1.1);
}

.btn-dark-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--bg-basalt);
  color: var(--text-primary);
  border: 1px solid var(--gold-border);
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-dark-gold:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 16px var(--gold-glow);
}

.btn-large {
  padding: 14px 34px;
  font-size: 1.05rem;
}

/* ===================================================================
   主视觉区 (Hero Section) - 字体超高对比度，解决“看不清”
=================================================================== */

.hero-section {
  position: relative;
  padding: 90px 0 75px;
  text-align: center;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

#somersault-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

/* 筋斗云专线药丸徽章 - 修复看不清的问题 */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: var(--radius-full);
  color: var(--pill-text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
  box-shadow: 0 0 18px var(--gold-glow);
}

.cloud-icon-spin {
  display: inline-block;
  color: var(--gold-primary);
  font-size: 1.1rem;
}

/* 醒目大标题 */
.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-ivory);
}

:root:not([data-theme="light"]) .hero-title .text-gold {
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 35%, #f59e0b 80%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-title .text-gold {
  color: #b45309;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 38px;
  line-height: 1.85;
  font-weight: 500;
}

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

/* 3个精雕金色圆形徽章 */
.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.engraved-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.engraved-badge:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 18px var(--gold-glow);
  transform: translateY(-2px);
}

.badge-gold-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.badge-text-box {
  text-align: left;
}

.badge-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-ivory);
  line-height: 1.2;
}

.badge-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===================================================================
   通用板块标题
=================================================================== */

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.section-main-title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  color: var(--text-ivory);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-caption {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* ===================================================================
   产品核心优势介绍 (3个黑曜玄武石金纹卡片)
=================================================================== */

.features-wrap {
  padding: 80px 0;
}

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

.basalt-card {
  background: var(--bg-card);
  border: var(--border-chamfer);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.basalt-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border-focus);
  box-shadow: var(--shadow-card), 0 0 25px var(--gold-glow);
}

.feature-gold-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-card-inner);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.basalt-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-ivory);
  margin-bottom: 14px;
}

.basalt-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}

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

.showcase-block {
  padding: 80px 0;
  background: var(--bg-card-inner);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.media-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 60px;
}

.media-card-item {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.media-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
}

.media-gold-emblem {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-inner);
  border: 1px solid var(--gold-metallic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.media-meta h3,
.media-meta h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-ivory);
  margin-bottom: 4px;
}

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

/* AI 工具卡片 */
.ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.ai-card-item {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.ai-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 0 22px var(--gold-glow);
}

.ai-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  color: var(--pill-text);
  margin-bottom: 14px;
}

.ai-card-item h3,
.ai-card-item h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-ivory);
  margin-bottom: 10px;
}

.ai-card-item p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================================
   全平台支持 OS Dock
=================================================================== */

.os-dock-section {
  padding: 70px 0;
  text-align: center;
}

.os-dock-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.os-tile {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.os-tile:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 0 22px var(--gold-glow);
  background: var(--bg-card-hover);
}

.os-icon {
  width: 44px;
  height: 44px;
  color: var(--gold-primary);
}

.os-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-ivory);
}

.os-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===================================================================
   套餐价格对比表 - 解决“遮挡”与“文字发黑看不清”的核心修复
=================================================================== */

.pricing-block {
  padding: 90px 0;
  position: relative;
}

.pricing-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
  padding-top: 18px; /* 留出充足顶部空间，防止推荐卡片顶部的标签被切断 */
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 44px 30px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
  overflow: visible !important; /* 彻底移除 overflow: hidden，严防顶部推荐标签被裁切！ */
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 28px var(--gold-glow);
  border-color: var(--gold-border-focus);
}

/* 推荐热门卡片 - 昼夜自适应配色，确保字字如金、白底深字/黑底白字超高对比度 */
.price-card.featured-card {
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 35px -5px var(--gold-glow-intense), var(--shadow-card);
  transform: scale(1.02);
  z-index: 5;
}

/* 深色模式下的推荐卡片背景与字体 */
:root:not([data-theme="light"]) .price-card.featured-card {
  background: #191613;
  color: #ffffff;
}

/* 浅色模式下的推荐卡片背景与字体 */
[data-theme="light"] .price-card.featured-card {
  background: #ffffff;
  color: #1c1917;
}

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

/* 极简金箍双弧线纹饰 (Headband Motif) - 完全居中浮凸，不被遮挡 */
.headband-motif {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #1a1202 !important;
  padding: 6px 24px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px var(--gold-glow-intense);
  white-space: nowrap;
  z-index: 10;
  border: 1px solid #ffffff;
}

.headband-arc {
  width: 14px;
  height: 6px;
  border-top: 2.2px solid #1a1202;
  border-radius: 50% 50% 0 0;
}

.plan-head-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-ivory) !important;
  margin-bottom: 8px;
}

.plan-head-desc {
  font-size: 0.94rem;
  color: var(--text-secondary) !important;
  min-height: 48px;
  margin-bottom: 22px;
  line-height: 1.6;
}

.plan-rate-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gold-border);
}

.rate-symbol {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.rate-val {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-ivory) !important; /* 彻底修复发黑看不清的问题！ */
  line-height: 1;
}

.rate-cycle {
  font-size: 0.94rem;
  color: var(--text-muted) !important;
  margin-left: 4px;
  font-weight: 600;
}

.plan-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 34px;
  flex-grow: 1;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--text-secondary) !important; /* 确保列表字字清晰 */
}

.gold-check-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ===================================================================
   用户真实评价 (Reviews)
=================================================================== */

.reviews-block {
  padding: 80px 0;
  background: var(--bg-card-inner);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

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

.review-basalt-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.review-basalt-box:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
}

.stars-gold {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

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

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-gilded-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card-inner);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-ivory);
}

.reviewer-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.faq-block {
  padding: 90px 0;
}

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

.faq-card-detail {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-card-detail:hover {
  border-color: var(--gold-primary);
}

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

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

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-content-body {
  padding: 0 26px 24px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.85;
}

/* ===================================================================
   页脚 (Footer) - 严格仅保留四个标题，在新窗口打开
=================================================================== */

.footer-gilded {
  background: var(--bg-basalt);
  border-top: 1px solid var(--gold-border);
  padding: 56px 0 38px;
}

.footer-nav-4 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-bottom: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-link-item {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-normal);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.footer-link-item:hover {
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.12);
}

.footer-legal-copy {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 锚点平滑过渡与导航偏移 */
[id] {
  scroll-margin-top: 90px;
}

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

@media (max-width: 1240px) {
  .nav-links {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.9rem;
    padding: 4px 4px;
    gap: 4px;
  }
  .nav-link svg {
    display: none; /* 屏幕空间稍窄时隐藏小图标，优先确保文字横排清晰舒展，绝不挤压折行 */
  }
}

@media (max-width: 1080px) {
  .pricing-3col-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
    padding-top: 24px;
  }
  .price-card.featured-card {
    transform: none;
  }
  .features-grid-3 {
    grid-template-columns: 1fr;
  }
  .os-dock-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none; /* 移动端折叠导航，保持界面极度清爽 */
  }
}

@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-large {
    width: 100%;
  }
  .btn-gold-pill, .btn-dark-gold {
    min-height: 48px;
  }
  .os-dock-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-nav-4 {
    flex-direction: column;
    gap: 16px;
  }
}
