/* ===================================================================
   龙猫云 (longmaoyun.shop) - 奢华质感毛玻璃流光架构 (Luxury Frosted Glassmorphism)
   视觉特性：
   - 皇家紫 (Royal Purple) + 青碧 (Cyan) + 玫瑰金 (Rose Gold) 极光流体网格
   - 多层亚克力透明卡片、微色差边缘高光 (Chromatic Aberration Rim Lighting)
   - 交互式三维拟态地球、动态测速冲击波脉冲动效
   - 规范网络仪表针、密码学锁、地理图钉、带宽计量表（坚决不使用魔法棒/AI微光）
   =================================================================== */

/* -------------------------------------------------------------------
   1. 设计变量系统 - 默认白天模式 (Day / Light Mode)
   ------------------------------------------------------------------- */
:root {
  /* 基础与极光色彩系统 - 白天奢华水晶质感 */
  --bg-main: #f8fafc;
  --bg-surface: rgba(255, 255, 255, 0.88);
  --bg-surface-elevated: rgba(255, 255, 255, 0.95);
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-hover: rgba(255, 255, 255, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-pill: rgba(241, 245, 249, 0.85);

  /* 文字排版系统 */
  --text-primary: #090d16;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* 奢华流光色系 (Royal Purple + Cyan + Rose Gold) */
  --aurora-purple: #6366f1;
  --aurora-purple-dark: #4338ca;
  --aurora-cyan: #06b6d4;
  --aurora-rose: #f43f5e;
  --aurora-amber: #d97706;
  --aurora-emerald: #059669;

  /* 边框与微色差边缘高光 */
  --border-light: rgba(226, 232, 240, 0.85);
  --border-subtle: rgba(148, 163, 184, 0.35);
  --border-glass-rim: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(99, 102, 241, 0.3) 50%, rgba(6, 182, 212, 0.3) 100%);

  /* 阴影与景深 */
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(99, 102, 241, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -8px rgba(99, 102, 241, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 28px rgba(99, 102, 241, 0.22);
  --shadow-rose-glow: 0 0 25px rgba(244, 63, 94, 0.25);

  /* 背景极光渐变 */
  --mesh-aurora-bg: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.14) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(244, 63, 94, 0.08) 0px, transparent 55%),
    radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.1) 0px, transparent 50%),
    #f8fafc;

  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #06b6d4 50%, #f43f5e 100%);
  --gradient-btn: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.6) 100%);

  /* 圆角与时序 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------------
   夜间深邃黑曜石模式 (Dark Midnight Obsidian Mode)
   ------------------------------------------------------------------- */
[data-theme="dark"] {
  --bg-main: #07090e;
  --bg-surface: rgba(13, 17, 28, 0.82);
  --bg-surface-elevated: rgba(22, 28, 45, 0.9);
  --bg-card: rgba(15, 20, 32, 0.65);
  --bg-card-hover: rgba(24, 32, 52, 0.85);
  --bg-glass: rgba(8, 11, 18, 0.82);
  --bg-pill: rgba(27, 36, 58, 0.7);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8493a8;
  --text-inverse: #07090e;

  --aurora-purple: #818cf8;
  --aurora-purple-dark: #6366f1;
  --aurora-cyan: #22d3ee;
  --aurora-rose: #fb7185;
  --aurora-amber: #fbbf24;
  --aurora-emerald: #34d399;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.16);
  --border-glass-rim: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(129, 140, 248, 0.4) 50%, rgba(34, 211, 238, 0.4) 100%);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 25px -4px rgba(0, 0, 0, 0.7), 0 0 16px rgba(99, 102, 241, 0.15);
  --shadow-lg: 0 20px 45px -8px rgba(0, 0, 0, 0.85), 0 0 30px rgba(99, 102, 241, 0.2);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.35);
  --shadow-rose-glow: 0 0 30px rgba(251, 113, 133, 0.3);

  --mesh-aurora-bg: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.25) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.22) 0px, transparent 50%),
    radial-gradient(at 50% 45%, rgba(244, 63, 94, 0.18) 0px, transparent 55%),
    radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.2) 0px, transparent 50%),
    #07090e;

  --gradient-brand: linear-gradient(135deg, #818cf8 0%, #22d3ee 50%, #fb7185 100%);
  --gradient-btn: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-card: linear-gradient(135deg, rgba(17, 24, 39, 0.75) 0%, rgba(11, 15, 25, 0.85) 100%);
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 86px; /* 解决锚点跳转被顶部吸附导航遮挡 */
  background: var(--bg-main);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--mesh-aurora-bg);
  background-attachment: fixed;
  transition: background var(--transition-normal), color var(--transition-normal);
}

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

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

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

ul, ol {
  list-style: none;
}

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

/* -------------------------------------------------------------------
   3. 顶部玻璃拟态导航栏 (Frosted Acrylic Navbar)
   ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
}

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

/* 品牌 Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-logo svg {
  width: 34px;
  height: 34px;
  color: var(--aurora-purple);
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.4));
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--aurora-purple) 0%, var(--aurora-cyan) 100%);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

/* 包含首页 + 每个板块的完整导航目录 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 4px;
  position: relative;
  transition: all 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--aurora-purple);
}

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

/* 导航栏新增的“推荐资讯”高亮标志 */
.nav-link-news {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--aurora-rose) !important;
  font-weight: 600;
}

.nav-link-news .pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aurora-rose);
  box-shadow: 0 0 8px var(--aurora-rose);
  animation: pulse-rose 1.8s infinite;
}

@keyframes pulse-rose {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(244, 63, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

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

/* 精致专业透明质感昼夜切换按钮 */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(125, 125, 125, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
  background: rgba(125, 125, 125, 0.16);
  border-color: var(--aurora-purple);
  transform: rotate(20deg) scale(1.05);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.25);
}

.theme-icon {
  width: 19px;
  height: 19px;
}

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

/* 导航 CTA 按钮 */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--gradient-btn);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
  transition: all 0.2s ease;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.mobile-menu-btn {
  display: none;
  padding: 8px;
  color: var(--text-primary);
}

/* -------------------------------------------------------------------
   4. 按钮与交互光效 (Shockwave & Buttons)
   ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 48px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.5);
}

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

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--aurora-purple);
  color: var(--aurora-purple);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* -------------------------------------------------------------------
   5. 主视觉区 (Hero Section) - 包含品牌名与三维拟态地球/模拟测速
   ------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 80px 0 70px;
  overflow: hidden;
}

.hero-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

/* 动态系统检测徽章 */
.os-detect-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  margin-bottom: 22px;
}

.os-icon-svg {
  width: 16px;
  height: 16px;
  color: var(--aurora-cyan);
}

/* 核心大标题 - 严格包含当前品牌名“龙猫云” */
.hero-headline {
  font-size: 3.4rem;
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

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

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

/* -------------------------------------------------------------------
   交互式网络延迟地球与实时测速模拟器 (Globe & Shockwave Simulator)
   ------------------------------------------------------------------- */
.hero-interactive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.hero-interactive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-glass-rim);
}

.interactive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

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

.interactive-title svg {
  width: 18px;
  height: 18px;
  color: var(--aurora-cyan);
}

.live-ping-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--aurora-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aurora-emerald);
  animation: pulse-emerald 2s infinite;
}

@keyframes pulse-emerald {
  0% { opacity: 0.6; }
  50% { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0.6; }
}

/* 拟态全球集群交互视图 (Globe Simulation Map) */
.globe-canvas-wrapper {
  position: relative;
  height: 200px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed var(--border-light);
}

/* 核心集群图钉 (Cluster Pins) */
.cluster-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.cluster-pin:hover, .cluster-pin.active {
  border-color: var(--aurora-purple);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
  transform: scale(1.08);
}

.pin-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aurora-cyan);
}

.pin-hk { top: 38%; left: 62%; }
.pin-jp { top: 22%; left: 74%; }
.pin-sg { top: 62%; left: 58%; }
.pin-us { top: 30%; left: 22%; }
.pin-eu { top: 25%; left: 45%; }

/* 测速模拟器控制面板 */
.speed-simulator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
}

.speed-meter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  margin-bottom: 16px;
}

.meter-num {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.meter-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 冲击波测速按钮 (Shockwave Speed Button) */
.btn-shockwave-speed {
  width: 100%;
  padding: 12px;
  background: var(--gradient-btn);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  transition: all 0.25s ease;
}

.btn-shockwave-speed:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

/* 冲击波光环动效 */
.shockwave-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
}

.btn-shockwave-speed.animating .shockwave-ring {
  animation: shockwave-expand 0.9s ease-out forwards;
}

@keyframes shockwave-expand {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(30); opacity: 0; }
}

/* -------------------------------------------------------------------
   6. 统一区块规范与卡片鼠标高光微交互
   ------------------------------------------------------------------- */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aurora-purple);
  background: rgba(99, 102, 241, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

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

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

/* 多层亚克力毛玻璃卡片 (Translucent Multi-layered Acrylic Cards) */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

/* 鼠标跟随边缘反光 (Cursor-following Rim Glare) */
.glass-card::before {
  content: "";
  position: absolute;
  top: var(--mouse-y, 0);
  left: var(--mouse-x, 0);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

/* -------------------------------------------------------------------
   7. 核心优势卡片 (规范计量表/密码锁/图钉 - 坚决无AI微光)
   ------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--border-light);
  color: var(--aurora-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

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

.feature-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.feature-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.meta-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-pill);
  color: var(--text-muted);
}

/* -------------------------------------------------------------------
   8. 流媒体 & AI 双重特化图卡
   ------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.special-media-card {
  border-top: 2px solid var(--aurora-rose);
}

.special-ai-card {
  border-top: 2px solid var(--aurora-cyan);
}

.special-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.special-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.special-media-card .special-icon {
  background: rgba(244, 63, 94, 0.12);
  color: var(--aurora-rose);
}

.special-ai-card .special-icon {
  background: rgba(6, 182, 212, 0.12);
  color: var(--aurora-cyan);
}

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

.special-title {
  font-size: 1.36rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.brand-pills-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.matrix-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.matrix-pill:hover {
  border-color: var(--aurora-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.pill-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aurora-emerald);
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.6);
}

/* -------------------------------------------------------------------
   9. 套餐价格对比表 (参考网上优质机场真实套餐定价)
   ------------------------------------------------------------------- */
#pricing {
  scroll-margin-top: 74px; /* 锚点精准对齐吸附导航栏下沿 */
  padding: 42px 0 65px;    /* 紧凑内边距，解决整体偏下导致底部按钮被截断问题 */
}

#pricing .section-header {
  margin: 0 auto 30px;     /* 适度压缩头部间距，使全套卡片在标准屏幕下一屏可见 */
}

#pricing .section-tag {
  margin-bottom: 10px;
}

#pricing .section-title {
  margin-bottom: 10px;
}

.grid-pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
  padding-top: 14px;       /* 预留徽章上浮空间，避免贴顶 */
}

.pricing-plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 22px;      /* 适度微调内边距，避免整体偏下 */
  overflow: visible !important; /* 核心修复：解除 glass-card 的 overflow:hidden，彻底解决红框字体被截断遮挡 */
  position: relative;
}

.pricing-plan-card.hot-recommend {
  border: 2px solid var(--aurora-purple);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  transform: scale(1.03);
  overflow: visible !important; /* 确保高亮卡片溢出可见 */
  z-index: 5;
}

.pricing-plan-card.hot-recommend:hover {
  transform: scale(1.03) translateY(-6px);
  z-index: 10;
}

/* 爆款推荐高光徽章：全居中、全可见、无遮挡 */
.plan-badge-top {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45);
  white-space: nowrap;
  z-index: 30;             /* 保证在卡片上层，不被任何阴影与边框截断 */
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  pointer-events: none;
}

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

.plan-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 2.2em;
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.price-currency {
  font-size: 1.3rem;
  font-weight: 750;
  color: var(--aurora-purple);
}

.price-integer {
  font-size: 2.5rem;
  font-weight: 850;
  line-height: 1;
  color: var(--text-primary);
}

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

.plan-feature-list {
  flex-grow: 1;
  margin-bottom: 22px;
}

.plan-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.plan-feature-list li svg {
  width: 16px;
  height: 16px;
  color: var(--aurora-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* -------------------------------------------------------------------
   10. 用户评价与 FAQ 手风琴
   ------------------------------------------------------------------- */
.grid-testimonials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
}

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

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

.review-quote {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.review-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-purple) 0%, var(--aurora-cyan) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.profile-details h4 {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--text-primary);
}

.profile-details p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ 手风琴 */
.faq-box-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.faq-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

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

.faq-panel-head {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-panel.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--aurora-purple);
}

.faq-panel-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.75;
}

.faq-panel.active .faq-panel-body {
  max-height: 400px;
  padding: 0 24px 22px;
}

/* -------------------------------------------------------------------
   11. 规范页脚 (严格仅保留四个标题，在新页面打开)
   ------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 50px 0 34px;
  margin-top: auto;
  backdrop-filter: blur(16px);
}

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

.footer-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--aurora-purple);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

/* -------------------------------------------------------------------
   12. 推荐资讯专页样式 (Articles / Insights)
   ------------------------------------------------------------------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.insight-tag {
  background: rgba(99, 102, 241, 0.12);
  color: var(--aurora-purple);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.insight-title {
  font-size: 1.28rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.45;
}

.insight-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 20px;
}

.insight-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--aurora-purple);
}

.insight-read-more:hover {
  gap: 10px;
}

/* -------------------------------------------------------------------
   13. 响应式适配 (@media)
   ------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-headline {
    font-size: 2.8rem;
  }
  .grid-pricing {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-surface-elevated);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 22px 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .grid-3, .grid-2, .grid-pricing, .grid-testimonials {
    grid-template-columns: 1fr;
  }

  .pricing-plan-card.hot-recommend {
    transform: none;
  }
  .pricing-plan-card.hot-recommend:hover {
    transform: translateY(-4px);
  }

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

/* -------------------------------------------------------------------
   14. 深度 SEO 文章阅读页排版样式 (Deep-dive SEO Article Styles)
   ------------------------------------------------------------------- */
.article-page-wrap {
  padding: 40px 0 80px;
}

.article-container {
  max-width: 900px;
  margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: var(--text-secondary);
}

.breadcrumb-nav a:hover {
  color: var(--aurora-purple);
}

.breadcrumb-sep {
  opacity: 0.5;
}

/* 文章头部 */
.article-header {
  margin-bottom: 35px;
}

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

.article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

/* 目录结构框 (Table of Contents) */
.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--aurora-purple);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 36px;
  backdrop-filter: blur(14px);
}

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

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

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

.toc-list a {
  color: var(--text-secondary);
  font-weight: 500;
}

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

/* 正文内容排版 */
.article-body {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 45px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  scroll-margin-top: 90px;
}

.article-body h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--text-primary);
  margin: 30px 0 14px;
  scroll-margin-top: 90px;
}

.article-body p {
  margin-bottom: 20px;
}

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

.article-body li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.article-body ul li {
  list-style: disc;
}

.article-body ol li {
  list-style: decimal;
}

/* 核心内链高亮 */
.seo-internal-link {
  color: var(--aurora-purple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seo-internal-link:hover {
  color: var(--aurora-cyan);
}

/* 重点科普提示框 */
.callout-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 26px 0;
  border-left: 4px solid var(--aurora-cyan);
}

.callout-title {
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 0.98rem;
}

/* 文章内置 CTA 横幅 */
.article-cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.1) 100%), var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 40px 0;
  text-align: center;
  backdrop-filter: blur(14px);
}

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

.article-cta-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 20px;
}

/* 文章 FAQ 模块 */
.article-faq-section {
  margin-top: 55px;
  padding-top: 35px;
  border-top: 1px solid var(--border-light);
}

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

.faq-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.faq-card-q {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 10px;
}

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

/* 相关阅读模块 (Related Reading) */
.related-reading-section {
  margin-top: 55px;
  padding-top: 35px;
  border-top: 1px solid var(--border-light);
}

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

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

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

.related-item-card:hover {
  border-color: var(--aurora-purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-item-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--aurora-purple);
  margin-bottom: 6px;
}

.related-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 12px;
}

.related-item-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--aurora-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .article-post-title {
    font-size: 1.85rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}

