/**
 * Boost Net (机场) - 生产级样式库
 * 方案 2：阶梯卷轴仪表台 (Stepped Scroll Dashboard)
 * 官网域名: https://boostnet-cloud.homes
 * 规范重点：
 * - 暖霜玉白背景、通透纯白与柔和浅天蓝表面
 * - 深松烟墨主标题、板岩墨灰正文、冷苔灰辅助说明
 * - 沉稳湖蓝强调与主按钮配暖金描边（高对比度）
 * - 顶部单行毛玻璃导航 + 移动端可访问抽屉 (Escape 关闭与焦点恢复)
 * - 首屏横向服务指标刻度条 (客观静态说明)
 * - 原生 <details open> 默认全展开常见疑问
 * - 固定底层 SVG 柔和波浪与刻度网格，RAF 驱动轻量位移与 visibilitychange 监听
 */

/* ==========================================================================
   1. 设计系统令牌与主题变量 (Design System Tokens)
   ========================================================================== */
:root {
  /* 品牌色阶：沉稳湖蓝与暖金描边 */
  --brand-lake-blue: #185db9;
  --brand-lake-blue-hover: #124891;
  --brand-lake-blue-light: #eff6ff;
  --brand-lake-blue-subtle: #dbeafe;
  --brand-primary: var(--brand-lake-blue);
  --brand-primary-hover: var(--brand-lake-blue-hover);

  /* 暖金描边与高光 */
  --accent-warm-gold: #c8983e;
  --accent-warm-gold-hover: #b58532;
  --accent-warm-gold-light: #fef9ed;
  --border-gold-subtle: rgba(200, 152, 62, 0.42);
  --border-gold-glow: rgba(200, 152, 62, 0.25);

  /* 背景色阶：暖霜玉白背景、通透纯白与柔和浅天蓝表面 */
  --bg-page: #f7faf8;           /* 暖霜玉白背景 */
  --bg-card: #ffffff;           /* 通透纯白表面 */
  --bg-card-subtle: #f0f7ff;    /* 柔和浅天蓝表面 */
  --bg-sky-soft: #eaf3ff;       /* 次级浅天蓝微底色 */
  --bg-header: rgba(247, 250, 248, 0.94);
  --bg-muted: #eef3f6;

  /* 文字排印：深松烟墨主标题、板岩墨灰正文、冷苔灰辅助说明 */
  --text-title: #0c1c2e;        /* 深松烟墨 (对比度 > 14:1) */
  --text-body: #283a4e;         /* 板岩墨灰 (对比度 > 8.5:1) */
  --text-muted: #56687d;        /* 冷苔灰 (对比度 > 4.7:1，WCAG AA) */
  --text-subtle: #73859b;
  --text-inverse: #ffffff;

  /* 状态警示 */
  --status-success: #059669;
  --status-success-bg: #ecfdf5;
  --status-success-border: #a7f3d0;
  --status-warning: #b45309;
  --status-warning-bg: #fffbeb;
  --status-warning-border: #fde68a;
  --status-info: #0284c7;
  --status-info-bg: #f0f9ff;
  --status-info-border: #bae6fd;

  /* 边框与微分割 */
  --border-light: #e8eef3;
  --border-default: #dce5ec;
  --border-focus: #185db9;

  /* 投影系统 */
  --shadow-xs: 0 1px 2px rgba(12, 28, 46, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(12, 28, 46, 0.05), 0 1px 3px -1px rgba(12, 28, 46, 0.03);
  --shadow-md: 0 6px 16px -2px rgba(12, 28, 46, 0.06), 0 2px 6px -1px rgba(12, 28, 46, 0.03);
  --shadow-lg: 0 14px 28px -4px rgba(12, 28, 46, 0.08), 0 4px 10px -2px rgba(12, 28, 46, 0.04);
  --shadow-float: 0 20px 40px -10px rgba(24, 93, 185, 0.12), 0 4px 12px -2px rgba(12, 28, 46, 0.04);

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

  /* 尺寸与容器 */
  --container-max-w: 1240px;
  --container-pad: clamp(16px, 4vw, 32px);
  --header-height: 72px;

  /* 动效过渡 */
  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 260ms cubic-bezier(0.4, 0, 0.2, 1);

  /* 轻量位移自定义属性 (由 RAF 控制) */
  --bg-shift-y: 0px;
}

/* ==========================================================================
   2. 基础重置、可访问性与全局排印
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

/* 键盘可访问性高对比度焦点状态 */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--border-gold-glow);
  border-radius: var(--radius-xs);
}

/* 动效减弱偏好适配 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fixed-telemetry-backdrop {
    transform: none !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--brand-lake-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-lake-blue-hover);
}

ul, ol {
  padding-left: 1.4rem;
}

code, pre, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
  word-break: break-all;
  overflow-wrap: anywhere;
}

code {
  padding: 0.2em 0.45em;
  border-radius: var(--radius-xs);
  background: var(--bg-muted);
  color: var(--brand-lake-blue);
  border: 1px solid var(--border-default);
}

/* 原生内联 SVG 规范 */
svg {
  vertical-align: middle;
  flex-shrink: 0;
  display: inline-block;
}

.svg-menu-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  color: currentColor;
}

.svg-region-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(12, 28, 46, 0.25);
  display: inline-block;
  vertical-align: middle;
}

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

/* ==========================================================================
   3. 阶梯卷轴固定底层 (Fixed Telemetry Backdrop)
   严格 pointer-events: none，绝不拦截点击、选择与交互
   ========================================================================== */
.fixed-telemetry-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  user-select: none;
  opacity: 0.9;
}

.backdrop-svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: translateY(var(--bg-shift-y));
  transition: transform 60ms linear;
}

/* 确保所有内容层在固定背景之上 */
.site-header,
main,
.site-footer,
.toast-notice,
.mobile-drawer-overlay,
.mobile-drawer-panel {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   4. 通用容器与栅格
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: clamp(48px, 6vw, 92px);
  padding-bottom: clamp(48px, 6vw, 92px);
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.section-subtle {
  background-color: var(--bg-card-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(32px, 5vw, 56px);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--bg-sky-soft);
  color: var(--brand-lake-blue);
  border: 1px solid var(--border-gold-subtle);
  margin-bottom: 14px;
}

.section-title {
  margin-bottom: 14px;
}

.section-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   5. 按钮系统 (沉稳湖蓝主按钮配暖金描边，触控 >= 44x44px)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.975rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  min-height: 44px;
  min-width: 44px;
}

/* 沉稳湖蓝主按钮配暖金描边 */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-lake-blue) 0%, #134b96 100%);
  color: var(--text-inverse);
  border: 1px solid var(--accent-warm-gold);
  box-shadow: 0 4px 14px rgba(24, 93, 185, 0.28), 0 0 0 1px var(--border-gold-glow);
}

.btn-primary:hover {
  color: var(--text-inverse);
  background: linear-gradient(135deg, var(--brand-lake-blue-hover) 0%, #0e3b79 100%);
  border-color: #d9aa4e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 93, 185, 0.38), 0 0 0 2px rgba(200, 152, 62, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-title);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-card-subtle);
  border-color: var(--border-gold-subtle);
  color: var(--brand-lake-blue);
  transform: translateY(-2px);
}

.btn-subtle {
  background: var(--bg-sky-soft);
  color: var(--brand-lake-blue);
  border: 1px solid rgba(24, 93, 185, 0.15);
}

.btn-subtle:hover {
  background: var(--brand-lake-blue-subtle);
  color: var(--brand-lake-blue-hover);
  border-color: var(--border-gold-subtle);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
  min-height: 52px;
}

/* 状态徽章 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.775rem;
  font-weight: 600;
  line-height: 1.2;
}

.badge-success {
  background: var(--status-success-bg);
  color: var(--status-success);
  border: 1px solid var(--status-success-border);
}

.badge-warning {
  background: var(--status-warning-bg);
  color: var(--status-warning);
  border: 1px solid var(--status-warning-border);
}

.badge-info {
  background: var(--status-info-bg);
  color: var(--status-info);
  border: 1px solid var(--status-info-border);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: inherit;
  opacity: 0.5;
  animation: pulseAnim 2s infinite ease-out;
}

@keyframes pulseAnim {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ==========================================================================
   6. 顶部单行毛玻璃导航与移动端抽屉
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-default);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(247, 250, 248, 0.98);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
  min-height: 44px;
}

.brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-lake-blue) 0%, #124891 100%);
  border: 1px solid var(--accent-warm-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(24, 93, 185, 0.25);
}

.brand-text-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  margin-left: 2px;
}

/* 中间单行水平菜单 (配 16px 原生单色 SVG 图标) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 8px 6px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-lake-blue);
  border-radius: 2px;
}

/* 桌面端右侧登录与快速注册 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-default);
  padding: 10px;
  border-radius: var(--radius-sm);
  color: var(--text-title);
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

/* 移动端可访问抽屉 (Drawer) */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 28, 46, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--bg-card);
  z-index: 1050;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(12, 28, 46, 0.15);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer-panel.open {
  transform: translateX(0);
}

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

.drawer-close-btn {
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  min-height: 44px;
}

.drawer-nav-link:hover {
  background: var(--bg-sky-soft);
  color: var(--brand-lake-blue);
}

.drawer-actions-box {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   7. 首屏居中结构与横向服务指标刻度条 (#hero)
   ========================================================================== */
.hero-centered {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-centered h1 {
  font-weight: 900;
  line-height: 1.18;
}

.hero-centered .hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 740px;
}

/* 横向服务指标刻度条 (Horizontal Service Metrics Scale Bar) */
.horizontal-scale-bar-container {
  width: 100%;
  max-width: 1020px;
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 24px clamp(16px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.scale-ruler {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 14px;
  position: relative;
  margin-bottom: 18px;
}

.scale-ruler-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #185db9 0%, #c8983e 50%, #185db9 100%);
  opacity: 0.35;
  transform: translateY(-50%);
}

.scale-tick {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--brand-lake-blue);
  z-index: 1;
}

.scale-tick.gold {
  border-color: var(--accent-warm-gold);
}

.horizontal-scale-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .horizontal-scale-metrics {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .horizontal-scale-metrics {
    grid-template-columns: 1fr;
  }
}

.svg-region-flag {
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.scale-metric-item {
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border-light);
}

.scale-metric-title {
  font-size: 0.775rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.scale-metric-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-title);
}

/* ==========================================================================
   8. 优势矩阵与节点网络介绍 (#features)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-sky-soft);
  color: var(--brand-lake-blue);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-title {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

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

/* 节点三类边界划分卡片 */
.nodes-boundary-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.boundary-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

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

.boundary-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
}

.boundary-node-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.boundary-node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
}

/* ==========================================================================
   9. 套餐价格区 (#pricing)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

.pricing-card.featured {
  border-color: var(--accent-warm-gold);
  box-shadow: var(--shadow-float), 0 0 0 1px var(--border-gold-glow);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-lake-blue) 0%, #104183 100%);
  border: 1px solid var(--accent-warm-gold);
  color: #fff;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(24, 93, 185, 0.25);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pricing-tier-name {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
}

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

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

.price-amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--text-title);
  line-height: 1;
}

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

.pricing-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

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

.feature-check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--status-success);
  margin-top: 2px;
}

/* ==========================================================================
   10. 原生 <details open> 默认全展开常见疑问 (#faq)
   ========================================================================== */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

details.faq-item-details {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.5vw, 24px);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

details.faq-item-details:hover {
  border-color: var(--border-gold-subtle);
}

summary.faq-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
}

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

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

.faq-dimension-tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--bg-sky-soft);
  color: var(--brand-lake-blue);
  border: 1px solid rgba(24, 93, 185, 0.15);
  font-weight: 600;
  flex-shrink: 0;
}

.faq-open-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--status-success);
  background: var(--status-success-bg);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.faq-content-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-content-body p {
  margin-bottom: 10px;
}

/* ==========================================================================
   11. 知识库专题与双栏响应式布局 (Desktop: Left Content, Right Sidebar)
   ========================================================================== */
.kb-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(24px, 3.5vw, 44px);
  padding-top: 36px;
  padding-bottom: 64px;
}

.kb-content-area {
  order: 1; /* 桌面端左侧：文章内容 */
  min-width: 0;
}

.kb-sidebar {
  order: 2; /* 桌面端右侧：目录导航 */
  position: sticky;
  top: calc(var(--header-height) + 20px);
  height: fit-content;
  max-height: calc(100vh - var(--header-height) - 40px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.kb-toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.kb-toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kb-toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition-fast);
  line-height: 1.4;
}

.kb-toc-link:hover,
.kb-toc-link.active {
  background: var(--bg-sky-soft);
  color: var(--brand-lake-blue);
  border-left: 3px solid var(--brand-lake-blue);
  font-weight: 600;
  padding-left: 12px;
}

.kb-article-box {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.kb-article-box h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 16px;
  color: var(--text-title);
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 12px;
}

.kb-article-box h3 {
  font-size: 1.18rem;
  margin: 20px 0 10px;
  color: var(--text-title);
}

.kb-article-box p {
  line-height: 1.78;
  margin-bottom: 16px;
  color: var(--text-body);
}

.kb-article-box ul,
.kb-article-box ol {
  margin-bottom: 16px;
  line-height: 1.78;
}

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

.kb-inline-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--brand-lake-blue);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   12. 规范页脚
   ========================================================================== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-default);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 360px;
}

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

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

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-link:hover {
  color: var(--brand-lake-blue);
}

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

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

.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text-title);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--accent-warm-gold);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.noscript-banner {
  background: #fffbeb;
  color: #92400e;
  border-bottom: 1px solid #fde68a;
  padding: 10px 16px;
  font-size: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   12. 响应式布局优化 (360px、390px、768px、1199px)
   ========================================================================== */
@media (max-width: 991px) {
  .kb-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 20px;
  }

  .kb-sidebar {
    order: 1; /* 移动端：目录置于文章上方 */
    position: static;
    max-height: none;
    width: 100%;
    margin-bottom: 16px;
  }

  .kb-content-area {
    order: 2; /* 移动端：文章位于目录下方 */
    width: 100%;
  }

  .kb-toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
  }

  .nav-menu {
    display: none;
  }

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

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

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

@media (max-width: 767px) {
  :root {
    --header-height: 64px;
  }

  .horizontal-scale-metrics {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 479px) {
  :root {
    --container-pad: 14px;
  }

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

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

  .horizontal-scale-metrics {
    grid-template-columns: 1fr;
  }

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

  summary.faq-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-open-badge {
    margin-top: 4px;
  }
}
