/* ==========================================================================
   鲤云 (liyun.shop) - 黑金奢华模块化 Bento Grid 原生极速样式表
   Apple 级模块化设计 | 哑光黑曜石底色 (#0F1117) | 1px 细金发丝边框 (#D4AF37)
   微澜青海波鱼鳞纹底纹 | 光标聚光微光跟随 | 纯内联原生秒开无外部阻塞
   ========================================================================== */

/* ---------------- 基础变量定义 (昼夜双模：黑曜金 vs 瓷白金) ---------------- */
:root {
  /* 品牌金与琥珀色系 */
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa820a;
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-border-hover: rgba(212, 175, 55, 0.65);
  --gold-glow: rgba(212, 175, 55, 0.18);
  --amber-accent: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.25);
  
  --gradient-gold: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa820a 100%);
  --gradient-gold-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* 白天模式 (默认：典雅瓷白与香槟金) */
  --bg-base: #f9fafb;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f3f4f6;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-card: rgba(255, 255, 255, 0.92);
  --border-subtle: rgba(212, 175, 55, 0.25);
  --border-focus: #d4af37;

  --text-main: #111827;
  --text-muted: #4b5563;
  --text-dim: #9ca3af;
  --text-inverse: #0f1117;

  --scale-pattern-opacity: 0.04;
  --spotlight-color: rgba(212, 175, 55, 0.12);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px -2px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 18px 36px -4px rgba(17, 24, 39, 0.12);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.22);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --nav-height: 72px;
  --transition-spring: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
}

/* 夜间模式 (奢华哑光黑曜石底色 #0F1117 与金箔微澜) */
[data-theme="dark"] {
  --bg-base: #0f1117;
  --bg-surface: #151922;
  --bg-surface-elevated: #1b212e;
  --bg-glass: rgba(15, 17, 23, 0.82);
  --bg-card: rgba(21, 25, 34, 0.75);
  --border-subtle: rgba(212, 175, 55, 0.2);
  --border-focus: #d4af37;

  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --text-inverse: #ffffff;

  --scale-pattern-opacity: 0.06;
  --spotlight-color: rgba(212, 175, 55, 0.16);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 6px 24px -2px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 48px -4px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 0 35px rgba(212, 175, 55, 0.25);
}

/* ---------------- 全局重置与青海波鱼鳞底纹 ---------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.65;
  transition: background-color var(--transition-spring), color var(--transition-spring);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* 沉浸式金鳞青海波底纹 (原生SVG无外链阻断) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M0 24C0 10.745 10.745 0 24 0s24 10.745 24 24H0zm24-2C12.954 22 4 13.046 4 2h4c0 8.837 7.163 16 16 16s16-7.163 16-16h4c0 11.046-8.954 20-20 20z' fill='%23d4af37' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 48px 24px;
  opacity: var(--scale-pattern-opacity);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------------- 顶部导航栏 ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: background var(--transition-spring), border-color var(--transition-spring);
}

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

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

.brand-logo svg {
  width: 34px;
  height: 34px;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--gradient-gold);
  color: #0f1117;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* 推荐资讯特殊微标 */
.nav-link.nav-highlight {
  color: var(--amber-accent);
  font-weight: 600;
}

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

/* 精致透明化昼夜切换按钮 (无粗糙emoji，黑金玻璃拟态) */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 19px;
  height: 19px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.icon-sun {
  position: absolute;
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

.icon-moon {
  position: absolute;
  transform: rotate(90deg) scale(0);
  opacity: 0;
}

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

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

/* 呼吁性 CTA 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-spring);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #0f1117 !important;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.5);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

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

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  background: rgba(212, 175, 55, 0.05);
}

/* ---------------- 模块化 Bento Card 核心样式 ---------------- */
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-spring), border-color var(--transition-spring), box-shadow var(--transition-spring);
}

/* 光标聚光微光 (Cursor-tethered radial amber spotlight) */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), var(--spotlight-color), transparent 75%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

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

/* 弹簧阻尼微展开交互 */
.bento-card.expandable {
  cursor: pointer;
}

.bento-card.expanded {
  border-color: var(--gold-primary);
  box-shadow: 0 0 35px var(--gold-glow);
}

/* 呼吸态金光指示器 (Breathing golden status indicator) */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-accent);
  box-shadow: 0 0 8px var(--amber-accent);
  animation: pulseGolden 2.2s infinite;
}

@keyframes pulseGolden {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ---------------- Hero 主视觉区与不对称 Bento Grid ---------------- */
.hero-section {
  padding-top: calc(var(--nav-height) + 50px);
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
}

.hero-glow-sphere {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 450px;
  background: radial-gradient(circle, var(--gold-glow) 0%, rgba(245, 158, 11, 0.05) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-intro {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--gradient-gold-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 740px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* 不对称 Bento Grid 结构 (Hero Section Telemetry Layout) */
.hero-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.bento-col-7 { grid-column: span 7; }
.bento-col-5 { grid-column: span 5; }
.bento-col-4 { grid-column: span 4; }
.bento-col-8 { grid-column: span 8; }
.bento-col-12 { grid-column: span 12; }

/* Bento Cell 内部组件：实时全球延迟仪表 */
.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.telemetry-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.ping-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ping-node {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  transition: all var(--transition-fast);
}

.ping-node:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.node-region {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.node-latency {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.node-loss {
  font-size: 0.72rem;
  color: #10b981;
  display: block;
}

/* 多端同步设备仪表 */
.device-sync-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.sync-device-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sync-device-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
}

/* 交互式带宽测算滑动条 (Bandwidth Estimator Slider) */
.slider-container {
  margin-top: 24px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.slider-val-display {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-primary);
}

/* 荷茎轨道与金鳞手柄 (Lotus-stem track & Koi-scale handle) */
.koi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  outline: none;
  transition: all var(--transition-fast);
}

.koi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient-gold);
  cursor: pointer;
  box-shadow: 0 0 12px var(--amber-glow);
  border: 2px solid #ffffff;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.koi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.22);
}

.slider-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.slider-metric-box {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
}

.metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: block;
}

.metric-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---------------- 通用 Section ---------------- */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

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

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

/* ---------------- 产品核心优势 (3个图文卡片) ---------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-bento {
  display: flex;
  flex-direction: column;
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-gold-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform var(--transition-spring);
}

.feature-bento:hover .feature-icon-box {
  transform: scale(1.08) rotate(3deg);
  border-color: var(--gold-primary);
}

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

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

.feature-checklist {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.feature-checklist svg {
  width: 15px;
  height: 15px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

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

.showcase-bento {
  padding: 38px;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
  background: var(--gradient-gold-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--gold-primary);
}

.showcase-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

/* 平台微标卡与金色微光扫掠效果 (Golden micro-sheen sweep) */
.streaming-tags-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.sheen-tag {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* 扫光动画伪元素 */
.sheen-tag::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 0%,
    rgba(212, 175, 55, 0.45) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: all 0.6s ease;
}

.sheen-tag:hover::after {
  left: 150%;
}

.sheen-tag:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.sheen-icon {
  font-weight: 800;
  font-size: 0.95rem;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* 纯技术遥测徽标 (Strict Exclusions: NO AI sparkle / NO magic wand / NO robot) */
.telemetry-specs {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.telemetry-spec-item {
  flex: 1;
}

.telemetry-spec-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-primary);
  display: block;
}

.telemetry-spec-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---------------- 套餐价格对比表 (参考网上真实机场加速器定价) ---------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
  padding-top: 24px; /* 预留充足顶部空间，防止徽标被上层区域或边界贴紧 */
}

.pricing-bento {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible !important; /* 关键修复：允许徽标完整越界展示，坚决杜绝文字遮挡与截断 */
}

.pricing-bento::before {
  border-radius: var(--radius-lg);
}

.pricing-bento.featured {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}

.pricing-bento.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.featured-ribbon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #0f1117;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.45);
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  z-index: 10;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.pricing-plan-head {
  margin-bottom: 22px;
}

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

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

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

.price-symbol {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.price-number {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
}

.price-unit {
  font-size: 0.9rem;
  color: var(--text-dim);
}

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

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

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

.pricing-features-list svg {
  width: 17px;
  height: 17px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
}

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

.testimonial-bento {
  display: flex;
  flex-direction: column;
}

.star-rating {
  display: flex;
  gap: 4px;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.star-rating svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

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

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

.user-avatar-gold {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #0f1117;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.user-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.user-details p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

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

.faq-card {
  padding: 0;
}

.faq-trigger {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--gold-primary);
}

.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-fast);
}

.faq-card.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--gold-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-card.active .faq-content {
  max-height: 280px;
  padding-bottom: 24px;
}

/* ---------------- 底部呼吁横幅 ---------------- */
.bento-cta-banner {
  margin: 60px 0 0;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  background: var(--gradient-gold-subtle);
  border: 1px solid var(--gold-border);
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.bento-cta-banner h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

.bento-cta-banner p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

/* ---------------- 页脚 (严格只保留四个标题，在新页面打开) ---------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0 36px;
  margin-top: 70px;
  position: relative;
  z-index: 1;
}

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

.footer-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

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

.footer-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-gold);
  transition: width var(--transition-fast);
}

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

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------------- 推荐资讯 & 独立子页面通用样式 ---------------- */
.subpage-container {
  padding-top: calc(var(--nav-height) + 50px);
  padding-bottom: 80px;
  max-width: 900px;
  margin: 0 auto;
}

.subpage-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
}

.subpage-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.subpage-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.subpage-meta {
  font-size: 0.88rem;
  color: var(--gold-primary);
  font-weight: 500;
}

.article-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.article-item:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.article-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

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

.subpage-body {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.subpage-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 36px 0 14px;
}

.subpage-body p {
  margin-bottom: 16px;
}

.subpage-body ul, .subpage-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

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

.gold-callout {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--gold-primary);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-main);
  font-size: 0.95rem;
}

.gold-callout.warning {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

/* ---------------- 响应式媒体查询 (@media) ---------------- */
@media (max-width: 1024px) {
  .hero-bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-col-7, .bento-col-5, .bento-col-4, .bento-col-8, .bento-col-12 {
    grid-column: span 1;
  }
  .features-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-bento.featured {
    transform: none;
  }
  .pricing-bento.featured:hover {
    transform: translateY(-4px);
  }
}

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

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }

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

  .features-grid,
  .showcase-grid,
  .pricing-grid,
  .testimonials-grid,
  .ping-matrix,
  .streaming-tags-grid,
  .slider-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .subpage-box {
    padding: 28px 20px;
  }

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

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

  .footer-nav {
    gap: 20px;
  }
}

/* 语义化无障碍与搜索引擎辅助 (纯代码层优化，绝对不改变任何视觉呈现) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
