/* ==========================================================================
   疾风云 (jifeng-yun.sbs) 核心样式表
   Atmospheric Geophysical Flow-Field UI Design
   极简纯原生 CSS · 零第三方框架 · 极速加载 · 科学测绘 · 昼夜模式 · 移动端全响应
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌与主题变量 (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* 品牌核心色彩 - 大气流场冷调粉笔青 (#56cbf9) 与风切变黄 (#ffd166) */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --secondary: #0ea5e9;
  --accent: #56cbf9;
  --wind-shear: #d97706;
  --wind-shear-light: rgba(217, 119, 6, 0.12);

  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --gradient-flow: linear-gradient(90deg, #56cbf9 0%, #ffd166 100%);
  --gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);

  /* 白天模式 (默认)：气象图羊皮纸冷灰底色 */
  --bg-body: #f4f7fb;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-alt: #ebf1f8;
  --border-color: #d1dced;
  --border-focus: #56cbf9;
  --border-isobar: rgba(2, 132, 199, 0.15);

  --text-main: #0a101d;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --text-mono: "SF Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;

  --badge-bg: #e0f2fe;
  --badge-text: #0369a1;
  --badge-popular-bg: linear-gradient(135deg, #0284c7, #06b6d4);
  --badge-popular-text: #ffffff;

  --shadow-sm: 0 1px 3px 0 rgba(10, 16, 29, 0.05);
  --shadow-md: 0 4px 8px -1px rgba(10, 16, 29, 0.08), 0 2px 4px -2px rgba(10, 16, 29, 0.05);
  --shadow-lg: 0 12px 28px -4px rgba(10, 16, 29, 0.1), 0 4px 12px -2px rgba(10, 16, 29, 0.04);
  --shadow-xl: 0 22px 38px -8px rgba(2, 132, 199, 0.16), 0 8px 16px -6px rgba(10, 16, 29, 0.06);

  --nav-bg: rgba(244, 247, 251, 0.88);
  --nav-border: rgba(209, 220, 237, 0.85);

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 黑暗模式：Slate parchment navy tone (#0a101d) 深海气象风场大盘 */
[data-theme="dark"] {
  --primary: #56cbf9;
  --primary-hover: #38bdf8;
  --primary-light: rgba(86, 203, 249, 0.12);
  --secondary: #38bdf8;
  --accent: #56cbf9;
  --wind-shear: #ffd166;
  --wind-shear-light: rgba(255, 209, 102, 0.15);

  --bg-body: #0a101d;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #162035;
  --bg-card: #121c2e;
  --bg-alt: #162238;
  --border-color: #1e2c47;
  --border-focus: #56cbf9;
  --border-isobar: rgba(86, 203, 249, 0.2);

  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a101d;

  --badge-bg: rgba(86, 203, 249, 0.15);
  --badge-text: #56cbf9;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 22px 38px -8px rgba(0, 0, 0, 0.85);

  --nav-bg: rgba(10, 16, 29, 0.88);
  --nav-border: rgba(30, 44, 71, 0.85);
  --gradient-card: linear-gradient(180deg, rgba(18, 28, 46, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
}

/* --------------------------------------------------------------------------
   2. 基础重置与排版 (CSS Reset & Base)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

/* 等压线微妙背景纹理 (Isobars subtle mesh) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(var(--border-isobar) 1px, transparent 1px),
    radial-gradient(var(--border-isobar) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.35;
  z-index: 0;
}

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

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

ul, ol {
  list-style: none;
}

button, input {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   3. 导航栏 (Header & Navbar)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nav-border);
  transition: var(--transition-smooth);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  transition: var(--transition-smooth);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-flow);
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

.nav-menu-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* 昼夜切换按钮 (精致透明质感，无粗糙Emoji) */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.theme-toggle-btn:hover {
  background: rgba(86, 203, 249, 0.15);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.theme-icon-sun, .theme-icon-moon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

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

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

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. 通用按钮组件 (Buttons & CTA)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(86, 203, 249, 0.08);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. 大气地球物理流场主视觉区 (Atmospheric Flow-Field Hero & Canvas)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 125px 0 65px;
  overflow: hidden;
  min-height: 94vh;
  display: flex;
  align-items: center;
}

/* 全视口 2D 矢量流场交互画布 (Interactive Vector Flow Canvas) */
.flow-canvas-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: auto;
}

#flowFieldCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* 科学测绘标头 (Cartographic Telemetry Bar) */
.carto-telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--text-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .carto-telemetry-bar {
  background: rgba(14, 22, 38, 0.7);
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.telemetry-tag {
  color: var(--primary);
  font-weight: 700;
}

/* 主视觉内容层 */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  pointer-events: none; /* 让鼠标穿透至流场画布探测 */
}

.hero-content a,
.hero-content button,
.hero-content input,
.hero-content .interactive-card {
  pointer-events: auto; /* 恢复交互组件点击 */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(86, 203, 249, 0.3);
  font-family: var(--text-mono);
  white-space: nowrap;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: var(--gradient-flow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 2.2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

/* 交互式风力等级与风暴模拟滑块控制器 (Wind-Scale Simulator Widget) */
.wind-simulator-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  text-align: left;
}

.wind-sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.wind-sim-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wind-sim-title svg {
  color: var(--primary);
}

.wind-sim-value {
  font-family: var(--text-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--wind-shear);
  background: var(--wind-shear-light);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
}

.wind-sim-slider-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wind-scale-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.wind-scale-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.5);
  cursor: grab;
  transition: transform 0.15s ease;
}

.wind-scale-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.wind-sim-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--text-mono);
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 动态流场探针悬浮 HUD (Fluid Flow Probe Tooltip) */
.fluid-flow-probe {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  background: rgba(10, 16, 29, 0.92);
  color: #f1f5f9;
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: var(--text-mono);
  font-size: 0.78rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(86, 203, 249, 0.3);
  backdrop-filter: blur(8px);
  transform: translate(15px, 15px);
  opacity: 0;
  transition: opacity 0.2s ease;
  line-height: 1.5;
  width: 210px;
}

.fluid-flow-probe.active {
  opacity: 1;
}

.probe-header {
  font-weight: 700;
  color: #56cbf9;
  border-bottom: 1px solid rgba(86, 203, 249, 0.2);
  padding-bottom: 0.3rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.probe-metric {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.probe-val-cyan {
  color: #56cbf9;
  font-weight: 700;
}

.probe-val-amber {
  color: #ffd166;
  font-weight: 700;
}

/* 气象测绘站指标横幅 (Global Monitoring Stations Bar) */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  margin-top: 1rem;
}

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

.stat-value {
  font-size: 2.1rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  font-family: var(--text-mono);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   6. 通用章节标题 (Section Header)
   -------------------------------------------------------------------------- */
.section {
  padding: 95px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background-color: var(--bg-alt);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--text-mono);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   7. 核心优势卡片 (Core Features - 3 Cards)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--gradient-brand);
  color: #ffffff;
}

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

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 1.25rem;
}

.feature-point-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.feature-point-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. 流媒体 & AI 支持专区 (Media & AI Showcase)
   -------------------------------------------------------------------------- */
.dual-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.showcase-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-xl);
}

.showcase-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.showcase-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-family: var(--text-mono);
  white-space: nowrap;
}

.showcase-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

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

.icon-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.icon-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.icon-pill:hover {
  border-color: var(--primary);
  background: rgba(86, 203, 249, 0.06);
  transform: translateY(-2px);
}

.icon-pill-logo {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}

.pill-netflix { color: #e50914; }
.pill-disney { color: #113ccf; }
.pill-youtube { color: #ff0000; }
.pill-chatgpt { color: #10a37f; }
.pill-claude { color: #d97706; }
.pill-midjourney { color: #8b5cf6; }

.showcase-footer-highlight {
  background: rgba(2, 132, 199, 0.06);
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-spec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   9. 套餐价格对比表 (真实网络套餐价格体系)
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.75rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

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

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 12px 32px -5px rgba(2, 132, 199, 0.28);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--badge-popular-bg);
  color: var(--badge-popular-text);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
  letter-spacing: 0.05em;
  font-family: var(--text-mono);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.pricing-plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pricing-plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 40px;
}

.pricing-price-box {
  margin: 1.25rem 0 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

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

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

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

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-feature-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.icon-check {
  color: #10b981;
}

.icon-cross {
  color: #94a3b8;
}

.pricing-tip {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. 用户评价 (User Reviews)
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

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

.review-stars {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
  margin-bottom: 1rem;
}

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

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

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

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

/* --------------------------------------------------------------------------
   11. 常见问题解答 (FAQ Accordion)
   -------------------------------------------------------------------------- */
.faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

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

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.25rem;
  max-height: 260px;
}

/* --------------------------------------------------------------------------
   12. 底部行动呼吁 (Bottom CTA Banner)
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 75px 0;
}

.cta-banner-box {
  background: var(--gradient-brand);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.45);
  position: relative;
  overflow: hidden;
}

.cta-banner-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner-sub {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  opacity: 0.92;
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   13. 页脚 (Footer - 严格只保留4个标题)
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 45px 0;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.footer-nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-four-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.8rem;
  flex-wrap: wrap;
}

.footer-nav-item {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  padding: 0.25rem 0.5rem;
}

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

.footer-divider {
  width: 100%;
  max-width: 440px;
  height: 1px;
  background: var(--border-color);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   14. 子页面专属样式 (Subpages)
   -------------------------------------------------------------------------- */
.subpage-hero {
  padding: 135px 0 50px;
  background: radial-gradient(circle at 50% 10%, rgba(86, 203, 249, 0.12) 0%, transparent 60%);
  text-align: center;
}

.subpage-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

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

.doc-content-wrapper {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 0 80px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.doc-section {
  margin-bottom: 2.5rem;
}

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

.doc-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doc-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2rem;
  background: var(--primary);
  border-radius: 2px;
}

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

.doc-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.doc-list li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.doc-alert-box {
  background: rgba(86, 203, 249, 0.08);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.sitemap-category-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
}

.sitemap-cat-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.sitemap-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sitemap-link-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.sitemap-link-item a:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* --------------------------------------------------------------------------
   14.1 深度 SEO 资讯科普文章排版规范
   -------------------------------------------------------------------------- */
.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

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

.article-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* 文章快捷目录 (Table of Contents) */
.article-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0 2.5rem;
}

.article-toc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-toc-item {
  font-size: 0.92rem;
}

.article-toc-item a {
  color: var(--text-secondary);
}

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

.article-toc-sub {
  padding-left: 1.25rem;
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* 文章正文排版 */
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.75rem 0 0.75rem;
}

.article-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.article-body strong {
  color: var(--text-main);
}

.article-table-wrapper {
  overflow-x: auto;
  margin: 1.75rem 0;
}

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

.article-table th, .article-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
}

.article-table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text-main);
}

.article-code-block {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: var(--text-mono);
  font-size: 0.85rem;
  color: var(--text-main);
  overflow-x: auto;
  margin: 1.25rem 0;
  line-height: 1.6;
}

/* 文末 FAQ 区块 */
.article-faq-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  margin: 3rem 0;
}

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

.article-faq-q {
  font-weight: 700;
  color: var(--text-main);
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
}

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

/* 文末推荐阅读 */
.article-related-box {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.article-related-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.article-related-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

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

.article-related-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.article-related-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 资讯中心列表网格 (用于 insights-v8q2.html) */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.news-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.news-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

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

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

.news-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. 响应式适配媒体查询 (@media)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.85rem;
  }
  .features-grid, .pricing-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.3s ease;
  }

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

  .nav-actions .btn-primary {
    display: none;
  }

  .nav-menu-cta {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero-section {
    padding: 110px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

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

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

  .wind-simulator-widget {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .carto-telemetry-bar {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem;
  }

  .stat-value {
    font-size: 1.7rem;
  }

  .features-grid,
  .dual-showcase-grid,
  .pricing-grid,
  .reviews-grid,
  .sitemap-grid,
  .news-cards-grid,
  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .icon-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 65px 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .cta-banner-box {
    padding: 2.5rem 1.25rem;
  }

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

  .footer-four-links {
    gap: 1.25rem;
  }

  .doc-card {
    padding: 1.75rem 1.25rem;
  }

  .fluid-flow-probe {
    display: none; /* 移动端触屏隐藏光标悬浮探针，改用滑块状态显示 */
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .icon-pills-grid {
    grid-template-columns: 1fr;
  }

  .footer-four-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
