/* ==========================================================================
   仙路湾 (XianLu-Atoll) 全景阶梯舱 · 官方统一样式体系 (style.css)
   视觉意象：暖霜玉白 / 沉稳湖蓝 / 薄荷青 / 深松烟墨 / 板岩墨灰
   设计规范：纯原生零依赖 / 居中对称全景首屏 / 差异化阶梯舱体 / 严格高对比可访问性
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌与根变量 (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* 方案二调色：暖霜玉白背景、深松烟墨主标题、沉稳湖蓝主操作、薄荷青点缀 */
  --bg-page: #f8faf9;                 /* 暖霜玉白 / Warm Frost Jade White */
  --bg-page-alt: #f0fdfa;
  --bg-card: #ffffff;                 /* 通透纯白 */
  --bg-card-sky: rgba(240, 249, 255, 0.85); /* 柔和浅天蓝表面 */
  --bg-surface: #f1f5f5;
  --bg-subtle: #f9fbfb;

  --color-primary: #0284c7;           /* 沉稳湖蓝 / Serene Lake Blue */
  --color-primary-dark: #0369a1;
  --color-primary-light: #38bdf8;
  --color-mint: #0d9488;              /* 薄荷青 / Mint Cyan */
  --color-mint-light: #14b8a6;
  --color-accent-coral: #e11d48;      /* 珊瑚朱红 */
  --color-accent-amber: #d97706;      /* 暖金指示 */
  --color-accent-emerald: #059669;    /* 真实健康绿 */

  /* 文字高对比色阶体系 */
  --text-main: #0f1722;               /* 深松烟墨主标题 - WCAG AAA */
  --text-secondary: #2d3748;          /* 板岩墨灰正文 */
  --text-muted: #5a6a7a;              /* 冷苔灰辅助说明 */
  --text-light: #8292a2;              /* 弱对比占位 */
  --text-inverse: #ffffff;

  /* 边框体系 */
  --border-light: rgba(203, 213, 225, 0.7);
  --border-card: rgba(203, 213, 225, 0.9);
  --border-focus: #0284c7;
  --border-mint: rgba(13, 148, 136, 0.35);

  /* 阴影 */
  --shadow-subtle: 0 1px 3px rgba(15, 23, 34, 0.04), 0 1px 2px rgba(15, 23, 34, 0.02);
  --shadow-card: 0 6px 20px -3px rgba(15, 23, 34, 0.06), 0 2px 6px -1px rgba(15, 23, 34, 0.03);
  --shadow-hover: 0 16px 32px -6px rgba(2, 132, 199, 0.16), 0 6px 14px -3px rgba(13, 148, 136, 0.08);
  --shadow-featured: 0 18px 36px -6px rgba(2, 132, 199, 0.22), 0 0 0 2px var(--color-primary);

  /* 渐变体系 */
  --gradient-atoll: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  --gradient-atoll-light: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(13, 148, 136, 0.06) 100%);
  --gradient-hero: radial-gradient(110% 80% at 50% 0%, rgba(2, 132, 199, 0.1) 0%, rgba(13, 148, 136, 0.05) 50%, rgba(248, 250, 249, 0) 100%);

  /* 基础度量 */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;

  --container-max: 1240px;
  --container-narrow: 860px;
}

/* --------------------------------------------------------------------------
   2. 全局重置与无障碍排版
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-page);
}

/* Pointer Aura 鼠标跟随柔和微光 (仅支持精细指针的桌面端运行) */
@media (hover: hover) and (pointer: fine) {
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(650px circle at var(--pointer-x, -1000px) var(--pointer-y, -1000px), rgba(2, 132, 199, 0.05), transparent 70%);
    transition: opacity 0.3s ease;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }
}

/* 锚点导航平滑滚动定位修正 (避免固定导航遮挡) */
section, [id] {
  scroll-margin-top: 88px;
}

/* 无障碍 Skip Link */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* 焦点样式高可见度标准 */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 排版基础 */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-primary-dark);
}

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

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

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

/* 顶部滚动进度指示条 */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-atoll);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* --------------------------------------------------------------------------
   3. 顶部单行固定导航栏 (6 项直链 + 右侧 CTA)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

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

/* 品牌 Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-main);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gradient-atoll);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
}
.brand-title {
  display: flex;
  flex-direction: column;
}
.brand-name {
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-mint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 6 项水平单行导航项 (不折行) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  white-space: nowrap;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-atoll);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* 顶部网络状态与操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.network-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #0f766e;
  font-weight: 600;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-emerald);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* 标准 CTA 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-primary, .btn-atoll {
  background: var(--gradient-atoll);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  text-decoration: none;
}
.btn-primary:hover, .btn-atoll:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35);
}
.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-card);
}
.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  min-height: 38px;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
  min-height: 48px;
}

/* 移动端汉堡切换与抽屉菜单 */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--text-main);
  min-width: 44px;
  min-height: 44px;
}
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 890;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  border-bottom: 1px solid var(--border-light);
}
.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer .nav-link {
  font-size: 1.1rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   4. 居中对称全景首屏与横向服务指标刻度条 (#hero)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 70px 0 50px;
  background: var(--gradient-hero);
  text-align: center;
  overflow: hidden;
}

/* 原生 SVG 动态环礁流线装饰 (不拦截点击，支持动效降级) */
.atoll-streamlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.streamline-path {
  fill: none;
  stroke: rgba(13, 148, 136, 0.14);
  stroke-width: 1.5;
  stroke-dasharray: 8 16;
  animation: flowStreamline 35s linear infinite;
}
.streamline-path-2 {
  fill: none;
  stroke: rgba(2, 132, 199, 0.12);
  stroke-width: 1.2;
  stroke-dasharray: 6 12;
  animation: flowStreamline 45s linear infinite reverse;
}
@keyframes flowStreamline {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1000; }
}
@media (prefers-reduced-motion: reduce) {
  .streamline-path, .streamline-path-2 {
    animation: none;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

/* 首屏下方横向服务指标刻度条 (基于已核准真实参数) */
.metric-gauge-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
  text-align: left;
}
.gauge-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 3px solid var(--color-mint);
  padding-left: 14px;
}
.gauge-item:first-child {
  border-left-color: var(--color-primary);
}
.gauge-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}
.gauge-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}
.gauge-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. 方案二核心：4 款核准套餐 · 差异化阶梯舱体布局 (#pricing)
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: 90px 0 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-mint);
  background: rgba(13, 148, 136, 0.08);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* 阶梯舱体四格错落网格 */
.stepped-cabin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 60px;
}

.cabin-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}
.cabin-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-light);
}

/* 舱体 1：年付轻量级版 (紧凑入门舱) */
.cabin-card-entry {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfb 100%);
}

/* 舱体 2：基础版 (中央核心舱 · 热门月套餐视觉高亮) */
.cabin-card-featured {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-featured);
  transform: scale(1.02);
}
.cabin-card-featured:hover {
  transform: scale(1.02) translateY(-4px);
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-atoll);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

/* 舱体 3：不限时轻量包 (长效储备舱) */
.cabin-card-evergreen {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  border-color: rgba(13, 148, 136, 0.4);
}

/* 舱体 4：独享私人订制要点 (专属定制高阶舱) */
.cabin-card-custom {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(2, 132, 199, 0.35);
}

.cabin-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.cabin-tag-entry { background: rgba(15, 23, 42, 0.06); color: var(--text-secondary); }
.cabin-tag-popular { background: rgba(2, 132, 199, 0.12); color: var(--color-primary-dark); }
.cabin-tag-evergreen { background: rgba(13, 148, 136, 0.12); color: var(--color-mint); }
.cabin-tag-vip { background: rgba(217, 119, 6, 0.12); color: var(--color-accent-amber); }

.cabin-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.cabin-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
  line-height: 1.5;
}

.cabin-price-box {
  padding: 16px 0;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
  margin: 16px 0 20px;
}
.cabin-price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.cabin-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}
.cabin-price-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}
.cabin-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.cabin-calc-hint {
  font-size: 0.78rem;
  color: var(--color-mint);
  margin-top: 6px;
  font-weight: 700;
}

.cabin-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.cabin-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.cabin-spec-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-mint);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   6. 原生语义 <table> 套餐对比表
   -------------------------------------------------------------------------- */
.comparison-container {
  margin-top: 30px;
}
.table-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}
.package-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 820px;
}
.package-table caption {
  padding: 16px 20px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}
.package-table th, .package-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
.package-table thead th {
  background: #fafcfc;
  font-weight: 700;
  color: var(--text-main);
}
.package-table thead th.col-hot {
  background: rgba(2, 132, 199, 0.06);
  color: var(--color-primary-dark);
}
.package-table tbody tr:hover {
  background: rgba(2, 132, 199, 0.02);
}
.package-table td:first-child, .package-table th:first-child {
  font-weight: 700;
  color: var(--text-main);
  background: #fafcfc;
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.02);
}

/* --------------------------------------------------------------------------
   7. 核心优势与网络架构可视化 (#features / #network)
   -------------------------------------------------------------------------- */
.features-section {
  padding: 80px 0;
  background: #ffffff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.feature-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-box:hover {
  background: #ffffff;
  transform: translateY(-4px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-hover);
}
.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-atoll-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-title {
  font-size: 1.15rem;
  font-weight: 800;
}
.feature-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 分层网络架构可视化 (Client → Access → Transit → Routing → Exit) */
.network-schematic-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.schematic-disclaimer {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-top: 16px;
}
.arch-layers-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 28px 0 16px;
}
.arch-node-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: all var(--transition-fast);
}
.arch-node-box:hover, .arch-node-box:focus-within {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.arch-step-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-mint);
  text-transform: uppercase;
}
.arch-node-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}
.arch-node-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   8. 使用场景与新手快速入门 (Quick Start 5 步流程)
   -------------------------------------------------------------------------- */
.use-cases-section {
  padding: 80px 0;
  background: var(--bg-page);
}
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.use-case-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.use-case-title {
  font-size: 1.05rem;
  font-weight: 800;
}
.use-case-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Quick Start 5 步流程卡片 */
.quickstart-section {
  padding: 80px 0;
  background: #ffffff;
}
.quickstart-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.quickstart-step {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  position: relative;
  transition: all var(--transition-fast);
}
.quickstart-step:hover {
  background: #ffffff;
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
}
.step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. 客户端下载与支持介绍 (#client-hub)
   -------------------------------------------------------------------------- */
.clients-section {
  padding: 80px 0;
  background: var(--bg-page);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.client-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: all var(--transition-normal);
}
.client-box:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}
.client-os-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}
.client-apps {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.client-guide-link {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   10. 常见问题手风琴 (#faq · 答案默认隐藏)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 80px 0;
  background: #ffffff;
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-item[open] {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-card);
}
.faq-summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  min-height: 48px;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-arrow {
  width: 18px;
  height: 18px;
  color: var(--color-mint);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}
.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 14px 24px 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
  background: #fafcfc;
}

/* --------------------------------------------------------------------------
   11. 右下角去重模拟购买动态 Toast (支持手动关闭与模拟标识)
   -------------------------------------------------------------------------- */
.toast-purchase {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  box-shadow: 0 10px 30px rgba(15, 23, 34, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 850;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease-spring), opacity 0.4s ease;
  max-width: 380px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  pointer-events: none;
}
.toast-purchase.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.toast-tag {
  background: rgba(13, 148, 136, 0.12);
  color: var(--color-mint);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.toast-content {
  flex: 1;
  line-height: 1.4;
}
.toast-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  margin-left: auto;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toast-close:hover {
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   12. 全局页脚 (Site Footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 32px;
  margin-top: auto;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
  margin-top: 16px;
  line-height: 1.7;
}
.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-link:hover {
  color: var(--color-primary);
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 14px;
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px; /* 移到左下角，避免与右下角模拟 Toast 冲突 */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-atoll);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 800;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

/* --------------------------------------------------------------------------
   13. 响应式与多断点适配 (360px, 390px, 768px, 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .metric-gauge-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stepped-cabin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arch-layers-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quickstart-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-actions .network-status-badge, .header-actions .btn-outline {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .metric-gauge-bar {
    grid-template-columns: 1fr;
  }
  .stepped-cabin-grid {
    grid-template-columns: 1fr;
  }
  .cabin-card-featured {
    transform: none;
  }
  .cabin-card-featured:hover {
    transform: translateY(-4px);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .arch-layers-wrap {
    grid-template-columns: 1fr;
  }
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  .quickstart-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .toast-purchase {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
  .back-to-top {
    left: auto;
    right: 16px;
    bottom: 80px; /* 避开底部 toast */
  }
}

@media (max-width: 390px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}
