﻿/* ===================================================
   一雙跨境网络 · 公网主页样式 v4.0
   双主题 · GPU加速动效 · 响应式优化 · 60fps
   =================================================== */

/* ===== 浅色主题变量 ===== */
[data-theme="light"],
:root:not([data-theme]) {
  --bg-color: #F1F5F9;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --card-bg: #FFFFFF;
  --primary: #2563EB;
  --accent: #0891B2;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --success: #16A34A;
  --gradient: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --border-color: rgba(0, 0, 0, 0.07);
  --nav-btn-bg: rgba(0, 0, 0, 0.03);
  --nav-btn-border: rgba(0, 0, 0, 0.10);
  --hero-glow: rgba(37, 99, 235, 0.05);
  --live-panel-bg: #FFFFFF;
  --live-panel-header-bg: #F8FAFC;
  --live-panel-border: #E2E8F0;
  --live-table-header-bg: #F8FAFC;
  --live-table-row-border: rgba(0, 0, 0, 0.03);
  --code-bg: #F1F5F9;
  --code-border: #E2E8F0;
  --code-color: #7C3AED;
  --footer-bg: #F1F5F9;
  --footer-border: rgba(0, 0, 0, 0.06);
  --highlight-col-bg: rgba(37, 99, 235, 0.04);
  --highlight-col-border: rgba(37, 99, 235, 0.12);
  --btn-outline-color: var(--primary);
  --btn-outline-border: var(--primary);
  --btn-outline-hover-bg: var(--primary);
  --btn-outline-hover-color: #fff;
  --table-header-bg: #F8FAFC;
  --stat-glow: rgba(37, 99, 235, 0.06);
  --mobile-menu-bg: rgba(255, 255, 255, 0.97);
}

/* ===== 深色主题变量 ===== */
[data-theme="dark"] {
  --bg-color: #0A0F1E;
  --nav-bg: rgba(10, 15, 30, 0.92);
  --card-bg: #131D32;
  --primary: #3B82F6;
  --accent: #22D3EE;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --success: #10B981;
  --gradient: linear-gradient(135deg, #3B82F6 0%, #22D3EE 100%);
  --glass-bg: rgba(19, 29, 50, 0.85);
  --border-color: rgba(255, 255, 255, 0.10);
  --nav-btn-bg: rgba(255, 255, 255, 0.06);
  --nav-btn-border: rgba(255, 255, 255, 0.12);
  --hero-glow: rgba(59, 130, 246, 0.08);
  --live-panel-bg: #131D32;
  --live-panel-header-bg: #1a2744;
  --live-panel-border: rgba(255, 255, 255, 0.10);
  --live-table-header-bg: #1a2744;
  --live-table-row-border: rgba(255, 255, 255, 0.04);
  --code-bg: #0F192A;
  --code-border: rgba(255, 255, 255, 0.10);
  --code-color: #A78BFA;
  --footer-bg: #060B18;
  --footer-border: rgba(255, 255, 255, 0.08);
  --highlight-col-bg: rgba(34, 211, 238, 0.06);
  --highlight-col-border: rgba(34, 211, 238, 0.15);
  --btn-outline-color: var(--accent);
  --btn-outline-border: var(--accent);
  --btn-outline-hover-bg: var(--accent);
  --btn-outline-hover-color: #fff;
  --table-header-bg: rgba(255, 255, 255, 0.05);
  --stat-glow: rgba(34, 211, 238, 0.10);
  --mobile-menu-bg: rgba(10, 15, 30, 0.97);
}

/* ===== Dark mode text contrast fixes ===== */
[data-theme='dark'] .status-badge.online { background: rgba(16, 185, 129, 0.25); color: #6EE7B7; }
[data-theme='dark'] .code-block .comment { color: #9CA3AF; }
[data-theme='dark'] .btn-outline { color: #60A5FA; border-color: #60A5FA; }
[data-theme='dark'] .btn-outline:hover { color: #fff; background: var(--btn-outline-hover-bg); }
[data-theme='dark'] .mobile-menu-panel ul li a.active { background: rgba(255, 255, 255, 0.12); color: var(--accent); }

/* ===== View Transition API ===== */
@keyframes vtPageIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes vtPageOut {
  from { opacity: 1; }
  to   { opacity: 0; transform: translateY(-4px); }
}
::view-transition-old(root) {
  animation: vtPageOut 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
::view-transition-new(root) {
  animation: vtPageIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ===== 全局重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-family: 'MiSans', 'Xiaomi Sans', 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== 滚动动画系统（Intersection Observer 驱动） ===== */
.anim-up, .anim-left, .anim-right, .anim-scale, .anim-stagger {
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.anim-up           { transform: translateY(28px); }
.anim-left         { transform: translateX(-28px); }
.anim-right        { transform: translateX(28px); }
.anim-scale        { transform: scale(0.94); }
.anim-stagger      { transform: translateY(20px); }
.anim-up.show,
.anim-left.show,
.anim-right.show,
.anim-scale.show    { opacity: 1; transform: translate(0) scale(1); }
.anim-stagger.show  { opacity: 1; transform: translateY(0); }

.anim-stagger:nth-child(2) { transition-delay: 0.08s; }
.anim-stagger:nth-child(3) { transition-delay: 0.16s; }
.anim-stagger:nth-child(4) { transition-delay: 0.24s; }
.anim-stagger:nth-child(5) { transition-delay: 0.32s; }

/* ===== 性能优化：分段延迟渲染 ===== */
.section-content,
.footer-section,
.coverage-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.hero-section {
  content-visibility: visible;
}

/* ===== 导航栏 ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  will-change: transform;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 5%;
  max-width: 1400px;
  margin: auto;
}

.logo {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo img { height: 34px; width: auto; object-fit: contain; }

/* ===== 桌面导航链接 ===== */
.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width;
}

.nav-links li a:hover,
.nav-links li a.active { color: var(--text-main); }
.nav-links li a:hover::after,
.nav-links li a.active::after { width: 100%; }

.nav-btns { display: flex; gap: 12px; align-items: center; }

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  transition: all 0.2s ease;
}

.btn-login-outline {
  border: 1.5px solid var(--nav-btn-border);
  color: var(--text-main);
  background: transparent;
}
.btn-login-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-register-solid {
  background: var(--gradient);
  color: #fff;
  border: none;
}
.btn-register-solid:hover { opacity: 0.92; box-shadow: 0 0 18px rgba(37, 99, 235, 0.25); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
  z-index: 1001;
}

/* ===== 移动端滑入菜单 ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--mobile-menu-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}
.mobile-menu-panel.open {
  transform: translateX(0);
}

.mobile-menu-panel ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-panel ul li a {
  display: block;
  padding: 14px 16px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.2s ease;
  min-height: 48px;
}
.mobile-menu-panel ul li a:hover,
.mobile-menu-panel ul li a.active {
  background: var(--nav-btn-bg);
  color: var(--accent);
}

.mobile-menu-panel .nav-btns {
  margin-top: 2rem;
  flex-direction: column;
  width: 100%;
}
.mobile-menu-panel .nav-btns .btn-sm {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  padding: 12px;
  border-radius: 12px;
}

/* ===== 主体与容器 ===== */
main { padding-top: 72px; min-height: calc(100vh - 72px); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem);
}

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

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 3rem;
}

/* ===== 卡片 ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); align-items: stretch; }

.card {
  background: var(--card-bg);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.2rem, 2.5vw, 2rem);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
  contain: layout style;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(6, 182, 212, 0.1);
  border-color: var(--accent);
}

.card i:first-child { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; display: block; }

.card h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); margin-bottom: 0.8rem; color: var(--text-main); }

.card p { color: var(--text-muted); font-size: 0.95rem; }

.card .btn-outline { width: 100%; margin-top: auto; }

/* ===== 按钮 ===== */
.btn-main {
  background: var(--gradient);
  color: #fff;
  padding: clamp(12px, 2vw, 14px) clamp(24px, 4vw, 36px);
  text-decoration: none;
  border-radius: 30px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  will-change: transform;
  touch-action: manipulation;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(37, 99, 235, 0.28); }
.btn-main:active { transform: scale(0.97); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--btn-outline-border);
  color: var(--btn-outline-color);
  padding: 10px 30px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-weight: 600;
  transition: all 0.25s ease;
  will-change: transform;
  touch-action: manipulation;
}
.btn-outline:hover { background: var(--btn-outline-hover-bg); color: var(--btn-outline-hover-color); transform: translateY(-1px); }
.btn-outline:active { transform: scale(0.97); }

/* ===== Hero 区域 ===== */
.hero {
  text-align: center;
  padding: clamp(3.2rem, 7vw, 6.5rem) 2rem clamp(2.4rem, 5vw, 4.6rem);
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 38vh, 430px);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--border-color);
  background: color-mix(in srgb, var(--bg-color) 82%, var(--card-bg));
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("/images/world-network-map.svg") center / min(760px, 82vw) no-repeat,
    linear-gradient(180deg, rgba(255,255,255,0.32), transparent 72%);
  opacity: 0.14;
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  margin-bottom: 1.2rem;
  line-height: 1.2;
  font-weight: 800;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0;
}

.hero p {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  padding: 0 0.5rem;
}

.hero .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ===== 统计数据 ===== */
.stats-wrap {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: clamp(1.2rem, 3vw, 2rem);
  margin: 3rem auto 0;
  max-width: 1000px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 4px 24px var(--stat-glow);
}

.stat-item { text-align: center; flex: 1; min-width: 140px; }

.stat-item h4 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-item p { color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; font-weight: 600; }

/* ===== 首页新版排版 ===== */
.home-hero-section {
  position: relative;
  overflow: hidden;
  padding: 34px 0 18px;
  content-visibility: visible;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(8, 145, 178, 0.16), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(22, 163, 74, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.46), transparent 52%);
}

[data-theme="dark"] .home-hero-bg {
  background:
    radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.14), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(15,25,42,0.62), transparent 56%);
}

.home-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 34px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 16px;
}

.home-hero-copy {
  max-width: 720px;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(8, 145, 178, 0.22);
  background: rgba(8, 145, 178, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.home-kicker.compact {
  margin-bottom: 12px;
}

.home-hero-copy h1 {
  max-width: 760px;
  font-size: 3.1rem;
  line-height: 1.08;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 18px;
}

.home-hero-copy p {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.home-hero-actions,
.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-hero-actions {
  margin-bottom: 18px;
}

.home-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.home-trust-row i {
  color: var(--success);
}

.home-network-panel {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: color-mix(in srgb, var(--card-bg) 90%, transparent);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.11);
  padding: 18px;
  overflow: hidden;
}

.home-network-panel::before {
  content: "";
  position: absolute;
  inset: 58px 18px 112px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(100, 116, 139, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, 0.13) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, #000 55%, transparent 84%);
}

.home-network-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.home-network-head span,
.home-network-head em {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.home-network-head strong {
  display: block;
  color: var(--text-main);
  font-size: 1.05rem;
  margin-top: 2px;
}

.home-network-head em {
  color: var(--success);
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 999px;
  padding: 5px 9px;
}

.home-network-map {
  position: relative;
  z-index: 1;
  height: 268px;
  margin: 14px 0 12px;
  border: 1px solid rgba(8, 145, 178, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(rgba(100, 116, 139, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 50% 38%, rgba(8,145,178,0.12), transparent 42%),
    rgba(255,255,255,0.35);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

[data-theme="dark"] .home-network-map {
  background:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 50% 38%, rgba(34,211,238,0.12), transparent 42%),
    rgba(15, 25, 42, 0.58);
}

.home-world-map {
  position: absolute;
  inset: 18px 20px;
  background: url("/images/world-network-map.svg") center / contain no-repeat;
  opacity: 0.34;
  filter: saturate(1.1);
}

.home-network-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.home-network-routes line {
  stroke: url("#route-gradient");
  stroke: rgba(8, 145, 178, 0.72);
  stroke-width: 0.7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px rgba(8, 145, 178, 0.32));
  stroke-dasharray: 5 8;
  animation: routeFlow 2.6s linear infinite;
}

@keyframes routeFlow {
  to { stroke-dashoffset: -26; }
}

.home-network-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  min-width: 58px;
  min-height: 58px;
  padding: 8px 10px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  gap: 1px;
  text-align: center;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(8, 145, 178, 0.25);
  color: var(--accent);
  box-shadow: 0 10px 26px rgba(8, 145, 178, 0.16);
}

[data-theme="dark"] .home-network-node {
  background: rgba(19, 29, 50, 0.92);
}

.home-network-node::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 20px;
  border: 1px solid rgba(8, 145, 178, 0.2);
  animation: nodePulse 2.8s ease-out infinite;
}

@keyframes nodePulse {
  0% { transform: scale(0.82); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

.home-network-node strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1;
  font-weight: 850;
}

.home-network-node em {
  display: block;
  color: var(--text-muted);
  font-size: 0.64rem;
  font-style: normal;
  white-space: nowrap;
}

.home-network-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-height: 160px;
  overflow-y: auto;
  padding-right: 2px;
}

.home-network-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: rgba(255,255,255,0.48);
}

[data-theme="dark"] .home-network-list div {
  background: rgba(255,255,255,0.04);
}

.home-network-list span {
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 650;
}

.home-network-list strong {
  color: var(--success);
  font-size: 0.78rem;
  white-space: nowrap;
}

.home-metric-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 0;
}

.home-metric {
  padding: 18px 20px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.home-metric strong {
  display: block;
  color: var(--text-main);
  font-size: 1.7rem;
  line-height: 1.1;
}

.home-metric span {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 6px;
  font-weight: 650;
}

.home-live-section .container {
  padding-top: 12px;
  padding-bottom: 24px;
}

.home-section-head {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.home-section-head > span {
  color: var(--accent);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.home-section-head .section-subtitle {
  margin-bottom: 0;
}

.home-solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-solution-card {
  min-height: 320px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--card-bg);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-solution-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 145, 178, 0.34);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

.home-solution-card.compact {
  min-height: 210px;
  grid-column: span 1;
}

.home-solution-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
}

.home-solution-icon.tk { background: #111827; }
.home-solution-icon.live { background: #0891b2; }
.home-solution-icon.api { background: #16a34a; }
.home-solution-icon.ops { background: #d97706; }
.home-solution-icon.tone-0 { background: #111827; }
.home-solution-icon.tone-1 { background: #0891b2; }
.home-solution-icon.tone-2 { background: #16a34a; }
.home-solution-icon.tone-3 { background: #d97706; }

.home-solution-card strong {
  display: block;
  font-size: 1.22rem;
  margin-bottom: 7px;
}

.home-solution-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.home-solution-card ul {
  margin-top: auto;
  display: grid;
  gap: 8px;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.home-solution-card li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
  margin-right: 8px;
}

.home-solution-card > span:last-child {
  color: var(--primary);
  font-weight: 750;
  font-size: 0.9rem;
}

.home-coverage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 26px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px;
}

.home-coverage-panel .coverage-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.home-coverage-panel .btn-main {
  margin-top: 18px;
}

.home-region-stack {
  display: grid;
  gap: 10px;
}

.home-region-stack div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 3px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: rgba(8, 145, 178, 0.05);
}

.home-region-stack strong {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text-main);
  color: var(--card-bg);
  font-size: 0.82rem;
}

.home-region-stack span {
  color: var(--text-main);
  font-weight: 750;
}

.home-region-stack em {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: normal;
}

.home-integration-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.home-process-list {
  display: grid;
  gap: 10px;
}

.home-process-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--card-bg);
}

.home-process-list strong {
  color: var(--accent);
  font-size: 1rem;
}

.home-process-list span {
  color: var(--text-main);
  font-weight: 650;
}

/* ===== 实时IP面板 ===== */
.live-panel {
  background: var(--live-panel-bg);
  border: 1px solid var(--live-panel-border);
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 4rem;
  max-width: 1000px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.live-panel-header {
  background: var(--live-panel-header-bg);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 8px;
}

.live-panel-header h3 { font-size: clamp(0.9rem, 2vw, 1.05rem); display: flex; align-items: center; gap: 10px; font-weight: 600; }

.live-indicator {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  animation: pulseIndicator 1.5s infinite;
  will-change: transform, box-shadow;
}

@keyframes pulseIndicator {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.live-table-wrap { max-height: 260px; overflow-y: auto; }

.live-table { width: 100%; border-collapse: collapse; text-align: left; font-size: clamp(0.75rem, 1.5vw, 0.9rem); }

.live-table th {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  background: var(--live-panel-bg);
  z-index: 10;
}

.live-table td { padding: 10px 16px; font-size: 0.9rem; border-bottom: 1px solid var(--live-table-row-border); }

.live-table tbody tr { animation: tableSlideIn 0.35s ease-out; will-change: transform, opacity; }

@keyframes tableSlideIn {
  from { transform: translateY(-10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.ping { color: var(--success); font-weight: 600; }
.ping.high { color: #f59e0b; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

  background: rgba(16, 185, 129, 0.25);
.status-badge.warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.status-badge.error { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.status-badge.normal { background: rgba(100, 116, 139, 0.1); color: #94a3b8; border: 1px solid rgba(100, 116, 139, 0.2); }

/* ===== 告警容器 ===== */
.alert-container { margin-top: 15px; display: flex; flex-direction: column; gap: 8px; }

.alert-item {
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: alertSlideIn 0.3s ease-out;
  will-change: transform, opacity;
}

@keyframes alertSlideIn {
  from { transform: translateX(16px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

.alert-item.warning { background: rgba(245, 158, 11, 0.08); border-left: 4px solid #f59e0b; color: var(--text-main); }
.alert-item.error   { background: rgba(239, 68, 68, 0.08); border-left: 4px solid #ef4444; color: var(--text-main); }
.alert-item.success { background: rgba(16, 185, 129, 0.08); border-left: 4px solid var(--success); color: var(--text-main); }
.alert-item.info    { background: rgba(59, 130, 246, 0.08); border-left: 4px solid var(--primary); color: var(--text-main); }

.alert-time { color: var(--text-muted); font-family: monospace; font-size: 0.8rem; flex-shrink: 0; }

/* ===== 全球覆盖版块 ===== */
.coverage-box { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }

.coverage-text { flex: 1 1 300px; min-width: 0; }
.coverage-text ul { list-style: none; margin-top: 1.5rem; }
.coverage-text ul.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.coverage-text li {
  margin-bottom: 12px;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}
.coverage-text li i { color: var(--accent); font-size: 0.9rem; flex-shrink: 0; }

.coverage-map {
  flex: 1 1 200px;
  min-width: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coverage-map i { font-size: clamp(8rem, 15vw, 16rem); color: var(--accent); opacity: 0.15; }

/* ===== 接入流程版块 ===== */
.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(1rem, 2.5vw, 2rem); margin-top: 3rem; }

.step-item {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 340px;
  text-align: center;
  background: var(--card-bg);
  padding: clamp(1.2rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}
.step-item:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.08); }

.step-num {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
}
.step-item h3 { margin-bottom: 8px; color: var(--text-main); font-size: clamp(0.95rem, 1.5vw, 1.1rem); }
.step-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ===== 价格卡片 ===== */
.pricing-card {
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(6, 182, 212, 0.12); }
.pricing-card.popular {
  border: 2px solid var(--accent);
  transform: scale(1.05);
}
.pricing-card.popular:hover { transform: scale(1.05) translateY(-6px); }

.badge {
  position: absolute;
  top: 14px;
  right: -30px;
  background: var(--accent);
  color: #fff;
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: 700;
}

.price { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; margin: 1.5rem 0; color: var(--text-main); }
.price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }

.pricing-list { list-style: none; margin-bottom: 2rem; text-align: left; }
.pricing-list li { margin-bottom: 8px; color: var(--text-muted); font-size: 0.9rem; }
.pricing-list li i { color: var(--success); margin-right: 8px; font-size: 0.8rem; }

/* ===== 对比表格 ===== */
.comparison-table { width: 100%; border-collapse: collapse; border-radius: 16px; overflow: hidden; font-size: clamp(0.75rem, 1.5vw, 0.85rem); }
.comparison-table thead th { padding: 12px 12px; text-align: center; border-bottom: 2px solid var(--border-color); background: var(--table-header-bg); color: var(--text-main); font-weight: 600; font-size: 0.85rem; }
.comparison-table tbody td { padding: 12px 12px; text-align: center; border-bottom: 1px solid var(--border-color); font-size: 0.85rem; color: var(--text-muted); }
.highlight-col-header { border-top: 3px solid var(--accent) !important; }
.highlight-col { background: var(--highlight-col-bg); border-left: 1px solid var(--highlight-col-border); border-right: 1px solid var(--highlight-col-border); font-weight: 600; color: var(--accent); }

/* ===== 特性列表 ===== */
.feature-list { list-style: none; }
.feature-list li { margin-bottom: 10px; color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.feature-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.feature-list li i.fa-xmark { color: #ef4444; }

/* ===== 教程步骤 ===== */
.tutorial-step {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}
.tutorial-step h4 { margin-bottom: 8px; color: var(--text-main); font-size: 1rem; }

/* ===== 技术参数表 ===== */
.tech-specs {
  max-width: 900px;
  margin: 2rem auto 0;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--card-bg);
}
.tech-specs table { width: 100%; border-collapse: collapse; font-size: clamp(0.75rem, 1.5vw, 0.85rem); }
.tech-specs th {
  padding: 14px 20px;
  text-align: left;
  background: var(--table-header-bg);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  width: 200px;
}
.tech-specs td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--card-bg);
  margin-bottom: 0.8rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: border-color 0.2s ease;
}
.faq-item.active { border-color: var(--accent); }

.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  font-size: 0.95rem;
  min-height: 48px;
  touch-action: manipulation;
}
.faq-question i { font-size: 0.8rem; transition: transform 0.3s ease; color: var(--text-muted); }
.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer { padding: 0 1.5rem 1.5rem; max-height: 600px; }

/* ===== 联系表单 ===== */
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  width: 100%;
  min-height: 44px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }

/* ===== 工作流项 ===== */
.workflow-box { display: flex; flex-direction: column; gap: 16px; margin-top: 2rem; }

.workflow-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}
.workflow-item:hover { transform: translateX(4px); box-shadow: 0 4px 16px rgba(6, 182, 212, 0.06); }

.workflow-icon {
  width: 64px;
  height: 64px;
  background: var(--highlight-col-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* ===== 页脚 ===== */
footer {
  background: var(--footer-bg);
  padding: clamp(2rem, 4vw, 3rem) 5%;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid var(--footer-border);
}
.footer-links { margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  padding: 4px 0;
}
.footer-links a:hover { color: var(--accent); }
.footer-wechat-wrapper:hover .footer-wechat-qr { display: block !important; }

/* ===== 代码块 ===== */
.code-block {
  background: var(--code-bg);
  border-radius: 10px;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--code-border);
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  color: var(--code-color);
  text-align: left;
  overflow-x: auto;
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  line-height: 1.7;
  -webkit-overflow-scrolling: touch;
}
.code-block .keyword { color: #f472b6; }
.code-block .string  { color: #34d399; }

/* ===== 品牌标签 ===== */
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 6px 8px 0;
}

/* ===== 响应式断点 ===== */
@media (max-width: 1280px) {
  .container { max-width: 100%; }
}

@media (max-width: 1024px) {
  .container { padding: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2.5vw, 1.5rem); }
  .nav-container { padding: 0.75rem 3%; }
  .nav-links { gap: 1.2rem; }
  .nav-links li a { font-size: 0.85rem; }
  .home-hero-layout,
  .home-coverage-panel,
  .home-integration-grid {
    grid-template-columns: 1fr;
  }
  .home-hero-copy,
  .home-hero-copy p {
    max-width: none;
  }
  .home-network-panel {
    min-height: 380px;
  }
  .home-solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-solution-card,
  .home-solution-card.compact {
    grid-column: span 1;
  }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-btns .btn-sm:not(.btn-mobile-visible) { display: none; }
  .nav-btns .btn-sm.btn-mobile-visible { display: inline-flex; }
  .nav-btns { gap: 6px; }
  .nav-mobile-toggle { display: flex; align-items: center; justify-content: center; }

  .hero { padding: clamp(2.5rem, 5vw, 4rem) 1.25rem clamp(1.5rem, 3vw, 2.5rem); }
  .home-hero-section { padding-top: 16px; }
  .home-hero-layout { gap: 20px; padding-top: 20px; }
  .home-hero-copy h1 { font-size: 2.25rem; }
  .home-hero-copy p { font-size: 1rem; }
  .home-metric-strip { grid-template-columns: repeat(2, 1fr); }
  .home-network-map { height: 210px; }
  .stats-wrap { flex-direction: column; align-items: center; padding: clamp(1rem, 2vw, 1.5rem); gap: 0; }
  .stat-item { min-width: 100%; padding: 0.8rem 0; border-bottom: 1px solid var(--border-color); }
  .stat-item:last-child { border-bottom: none; }

  .container { padding: clamp(1.2rem, 2.5vw, 2rem) 1.25rem; }

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

  .coverage-box { flex-direction: column; }
  .coverage-map { order: -1; }

  .workflow-item { flex-direction: column; text-align: center; }
  .workflow-icon { margin: 0 auto; }

  .grid { grid-template-columns: 1fr; }
  .home-solution-grid { grid-template-columns: 1fr; }
  .home-coverage-panel { padding: 20px; }
  .steps { flex-direction: column; }
  .step-item { max-width: none; }

  .btn-sm { padding: 6px 14px; font-size: 0.8rem; }
  .btn-sm.btn-mobile-visible { padding: 6px 12px; font-size: 0.78rem; min-height: 36px; }

  .mobile-bottom-cta { display: flex; }
}

@media (max-width: 640px) {
  .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-hero-actions .btn-main,
  .home-hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
  .home-trust-row { gap: 8px; }
  .home-trust-row span { width: 100%; }
  .home-metric-strip { grid-template-columns: 1fr; }
  .home-network-panel { padding: 14px; min-height: 340px; }
  .home-network-panel::before { inset: 58px 14px 104px; }
  .home-network-map { height: 190px; }
  .home-network-node { min-width: 50px; min-height: 50px; border-radius: 14px; }
  .home-network-node strong { font-size: 0.82rem; }
  .home-network-node em { font-size: 0.58rem; }
  .home-network-list div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .home-solution-card { min-height: auto; padding: 20px; }
  .home-region-stack div,
  .home-process-list div {
    grid-template-columns: 1fr;
  }
  .home-region-stack strong {
    grid-row: auto;
  }
  .hero .btn-group { flex-direction: column; align-items: center; }
  .hero .btn-group .btn-main,
  .hero .btn-group .btn-outline { width: 100%; max-width: 320px; text-align: center; justify-content: center; }

  .live-panel-header { flex-direction: column; align-items: flex-start; }
  .live-table { font-size: 0.75rem; }
  .live-table th,
  .live-table td { padding: 8px 10px; }

  .tech-specs th { width: 120px; padding: 10px 12px; }
  .tech-specs td { padding: 10px 12px; font-size: 0.8rem; }

  .comparison-table { font-size: 0.7rem; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 8px 6px; }

  .coverage-text ul.grid-2 { grid-template-columns: 1fr; }

  .footer-links { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero .btn-group .btn-main,
  .hero .btn-group .btn-outline { max-width: 100%; }
  .btn-main { padding: 12px 24px; }
  .card { padding: 1.5rem 1.1rem; }

  .mobile-menu-panel { width: 100vw; }

  .mobile-bottom-cta { padding: 10px 12px; gap: 8px; }
  .mobile-bottom-cta .btn-sm { flex: 1; font-size: 0.88rem; padding: 10px 0; }
}

/* ===== 移动端底部 CTA 固定栏 ===== */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 998;
  padding: 12px 16px;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  justify-content: center;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.mobile-bottom-cta .btn-sm {
  flex: 1;
  max-width: 180px;
  font-size: 0.92rem;
  padding: 11px 0;
  border-radius: 24px;
  text-align: center;
}
