/* ===================================================================
   精灵学院 (riolu-vpn.homes) - 生物荧光世界树与地下菌丝体光纤 UI 系统
   Bioluminescent World-Tree Fiber-Optic & Subterranean-Mycelium Dark UI
   零外部依赖 | 极速秒开 | 动态光脉冲交互 | 昼夜模式 | 完全响应式
=================================================================== */

/* --- 1. 色彩与设计系统 --- */
:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  
  /* 昼夜模式系统：默认白天模式 (纯净蓝白主题色 Pure Blue & White Theme) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-hover: #ffffff;

  --border-color: rgba(37, 99, 235, 0.16);
  --border-hover: rgba(37, 99, 235, 0.50);
  --divider: #e2e8f0;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  /* 核心蓝白与极客电光蓝光色谱 */
  --royal-blue: #2563eb;
  --royal-light: #60a5fa;
  --teal-glow: #0284c7;
  --teal-light: #38bdf8;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: rgba(37, 99, 235, 0.10);
  --accent: #0284c7;

  /* 蓝白主题色映射 */
  --emerald-sap: var(--primary);
  --emerald-light: var(--royal-light);

  --brand-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%);
  --brand-gradient-hover: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #0369a1 100%);
  --vein-gradient: linear-gradient(90deg, #2563eb, #38bdf8);

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 16px -2px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 16px 32px -4px rgba(37, 99, 235, 0.14);
  --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.25);

  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(37, 99, 235, 0.20);
  --glass-backdrop: blur(14px);

  --badge-bg: rgba(37, 99, 235, 0.09);
  --badge-text: #1d4ed8;
  --hero-glow: radial-gradient(circle at 50% 15%, rgba(37, 99, 235, 0.12) 0%, rgba(56, 189, 248, 0.06) 45%, transparent 75%);

  /* 精灵学院插画背景配置 (默认白天纯净蓝白透光遮罩) */
  --hero-illustration: url('../images/bg-academy.jpg');
  --hero-bg-overlay: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.82) 0%, 
    rgba(248, 250, 252, 0.90) 45%, 
    rgba(248, 250, 252, 0.98) 85%, 
    var(--bg-primary) 100%);
  --site-bg-opacity: 0.15;
}

/* 核心夜间模式 (深邃星空极客蓝白与暗夜黑曜石) */
[data-theme="dark"] {
  --bg-primary: #050914;     /* 深邃深空暗境 True Midnight Navy Obsidian */
  --bg-secondary: #0b1122;   /* 暗夜苍穹底色 */
  --bg-tertiary: #0f1a36;    /* 深空蓝调石板 */
  --bg-card: rgba(15, 26, 54, 0.72); /* 熏黑蓝冰半透玻璃舱 */
  --bg-card-hover: rgba(22, 38, 77, 0.85);

  --border-color: rgba(59, 130, 246, 0.22);
  --border-hover: rgba(96, 165, 250, 0.65);
  --divider: rgba(59, 130, 246, 0.14);

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-light: rgba(59, 130, 246, 0.18);
  --accent: #38bdf8;

  --brand-gradient: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #38bdf8 100%);
  --brand-gradient-hover: linear-gradient(135deg, #2563eb 0%, #60a5fa 50%, #7dd3fc 100%);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 8px 24px -2px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.40), 0 0 60px rgba(56, 189, 248, 0.18);

  --glass-bg: rgba(11, 17, 34, 0.82);
  --glass-border: rgba(59, 130, 246, 0.28);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.28) 0%, rgba(56, 189, 248, 0.14) 40%, transparent 80%);

  --badge-bg: rgba(59, 130, 246, 0.2);
  --badge-text: #93c5fd;

  /* 暗夜星空城市插画蓝调遮罩 */
  --hero-bg-overlay: linear-gradient(180deg, 
    rgba(5, 9, 20, 0.42) 0%, 
    rgba(5, 9, 20, 0.62) 42%, 
    rgba(5, 9, 20, 0.90) 80%, 
    var(--bg-primary) 100%);
  --site-bg-opacity: 0.32;
}

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

html {
  scroll-behavior: smooth; /* 全局原生动态平滑过渡跳转 */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.68;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
  overflow-x: hidden;
  position: relative;
}

/* 全站插画氛围底衬 (精灵学院星空城市专属插画) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: var(--hero-illustration);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: var(--site-bg-opacity);
  transition: opacity 0.5s ease;
}

/* 生物光子微脉冲动态交互画布 (Canvas) */
#bioCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  transition: opacity 0.5s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.2s ease;
}

ul, ol {
  list-style: none;
}

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;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  background: var(--badge-bg);
  color: var(--badge-text);
  margin-bottom: 18px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-sap);
  box-shadow: 0 0 10px var(--emerald-sap);
  animation: pulseNode 2.5s infinite;
}

@keyframes pulseNode {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 14px var(--teal-glow); }
}

.section-title {
  font-size: 2.45rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

/* --- 3. 顶部导航栏 (页眉与完整目录) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

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

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

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 150px;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.4));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: var(--brand-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.brand-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  animation: shineVein 5s infinite;
}

@keyframes shineVein {
  0% { transform: translateY(-100%); }
  25%, 100% { transform: translateY(100%); }
}

.brand-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  border: 1px solid var(--border-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--emerald-sap);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--vein-gradient);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--emerald-sap);
}

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

/* 推荐资讯特殊脉冲角标 */
.nav-link-news {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-primary);
}

.nav-link-news .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-glow);
  box-shadow: 0 0 8px var(--teal-glow);
  animation: pulseNode 2s infinite;
}

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

/* 昼夜模式切换按钮（高质感透明毛玻璃与光子触控） */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  border-color: var(--emerald-sap);
  color: var(--emerald-sap);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

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

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

[data-theme="dark"] .icon-sun {
  display: none;
}
[data-theme="dark"] .icon-moon {
  display: block;
  transform: rotate(15deg);
}

/* 移动端汉堡按钮 */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
  cursor: pointer;
  padding: 9px;
}

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

/* --- 4. 按钮规范 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 12px 26px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.55), 0 0 15px rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  border-color: var(--emerald-sap);
  color: var(--emerald-sap);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
  transform: translateY(-2px);
}

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

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

.btn-block {
  width: 100%;
}

/* --- 5. 主视觉区 (Hero: 精灵学院星空城市插画背景与地脉光子网络) --- */
.hero-section {
  padding-top: 170px;
  padding-bottom: 120px;
  background-image: var(--hero-bg-overlay), var(--hero-illustration);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px;
  border-radius: 9999px;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: var(--glass-backdrop);
}

.hero-pill-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
}

/* 大标题必须包含当前品牌名「精灵学院」 */
.hero-headline {
  font-size: 3.65rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 980px;
  margin: 0 auto 24px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.text-gradient {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subhead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 780px;
  margin: 0 auto 16px;
  line-height: 1.55;
}

/* 主视觉区详细简介 */
.hero-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 38px;
  line-height: 1.7;
}

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

.hero-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-guarantee span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-guarantee svg {
  color: var(--emerald-sap);
}

/* 熏黑玻璃地脉遥测机舱 (Smoked-Glass Telemetry Bays) */
.telemetry-board {
  margin-top: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--glass-backdrop);
  position: relative;
  overflow: hidden;
}

.telemetry-board::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vein-gradient);
  box-shadow: 0 0 12px var(--emerald-sap);
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--divider);
  flex-wrap: wrap;
  gap: 12px;
}

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

.telemetry-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--emerald-light);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

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

.telemetry-cell {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
}

.telemetry-cell:hover {
  border-color: var(--emerald-sap);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  transform: translateY(-3px);
}

.node-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

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

.node-subtext {
  font-size: 0.78rem;
  color: var(--emerald-sap);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- 6. 产品核心优势 (3个熏黑光纤神经卡片) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 38px 30px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: var(--glass-backdrop);
}

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

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--primary-light);
  color: var(--emerald-sap);
  border: 1px solid var(--border-color);
}

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

.feature-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

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

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

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

.feature-list-item svg {
  color: var(--emerald-sap);
  flex-shrink: 0;
}

/* --- 7. 流媒体与前沿 AI 解锁图卡展示区 --- */
.unlock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 42px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  backdrop-filter: var(--glass-backdrop);
}

.showcase-card:hover {
  border-color: var(--teal-glow);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.25);
}

.showcase-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
  letter-spacing: 0.6px;
}

.showcase-tag.tag-stream {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.showcase-tag.tag-ai {
  background: rgba(37, 99, 235, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.showcase-title {
  font-size: 1.7rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.showcase-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.service-badge:hover {
  background: var(--primary-light);
  border-color: var(--emerald-sap);
  color: var(--emerald-sap);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.service-badge svg {
  width: 18px;
  height: 18px;
}

.showcase-highlight {
  background: var(--bg-tertiary);
  border-radius: 12px;
  padding: 16px 20px;
  border-left: 4px solid var(--emerald-sap);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* 客户端支持横幅 */
.devices-bar {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: var(--glass-backdrop);
}

.devices-label {
  font-size: 1rem;
  font-weight: 750;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.device-icons {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.device-icon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.device-icon-item svg {
  width: 20px;
  height: 20px;
  color: var(--emerald-sap);
}

/* --- 8. 套餐价格对比表 (参考网上真实机场/代理定价体系) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: var(--glass-backdrop);
}

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

.pricing-card.popular {
  border-color: var(--emerald-sap);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.25);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
  letter-spacing: 0.5px;
}

.pricing-header {
  margin-bottom: 22px;
}

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

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

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

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

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

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

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

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

.pricing-feature-item strong {
  color: var(--text-primary);
}

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

.pricing-note {
  margin-top: 40px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  backdrop-filter: var(--glass-backdrop);
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--emerald-sap);
  box-shadow: var(--shadow-glow);
}

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

.review-stars svg {
  width: 18px;
  height: 18px;
}

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

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--divider);
  padding-top: 18px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.author-info h3,
.author-info h4 {
  font-size: 0.98rem;
  font-weight: 750;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.verified-tag {
  color: var(--emerald-sap);
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
}

/* --- 10. 常见问题解答 (FAQ) --- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

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

.faq-question:hover {
  color: var(--emerald-sap);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-light);
  color: var(--emerald-sap);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* --- 11. 底部行动横幅 (CTA Banner) --- */
.cta-banner {
  background: var(--brand-gradient);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.35);
  margin-bottom: -40px;
  z-index: 10;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.12rem;
  opacity: 0.94;
  max-width: 680px;
  margin: 0 auto 34px;
}

.btn-white {
  background: #ffffff;
  color: #1d4ed8 !important;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

/* --- 12. 页脚 (Footer: 严格仅保留四个标题，在新页面打开) --- */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 96px 0 42px;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

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

.footer-link {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 10px;
  transition: all 0.25s ease;
  position: relative;
}

.footer-link:hover {
  color: var(--emerald-sap);
  background: var(--primary-light);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.footer-copy {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--divider);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- 13. 次级内页通用样式 (About, Terms, Privacy, Sitemap, News) --- */
.subpage-header {
  padding-top: 150px;
  padding-bottom: 50px;
  background-image: var(--hero-bg-overlay), var(--hero-illustration);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.subpage-title {
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--text-primary);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.subpage-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  margin: 40px auto 80px;
  max-width: 960px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: var(--glass-backdrop);
}

.doc-section {
  margin-bottom: 38px;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-h2 {
  font-size: 1.5rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--divider);
}

.doc-p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.doc-list {
  margin-left: 20px;
  margin-bottom: 18px;
}

.doc-list li {
  list-style: disc;
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.7;
}

.notice-box {
  background: var(--bg-tertiary);
  border-left: 4px solid var(--emerald-sap);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 22px 0;
}

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

/* 资讯专页卡片网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 24px;
}

.news-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

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

.news-card:hover .news-card-title {
  color: var(--primary);
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease;
}

.news-card:hover .news-read-more {
  transform: translateX(4px);
}

.news-meta {
  font-size: 0.84rem;
  color: var(--emerald-light);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.news-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.news-tag {
  font-size: 0.76rem;
  background: var(--primary-light);
  color: var(--emerald-sap);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

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

.sitemap-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 26px;
}

.sitemap-card h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sitemap-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sitemap-links a {
  color: var(--emerald-sap);
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sitemap-links a:hover {
  color: var(--teal-glow);
  transform: translateX(4px);
}

/* --- 14. 响应式媒体查询 (@media) --- */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.15rem;
  }
  .hero-headline {
    font-size: 2.95rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 32px;
    max-width: 125px;
  }
  .section {
    padding: 70px 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-160%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .hero-section {
    padding-top: 130px;
    padding-bottom: 70px;
  }
  .hero-headline {
    font-size: 2.25rem;
  }
  .hero-subhead {
    font-size: 1.1rem;
  }
  .hero-intro {
    font-size: 0.98rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 52px;
  }

  .features-grid,
  .unlock-grid,
  .pricing-grid,
  .reviews-grid,
  .telemetry-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .showcase-card {
    padding: 30px 22px;
  }

  .pricing-card {
    padding: 34px 24px;
  }

  .cta-banner {
    padding: 44px 24px;
    border-radius: 20px;
  }

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

  .devices-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

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

  .content-box {
    padding: 26px 20px;
    margin: 20px auto 40px;
  }

  .subpage-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 28px;
    max-width: 105px;
  }
  .hero-headline {
    font-size: 1.95rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .brand span {
    font-size: 1.2rem;
  }
  .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-h1 {
    font-size: 1.8rem;
  }
}

/* --- 15. SEO 深度科普长文专属排版系统 --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb span.sep {
  opacity: 0.5;
}
.breadcrumb span.current {
  color: var(--primary);
  font-weight: 600;
}

.article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}
.article-h1 {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toc-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 32px 0 40px;
}
.toc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.toc-list li {
  font-size: 0.95rem;
}
.toc-list a {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.toc-list a:hover {
  text-decoration: underline;
  transform: translateX(3px);
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 44px 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 28px 0 14px;
}
.article-body p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}
.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
}
.article-body li {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.75;
}
.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-tertiary);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  background: var(--bg-tertiary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.article-table th {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 750;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--divider);
  color: var(--text-secondary);
}
.article-table tr:last-child td {
  border-bottom: none;
}

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

.related-section {
  margin-top: 60px;
  padding-top: 36px;
  border-top: 2px dashed var(--divider);
}
.related-title {
  font-size: 1.4rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.related-card h4 {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.45;
}
.related-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  flex-grow: 1;
}
.related-card span {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
