/**
 * flashcat 闪电猫 - 官方落地页样式套件
 * 设计方案：Bolt-Pounce 闪电跃猫 · 非对称导轨版 · 无登录版
 * 视觉规范：明亮柔和（霜雪白、浅云灰、深松烟墨、板岩墨灰、稳重科技蓝与柔和琥珀金）
 * 交互规范：克制闪电 SVG 动态框架、Elastic Press 点击触感、Scroll Reveal 渐进显现（严格支持无 JS 降级）
 */

/* ==========================================================================
   1. CSS 自定义属性与全局设计系统 (Design Tokens)
   ========================================================================== */
:root {
  /* 基础底色：柔和霜雪白与浅云灰 (Frost White & Cloud Grey) */
  --bg-page: #f8fafc;               /* 柔和霜雪白，温润防疲劳 */
  --bg-surface: #ffffff;            /* 通透纯白表面 */
  --bg-cloud: #f1f5f9;              /* 浅云灰次级表面 */
  --bg-subtle: #f8fafc;
  --bg-warm-tint: #fafaf9;
  --bg-rail: rgba(255, 255, 255, 0.95);

  /* 核心文字阶梯：深松烟墨、板岩墨灰与冷苔灰 (WCAG AAA 超高对比度) */
  --text-main: #090d16;             /* 深松烟墨主标题，锐利沉稳，对比度 > 15:1 */
  --text-secondary: #2c3b53;        /* 板岩墨灰正文，阅读舒适，对比度 > 8.5:1 */
  --text-muted: #64748b;            /* 冷苔灰辅助说明与标签，对比度 > 4.6:1 */
  --text-subtle: #94a3b8;
  --text-inverse: #ffffff;

  /* 品牌强调色：稳重科技蓝与柔和琥珀金 (Tech Blue & Soft Amber Gold) */
  --tech-blue-50: #eff6ff;
  --tech-blue-100: #dbeafe;
  --tech-blue-200: #bfdbfe;
  --tech-blue-500: #2563eb;         /* 稳重科技蓝 */
  --tech-blue-600: #1d4ed8;
  --tech-blue-700: #1e40af;

  --amber-gold-50: #fffbeb;
  --amber-gold-100: #fef3c7;
  --amber-gold-200: #fde68a;
  --amber-gold-400: #fbbf24;
  --amber-gold-500: #f59e0b;        /* 柔和琥珀金 */
  --amber-gold-600: #d97706;
  --amber-gold-700: #b45309;

  /* 状态与极速翡翠 (Speed Emerald) */
  --speed-emerald-50: #ecfdf5;
  --speed-emerald-100: #d1fae5;
  --speed-emerald-500: #10b981;
  --speed-emerald-600: #059669;

  /* 边框与微光分割线 */
  --border-light: #e2e8f0;
  --border-subtle: rgba(226, 232, 240, 0.8);
  --border-focus: #2563eb;
  --border-amber: rgba(245, 158, 11, 0.35);

  /* 柔和弥散阴影系统 (Soft Diffuse Ambient Shadows) */
  --shadow-xs: 0 1px 2px 0 rgba(9, 13, 22, 0.03);
  --shadow-sm: 0 2px 6px 0 rgba(9, 13, 22, 0.05);
  --shadow-md: 0 6px 18px -2px rgba(9, 13, 22, 0.07);
  --shadow-lg: 0 14px 32px -4px rgba(9, 13, 22, 0.09);
  --shadow-glow-blue: 0 8px 24px -2px rgba(37, 99, 235, 0.28);
  --shadow-glow-amber: 0 8px 24px -2px rgba(245, 158, 11, 0.25);

  /* 圆角规范 */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* 字体族定义 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* 导轨与视窗尺寸 */
  --rail-width: 310px;
  --content-max-width: 1360px;
  --header-height: 70px;

  /* 弹性缓动曲线 (Spring Easing for Elastic Press) */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. 现代样式重置与基础设定 (Reset & Base)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 8% 12%, rgba(245, 158, 11, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 92% 55%, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* 高对比度焦点样式 (:focus-visible) */
:focus-visible {
  outline: 3px solid var(--tech-blue-500) !important;
  outline-offset: 3px !important;
  border-radius: var(--radius-xs);
}

/* 无障碍跳链 */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--text-main);
  color: var(--text-inverse);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   3. 顶部公告栏与单行毛玻璃导航头 (Header & Navigation)
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 45%, #eff6ff 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding: 7px 16px;
  text-align: center;
  position: relative;
  z-index: 60;
}

.announcement-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.announcement-tag {
  background: var(--amber-gold-500);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--speed-emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2.2s infinite;
}

@keyframes pulse-ring {
  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); }
}

/* 单行通透毛玻璃导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* 品牌 Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
  user-select: none;
}

.brand-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--amber-gold-400) 0%, var(--amber-gold-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-glow-amber);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring);
}

.brand-logo:hover .brand-icon-wrap {
  transform: rotate(-5deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  line-height: 1.1;
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--text-main) 40%, var(--amber-gold-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* 单行水平导航 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 4px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link svg {
  color: currentColor;
  flex-shrink: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--tech-blue-600);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--tech-blue-500);
  border-radius: var(--radius-full);
  transition: width 0.25s var(--ease-spring);
}

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

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

/* 快速注册按钮：带 Elastic Press 点击触感 */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--tech-blue-500) 0%, var(--tech-blue-600) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
  white-space: nowrap;
  user-select: none;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.42);
}

/* 点击触感 (Elastic Press) */
.btn-header-cta:active,
.btn-primary-bolt:active,
.btn-plan-select:active,
.btn-rail-action:active,
.btn-secondary-soft:active,
.btn-trigger-ping:active,
.btn-filter-pill:active {
  transform: scale(0.965) !important;
  transition: transform 0.08s var(--ease-spring) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-cloud);
  border: 1px solid var(--border-light);
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  transition: 0.25s ease;
}

.mobile-drawer-cta {
  display: none;
}

/* ==========================================================================
   4. 核心骨架：非对称导轨布局 (Asymmetric Rail Layout)
   ========================================================================== */
.asym-layout {
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 36px;
  margin-bottom: 80px;
  position: relative;
}

/* 4.1 左侧非对称导轨 (The Asymmetric Telemetry & Navigation Rail) */
.asym-rail {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.asym-rail::-webkit-scrollbar {
  width: 4px;
}
.asym-rail::-webkit-scrollbar-track {
  background: transparent;
}
.asym-rail::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

.rail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.rail-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-md);
}

.rail-mascot-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
}

.rail-cat-orb {
  width: 46px;
  height: 46px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-gold-600);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
  flex-shrink: 0;
  position: relative;
}

.rail-cat-orb::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: var(--speed-emerald-500);
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.rail-cat-meta h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.rail-cat-meta p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* 导轨目录微导航 (Rail Quick Anchors) */
.rail-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rail-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.rail-nav-link:hover,
.rail-nav-link.active {
  background: var(--tech-blue-50);
  color: var(--tech-blue-700);
  border-left-color: var(--tech-blue-500);
}

.rail-nav-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--bg-cloud);
  color: var(--text-muted);
}

.rail-nav-link:hover .rail-nav-badge,
.rail-nav-link.active .rail-nav-badge {
  background: var(--tech-blue-200);
  color: var(--tech-blue-700);
}

/* 导轨实时遥测监测看板 */
.telemetry-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.telemetry-title {
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.telemetry-item {
  background: var(--bg-cloud);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.telemetry-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: block;
}

.telemetry-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  font-family: var(--font-mono);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.telemetry-val small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--speed-emerald-600);
}

/* 导轨快捷注册卡 */
.rail-quick-convert {
  background: linear-gradient(135deg, var(--tech-blue-50) 0%, #ffffff 100%);
  border: 1px solid var(--tech-blue-200);
}

.rail-quick-convert h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--tech-blue-700);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rail-quick-convert p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
}

.btn-rail-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tech-blue-600);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease-spring);
}

.btn-rail-action:hover {
  background: var(--tech-blue-700);
  box-shadow: var(--shadow-glow-blue);
}

/* 4.2 右侧主内容舞台 */
.asym-stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ==========================================================================
   5. 首屏：“左文右轨”非对称首屏 (Asymmetric Left-Text Right-Rail Hero)
   ========================================================================== */
.hero-pounce-stage {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* 5.1 以“闪电”为核心的原生 SVG 动态框架 (Native Lightning Energy Framework) */
.lightning-svg-framework {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* 绝对不拦截点击、选择与导航 */
  z-index: 0;
  overflow: hidden;
}

.lightning-bolt-track {
  stroke: rgba(245, 158, 11, 0.16);
  stroke-width: 1.5;
  fill: none;
}

.lightning-pulse-line {
  stroke: url(#lightningGradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 140 400;
  stroke-dashoffset: 540;
  animation: lightningPulseAnim 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.lightning-pulse-core {
  stroke: rgba(37, 99, 235, 0.22);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 80 320;
  stroke-dashoffset: 400;
  animation: lightningPulseCoreAnim 4.5s ease-in-out infinite alternate;
}

@keyframes lightningPulseAnim {
  0% { stroke-dashoffset: 540; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -540; }
}

@keyframes lightningPulseCoreAnim {
  0% { stroke-dashoffset: 400; opacity: 0.3; }
  50% { opacity: 0.9; }
  100% { stroke-dashoffset: -400; opacity: 0.3; }
}

/* 页面不可见时智能暂停动画 (Page Visibility API 联动) */
html[data-visibility="hidden"] .lightning-pulse-line,
html[data-visibility="hidden"] .lightning-pulse-core {
  animation-play-state: paused !important;
}

/* “左文右轨”非对称栅格 */
.hero-inner-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr; /* 左文右轨黄金非对称比例 */
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--amber-gold-50);
  border: 1px solid var(--amber-gold-200);
  color: var(--amber-gold-700);
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-main-title {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.8px;
  color: var(--text-main);
  margin-bottom: 20px;
}

.title-highlight-bolt {
  background: linear-gradient(135deg, var(--amber-gold-500) 0%, #ea580c 60%, var(--tech-blue-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead-text {
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-bottom: 32px;
}

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

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--speed-emerald-100);
  color: var(--speed-emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

/* 主 CTA 按钮：琥珀金到科技蓝渐变，带 Elastic Press */
.btn-primary-bolt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--amber-gold-500) 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.38);
  transition: all 0.25s var(--ease-spring);
  user-select: none;
}

.btn-primary-bolt:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.48);
}

.btn-secondary-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-cloud);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  user-select: none;
}

.btn-secondary-soft:hover {
  background: #ffffff;
  border-color: var(--tech-blue-500);
  color: var(--tech-blue-700);
}

/* 5.2 英雄区右侧：导轨视窗卡片 (Right Rail Viewport Card) */
.hero-telemetry-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.card-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.speed-gauge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.speed-gauge-icon {
  width: 44px;
  height: 44px;
  background: var(--amber-gold-50);
  border: 1px solid var(--amber-gold-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-gold-600);
}

.gauge-meta h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.gauge-meta span {
  font-size: 0.75rem;
  color: var(--speed-emerald-600);
  font-weight: 700;
}

.hero-live-pings {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ping-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-cloud);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ping-row:hover {
  background: #ffffff;
  border-color: var(--amber-gold-400);
}

.ping-region {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-main);
}

.flag-emblem,
.flag-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: #ffffff;
  color: var(--tech-blue-700);
  border: 1px solid var(--tech-blue-200);
  line-height: 1.2;
}

.ping-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.ping-ms-badge {
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.ping-ms-badge.green {
  background: var(--speed-emerald-50);
  color: var(--speed-emerald-600);
  border: 1px solid var(--speed-emerald-100);
}

.ping-ms-badge.amber {
  background: var(--amber-gold-50);
  color: var(--amber-gold-700);
  border: 1px solid var(--amber-gold-200);
}

.hero-telemetry-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-trigger-ping {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tech-blue-700);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--tech-blue-50);
  border: 1px solid var(--tech-blue-200);
  transition: all 0.2s ease;
  user-select: none;
}

.btn-trigger-ping:hover {
  background: var(--tech-blue-100);
}

/* ==========================================================================
   6. 模块二：错落技术卡片流 (Staggered Features Grid)
   ========================================================================== */
.stage-section,
section[id] {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-head {
  margin-bottom: 32px;
}

.section-subhead {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--tech-blue-600);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 8px;
  max-width: 680px;
}

.features-asym-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-amber {
  background: var(--amber-gold-50);
  color: var(--amber-gold-600);
  border: 1px solid var(--amber-gold-200);
}

.icon-indigo {
  background: var(--tech-blue-50);
  color: var(--tech-blue-600);
  border: 1px solid var(--tech-blue-200);
}

.icon-emerald {
  background: var(--speed-emerald-50);
  color: var(--speed-emerald-600);
  border: 1px solid var(--speed-emerald-100);
}

.icon-cyan {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.feature-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  background: var(--bg-cloud);
  color: var(--text-muted);
}

/* ==========================================================================
   7. 模块三：全球节点网络拓扑 (Global Node Matrix · 默认全展开)
   ========================================================================== */
.nodes-board {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.nodes-notice-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid var(--tech-blue-200);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 24px;
}

.nodes-notice-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nodes-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-filter-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-cloud);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
  user-select: none;
}

.btn-filter-pill.active,
.btn-filter-pill:hover {
  background: var(--tech-blue-600);
  color: #ffffff;
  border-color: var(--tech-blue-600);
}

.regions-expanded-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.region-group-block {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.region-group-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.region-count-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--tech-blue-50);
  color: var(--tech-blue-700);
  border: 1px solid var(--tech-blue-200);
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.node-card {
  background: var(--bg-warm-tint);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.node-card:hover {
  background: #ffffff;
  border-color: var(--tech-blue-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.node-status-dot {
  width: 8px;
  height: 8px;
  background: var(--speed-emerald-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.node-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-cloud);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
}

.node-latency {
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--speed-emerald-600);
}

.node-services {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.service-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--tech-blue-700);
}

.service-chip.unlocked {
  background: rgba(16, 185, 129, 0.1);
  color: var(--speed-emerald-600);
}

/* ==========================================================================
   8. 模块四：全平台客户端接入 (Client Hub & Setup)
   ========================================================================== */
.client-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.platform-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.platform-card:hover {
  border-color: var(--tech-blue-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.platform-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  margin-bottom: 14px;
}

.platform-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.platform-apps {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}

.platform-btn {
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--tech-blue-700);
  background: var(--tech-blue-50);
  border: 1px solid var(--tech-blue-200);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.platform-card:hover .platform-btn {
  background: var(--tech-blue-600);
  color: #ffffff;
  border-color: var(--tech-blue-600);
}

.setup-stepper-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.stepper-header {
  margin-bottom: 28px;
}

.stepper-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.steps-asym-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--bg-cloud);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tech-blue-600);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.step-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   9. 模块五：方案套餐矩阵 (Pricing Matrix)
   ========================================================================== */
.pricing-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.billing-switcher-wrap {
  background: var(--bg-cloud);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  display: inline-flex;
  gap: 4px;
}

.billing-switch-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.25s var(--ease-spring);
  position: relative;
}

.billing-switch-btn.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.save-badge {
  font-size: 0.7rem;
  background: #ea580c;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  font-weight: 800;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease-spring);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--tech-blue-500);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured {
  border: 2px solid var(--tech-blue-500);
  box-shadow: var(--shadow-glow-blue);
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 25%);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--tech-blue-500) 0%, var(--tech-blue-700) 100%);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

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

.plan-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  min-height: 40px;
  margin-bottom: 20px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

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

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

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-discount-tip {
  font-size: 0.78rem;
  color: #ea580c;
  font-weight: 700;
  min-height: 20px;
  margin-bottom: 20px;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  flex-grow: 1;
}

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

.feat-bullet {
  color: var(--tech-blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-plan-select {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  background: var(--bg-cloud);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  user-select: none;
}

.btn-plan-select:hover {
  background: var(--tech-blue-50);
  border-color: var(--tech-blue-500);
  color: var(--tech-blue-700);
}

.plan-card.featured .btn-plan-select {
  background: linear-gradient(135deg, var(--tech-blue-500) 0%, var(--tech-blue-700) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.plan-card.featured .btn-plan-select:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.pricing-matrix-expanded {
  margin-top: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.matrix-caption,
.pricing-matrix-expanded h4 {
  text-align: left;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
  caption-side: top;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  min-width: 620px;
}

.matrix-table th,
.matrix-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
}

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

.matrix-table tr:hover td {
  background: var(--bg-warm-tint);
}

/* ==========================================================================
   10. 模块六：常见问题 FAQ (原生 details open 默认全部展开)
   ========================================================================== */
.faq-stage-section {
  position: relative;
}

.faq-expanded-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
}

.faq-details-item,
.faq-expanded-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s var(--ease-spring);
  overflow: hidden;
}

.faq-details-item:hover,
.faq-expanded-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-details-item[open] {
  border-color: rgba(37, 99, 235, 0.35);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  min-height: 48px;
  gap: 12px;
}

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

.faq-summary-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.25s var(--ease-spring);
  flex-shrink: 0;
}

.faq-details-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--tech-blue-600);
}

.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tech-blue-50);
  color: var(--tech-blue-700);
  border: 1px solid var(--tech-blue-200);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.faq-body {
  padding: 0 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-answer {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 38px;
}

.faq-tags-row {
  display: flex;
  gap: 6px;
  padding-left: 38px;
  margin-top: 4px;
}

.faq-micro-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-cloud);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   11. 模块七：服务守则与品牌承诺
   ========================================================================== */
.commitment-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-warm-tint) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.commit-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.commit-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.commit-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   12. 滚动渐进显现 (Scroll Reveal · 默认核心内容 100% 可见)
   ========================================================================== */
/* 仅用于装饰标尺、区块标头指示器，核心内容默认完全可见 */
.reveal-decor {
  opacity: 0.6;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-spring);
}

.reveal-decor.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   13. 全局页脚 (Site Footer)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
  padding-top: 60px;
  padding-bottom: 36px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 18px;
}

.footer-col h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

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

.footer-link:hover {
  color: var(--tech-blue-600);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-compliance-text {
  max-width: 650px;
  line-height: 1.5;
}

/* ==========================================================================
   14. 响应式多断点适配 (Multi-Breakpoint Media Queries)
   ========================================================================== */
@media (max-width: 1180px) {
  :root {
    --rail-width: 270px;
  }
  .asym-layout {
    gap: 24px;
  }
  .hero-inner-grid {
    grid-template-columns: 1fr;
  }
  .hero-telemetry-card {
    max-width: 520px;
  }
}

/* 移动端菜单打开时背景防滚动 */
body.menu-open {
  overflow: hidden !important;
}

@media (max-width: 1060px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 992px) {
  .asym-layout {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .asym-rail {
    position: relative;
    top: 0;
    max-height: none;
    overflow-y: visible;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    padding-right: 0;
  }

  .rail-nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .rail-nav-link {
    flex: 1 1 calc(50% - 8px);
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .rail-nav-link:hover,
  .rail-nav-link.active {
    border-left: none;
    border-bottom-color: var(--tech-blue-500);
  }

  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    gap: 8px;
    z-index: 100;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-menu.mobile-open .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    min-height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-cloud);
    font-size: 0.98rem;
    font-weight: 700;
  }

  .nav-menu.mobile-open .mobile-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 13px 20px;
    min-height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--tech-blue-500) 0%, var(--tech-blue-600) 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.98rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-pounce-stage {
    padding: 30px 20px;
    border-radius: var(--radius-lg);
  }

  .hero-main-title {
    font-size: 1.85rem;
  }

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

  .nodes-board,
  .setup-stepper-card,
  .commitment-card {
    padding: 24px 18px;
  }

  .nodes-notice-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .faq-expanded-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .btn-primary-bolt,
  .btn-secondary-soft {
    width: 100%;
    justify-content: center;
  }

  .pricing-header-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 移动端适当简化闪电动态框架 */
  .lightning-pulse-core {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-tagline {
    display: none;
  }

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

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

  .plan-card {
    padding: 24px 18px;
  }
}

/* 减少动效偏好 (Accessibility Prefers-Reduced-Motion 静态降级) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .lightning-pulse-line,
  .lightning-pulse-core {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    stroke-dasharray: none !important;
    stroke: rgba(245, 158, 11, 0.25) !important;
  }
}

/* 打印样式适配 */
@media print {
  .site-header,
  .asym-rail,
  .btn-header-cta,
  .hero-actions-group,
  .lightning-svg-framework {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .asym-layout {
    grid-template-columns: 1fr;
  }
}
