/* ==========================================================================
   番茄 v2 航线机场网 (fanqiev2.mom) - 核心原生样式表
   零重型框架 · 极致轻量 · 毫秒级秒开 · 纯原生 CSS 架构
   ========================================================================== */

:root {
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  /* 色彩体系 */
  --color-primary: #ff4d4f;
  --color-primary-hover: #ff7875;
  --color-primary-glow: rgba(255, 77, 79, 0.35);
  --color-accent: #38bdf8;
  --color-accent-hover: #7dd3fc;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  
  /* 背景层次 */
  --bg-deep: #080c14;
  --bg-main: #0c121e;
  --bg-card: rgba(18, 25, 38, 0.72);
  --bg-card-hover: rgba(26, 36, 56, 0.85);
  --bg-elevated: rgba(30, 41, 59, 0.6);
  
  /* 边框与阴影 */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 77, 79, 0.3);
  --border-focus: rgba(56, 189, 248, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(255, 77, 79, 0.25);
  
  /* 文字颜色 */
  --text-white: #f8fafc;
  --text-heading: #ffffff;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* 布局容器 */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: transparent;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   动态背景系统 (纯 CSS 实现 · 60FPS 极速渲染 · 零 JS 依赖)
   ========================================================================== */
.dynamic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* 动态光晕球 1 */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  will-change: transform;
}

.bg-orb-1 {
  width: 550px;
  height: 550px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 77, 79, 0.42) 0%, rgba(244, 63, 94, 0.15) 50%, transparent 75%);
  animation: orbDrift1 22s ease-in-out infinite alternate;
}

.bg-orb-2 {
  width: 620px;
  height: 620px;
  top: 25%;
  right: -150px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(99, 102, 241, 0.18) 45%, transparent 75%);
  animation: orbDrift2 26s ease-in-out infinite alternate;
}

.bg-orb-3 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: 20%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.28) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 75%);
  animation: orbDrift3 28s ease-in-out infinite alternate;
}

/* 微妙流动网格线 */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 40%, black 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 35%, transparent 82%);
}

@keyframes orbDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.08); }
  100% { transform: translate(-40px, 120px) scale(0.95); }
}

@keyframes orbDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -60px) scale(1.12); }
  100% { transform: translate(50px, 90px) scale(0.92); }
}

@keyframes orbDrift3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, -70px) scale(1.05); }
  100% { transform: translate(-60px, 40px) scale(0.98); }
}

/* 航线光束微动动画 */
.bg-streamer {
  position: absolute;
  top: 15%;
  left: -20%;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), rgba(255, 77, 79, 0.5), transparent);
  transform: rotate(-12deg);
  opacity: 0.35;
  animation: streamerTravel 12s ease-in-out infinite;
}

@keyframes streamerTravel {
  0% { transform: translateY(-50px) rotate(-12deg); opacity: 0.1; }
  50% { opacity: 0.45; }
  100% { transform: translateY(350px) rotate(-12deg); opacity: 0.1; }
}

/* 背景动态飞行航线与飞机机群 (纯 CSS + SVG 矢量零卡顿渲染) */
.bg-plane {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 1;
}

.bg-plane::before {
  content: "";
  display: block;
  border-radius: 999px;
  margin-right: -4px;
}

.bg-plane::after {
  content: "";
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

/* 航机 1：番茄红主力专线机 (左下方飞往右上方) */
.bg-plane-1 {
  top: 70%;
  animation: flyRouteEast1 16s linear infinite;
  animation-delay: -5s;
}

.bg-plane-1::before {
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.2) 35%, rgba(255, 77, 79, 0.85) 100%);
}

.bg-plane-1::after {
  width: 30px;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23ff7875' d='M30 16c0-1.1-1.5-2-4-2h-6.5L11.5 3.5C11 2.8 10.2 2.5 9.4 2.7L7.5 3.2l4.8 10.8H6.5L4 10.5H2.2l1.5 5.5-1.5 5.5H4l2.5-3.5h5.8L7.5 28.8l1.9.5c.8.2 1.6-.1 2.1-.8L19.5 18H26c2.5 0 4-.9 4-2z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 10px rgba(255, 77, 79, 0.65));
}

/* 航机 2：高空晴蓝专线机 */
.bg-plane-2 {
  top: 26%;
  animation: flyRouteEast2 21s linear infinite;
  animation-delay: -11s;
}

.bg-plane-2::before {
  width: 170px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.85) 100%);
}

.bg-plane-2::after {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%2338bdf8' d='M30 16c0-1.1-1.5-2-4-2h-6.5L11.5 3.5C11 2.8 10.2 2.5 9.4 2.7L7.5 3.2l4.8 10.8H6.5L4 10.5H2.2l1.5 5.5-1.5 5.5H4l2.5-3.5h5.8L7.5 28.8l1.9.5c.8.2 1.6-.1 2.1-.8L19.5 18H26c2.5 0 4-.9 4-2z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.7));
}

/* 航机 3：西行返航银白巡航机 (右往左交叉飞行) */
.bg-plane-3 {
  top: 48%;
  animation: flyRouteWest 25s linear infinite;
  animation-delay: -14s;
}

.bg-plane-3::before {
  width: 150px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(224, 242, 254, 0.7) 100%);
}

.bg-plane-3::after {
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23e0f2fe' d='M30 16c0-1.1-1.5-2-4-2h-6.5L11.5 3.5C11 2.8 10.2 2.5 9.4 2.7L7.5 3.2l4.8 10.8H6.5L4 10.5H2.2l1.5 5.5-1.5 5.5H4l2.5-3.5h5.8L7.5 28.8l1.9.5c.8.2 1.6-.1 2.1-.8L19.5 18H26c2.5 0 4-.9 4-2z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 6px rgba(224, 242, 254, 0.5));
}

/* 航机 4：金红超音速快线机 */
.bg-plane-4 {
  top: 88%;
  animation: flyRouteEast1 18s linear infinite;
  animation-delay: -1s;
}

.bg-plane-4::before {
  width: 190px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.25) 40%, rgba(255, 120, 117, 0.8) 100%);
}

.bg-plane-4::after {
  width: 26px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23ff7875' d='M30 16c0-1.1-1.5-2-4-2h-6.5L11.5 3.5C11 2.8 10.2 2.5 9.4 2.7L7.5 3.2l4.8 10.8H6.5L4 10.5H2.2l1.5 5.5-1.5 5.5H4l2.5-3.5h5.8L7.5 28.8l1.9.5c.8.2 1.6-.1 2.1-.8L19.5 18H26c2.5 0 4-.9 4-2z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.45));
}

/* 航机 5：平流层远景机 */
.bg-plane-5 {
  top: 14%;
  animation: flyRouteEast2 28s linear infinite;
  animation-delay: -19s;
}

.bg-plane-5::before {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(129, 140, 248, 0.75) 100%);
}

.bg-plane-5::after {
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23e0f2fe' d='M30 16c0-1.1-1.5-2-4-2h-6.5L11.5 3.5C11 2.8 10.2 2.5 9.4 2.7L7.5 3.2l4.8 10.8H6.5L4 10.5H2.2l1.5 5.5-1.5 5.5H4l2.5-3.5h5.8L7.5 28.8l1.9.5c.8.2 1.6-.1 2.1-.8L19.5 18H26c2.5 0 4-.9 4-2z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 6px rgba(129, 140, 248, 0.55));
}

@keyframes flyRouteEast1 {
  0% {
    transform: translate(-25vw, 18vh) rotate(-17deg);
    opacity: 0;
  }
  8% {
    opacity: 0.85;
  }
  88% {
    opacity: 0.85;
  }
  100% {
    transform: translate(120vw, -60vh) rotate(-17deg);
    opacity: 0;
  }
}

@keyframes flyRouteEast2 {
  0% {
    transform: translate(-25vw, 10vh) rotate(-11deg);
    opacity: 0;
  }
  10% {
    opacity: 0.72;
  }
  88% {
    opacity: 0.72;
  }
  100% {
    transform: translate(120vw, -36vh) rotate(-11deg);
    opacity: 0;
  }
}

@keyframes flyRouteWest {
  0% {
    transform: translate(115vw, 14vh) scaleX(-1) rotate(-10deg);
    opacity: 0;
  }
  10% {
    opacity: 0.62;
  }
  88% {
    opacity: 0.62;
  }
  100% {
    transform: translate(-30vw, -26vh) scaleX(-1) rotate(-10deg);
    opacity: 0;
  }
}

/* ==========================================================================
   排版与通用组件
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 按钮通用规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #ff4d4f 0%, #f43f5e 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(255, 77, 79, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff6365 0%, #fb5574 100%);
  box-shadow: 0 6px 24px rgba(255, 77, 79, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white) !important;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  display: flex;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.08rem;
}

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

/* 徽章标签 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: rgba(255, 77, 79, 0.15);
  color: #ff7875;
  border: 1px solid rgba(255, 77, 79, 0.35);
}

.badge-accent {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

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

/* 章节头部 */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px auto;
}

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

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 16px;
}

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

/* ==========================================================================
   导航栏 Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(8, 12, 20, 0.82);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

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

/* 移动端菜单切换按钮 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   Hero 头部首屏
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 85px 0 70px 0;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 77, 79, 0.1);
  border: 1px solid rgba(255, 77, 79, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 26px;
  font-size: 0.9rem;
  color: #ff9f9e;
  backdrop-filter: blur(8px);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-airport-stage {
  position: relative;
  display: inline-block;
  padding: 26px 28px 22px 28px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at top, rgba(255, 77, 79, 0.1) 0%, rgba(56, 189, 248, 0.06) 55%, rgba(12, 18, 30, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  max-width: 1080px;
  width: 100%;
}

.hero-airport-stage::before,
.hero-airport-stage::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(255, 77, 79, 0.65);
  border-style: solid;
  pointer-events: none;
}

.hero-airport-stage::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
  border-top-left-radius: var(--radius-lg);
}

.hero-airport-stage::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
  border-color: rgba(56, 189, 248, 0.65);
  border-bottom-right-radius: var(--radius-lg);
}

.hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.95rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 18px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-line {
  display: block;
}

@media (min-width: 769px) {
  .hero-title-line {
    white-space: nowrap;
  }
}

.text-gradient-fire {
  background: linear-gradient(135deg, #ffffff 15%, #ff7875 50%, #ff4d4f 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-sky {
  background: linear-gradient(135deg, #38bdf8 20%, #818cf8 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-tomato {
  background: linear-gradient(120deg, #ff4d4f 0%, #ff7875 55%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(255, 77, 79, 0.35));
}

.text-gradient-aviation {
  background: linear-gradient(120deg, #f8fafc 0%, #38bdf8 55%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 航线起飞动态轨迹条 */
.hero-flight-track {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(8, 12, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.flight-node {
  color: #e2e8f0;
  font-weight: 600;
  white-space: nowrap;
}

.flight-line {
  position: relative;
  width: 110px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 77, 79, 0.5), rgba(56, 189, 248, 0.8));
  border-radius: 2px;
}

.flight-plane {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-54%);
  font-size: 0.95rem;
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
  animation: planeCruise 3.8s ease-in-out infinite;
}

@keyframes planeCruise {
  0% { left: 4%; opacity: 0.4; }
  50% { opacity: 1; }
  100% { left: 82%; opacity: 0.4; }
}

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

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

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

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

.hero-guarantee-icon {
  color: var(--color-success);
  font-weight: bold;
}

/* 核心指标统计条 */
.hero-stats-bar {
  margin-top: 55px;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-light);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.stat-number span {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-left: 2px;
}

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

/* ==========================================================================
   优势特性区块 Features
   ========================================================================== */
.features-section {
  padding: 85px 0;
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 79, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 77, 79, 0.15);
  background: var(--bg-card-hover);
}

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

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  background: rgba(255, 77, 79, 0.12);
  border: 1px solid rgba(255, 77, 79, 0.25);
  color: var(--color-primary);
}

.feature-card:nth-child(2) .feature-icon-box,
.feature-card:nth-child(5) .feature-icon-box {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.25);
  color: var(--color-accent);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   价格方案区 Pricing Section (严格要求：所有价格同排排列 · 一视同仁)
   ========================================================================== */
.pricing-section {
  padding: 85px 0;
  position: relative;
}

/* 核心：桌面端严格 4 列同排平铺 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch; /* 保证所有卡片高度自动拉平 */
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg);
}

/* 爆款主推款高亮样式 */
.pricing-card.popular {
  border-color: rgba(255, 77, 79, 0.55);
  background: linear-gradient(180deg, rgba(30, 25, 36, 0.85) 0%, rgba(20, 22, 34, 0.92) 100%);
  box-shadow: 0 16px 42px rgba(255, 77, 79, 0.22);
}

.pricing-card.popular:hover {
  border-color: rgba(255, 77, 79, 0.85);
  box-shadow: 0 20px 48px rgba(255, 77, 79, 0.35);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff4d4f 0%, #f43f5e 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(255, 77, 79, 0.4);
  white-space: nowrap;
}

.plan-header {
  min-height: 78px;
  margin-bottom: 16px;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* 价格框：同排基线对齐 */
.plan-price-box {
  padding: 16px 0 18px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 22px;
  text-align: center;
}

.plan-price {
  font-size: 2.7rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.plan-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-right: 2px;
}

.plan-cycle {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-subtext {
  font-size: 0.8rem;
  color: #ff9f9e;
  margin-top: 6px;
  font-weight: 600;
}

/* 特权清单 */
.plan-features {
  list-style: none;
  margin-bottom: 26px;
  flex-grow: 1; /* 撑满中间空间，使底部按钮严格水平对齐 */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.45;
}

.plan-features li strong {
  color: #ffffff;
}

.check-icon {
  color: var(--color-success);
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 底部 CTA 按钮框 */
.plan-action {
  margin-top: auto;
}

/* 永久流量包横幅 */
.traffic-pack-banner {
  margin-top: 36px;
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.7) 0%, rgba(20, 28, 48, 0.85) 100%);
  border: 1px dashed rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.traffic-pack-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.traffic-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-accent);
}

.traffic-text h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 4px;
}

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

/* ==========================================================================
   全球节点网络与技术架构
   ========================================================================== */
.nodes-section {
  padding: 85px 0;
  position: relative;
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 45px;
}

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.node-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-3px);
}

.node-flag {
  font-size: 2.2rem;
  line-height: 1;
}

.node-info h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 4px;
}

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

.node-status {
  margin-left: auto;
  text-align: right;
}

.node-ping {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-success);
}

.node-type {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* 客户端支持图标墙 */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.client-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: var(--transition);
}

.client-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 77, 79, 0.3);
  transform: translateY(-4px);
}

.client-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.client-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.client-os {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   精选 SEO 文章列表 (围绕便宜安全/Clash/翻墙出海等核心长尾词)
   ========================================================================== */
.articles-section {
  padding: 85px 0;
  position: relative;
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 79, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.article-card-cover {
  height: 160px;
  background: linear-gradient(135deg, rgba(255, 77, 79, 0.15) 0%, rgba(56, 189, 248, 0.15) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border-bottom: 1px solid var(--border-light);
}

.article-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.article-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 12px;
  transition: var(--transition);
}

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

.article-snippet {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
}

.article-card:hover .article-readmore {
  color: var(--color-accent-hover);
  transform: translateX(4px);
}

/* ==========================================================================
   真实用户评价 User Reviews
   ========================================================================== */
.reviews-section {
  padding: 85px 0;
  position: relative;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
}

.review-rating {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.68;
  margin-bottom: 22px;
}

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

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

.user-meta h4 {
  font-size: 0.95rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.verified-badge {
  font-size: 0.75rem;
  color: var(--color-success);
}

/* ==========================================================================
   常见问题 FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 85px 0;
  position: relative;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-item details summary {
  padding: 22px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-toggle-icon {
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: transform 0.25s ease;
}

.faq-item details[open] summary .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--color-accent);
}

.faq-answer {
  padding: 0 26px 24px 26px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.72;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-answer p {
  margin-top: 14px;
}

/* ==========================================================================
   权威外部链接 Authority Outbound Links
   ========================================================================== */
.outbound-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
  background: rgba(10, 15, 25, 0.45);
}

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

.outbound-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.outbound-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.outbound-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.outbound-info h5 {
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 2px;
}

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

/* ==========================================================================
   底部 Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-light);
  background-color: #060910;
  padding: 70px 0 35px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.68;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-disclaimer {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   响应式断点适配 (移动端优先兼顾桌面同排)
   ========================================================================== */
@media (max-width: 1100px) {
  .pricing-grid {
    /* 严格同排响应：中等屏幕允许水平滑动或 2x2 */
    gap: 16px;
  }
  .features-grid, .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .outbound-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-airport-stage {
    padding: 18px 14px;
  }
  .hero-title {
    font-size: clamp(1.35rem, 5vw, 1.95rem);
  }
  .hero-flight-track {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.76rem;
    padding: 6px 12px;
  }
  .flight-line {
    width: 60px;
  }
  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  
  /* 移动端菜单 */
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #090e18;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open {
    transform: translateY(0);
  }

  /* 移动端价格方案：允许水平滑动横排展示以符合“同排”直观对比 */
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }
  .pricing-card {
    min-width: 290px;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  
  .features-grid, .articles-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .outbound-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.8rem;
  }
}
