/* ===================================================================
   LinkCube - Fresh Sage-Mint Light Mode & Emerald Jade Design System
   纯原生 CSS (Pure Native CSS) - 零依赖、秒开性能、全设备高精度响应式
   =================================================================== */

:root {
  /* Fresh Sage-Mint Light Mode (默认明亮模式) */
  --bg-primary: #F5FBF8;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F0FDF4;
  --bg-translucent: rgba(255, 255, 255, 0.88);
  --bg-surface: #EBF7F0;
  
  --border-color: #D1E7DD;
  --border-light: #E2F0EA;
  --border-focus: #059669;

  --text-primary: #0F241B;
  --text-secondary: #2D4A3E;
  --text-muted: #52796F;
  --text-light: #84A98C;

  --primary-jade: #059669;
  --primary-hover: #047857;
  --accent-mint: #10B981;
  --mint-light: #ECFDF5;
  --mint-soft: rgba(16, 185, 129, 0.12);
  --seafoam-blur: rgba(167, 243, 208, 0.45);
  
  --brand-gradient: linear-gradient(135deg, #059669 0%, #10B981 100%);
  --brand-glow: rgba(5, 150, 105, 0.22);
  
  --shadow-sm: 0 1px 3px rgba(15, 36, 27, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 36, 27, 0.06), 0 1px 3px rgba(15, 36, 27, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 36, 27, 0.08), 0 4px 8px -2px rgba(15, 36, 27, 0.03);
  --shadow-xl: 0 20px 32px -8px rgba(5, 150, 105, 0.12), 0 8px 16px -4px rgba(15, 36, 27, 0.04);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --header-height: 72px;
  --transition-speed: 0.28s;
}

[data-theme="dark"] {
  /* Midnight Emerald / Deep Forest Obsidian (暗夜玉墨模式) */
  --bg-primary: #07140E;
  --bg-secondary: #0D2018;
  --bg-card: #12281E;
  --bg-card-hover: #173327;
  --bg-translucent: rgba(13, 32, 24, 0.9);
  --bg-surface: #10261D;

  --border-color: rgba(52, 211, 153, 0.18);
  --border-light: rgba(255, 255, 255, 0.06);
  --border-focus: #34D399;

  --text-primary: #F0FDF4;
  --text-secondary: #C7E8D8;
  --text-muted: #8FBCA7;
  --text-light: #52796F;

  --primary-jade: #10B981;
  --primary-hover: #34D399;
  --accent-mint: #34D399;
  --mint-light: rgba(16, 185, 129, 0.14);
  --mint-soft: rgba(52, 211, 153, 0.15);
  --seafoam-blur: rgba(16, 185, 129, 0.2);

  --brand-gradient: linear-gradient(135deg, #059669 0%, #34D399 100%);
  --brand-glow: rgba(52, 211, 153, 0.25);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 32px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

/* 容器布局 */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

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

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-jade);
  background-color: var(--mint-soft);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ================= 顶部悬浮导航栏 (Sticky White Glass Navbar) ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-translucent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

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

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.logo-wrap:hover {
  opacity: 0.88;
}

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

:root:not([data-theme="dark"]) .logo-dark {
  display: none !important;
}
:root:not([data-theme="dark"]) .logo-light {
  display: block !important;
}
[data-theme="dark"] .logo-light {
  display: none !important;
}
[data-theme="dark"] .logo-dark {
  display: block !important;
}

/* 导航链接 - 带翠绿动态下划线 (Animated Emerald Underline) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 550;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-jade);
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-jade);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
  left: 0;
}

/* 推荐资讯特殊 Badge */
.nav-link-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--primary-jade);
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  vertical-align: middle;
}

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

/* 昼夜模式切换按钮 (精致、透明质感、无粗糙 emoji) */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.theme-toggle-btn:hover {
  background: rgba(5, 150, 105, 0.16);
  color: var(--primary-jade);
  border-color: var(--primary-jade);
  transform: rotate(15deg);
}

.theme-icon-sun,
.theme-icon-moon {
  width: 19px;
  height: 19px;
  transition: transform 0.3s ease;
}

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

/* 按钮规范 (Pill-shaped Jade Button) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--brand-glow);
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--brand-glow);
  filter: brightness(1.06);
}

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

.btn-outline:hover {
  border-color: var(--primary-jade);
  color: var(--primary-jade);
  background-color: var(--bg-surface);
  transform: translateY(-2px);
}

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

.btn-block {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  background: transparent;
}

/* ================= 主视觉区 (Hero Section) ================= */
.hero {
  padding: calc(var(--header-height) + 56px) 0 84px 0;
  position: relative;
  overflow: hidden;
}

/* Slowly drifting soft seafoam and mint radial glows */
.hero-glow-left {
  position: absolute;
  top: 5%;
  left: -8%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--seafoam-blur) 0%, rgba(245, 251, 248, 0) 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
  animation: driftGlow 14s ease-in-out infinite alternate;
}

.hero-glow-right {
  position: absolute;
  top: 15%;
  right: -5%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--seafoam-blur) 0%, rgba(245, 251, 248, 0) 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  animation: driftGlow 18s ease-in-out infinite alternate-reverse;
}

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

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Top pill badge ("纯净原生节点 · 99.99% 在线" with clean signal-wave icon) */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.signal-wave-box {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.signal-bar {
  width: 3px;
  background: var(--primary-jade);
  border-radius: 1px;
}
.signal-bar-1 { height: 6px; }
.signal-bar-2 { height: 10px; }
.signal-bar-3 { height: 14px; }

/* Bold dark-forest headline ("LinkCube — 轻盈稳健的模块化全球加速") */
.hero-title {
  font-size: 3.4rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title .brand-highlight {
  color: var(--primary-jade);
}

/* Concise 2-line subtitle */
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Dual rounded CTAs (solid jade green + crisp white bordered) */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* 3-column animated metric row ("120+ 全球节点", "10Gbps 专线带宽", "24/7 技术支持") */
.hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 36px auto;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-jade);
}

.metric-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-jade);
  line-height: 1.15;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ================= Interactive Cube Ping Strip =================
   Frosted white bar where clicking region cubes triggers emerald ripple & updates live ms latency */
.ping-strip-container {
  max-width: 900px;
  margin: 0 auto;
}

.ping-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ping-strip-intro {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ping-pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-jade);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: pulseJade 1.8s infinite;
}

@keyframes pulseJade {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.ping-strip-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ping-regions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.region-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.region-btn:hover {
  border-color: var(--primary-jade);
  color: var(--primary-jade);
}

.region-btn.active {
  background: var(--mint-soft);
  border-color: var(--primary-jade);
  color: var(--primary-jade);
  font-weight: 700;
}

.region-icon-cube {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.ping-live-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.ping-live-ms {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-jade);
  font-variant-numeric: tabular-nums;
  transition: all 0.2s ease;
}

.ping-live-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================= 核心优势 Bento Grid (3个图文卡片) =================
   Pure white cards with 1px sage borders, gentle 3D physics, soft emerald hover shadows,
   Strictly technical line icons (cube nodes, lock shields, signal waves). */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-jade);
}

.technical-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--mint-soft);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-jade);
  margin-bottom: 24px;
  transition: transform 0.25s ease;
}

.feature-bento-card:hover .technical-icon-box {
  transform: scale(1.08);
}

.technical-icon-box svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

/* ================= 流媒体图卡 & AI 支持图卡 ================= */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-jade);
}

.showcase-card-header {
  margin-bottom: 26px;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  background: var(--mint-soft);
  color: var(--primary-jade);
  border: 1px solid var(--border-color);
}

.showcase-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.showcase-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.icon-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.icon-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.icon-pill:hover {
  border-color: var(--primary-jade);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.icon-pill svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.showcase-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.showcase-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.showcase-feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--primary-jade);
  flex-shrink: 0;
}

/* ================= 套餐价格对比表 (真实参考价 + 计费周期切换) ================= */
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}

.billing-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.billing-label.active {
  color: var(--primary-jade);
  font-weight: 700;
}

.billing-switch {
  position: relative;
  width: 56px;
  height: 30px;
  background-color: var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.billing-switch.annual {
  background-color: var(--primary-jade);
}

.billing-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background-color: #FFFFFF;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.billing-switch.annual .billing-switch-thumb {
  transform: translateX(26px);
}

.discount-pill {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--mint-soft);
  color: var(--primary-jade);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.pricing-card.featured {
  border: 2px solid var(--primary-jade);
  box-shadow: 0 12px 32px var(--brand-glow);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px var(--brand-glow);
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 26px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-jade);
}

.amount {
  font-size: 2.85rem;
  font-weight: 850;
  color: var(--text-primary);
  line-height: 1;
}

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

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

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

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary-jade);
  flex-shrink: 0;
}

.pricing-feature-item.muted {
  color: var(--text-light);
  text-decoration: line-through;
}

.pricing-feature-item.muted svg {
  color: var(--text-light);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-jade);
  box-shadow: var(--shadow-md);
}

.review-rating {
  display: flex;
  gap: 4px;
  color: #10B981;
  margin-bottom: 16px;
}

.review-rating svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.review-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--primary-jade);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  border: 1px solid var(--border-color);
}

.user-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: var(--primary-jade);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 22px 26px;
  font-size: 1.06rem;
  font-weight: 650;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

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

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

.faq-item[open] .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--primary-jade);
}

.faq-answer {
  padding: 0 26px 24px 26px;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= 底部行动召唤 (Bottom CTA) ================= */
.cta-banner {
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner h2 {
  font-size: 2.3rem;
  font-weight: 850;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto 34px auto;
}

.btn-white {
  background: #FFFFFF;
  color: var(--primary-jade);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #F0FDF4;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

/* ================= 页脚 (规范：仅保留 4 个标题：网站地图、关于我们、服务条款、隐私政策) ================= */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 50px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

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

.footer-link {
  font-size: 0.96rem;
  font-weight: 550;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.footer-link:hover {
  color: var(--primary-jade);
  text-decoration: underline;
}

.footer-divider {
  width: 100%;
  max-width: 440px;
  height: 1px;
  background-color: var(--border-color);
  margin: 6px 0;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ================= 子页面规范布局 (about, terms, privacy, sitemap, 推荐资讯) ================= */
.subpage-hero {
  padding: calc(var(--header-height) + 54px) 0 44px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.subpage-hero h1 {
  font-size: 2.5rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.subpage-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.subpage-article {
  max-width: 880px;
  margin: 48px auto 96px auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.article-section {
  margin-bottom: 40px;
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-section h2 {
  font-size: 1.55rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-section h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--primary-jade);
  border-radius: 2px;
}

.article-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-section ul {
  padding-left: 22px;
  list-style-type: disc;
  margin-bottom: 16px;
}

.article-section li {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 10px;
}

.highlight-box {
  background: var(--bg-surface);
  border-left: 4px solid var(--primary-jade);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 22px 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* 推荐资讯卡片流 */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-jade);
  box-shadow: var(--shadow-md);
}

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

.news-category-tag {
  background: var(--mint-soft);
  color: var(--primary-jade);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.news-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-summary {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--primary-jade);
}

.news-read-more:hover {
  text-decoration: underline;
}

/* 网站地图网格 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sitemap-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  background: var(--bg-primary);
}

.sitemap-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.sitemap-card ul {
  list-style: none;
  padding: 0;
}

.sitemap-card li {
  margin-bottom: 12px;
}

.sitemap-card a {
  color: var(--primary-jade);
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sitemap-card a:hover {
  text-decoration: underline;
}

/* ================= 响应式媒体查询 (@media) ================= */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.1rem;
  }
  .hero-title {
    font-size: 2.85rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .news-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .section {
    padding: 68px 0;
  }
  .hero {
    padding: calc(var(--header-height) + 32px) 0 54px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 52px;
  }
  .hero-metrics-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .ping-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  .ping-regions-group {
    justify-content: center;
  }
  .ping-live-display {
    justify-content: center;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 8px 0;
    width: 100%;
  }

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

  .icon-pills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .showcase-card {
    padding: 26px 20px;
  }

  .cta-banner {
    padding: 44px 20px;
  }
  .cta-banner h2 {
    font-size: 1.75rem;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .subpage-article {
    padding: 26px 20px;
    margin: 32px auto 64px auto;
  }
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .metric-value {
    font-size: 1.75rem;
  }
  .icon-pills-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    min-height: 48px;
  }
}

/* ===================================================================
   SEO 长篇技术文章排版样式 (Article Typography & Magazine Layout)
   =================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary-jade);
}

.breadcrumb-separator {
  color: var(--text-light);
}

.article-header {
  padding: calc(var(--header-height) + 40px) 0 32px 0;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.article-header-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.article-main-title {
  font-size: 2.5rem;
  font-weight: 850;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 16px 0 20px 0;
  letter-spacing: -0.02em;
}

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

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

.article-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary-jade);
}

.article-container {
  max-width: 900px;
  margin: 40px auto 80px auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

/* 目录 (TOC) */
.article-toc {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}

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

.toc-title svg {
  width: 18px;
  height: 18px;
  color: var(--primary-jade);
}

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

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

.toc-list a {
  color: var(--text-secondary);
  transition: color 0.2s;
  display: inline-block;
  padding: 2px 0;
}

.toc-list a:hover {
  color: var(--primary-jade);
  text-decoration: underline;
}

.toc-sublist {
  padding-left: 20px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-sublist li a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 文章正文 */
.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 44px 0 18px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 24px;
  background: var(--primary-jade);
  border-radius: 3px;
}

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

.article-body p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
}

.article-body li {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 10px;
}

/* 提示框 */
.article-callout {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.callout-info {
  background: var(--bg-surface);
  border-left: 4px solid var(--primary-jade);
  color: var(--text-secondary);
}

.callout-tip {
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  color: #92400E;
}

[data-theme="dark"] .callout-tip {
  background: rgba(245, 158, 11, 0.15);
  color: #FCD34D;
}

/* 表格 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

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

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

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

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

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

/* 内链高亮 */
.seo-internal-link {
  color: var(--primary-jade);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.seo-internal-link:hover {
  color: var(--primary-hover);
}

/* 相关阅读网格 */
.related-posts-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.related-posts-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
}

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

.related-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s;
}

.related-card:hover {
  border-color: var(--primary-jade);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

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

.related-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .article-container {
    padding: 24px 20px;
    margin: 24px auto 60px auto;
  }
  .article-main-title {
    font-size: 1.85rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}
