/* ===================================================================
   红杏云 (HongXing Cloud) - 官方顶级网络专线加速架构样式
   Clean Light Frosted Glassmorphism & Interactive Coral-Azure UI
   纯原生 CSS3 | 零外部依赖 | 毫秒级秒开 | 交互测速条 | 周期计费切换
   =================================================================== */

/* --- 1. CSS变量体系 (默认明亮磨砂白底，丝滑深色无缝适配) --- */
:root {
  /* 基础与表面颜色 (Clean Light Frosted Glassmorphism) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.78);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-heavy: rgba(255, 255, 255, 0.9);
  
  /* 文字系统 */
  --text-primary: #0f172a;        /* Deep slate */
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverted: #f8fafc;
  
  /* 边框体系 */
  --border-color: rgba(226, 232, 240, 0.85);
  --border-subtle: rgba(226, 232, 240, 0.5);
  --border-focus: #ff6b5b;

  /* 核心专属品牌调色板 (Pastel Coral & Sky-Blue) */
  --coral-red: #ff6b5b;
  --coral-glow: rgba(255, 107, 91, 0.35);
  --coral-soft-bg: rgba(255, 107, 91, 0.08);
  --sky-blue: #0ea5e9;
  --sky-glow: rgba(14, 165, 233, 0.3);
  --sky-soft-bg: rgba(14, 165, 233, 0.08);
  --emerald-green: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);

  /* 渐变体系 */
  --coral-gradient: linear-gradient(135deg, #ff6b5b 0%, #f43f5e 100%);
  --azure-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  --coral-azure-gradient: linear-gradient(135deg, #ff6b5b 0%, #f43f5e 45%, #0ea5e9 100%);
  --ambient-peach: radial-gradient(circle, rgba(255, 241, 238, 0.9) 0%, rgba(255, 237, 233, 0.4) 50%, transparent 75%);
  --ambient-blue: radial-gradient(circle, rgba(224, 242, 254, 0.8) 0%, rgba(224, 242, 254, 0.3) 50%, transparent 75%);
  
  --shadow-sm: 0 2px 6px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 22px -3px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.08);
  --shadow-coral: 0 8px 24px rgba(255, 107, 91, 0.35);
  --shadow-azure: 0 8px 24px rgba(14, 165, 233, 0.28);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1240px;
}

/* --- 2. 深度暗夜模式 (Sleek Dark Mode Obsidian Canvas) --- */
[data-theme="dark"] {
  --bg-primary: #0b0f19;          /* Deep slate obsidian */
  --bg-secondary: #0f172a;
  --bg-tertiary: #131a2a;
  --bg-card: rgba(19, 26, 42, 0.8);
  --bg-card-hover: rgba(25, 34, 56, 0.95);
  --bg-glass: rgba(11, 15, 25, 0.88);
  --bg-glass-heavy: rgba(15, 23, 42, 0.92);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverted: #0b0f19;
  
  --border-color: #1e293b;
  --border-subtle: rgba(30, 41, 59, 0.6);
  --border-focus: #ff6b5b;
  
  --coral-soft-bg: rgba(255, 107, 91, 0.12);
  --sky-soft-bg: rgba(14, 165, 233, 0.12);

  --ambient-peach: radial-gradient(circle, rgba(255, 107, 91, 0.15) 0%, rgba(255, 107, 91, 0.03) 50%, transparent 70%);
  --ambient-blue: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0.03) 50%, transparent 70%);
  
  --shadow-sm: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -3px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 40px -6px rgba(0, 0, 0, 0.8);
}

/* --- 3. 基础重置与全局排版 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img, svg {
  vertical-align: middle;
}

ul, ol {
  list-style: none;
}

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

section[id] {
  scroll-margin-top: 88px;
}

/* --- 4. 柔和漂移环境光晕 (Soft Drifting Ambient Mesh Blurs) --- */
.ambient-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow-peach-mesh {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 750px;
  height: 750px;
  background: var(--ambient-peach);
  filter: blur(60px);
  animation: meshDrift 14s ease-in-out infinite alternate;
}

.glow-blue-mesh {
  position: absolute;
  top: 200px;
  left: -100px;
  width: 800px;
  height: 800px;
  background: var(--ambient-blue);
  filter: blur(70px);
  animation: meshDrift 16s ease-in-out infinite alternate-reverse;
}

@keyframes meshDrift {
  0% { transform: scale(1) translate(0, 0); opacity: 0.85; }
  50% { transform: scale(1.08) translate(30px, 20px); opacity: 1; }
  100% { transform: scale(0.96) translate(-25px, 25px); opacity: 0.8; }
}

/* --- 5. 顶栏导航 (Sticky Frosted Glass Navbar) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-decoration: none;
}

.site-logo-img {
  height: 36px;
  width: auto;
  max-width: 190px;
  display: block;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.03);
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: var(--coral-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 107, 91, 0.35);
  position: relative;
  overflow: hidden;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--coral-red);
}

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

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

.nav-links .nav-news-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--sky-blue);
  font-weight: 650;
}
.nav-links .nav-news-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--sky-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--sky-blue);
  animation: pulsePoint 2s infinite;
}

@keyframes pulsePoint {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

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

.lang-indicator {
  display: flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--coral-soft-bg);
  border: 1px solid rgba(255, 107, 91, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--coral-red);
  user-select: none;
}

.lang-indicator span.active {
  font-weight: 750;
  color: var(--coral-red);
}

/* 昼夜切换按钮 */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-fast);
  outline: none;
  position: relative;
}

.theme-toggle-btn:hover {
  background: var(--coral-soft-bg);
  border-color: var(--coral-red);
  box-shadow: 0 0 16px var(--coral-glow);
  transform: translateY(-2px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.sun-icon {
  display: block;
  color: #f59e0b;
}
.moon-icon {
  display: none;
  color: var(--sky-blue);
}

[data-theme="dark"] .sun-icon {
  display: none;
}
[data-theme="dark"] .moon-icon {
  display: block;
}

/* --- 6. 按钮系统 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
  font-size: 0.95rem;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-coral {
  background: var(--coral-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(255, 107, 91, 0.38);
}

.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 107, 91, 0.55);
}

.btn-azure {
  background: var(--sky-soft-bg);
  color: var(--sky-blue) !important;
  border: 1px solid rgba(14, 165, 233, 0.35);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
}

.btn-azure:hover {
  background: rgba(14, 165, 233, 0.16);
  border-color: var(--sky-blue);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* --- 7. 主视觉区 (Hero Section) --- */
.hero-section {
  padding: 85px 0 50px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral-soft-bg);
  border: 1px solid rgba(255, 107, 91, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--coral-red);
  margin-bottom: 24px;
}

.hero-pill-badge svg {
  animation: pulsePoint 2s infinite;
}

.hero-headline {
  font-size: 3.4rem;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-primary);
}

.text-gradient-coral-blue {
  background: var(--coral-azure-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 28px;
}

.hero-intro-card {
  max-width: 840px;
  margin: 0 auto 36px;
  padding: 18px 28px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.hero-intro-card svg {
  color: var(--sky-blue);
  flex-shrink: 0;
}

.hero-intro-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.metric-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1;
}

.metric-number.coral {
  color: var(--coral-red);
}

.metric-number.azure {
  color: var(--sky-blue);
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ===================================================================
   8. 新增核心交互：节点时延实时测速条 (Interactive Node Latency Strip)
   =================================================================== */
.latency-strip-wrapper {
  max-width: 960px;
  margin: 40px auto 0;
  padding: 0 10px;
}

.latency-strip-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.latency-strip-card:hover {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(14, 165, 233, 0.1);
}

.latency-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.latency-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.latency-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--emerald-green);
  box-shadow: 0 0 10px var(--emerald-green);
  animation: pulsePoint 1.8s infinite;
}

.latency-header-title {
  font-size: 1rem;
  font-weight: 750;
  color: var(--text-primary);
}

.latency-header-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 区域切换药丸按钮组 */
.region-pills-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.region-pill {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.region-pill:hover {
  color: var(--sky-blue);
  border-color: rgba(14, 165, 233, 0.4);
  background: var(--sky-soft-bg);
}

.region-pill.active {
  background: var(--azure-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(14, 165, 233, 0.35);
}

/* 实时测速仪表与动态波形显示区 */
.latency-display-board {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.latency-value-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.latency-ms-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--emerald-green);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.latency-ms-number span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.latency-node-tag {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 600;
}

/* 动态信号波形动画条 (Animated Latency Signal Waveform) */
.latency-waveform-box {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  overflow: hidden;
}

.latency-waveform-box svg {
  width: 100%;
  height: 100%;
}

.wave-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawWave 2.5s infinite linear;
}

@keyframes drawWave {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}

.latency-metrics-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.mini-metric-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  font-size: 0.85rem;
}

.mini-metric-row .label {
  color: var(--text-muted);
}

.mini-metric-row .val {
  font-weight: 700;
  color: var(--text-primary);
}

/* --- 9. 通用板块标题 --- */
.section-wrapper {
  padding: 85px 0;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border-color);
}

.section-wrapper.bg-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--coral-red);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 850;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* --- 10. 核心优势板块 (为什么选择我们：微拓扑动效卡片) --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.adv-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.adv-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-card-hover);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 107, 91, 0.12);
  border-color: rgba(255, 107, 91, 0.35);
}

.topo-visual-box {
  width: 100%;
  height: 90px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.pulse-packet {
  animation: packetMove 3s infinite linear;
}

@keyframes packetMove {
  0% { stroke-dashoffset: 60; opacity: 0.3; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}

.adv-card h3 {
  font-size: 1.35rem;
  font-weight: 750;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.adv-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.adv-card-list {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adv-card-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.adv-card-list svg {
  color: var(--coral-red);
  flex-shrink: 0;
}

/* --- 11. 流媒体 & AI 专线图卡 --- */
.media-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-showcase-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.4);
}

.feature-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--coral-azure-gradient);
}

.badge-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--coral-soft-bg);
  border: 1px solid rgba(255, 107, 91, 0.3);
  color: var(--coral-red);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 750;
  width: fit-content;
  margin-bottom: 18px;
}

.badge-banner.azure {
  background: var(--sky-soft-bg);
  border-color: rgba(14, 165, 233, 0.3);
  color: var(--sky-blue);
}

.feature-showcase-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 14px;
}

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

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.tag-pill:hover {
  background: var(--coral-soft-bg);
  border-color: var(--coral-red);
  color: var(--coral-red);
}

/* ===================================================================
   12. 新增核心交互：计费周期动态切换器 (Interactive Pricing Toggle)
   =================================================================== */
.pricing-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -25px auto 45px;
}

.pricing-switch-container {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 5px;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.billing-cycle-btn {
  padding: 9px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.billing-cycle-btn:hover {
  color: var(--coral-red);
}

.billing-cycle-btn.active {
  background: var(--coral-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 107, 91, 0.4);
}

.cycle-discount-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.billing-cycle-btn:not(.active) .cycle-discount-pill {
  background: var(--coral-soft-bg);
  color: var(--coral-red);
}

/* 套餐卡片布局 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.pricing-card.featured {
  border: 2px solid var(--coral-red);
  box-shadow: 0 0 35px rgba(255, 107, 91, 0.22);
}

.featured-ribbon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral-gradient);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 4px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(255, 107, 91, 0.45);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
}

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

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

.price-currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--coral-red);
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.2px;
  transition: var(--transition-fast);
}

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

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--coral-red);
}

.pricing-features li.dimmed {
  color: var(--text-muted);
  opacity: 0.55;
}

.pricing-features li.dimmed svg {
  color: var(--text-muted);
}

/* --- 13. 用户评价 (Testimonials) --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 91, 0.4);
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.review-quote {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--coral-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 750;
  font-size: 1rem;
}

.reviewer-info h4 {
  font-size: 0.96rem;
  font-weight: 700;
}

.reviewer-info p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* --- 14. 常见问题解答 (FAQ) --- */
.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: rgba(255, 107, 91, 0.35);
}

.faq-question {
  width: 100%;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--coral-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.68;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

/* --- 15. 页脚规范 (严格只保留四个标题，在新页面展示) --- */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 50px 0;
  margin-top: auto;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--coral-red);
  background: var(--coral-soft-bg);
}

/* --- 16. 子页面布局与通用规范 --- */
.page-container {
  padding: 60px 0 100px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header-box {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.page-header-box h1 {
  font-size: 2.6rem;
  font-weight: 850;
  margin-bottom: 12px;
  letter-spacing: -0.6px;
}

.page-header-box p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.article-content {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.85;
}

.article-content h2 {
  font-size: 1.65rem;
  color: var(--text-primary);
  margin: 44px 0 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-content h2::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 24px;
  background: var(--coral-gradient);
  border-radius: 3px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin-bottom: 26px;
  padding-left: 22px;
}

.article-content ul li {
  list-style: disc;
  margin-bottom: 10px;
}

.article-content ol li {
  list-style: decimal;
  margin-bottom: 10px;
}

.content-box-highlight {
  background: var(--coral-soft-bg);
  border: 1px solid rgba(255, 107, 91, 0.3);
  border-radius: var(--radius-md);
  padding: 26px;
  margin: 30px 0;
}

.content-box-highlight h4 {
  color: var(--coral-red);
  font-weight: 750;
  margin-bottom: 10px;
}

/* 推荐资讯子页面专用样式 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.news-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(14, 165, 233, 0.15);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-tag {
  padding: 3px 10px;
  background: var(--sky-soft-bg);
  color: var(--sky-blue);
  border-radius: var(--radius-full);
  font-weight: 700;
}

.news-card h3 {
  font-size: 1.35rem;
  font-weight: 750;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.4;
}

.news-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* 网站地图样式 */
.sitemap-group {
  margin-bottom: 32px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
}

.sitemap-group h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.sitemap-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.sitemap-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 550;
}

.sitemap-links a:hover {
  color: var(--coral-red);
}

/* --- 17. 响应式适配 (Media Queries) --- */
@media (max-width: 1080px) {
  .nav-links {
    gap: 14px;
  }
  .advantages-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    order: -1;
    grid-column: span 2;
  }
  .latency-display-board {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .latency-waveform-box {
    grid-column: span 2;
    order: 3;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .lang-indicator {
    display: none;
  }
  .hero-headline {
    font-size: 2.2rem;
    letter-spacing: -0.6px;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-intro-card {
    flex-direction: column;
    text-align: center;
  }
  .hero-metrics-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 52px;
  }
  .latency-strip-card {
    padding: 20px 16px;
  }
  .region-pills-group {
    width: 100%;
  }
  .region-pill {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
  .latency-display-board {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .latency-value-box {
    align-items: center;
    text-align: center;
  }
  .latency-metrics-mini {
    text-align: center;
    align-items: center;
  }
  .latency-waveform-box {
    grid-column: span 1;
  }
  .pricing-switch-container {
    width: 100%;
    justify-content: space-between;
  }
  .billing-cycle-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  .advantages-grid,
  .media-ai-grid,
  .pricing-grid,
  .testimonials-grid,
  .news-grid,
  .sitemap-links {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    grid-column: span 1;
  }
  .adv-card, .pricing-card, .review-card, .feature-showcase-card {
    padding: 30px 22px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-link {
    font-size: 1.1rem;
    width: 100%;
    display: block;
    padding: 10px;
  }
}


/* --- 18. SEO长篇科普文章专用扩展样式 (Article & SEO Enhancement) --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--coral-red);
}

.article-header {
  margin-bottom: 35px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
  font-size: 2.35rem;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.6px;
  color: var(--text-primary);
  margin: 14px 0 16px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 目录导航 (Table of Contents) */
.toc-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--coral-red);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0 38px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list li {
  list-style: none;
  font-size: 0.95rem;
}

.toc-list a {
  color: var(--text-secondary);
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toc-list a:hover {
  color: var(--coral-red);
  transform: translateX(4px);
}

/* 正文排版与细节优化 */
.article-body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.88;
}

.article-body h2 {
  font-size: 1.65rem;
  color: var(--text-primary);
  margin: 44px 0 18px;
  font-weight: 800;
  scroll-margin-top: 90px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h2::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 22px;
  background: var(--coral-gradient);
  border-radius: 3px;
}

.article-body h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 28px 0 14px;
  font-weight: 750;
  scroll-margin-top: 90px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 700;
}

.article-body a {
  color: var(--coral-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--sky-blue);
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 22px;
}

.article-body ul li {
  list-style: disc;
  margin-bottom: 10px;
}

.article-body ol li {
  list-style: decimal;
  margin-bottom: 10px;
}

/* 结构化技术对比表格 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 26px 0 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.article-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 750;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-table tr:hover td {
  background: var(--coral-soft-bg);
}

/* 关键知识提炼高亮盒 */
.info-callout {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--sky-blue);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.info-callout h4 {
  color: var(--sky-blue);
  font-weight: 750;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 文章内置高转化 CTA 横幅 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 107, 91, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  margin: 45px 0;
  box-shadow: var(--shadow-sm);
}

.article-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 850;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.article-cta-box p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 620px;
  margin: 0 auto 22px;
}

/* 文章专用 FAQ */
.article-faq-wrapper {
  margin: 45px 0;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.article-faq-wrapper h2 {
  margin-top: 0;
  margin-bottom: 22px;
}

/* 相关阅读推荐模块 (Related Articles) */
.related-reading-box {
  margin-top: 60px;
  padding-top: 35px;
  border-top: 1px solid var(--border-color);
}

.related-reading-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none !important;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 91, 0.4);
  box-shadow: var(--shadow-md);
}

.related-tag {
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--coral-red);
  margin-bottom: 8px;
}

.related-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 8px;
  flex-grow: 1;
}

.related-read-more {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--sky-blue);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

@media (max-width: 820px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-header h1 {
    font-size: 1.85rem;
  }
}
