/* ==========================================================================
   白嫖机场 (baipiaovpn.mom) - Material Design 3 (Material You) 样式系统
   ========================================================================== */

:root {
  /* Material 3 调色板 Tokens */
  --md-sys-color-primary: #6750A4;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #EADDFF;
  --md-sys-color-on-primary-container: #21005D;
  --md-sys-color-surface: #FFFBFE;
  --md-sys-color-surface-container: #F3EDF7;
  --md-sys-color-surface-container-high: #ECE6F0;
  --md-sys-color-on-surface: #1D1B20;
  --md-sys-color-on-surface-variant: #49454F;
  --md-sys-color-outline: #79747E;
  --md-sys-color-outline-variant: #CAC4D0;
  --md-sys-color-error: #B3261E;
  --md-sys-color-success: #2E7D32;
  --md-sys-color-warning: #E8A33D;

  /* Material 3 形状比例 (Shape Scale) */
  --md-shape-xs: 8px;
  --md-shape-sm: 16px;
  --md-shape-md: 28px;
  --md-shape-lg: 32px;
  --md-shape-full: 9999px;

  /* Material 3 投影层级 (Elevation Shadows) */
  --md-elevation-0: none;
  --md-elevation-1: 0px 1px 3px 1px rgba(0, 0, 0, 0.12), 0px 1px 2px 0px rgba(0, 0, 0, 0.24);
  --md-elevation-2: 0px 2px 6px 2px rgba(0, 0, 0, 0.12), 0px 1px 2px 0px rgba(0, 0, 0, 0.24);
  --md-elevation-3: 0px 4px 8px 3px rgba(0, 0, 0, 0.12), 0px 1px 3px 0px rgba(0, 0, 0, 0.24);
  --md-elevation-4: 0px 6px 10px 4px rgba(0, 0, 0, 0.12), 0px 2px 3px 0px rgba(0, 0, 0, 0.24);

  /* 字体族定义 */
  --font-main: "Roboto", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Roboto Mono", "Consolas", monospace;

  /* 布局控制 */
  --top-app-bar-height: 64px;
  --drawer-width: 280px;
  --max-content-width: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
  --transition-standard: 0.3s cubic-bezier(0.2, 0, 0, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Material Ripple 涟漪容器 */
.ripple-surface {
  position: relative;
  overflow: hidden;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(103, 80, 164, 0.22);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

.ripple-surface-light .ripple-effect {
  background: rgba(255, 255, 255, 0.35);
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 辅助容器 */
.container {
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ==========================================================================
   1. 顶部应用栏 (Top App Bar) - 64px, Sticky, surface-container
   ========================================================================== */
.top-app-bar {
  height: var(--top-app-bar-height);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--md-sys-color-surface-container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.app-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--md-shape-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--md-sys-color-on-surface);
  transition: background-color var(--transition-fast);
}

.hamburger-btn:hover {
  background-color: rgba(103, 80, 164, 0.08);
}

.app-bar-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.nav-desktop-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 28px;
}

.nav-desktop-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
  padding: 6px 12px;
  border-radius: var(--md-shape-full);
  transition: all var(--transition-fast);
}

.nav-desktop-link:hover {
  color: var(--md-sys-color-primary);
  background-color: rgba(103, 80, 164, 0.08);
}

.nav-desktop-link.badge-link {
  color: var(--md-sys-color-primary);
  font-weight: 600;
  background-color: var(--md-sys-color-primary-container);
}

.app-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--md-shape-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--md-sys-color-on-surface-variant);
  position: relative;
  transition: background-color var(--transition-fast);
}

.icon-action-btn:hover {
  background-color: rgba(103, 80, 164, 0.08);
}

.badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  background-color: var(--md-sys-color-error);
  color: #FFFFFF;
  border-radius: var(--md-shape-full);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pill-filled {
  height: 40px;
  padding: 0 20px;
  border-radius: var(--md-shape-full);
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: var(--md-elevation-1);
}

.btn-pill-filled:hover {
  box-shadow: var(--md-elevation-2);
  filter: brightness(1.05);
}

/* ==========================================================================
   2. 抽屉导航 (Slide-in Navigation Drawer) - 280px wide
   ========================================================================== */
.drawer-scrim {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-standard), visibility var(--transition-standard);
}

.drawer-scrim.open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--drawer-width);
  background-color: var(--md-sys-color-surface);
  z-index: 210;
  transform: translateX(-100%);
  transition: transform var(--transition-standard);
  display: flex;
  flex-direction: column;
  box-shadow: var(--md-elevation-3);
  padding: 16px 12px;
}

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

.drawer-header {
  padding: 12px 16px 20px;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  margin-bottom: 12px;
}

.drawer-header h3 {
  color: var(--md-sys-color-primary);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-header p {
  font-size: 12px;
  color: var(--md-sys-color-on-surface-variant);
  margin-top: 4px;
}

.drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
}

.drawer-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--md-shape-full);
  color: var(--md-sys-color-on-surface);
  font-size: 14px;
  font-weight: 500;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.drawer-item a:hover {
  background-color: var(--md-sys-color-surface-container);
}

.drawer-item.active a {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font-weight: 700;
}

.drawer-footer {
  padding: 16px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}

/* ==========================================================================
   3. 主视觉区 (Hero Section) - 2-Column Grid
   ========================================================================== */
.hero-section {
  padding: 60px 0 50px;
  background: linear-gradient(180deg, var(--md-sys-color-surface-container) 0%, var(--md-sys-color-surface) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--md-shape-full);
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-headline {
  font-size: 54px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-headline .text-primary-bold {
  color: var(--md-sys-color-primary);
  position: relative;
  display: inline-block;
}

.hero-headline .text-primary-bold::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--md-sys-color-primary-container);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 17px;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.68;
  margin-bottom: 32px;
  max-width: 580px;
}

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

/* Material Tonal & Outlined Buttons */
.btn-tonal {
  height: 48px;
  padding: 0 24px;
  border-radius: var(--md-shape-full);
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: var(--md-elevation-1);
}

.btn-tonal:hover {
  box-shadow: var(--md-elevation-2);
  filter: brightness(0.97);
}

.btn-outlined {
  height: 48px;
  padding: 0 24px;
  border-radius: var(--md-shape-full);
  border: 1.5px solid var(--md-sys-color-outline-variant);
  background-color: transparent;
  color: var(--md-sys-color-primary);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-outlined:hover {
  background-color: rgba(103, 80, 164, 0.06);
  border-color: var(--md-sys-color-primary);
}

/* 测速卡片 (Speed Test Card) */
.speed-test-card {
  background-color: var(--md-sys-color-surface);
  border-radius: var(--md-shape-md);
  padding: 28px;
  box-shadow: var(--md-elevation-2);
  border: 1px solid var(--md-sys-color-outline-variant);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-active-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--md-sys-color-success);
  box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(46, 125, 50, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
  }
}

.speed-display-box {
  text-align: center;
  padding: 16px 0 8px;
}

.speed-number {
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  line-height: 1;
}

.speed-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  margin-top: 6px;
}

/* 动态柱状图 (Animated Bar Graph) */
.speed-bars-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 88px;
  padding: 8px 12px;
  background-color: var(--md-sys-color-surface-container);
  border-radius: var(--md-shape-sm);
  gap: 6px;
}

.speed-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--md-sys-color-primary) 0%, var(--md-sys-color-primary-container) 100%);
  border-radius: 4px 4px 2px 2px;
  min-height: 12px;
  transition: height 0.8s cubic-bezier(0.2, 0, 0, 1);
}

/* 3 指标卡片 (Latency / Jitter / Loss) */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background-color: var(--md-sys-color-surface-container);
  padding: 14px;
  border-radius: var(--md-shape-sm);
}

.metric-col {
  text-align: center;
}

.metric-label {
  font-size: 12px;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 2px;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
}

/* ==========================================================================
   4. 4项统计卡片行 (4-Stat Cards Row) - 28px Radius, Elevation-1
   ========================================================================== */
.stats-section {
  padding: 30px 0 50px;
}

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

.stat-card {
  background-color: var(--md-sys-color-surface);
  border-radius: var(--md-shape-md);
  padding: 24px;
  box-shadow: var(--md-elevation-1);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid var(--md-sys-color-outline-variant);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--md-elevation-2);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 12px;
  color: var(--md-sys-color-on-surface-variant);
}

/* ==========================================================================
   通用区块标题
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  background-color: var(--md-sys-color-primary-container);
  padding: 4px 14px;
  border-radius: var(--md-shape-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--md-sys-color-on-surface-variant);
}

/* ==========================================================================
   产品核心优势介绍 (3个图文卡片)
   ========================================================================== */
.core-advantages-section {
  padding: 60px 0;
  background-color: var(--md-sys-color-surface-container);
}

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

.core-card {
  background-color: var(--md-sys-color-surface);
  border-radius: var(--md-shape-md);
  padding: 32px 28px;
  box-shadow: var(--md-elevation-1);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.core-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--md-elevation-3);
}

.core-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.core-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--md-sys-color-on-surface);
}

.core-card p {
  font-size: 14px;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.65;
  flex: 1;
}

.core-card .core-highlight {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--md-sys-color-outline-variant);
  font-size: 12px;
  font-weight: 600;
  color: var(--md-sys-color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   流媒体与 AI 支持图卡
   ========================================================================== */
.streaming-ai-section {
  padding: 70px 0;
}

.stream-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.unlock-box {
  background-color: var(--md-sys-color-surface-container);
  border-radius: var(--md-shape-md);
  padding: 32px;
  border: 1px solid var(--md-sys-color-outline-variant);
}

.unlock-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.unlock-header .unlock-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.unlock-header h3 {
  font-size: 22px;
  font-weight: 700;
}

.unlock-desc {
  font-size: 14px;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 24px;
}

.badges-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.service-chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--md-sys-color-success);
}

/* ==========================================================================
   5. 特性区域 (Feature Section) - 6 Cards, 14px Icon Container
   ========================================================================== */
.feature-section {
  padding: 70px 0;
  background-color: var(--md-sys-color-surface-container-high);
}

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

.feature-card {
  background-color: var(--md-sys-color-surface-container);
  border-radius: var(--md-shape-md);
  padding: 28px 24px;
  box-shadow: var(--md-elevation-0);
  transition: all var(--transition-fast);
  cursor: default;
}

.feature-card:hover {
  background-color: var(--md-sys-color-primary-container);
  box-shadow: var(--md-elevation-1);
  transform: translateY(-3px);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px; /* 14px rounded square per requirement */
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--md-sys-color-on-surface);
}

.feature-card:hover h3 {
  color: var(--md-sys-color-on-primary-container);
}

.feature-card p {
  font-size: 13.5px;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.6;
}

.feature-card:hover p {
  color: var(--md-sys-color-on-primary-container);
  opacity: 0.9;
}

/* ==========================================================================
   6. 节点列表 (Node List) - Material List Card + Chips + Progress Bar
   ========================================================================== */
.node-section {
  padding: 70px 0;
}

.node-list-card {
  background-color: var(--md-sys-color-surface);
  border-radius: var(--md-shape-md);
  box-shadow: var(--md-elevation-1);
  border: 1px solid var(--md-sys-color-outline-variant);
  overflow: hidden;
}

.node-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background-color: var(--md-sys-color-surface-container);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  flex-wrap: wrap;
  gap: 12px;
}

.node-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: var(--md-shape-xs);
  font-size: 13px;
  font-weight: 600;
  background-color: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface-variant);
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  background-color: rgba(103, 80, 164, 0.08);
  color: var(--md-sys-color-primary);
}

.filter-chip.active {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-color: var(--md-sys-color-primary);
}

.node-table {
  width: 100%;
  border-collapse: collapse;
}

.node-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.5fr 1fr;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  transition: background-color var(--transition-fast);
}

.node-row:last-child {
  border-bottom: none;
}

.node-row:hover {
  background-color: var(--md-sys-color-surface-container);
}

.node-info-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.flag-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--md-shape-full);
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.node-name-meta h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
}

.node-name-meta p {
  font-size: 12px;
  color: var(--md-sys-color-on-surface-variant);
}

.latency-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--md-sys-color-success);
  background-color: rgba(46, 125, 50, 0.08);
  padding: 4px 10px;
  border-radius: var(--md-shape-xs);
  width: fit-content;
}

.latency-chip.medium {
  color: var(--md-sys-color-warning);
  background-color: rgba(232, 163, 61, 0.12);
}

.load-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 20px;
}

.load-label {
  font-size: 11px;
  color: var(--md-sys-color-on-surface-variant);
  display: flex;
  justify-content: space-between;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background-color: var(--md-sys-color-outline-variant);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  background-color: var(--md-sys-color-primary);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--md-shape-full);
  width: fit-content;
  justify-self: end;
}

.status-chip.success {
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--md-sys-color-success);
}

.status-chip.warning {
  background-color: rgba(232, 163, 61, 0.12);
  color: var(--md-sys-color-warning);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

/* ==========================================================================
   套餐价格对比表 (Pricing Table)
   ========================================================================== */
.pricing-section {
  padding: 70px 0;
  background-color: var(--md-sys-color-surface-container);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--md-sys-color-surface);
  border-radius: var(--md-shape-md);
  padding: 32px 24px;
  box-shadow: var(--md-elevation-1);
  border: 1px solid var(--md-sys-color-outline-variant);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.pricing-card.featured {
  border: 2px solid var(--md-sys-color-primary);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--md-sys-color-surface-container) 100%);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: var(--md-shape-full);
  box-shadow: var(--md-elevation-1);
}

.pricing-tier-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 6px;
}

.pricing-tier-desc {
  font-size: 13px;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 20px;
  min-height: 38px;
}

.price-box {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--md-sys-color-primary);
}

.price-val {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  line-height: 1;
}

.price-period {
  font-size: 13px;
  color: var(--md-sys-color-on-surface-variant);
}

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

.pricing-features-list li {
  font-size: 13.5px;
  color: var(--md-sys-color-on-surface);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features-list li .check-icon {
  color: var(--md-sys-color-success);
  font-size: 18px;
}

.pricing-cta-btn {
  width: 100%;
  height: 44px;
  border-radius: var(--md-shape-full);
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--md-elevation-1);
}

.pricing-cta-btn:hover {
  box-shadow: var(--md-elevation-2);
  filter: brightness(1.08);
}

.pricing-card.free-tier .pricing-cta-btn {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

/* ==========================================================================
   用户评价 (User Reviews)
   ========================================================================== */
.reviews-section {
  padding: 70px 0;
}

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

.review-card {
  background-color: var(--md-sys-color-surface);
  border-radius: var(--md-shape-md);
  padding: 28px;
  box-shadow: var(--md-elevation-1);
  border: 1px solid var(--md-sys-color-outline-variant);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stars {
  color: #F59E0B;
  display: flex;
  gap: 3px;
  font-size: 18px;
}

.review-text {
  font-size: 14px;
  color: var(--md-sys-color-on-surface);
  line-height: 1.65;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--md-sys-color-surface-container);
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.author-info h4 {
  font-size: 14px;
  font-weight: 700;
}

.author-info p {
  font-size: 12px;
  color: var(--md-sys-color-on-surface-variant);
}

/* ==========================================================================
   常见问题解答 (FAQ)
   ========================================================================== */
.faq-section {
  padding: 70px 0 90px;
  background-color: var(--md-sys-color-surface-container);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--md-sys-color-surface);
  border-radius: var(--md-shape-sm);
  border: 1px solid var(--md-sys-color-outline-variant);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question .arrow-icon {
  transition: transform var(--transition-standard);
  color: var(--md-sys-color-primary);
  font-size: 20px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-standard), padding var(--transition-standard);
  background-color: var(--md-sys-color-surface);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.68;
}

/* ==========================================================================
   页脚 (Footer) - 严格只保留四个标题，打开新页面展示
   ========================================================================== */
.site-footer {
  background-color: #1A161E;
  color: #ECE6F0;
  padding: 50px 0 30px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-link-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-link-col a {
  display: inline-block;
  color: #CAC4D0;
  font-size: 15px;
  transition: color var(--transition-fast);
  padding: 6px 16px;
  border-radius: var(--md-shape-full);
}

.footer-link-col a:hover {
  color: #FFFFFF;
  background-color: rgba(234, 221, 255, 0.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 13px;
  color: #938F99;
}

/* ==========================================================================
   7. 扩展悬浮操作按钮 (Extended FAB) & 8. 底部提示栏 (Snackbar)
   ========================================================================== */
.extended-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  height: 56px;
  padding: 0 24px;
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-radius: var(--md-shape-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--md-elevation-3);
  z-index: 150;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.extended-fab:hover {
  box-shadow: var(--md-elevation-4);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.snackbar {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background-color: #313033;
  color: #F4EFF4;
  padding: 14px 24px;
  border-radius: var(--md-shape-xs);
  box-shadow: var(--md-elevation-3);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-standard), opacity var(--transition-standard);
  max-width: 90%;
  width: auto;
}

.snackbar.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.snackbar-action {
  color: var(--md-sys-color-primary-container);
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   移动端响应式适配 (@media 媒体查询)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-headline {
    font-size: 42px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .core-grid {
    grid-template-columns: 1fr;
  }
  .stream-ai-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nav-desktop-links {
    display: none;
  }
  .hero-headline {
    font-size: 34px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn-tonal,
  .hero-actions .btn-outlined {
    width: 100%;
    justify-content: center;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .node-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .status-chip {
    justify-self: start;
  }
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .extended-fab {
    right: 16px;
    bottom: 20px;
    height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }
}
