/* ==========================================================================
   超实惠加速 (Super Value Proxy) - 3D 工业级高可用网络加速平台
   Deep Nocturnal Cybersecurity Palette & 3D CNC Server Rack Architecture
   ========================================================================== */

:root {
  /* 基础科技深邃基调 (Deep Nocturnal Cybersecurity) */
  --bg-primary: #05070a;
  --bg-surface: #0c1220;
  --bg-surface-elevated: #111a2e;
  --bg-subtle: #080d17;
  --border-color: rgba(99, 102, 241, 0.18);
  --border-hover: rgba(59, 130, 246, 0.45);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #05070a;

  /* 高能靛紫渐变 (High-Octane Indigo-Violet) */
  --accent-primary: #3b82f6;
  --accent-secondary: #6366f1;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  --accent-gradient-glow: 0 0 35px rgba(99, 102, 241, 0.45);
  --accent-subtle: rgba(99, 102, 241, 0.12);

  /* 钛灰机箱工艺质感 (Titanium Grey Casing) */
  --titanium-dark: #0f172a;
  --titanium-mid: #1e293b;
  --titanium-border: #334155;
  --titanium-highlight: #475569;

  /* 脉冲式翠绿 LED 状态光 (Pulsating LED Emerald-Green) */
  --led-emerald: #10b981;
  --led-emerald-glow: 0 0 12px #10b981, 0 0 24px rgba(16, 185, 129, 0.5);

  /* 卡片与投影系统 */
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --card-shadow-hover: 0 20px 45px -5px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(99, 102, 241, 0.3);

  /* 尺度与圆角 */
  --max-width: 1260px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* 过渡 */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-laser: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 亮色模式 (Clean Industrial Silver-White) */
[data-theme="light"] {
  --bg-primary: #f4f6fa;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f8fafc;
  --bg-subtle: #edf2f7;
  --border-color: #cbd5e1;
  --border-hover: #94a3b8;

  --text-primary: #090d16;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-primary: #2563eb;
  --accent-secondary: #4f46e5;
  --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  --accent-gradient-glow: 0 8px 25px rgba(37, 99, 235, 0.3);
  --accent-subtle: rgba(37, 99, 235, 0.08);

  --titanium-dark: #e2e8f0;
  --titanium-mid: #cbd5e1;
  --titanium-border: #94a3b8;
  --titanium-highlight: #f1f5f9;

  --card-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
  --card-shadow-hover: 0 16px 35px rgba(15, 23, 42, 0.12);
}

/* ==========================================================================
   全局重置与排版
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    radial-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 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: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   顶部固定导航 (Header & Navigation)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] .site-header {
  background-color: rgba(244, 246, 250, 0.88);
}

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

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

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.45);
}

.brand-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-logo-img {
  height: 40px;
  width: auto;
  max-width: 170px;
  display: block;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all var(--transition-fast);
  object-fit: contain;
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.03);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.55);
  border-color: var(--accent-primary);
}

/* 包含首页加每个板块的平滑导航链接 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

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

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

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

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

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

/* 昼夜模式切换按钮 (精致透明机壳感) */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

.theme-icon-sun,
.theme-icon-moon {
  width: 19px;
  height: 19px;
  position: absolute;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* 默认深色：显示月亮，隐藏太阳 */
.theme-icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
.theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* 亮色状态 */
[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* 按钮规范 */
.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-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  background: var(--titanium-dark);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

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

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* ==========================================================================
   主视觉区 (3D BGP Server Rack & CNC Chassis Layout)
   ========================================================================== */
.hero-section {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* 左侧标题与控制区 */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Muted EMBY 影视库胶囊标签 */
.emby-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.12);
}

.emby-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--led-emerald);
  box-shadow: var(--led-emerald-glow);
  animation: ledPulse 2s infinite ease-in-out;
}

@keyframes ledPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px #10b981;
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
    box-shadow: 0 0 3px #10b981;
  }
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
}

[data-theme="light"] .hero-headline {
  color: #090d16;
}

.hero-headline .brand-highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 620px;
}

.hero-intro-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 600px;
  border-left: 2px solid var(--accent-primary);
  padding-left: 14px;
}

/* 架构元数据读数 (Metadata Readouts) */
.hero-metadata {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.metadata-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.metadata-item strong {
  color: #38bdf8;
  font-weight: 700;
}

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

/* 右侧 3D CNC 铣切机箱视觉 (CNC-Milled Server Chassis) */
.hero-chassis-container {
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-rack-chassis {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(160deg, #161f30 0%, #0d131f 60%, #080d16 100%);
  border: 2px solid var(--titanium-border);
  border-radius: 14px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 
              0 0 35px rgba(59, 130, 246, 0.2), 
              inset 0 1px 1px rgba(255, 255, 255, 0.15);
  padding: 24px;
  position: relative;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.server-rack-chassis:hover {
  transform: rotateY(-1deg) rotateX(1deg) translateY(-4px);
  box-shadow: 0 30px 60px -5px rgba(0, 0, 0, 0.9), 
              0 0 50px rgba(99, 102, 241, 0.35);
}

/* 机箱顶部的工业铭牌 */
.chassis-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--titanium-border);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.chassis-title-badge {
  font-family: monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
}

.chassis-screws {
  display: flex;
  gap: 8px;
}

.screw {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #475569;
  border: 1px solid #1e293b;
}

/* 核心发光状态槽 (Luminous Central White Status Slot) */
.central-status-slot {
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.slot-pulse-light {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
  width: 140px;
  height: 8px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 25px 4px rgba(255, 255, 255, 0.9), 0 0 45px 8px rgba(56, 189, 248, 0.8);
  animation: laserSweep 3s infinite ease-in-out alternate;
}

@keyframes laserSweep {
  0% { left: 10%; opacity: 0.6; }
  100% { left: 65%; opacity: 1; }
}

.slot-text {
  font-family: monospace;
  font-size: 0.8rem;
  color: #f8fafc;
  z-index: 2;
  font-weight: 700;
}

.slot-speed {
  font-family: monospace;
  font-size: 0.8rem;
  color: #38bdf8;
  z-index: 2;
}

/* 1U / 2U 刀片服务器单元与通风孔 (Ventilated Grilles) */
.blade-server-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blade-unit {
  background: #090e17;
  border: 1px solid var(--titanium-border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.blade-unit:hover {
  border-color: var(--accent-primary);
  background: #0d1522;
}

/* 通风蜂窝网孔 */
.grille-pattern {
  display: flex;
  gap: 5px;
  opacity: 0.45;
}

.grille-hole {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: #334155;
}

/* 刀片指示灯组 (Phosphor LED Array) */
.blade-leds {
  display: flex;
  align-items: center;
  gap: 7px;
}

.led-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--led-emerald);
  box-shadow: var(--led-emerald-glow);
  cursor: pointer;
  transition: opacity 0.8s ease, transform 0.2s ease;
}

.led-indicator.blink-fast {
  animation: ledBlink 0.8s infinite ease-in-out;
}

.led-indicator.blue-led {
  background-color: #3b82f6;
  box-shadow: 0 0 10px #3b82f6;
}

@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.blade-label {
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* 机箱底座光纤配线 (Internal routing wiring conduits) */
.conduit-wiring {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--titanium-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: monospace;
  font-size: 0.74rem;
  color: #64748b;
}

/* 极简垂直胶囊滚动指示器 (Minimalist vertical pill scroll-indicator) */
.scroll-indicator-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.scroll-pill {
  width: 22px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-color);
  position: relative;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.scroll-pill:hover {
  border-color: var(--accent-primary);
}

.scroll-dot {
  width: 6px;
  height: 8px;
  border-radius: 3px;
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  margin-top: 6px;
  animation: scrollDown 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(16px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   板块通用标头规范
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  font-weight: 800;
  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.68;
}

/* ==========================================================================
   产品核心优势卡片 (Core Advantages - 3 Cards with Laser Conduit hover)
   ========================================================================== */
.features-section {
  padding: 85px 0;
  position: relative;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* 激光脉冲通道微动效 (Laser Pulse Conduit Effect) */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #6366f1, transparent);
  transition: left var(--transition-laser);
}

.feature-card:hover::before {
  left: 100%;
}

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

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--titanium-dark);
  border: 1px solid var(--titanium-border);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.05);
}

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

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

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 22px;
}

.feature-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #38bdf8;
  padding: 4px 10px;
  background: rgba(56, 189, 248, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* ==========================================================================
   场景支持 (流媒体图卡 & AI 支持图卡)
   ========================================================================== */
.showcase-section {
  padding: 85px 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.showcase-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow-hover);
}

.showcase-header {
  margin-bottom: 24px;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.showcase-badge.media-badge {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.showcase-badge.ai-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

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

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

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

.platform-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.platform-chip:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.platform-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--led-emerald);
  box-shadow: 0 0 6px var(--led-emerald);
}

.showcase-footer {
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* ==========================================================================
   套餐价格对比表 (参考网上真实机场市场价格)
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
}

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

.pricing-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--card-shadow);
}

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

.pricing-card.featured {
  border: 2px solid var(--accent-primary);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, var(--bg-surface) 100%);
  box-shadow: 0 16px 45px -5px rgba(59, 130, 246, 0.35);
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.pricing-header {
  margin-bottom: 24px;
  text-align: center;
}

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

.pricing-plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 20px 0 10px;
}

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

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

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 24px 0;
}

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

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.pricing-feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--led-emerald);
  flex-shrink: 0;
}

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

/* ==========================================================================
   用户评价 (User Reviews)
   ========================================================================== */
.reviews-section {
  padding: 85px 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

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

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

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #f59e0b;
}

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

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

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

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

.user-info-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* ==========================================================================
   常见问题解答 (FAQ)
   ========================================================================== */
.faq-section {
  padding: 90px 0;
}

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

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.3s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 26px 22px;
}

/* ==========================================================================
   页脚 (Footer - 严格保持4个入口独立新页)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 35px;
}

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

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

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

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

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   子页面排版 (Subpage Layout)
   ========================================================================== */
.subpage-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

.subpage-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}

.article-content {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul, 
.article-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-badge-box {
  background-color: var(--titanium-dark);
  border-left: 4px solid var(--accent-primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 0.95rem;
}

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

.sitemap-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.sitemap-card h3 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--accent-primary);
}

.sitemap-list {
  list-style: none;
  padding: 0;
}

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

.sitemap-list a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sitemap-list a:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   深度长篇科普文章专用样式 (TOC, Meta, Tables, Related Readings)
   ========================================================================== */
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

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

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-breadcrumb a:hover {
  color: var(--accent-primary);
}

.toc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 30px 0 40px;
  box-shadow: var(--card-shadow);
}

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

.toc-list {
  list-style: none;
  padding: 0;
  counter-reset: toc-counter;
}

.toc-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.toc-list a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.toc-list a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

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

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

.article-table th {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

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

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

.article-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.article-faq-wrap {
  margin: 45px 0;
  padding: 28px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

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

.article-faq-item {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.article-faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.article-faq-q {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.article-faq-a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.related-articles-section {
  margin-top: 55px;
  padding-top: 35px;
  border-top: 1px solid var(--border-color);
}

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

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

.related-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
}

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

.related-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   响应式媒体查询 (@media) - 确保手机端完美单栏，手指易点击
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left {
    align-items: center;
  }

  .hero-subtitle,
  .hero-intro-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-metadata {
    justify-content: center;
  }

  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .navbar {
    height: 64px;
  }

  .nav-links {
    display: none; /* 移动端顶部聚焦核心注册与切换 */
  }

  .hero-section {
    padding: 45px 0 55px;
  }

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

  .hero-actions .btn {
    width: 100%;
    padding: 14px 20px;
  }

  .features-grid,
  .pricing-grid,
  .reviews-grid,
  .platform-grid,
  .sitemap-card-grid {
    grid-template-columns: 1fr;
  }

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

  .btn {
    min-height: 48px;
  }

  .faq-question {
    padding: 18px 20px;
  }
}

@media (max-width: 480px) {
  .pricing-ribbon {
    font-size: 0.72rem;
    padding: 4px 12px;
    top: -12px;
    letter-spacing: 0;
  }

  .site-logo-img {
    height: 34px;
  }
}
