/* ==========================================================================
   超实惠机场 (CSHJichang.mom) - 高压电磁超频核心样式表 (High-Voltage Electromagnetic Induction UI)
   Cyber-Energy Overdrive: Pitch Carbon-Fiber Black (#060608), Electric-Violet Spark Gradients,
   Searing Neon Emerald Indicators, Heavy Capacitor-Shielded Modules, Stencil Warnings & Copper Busbars.
   ========================================================================== */

:root {
  /* 基础排版 */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* 高压电磁色谱 (Cyber-Energy Palette) */
  --spark-violet: #7c3aed;
  --spark-blue: #2563eb;
  --spark-neon-violet: #a855f7;
  --spark-gradient: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #2563eb 100%);
  --spark-gradient-intense: linear-gradient(135deg, #9333ea 0%, #6366f1 45%, #06b6d4 100%);
  
  --neon-emerald: #10b981;
  --neon-emerald-glow: #00ff88;
  --copper-busbar: #d97706;
  --copper-gradient: linear-gradient(90deg, #b45309 0%, #f59e0b 50%, #b45309 100%);
  --stencil-yellow: #facc15;
  
  /* 默认：白天高纯科技合金模式 (Clean Tech Lab Alloy) */
  --bg-body: #f4f6fa;
  --bg-grid: rgba(124, 58, 237, 0.04);
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.92);
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-card-subtle: #f1f5f9;
  --bg-capacitor: rgba(241, 245, 249, 0.8);
  
  --text-primary: #090d16;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --border-color: #cbd5e1;
  --border-glow: rgba(124, 58, 237, 0.25);
  --border-heavy: #94a3b8;
  --border-copper: rgba(217, 119, 6, 0.4);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.1);
  --shadow-spark: 0 0 20px rgba(124, 58, 237, 0.2);
  --shadow-emerald: 0 0 15px rgba(16, 185, 129, 0.35);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition-speed: 0.3s;
}

/* 夜间高压电磁超频模式 (Pitch Carbon-Fiber Black - Overdrive Matrix) */
[data-theme="dark"] {
  --bg-body: #060608;
  --bg-grid: rgba(124, 58, 237, 0.08);
  --bg-surface: #0c0e14;
  --bg-surface-glass: rgba(12, 14, 20, 0.92);
  --bg-card: #0f121b;
  --bg-card-hover: #161b29;
  --bg-card-subtle: #080a0f;
  --bg-capacitor: rgba(15, 18, 27, 0.9);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --border-color: #1e2436;
  --border-glow: rgba(168, 85, 247, 0.35);
  --border-heavy: #2d3748;
  --border-copper: rgba(245, 158, 11, 0.45);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 14px 35px rgba(0, 0, 0, 0.8);
  --shadow-spark: 0 0 28px rgba(124, 58, 237, 0.35);
  --shadow-emerald: 0 0 20px rgba(16, 185, 129, 0.55);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  background-image: 
    linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
  background-size: 36px 36px;
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul, ol {
  list-style: none;
}

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

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

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

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

/* 电磁警告标语 (Stencil Warning Banner) */
.stencil-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 16px;
  border: 1px dashed var(--spark-violet);
  border-radius: var(--radius-xs);
  color: var(--spark-violet);
  background: rgba(124, 58, 237, 0.06);
  margin-bottom: 20px;
  text-transform: uppercase;
}

[data-theme="dark"] .stencil-banner {
  color: #c084fc;
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
}

/* 通用章节标题 */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 16px;
  background: var(--spark-gradient);
  color: #ffffff;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-spark);
}

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

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

/* 按钮规范 (带电磁高压质感) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--spark-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.55), 0 0 15px rgba(59, 130, 246, 0.4);
  filter: brightness(1.1);
}

.btn-outline {
  background: rgba(125, 125, 125, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--spark-violet);
  color: var(--spark-violet);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow-spark);
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   顶栏导航 (Site Header & Electromagnetic Grid Nav)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--spark-violet), var(--neon-emerald), transparent);
  opacity: 0.6;
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.brand-logo:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.site-logo-img {
  height: 42px;
  width: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(124, 58, 237, 0.3);
  transition: all 0.25s ease;
}

.site-logo-img:hover {
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
  border-color: var(--spark-violet);
}

/* 导航锚点与菜单项 - 严格禁止文字折行 (No-Wrap) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
  word-break: keep-all;
  flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--spark-violet);
  background: rgba(124, 58, 237, 0.08);
}

.nav-link-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
  display: inline-block;
  vertical-align: middle;
}

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

/* 精致专业昼夜切换按钮 */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(125, 125, 125, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.theme-toggle-btn:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--spark-violet);
  transform: rotate(15deg);
  box-shadow: var(--shadow-spark);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

.sun-icon { display: block; }
.moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(125, 125, 125, 0.08);
  border: 1px solid var(--border-color);
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ==========================================================================
   主视觉区 (Hero: High-Voltage Kinetic Overdrive)
   ========================================================================== */
.hero {
  padding: 160px 0 110px;
  background: 
    radial-gradient(circle at 50% 15%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 45%);
  position: relative;
  overflow: hidden;
}

/* 顶部接地铜排装饰 (Grounding Copper Busbar) */
.hero-busbar {
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--copper-gradient);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.5);
  z-index: 10;
}

.hero-busbar::after {
  content: "";
  position: absolute;
  right: 50px;
  top: 4px;
  width: 16px;
  height: 12px;
  background: #b45309;
  border-radius: 0 0 3px 3px;
  border: 1px solid #78350f;
}

.hero-badges-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* 独家高光徽章：左侧突出展示 glowing "• 赠送独家EMBY影视库" */
.emby-glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: linear-gradient(135deg, rgba(82, 181, 75, 0.15) 0%, rgba(124, 58, 237, 0.2) 100%);
  border: 1px solid var(--neon-emerald);
  border-radius: var(--radius-full);
  color: var(--neon-emerald-glow);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.45);
  animation: pulse-glow 2.5s infinite ease-in-out;
  white-space: nowrap;
}

[data-theme="light"] .emby-glow-badge {
  background: linear-gradient(135deg, #ecfdf5 0%, #f5f3ff 100%);
  color: #047857;
  border-color: #10b981;
}

.emby-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-emerald-glow);
  display: inline-block;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.7);
    transform: scale(1.02);
  }
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.indicator-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: var(--shadow-emerald);
}

/* 主视觉标题：前倾斜体 (Forward-Leaning Italic with Sharp Contours) */
.hero-title-box {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 24px;
}

.hero-title-main {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  font-style: italic;
  letter-spacing: -0.03em;
  transform: skewX(-4deg);
  margin-bottom: 8px;
}

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

.hero-title-sub {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  letter-spacing: -0.02em;
}

.hero-intro {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

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

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

/* ==========================================================================
   电磁测速仪与高压电容组件 (Interactive Benchmark T-Bar)
   ========================================================================== */
.benchmark-container {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-capacitor);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md), 0 0 25px rgba(124, 58, 237, 0.1);
  position: relative;
  overflow: hidden;
}

/* 顶部与四角接地电容屏蔽外壳 */
.benchmark-container::before {
  content: "HV-CAPACITOR ARRAY // SUB-20MS CALIBRATION";
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  white-space: nowrap;
}

.benchmark-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

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

.benchmark-title svg {
  color: var(--spark-violet);
}

.benchmark-routes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.route-pill {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.route-pill:hover, .route-pill.active {
  background: var(--spark-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-spark);
}

/* T-Bar 电容充能与测速仪表盘 */
.tbar-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 20px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.tbar-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--copper-gradient);
}

.tbar-stat {
  text-align: center;
}

.tbar-stat-val {
  font-size: 2.4rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--neon-emerald);
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.tbar-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

/* 电容激光进度条 */
.capacitor-meter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meter-track {
  height: 12px;
  background: rgba(125, 125, 125, 0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.meter-fill {
  height: 100%;
  width: 98%;
  background: linear-gradient(90deg, #7c3aed, #3b82f6, #10b981);
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.meter-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

/* 交互测试按钮 (Click-Hold or Click to Pulse) */
.tbar-pulse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--spark-gradient);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-spark);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.tbar-pulse-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.tbar-pulse-btn:active {
  transform: scale(0.97);
}

/* ==========================================================================
   重电容屏蔽卡片布局 (Heavy Capacitor-Shielded Assemblies)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.capacitor-shield-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

/* 顶部紫金铜排走线 */
.capacitor-shield-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--spark-gradient);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.capacitor-shield-card:hover {
  transform: translateY(-6px);
  border-color: var(--spark-violet);
  box-shadow: var(--shadow-lg), var(--shadow-spark);
}

.capacitor-shield-card:hover::before {
  opacity: 1;
  height: 4px;
}

.card-stencil-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--copper-busbar);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.card-coil-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(124, 58, 237, 0.1);
  color: var(--spark-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  position: relative;
}

/* 圆形线圈微拟物装饰 */
.card-coil-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 8px;
  border: 1px dashed var(--spark-violet);
  opacity: 0.6;
}

.capacitor-shield-card:hover .card-coil-icon {
  background: var(--spark-gradient);
  color: #fff;
  transform: rotate(5deg) scale(1.05);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.card-specs {
  margin-top: 22px;
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
}

.card-specs li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-specs li svg {
  color: var(--neon-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   流媒体 & AI 大模型展示生态 (Media & AI Grids)
   ========================================================================== */
.ecosystem-block {
  margin-bottom: 60px;
}

.ecosystem-block:last-child {
  margin-bottom: 0;
}

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

.block-title svg {
  color: var(--spark-violet);
}

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

.platform-shield-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
  position: relative;
}

.platform-shield-card:hover {
  transform: translateY(-4px);
  border-color: var(--spark-violet);
  box-shadow: var(--shadow-md), 0 0 15px rgba(124, 58, 237, 0.15);
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.platform-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-netflix { background: #e50914; }
.icon-youtube { background: #ff0000; }
.icon-disney { background: #113ccf; }
.icon-emby { background: #52b54b; box-shadow: 0 0 10px rgba(82, 181, 75, 0.5); }
.icon-chatgpt { background: #10a37f; }
.icon-claude { background: #d97706; }
.icon-midjourney { background: #2b2d42; }
.icon-gemini { background: #4285f4; }

.platform-info h3,
.platform-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.platform-badge-unlock {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  background: rgba(16, 185, 129, 0.12);
  color: var(--neon-emerald);
  display: inline-block;
  margin-top: 2px;
  font-family: var(--font-mono);
}

.platform-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   套餐价格对比表 (参考真实机场套餐设计)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-speed) ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* 畅享主力版 (热门推荐 · 包含独家EMBY高光) */
.pricing-card.featured {
  border-color: var(--spark-violet);
  box-shadow: var(--shadow-lg), var(--shadow-spark);
  background: linear-gradient(to bottom, var(--bg-surface), var(--bg-card-subtle));
}

.pricing-card.featured::before {
  content: "🔥 镇店爆款 · 赠送EMBY蓝光库";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
  color: #ffffff;
  padding: 6px 22px;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
  word-break: keep-all;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  z-index: 2;
  pointer-events: none;
}

.pricing-tier {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.pricing-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 44px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--spark-violet);
}

.price {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features {
  margin: 26px 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.45;
}

.pricing-features li svg {
  color: var(--neon-emerald);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-emby-highlight {
  color: var(--neon-emerald) !important;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.08);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  border: 1px dashed rgba(16, 185, 129, 0.3);
}

.pricing-guarantee {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 36px;
}

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

.review-shield-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.review-shield-card:hover {
  transform: translateY(-4px);
  border-color: var(--spark-violet);
  box-shadow: var(--shadow-md);
}

.review-rating {
  color: #f59e0b;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

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

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

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

.author-info h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

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

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

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

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

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

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

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

details[open] .faq-question::after {
  content: "−";
  color: var(--spark-violet);
}

details[open] {
  border-color: var(--spark-violet);
  box-shadow: var(--shadow-sm);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   底栏页脚 (Footer - 严格只保留四个指定标题)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--copper-gradient);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

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

.footer-nav a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--spark-gradient);
  transition: width 0.25s ease;
}

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

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

.footer-copyright {
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  width: 100%;
  padding-top: 24px;
}

/* ==========================================================================
   独立文章/资讯页 (推荐资讯 & 子页面通用排版)
   ========================================================================== */
.page-hero {
  padding: 140px 0 60px;
  background: 
    radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 65%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

.page-content {
  padding: 60px 0 100px;
}

.content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--spark-gradient);
}

.prose h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.prose p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.prose ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.prose ul li {
  list-style-type: square;
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.65;
}

.callout-box {
  background: rgba(124, 58, 237, 0.08);
  border-left: 4px solid var(--spark-violet);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
}

.callout-box p {
  margin-bottom: 0;
  color: var(--text-primary);
  font-weight: 600;
}

/* 推荐资讯卡片网格 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--spark-violet);
  box-shadow: var(--shadow-md), 0 0 15px rgba(124, 58, 237, 0.15);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--spark-violet);
  margin-bottom: 12px;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

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

.article-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--spark-violet);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-link:hover {
  text-decoration: underline;
}

/* 网站地图网格与卡片 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 28px 0;
}

.sitemap-block {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.sitemap-block h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.sitemap-block ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.sitemap-block ul li {
  font-size: 0.94rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 16px;
  line-height: 1.5;
}

.sitemap-block ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--spark-violet);
  font-weight: 700;
}

.sitemap-block a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.sitemap-block a:hover {
  color: var(--spark-violet);
  text-decoration: underline;
}

/* ==========================================================================
   文章页专用组件 (面包屑、目录、技术对比表、相关阅读)
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.article-toc {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--spark-violet);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 28px 0 38px;
}

.article-toc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc-list {
  padding-left: 20px;
}

.article-toc-list li {
  margin-bottom: 8px;
  list-style-type: decimal;
  font-size: 0.95rem;
}

.article-toc-list a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.article-toc-list a:hover {
  color: var(--spark-violet);
  text-decoration: underline;
}

.table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.prose-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.prose-table th {
  background: var(--bg-card-subtle);
  color: var(--text-primary);
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

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

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

.prose-table tr:hover {
  background: rgba(124, 58, 237, 0.03);
}

.internal-link {
  color: var(--spark-violet);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.internal-link:hover {
  filter: brightness(1.2);
}

.related-reading-box {
  margin-top: 50px;
  border-top: 2px dashed var(--border-color);
  padding-top: 36px;
}

.related-reading-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.related-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-card:hover {
  border-color: var(--spark-violet);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

.related-card span {
  font-size: 0.82rem;
  color: var(--spark-violet);
  font-weight: 700;
}

/* ==========================================================================
   移动端与响应式适配 (@media)
   ========================================================================== */
@media (max-width: 1360px) {
  .nav-links {
    gap: 8px;
  }
  
  .nav-link {
    font-size: 0.83rem;
    padding: 5px 7px;
  }
  
  .header-actions {
    gap: 10px;
  }
  
  .header-actions .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 1150px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .header-actions .btn-primary {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-title-main {
    font-size: 3rem;
  }
  
  .hero-title-sub {
    font-size: 1.8rem;
  }
  
  .pricing-grid,
  .features-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .media-grid,
  .ai-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tbar-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .hero {
    padding: 130px 0 70px;
  }
  
  .hero-title-main {
    font-size: 2.3rem;
  }
  
  .hero-title-sub {
    font-size: 1.4rem;
  }
  
  .hero-intro {
    font-size: 1.05rem;
  }
  
  .site-logo-img {
    height: 35px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .media-grid,
  .ai-grid,
  .articles-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  
  .content-card {
    padding: 24px 20px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}
