/* ==========================================================================
   闪电猫机场 (SpeedCat) - 官方知识百科与旗舰落地页
   站点域名: speed-cat.wiki
   纯原生 CSS3 · 零外部重型依赖 · 极致秒开与卓越视觉体验
   ========================================================================== */

:root {
  --bg-main: #06080d;
  --bg-secondary: #0b0f19;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(26, 38, 66, 0.88);
  --bg-glass: rgba(12, 18, 30, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 158, 11, 0.45);
  --border-cyan: rgba(6, 182, 212, 0.45);

  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #0f172a;

  --amber-primary: #f59e0b;
  --amber-light: #fbbf24;
  --amber-glow: rgba(245, 158, 11, 0.35);
  
  --cyan-primary: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-glow: rgba(6, 182, 212, 0.35);

  --green-status: #10b981;
  --purple-accent: #8b5cf6;

  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f97316 100%);
  --grad-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --grad-card: linear-gradient(180deg, rgba(19, 29, 51, 0.8) 0%, rgba(10, 16, 28, 0.9) 100%);
  --grad-featured: linear-gradient(180deg, rgba(38, 30, 16, 0.85) 0%, rgba(16, 24, 42, 0.95) 100%);

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

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-amber: 0 0 35px rgba(245, 158, 11, 0.28);
  --shadow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);

  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-stack);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 容器规范 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   动态背景系统 (纯原生 CSS 动画 - 零卡顿/60FPS/秒开无阻碍)
   ========================================================================== */
.dynamic-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.dynamic-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  will-change: transform;
}

.orb-1 {
  top: -10%;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #f59e0b 0%, rgba(245, 158, 11, 0) 70%);
  animation: floatOrb1 18s ease-in-out infinite alternate;
}

.orb-2 {
  top: 35%;
  right: -8%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.orb-3 {
  bottom: -15%;
  left: 25%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
  animation: floatOrb3 25s ease-in-out infinite alternate;
}

.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,1) 40%, rgba(0,0,0,0.15) 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,1) 40%, rgba(0,0,0,0.15) 85%);
}

/* ==========================================================================
   闪电猫专属：真实动态闪电与全景电弧系统 (纯原生 CSS 动画 - 零依赖/60FPS)
   ========================================================================== */
.lightning-flash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 20%, rgba(245, 158, 11, 0.32) 0%, rgba(6, 182, 212, 0.25) 45%, transparent 80%);
  opacity: 0;
  pointer-events: none;
  animation: lightningSkyFlash 7.5s infinite ease-out;
}

.lightning-svg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

/* 闪电描边与发光 */
.lightning-glow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightning-glow.amber {
  stroke: #f59e0b;
  stroke-width: 6px;
  filter: url(#lightningGlowAmber);
  opacity: 0.9;
}

.lightning-glow.cyan {
  stroke: #00f0ff;
  stroke-width: 6px;
  filter: url(#lightningGlowCyan);
  opacity: 0.9;
}

.lightning-core {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px #ffffff);
}

/* 闪电组 1 动画：周期 7.5s，在 32% 时刻产生真实双脉冲闪电 */
.strike-1 {
  opacity: 0;
  animation: lightningStrikeCycle1 7.5s infinite;
}

/* 闪电组 2 动画：周期 9.8s，在 62% 时刻产生极速穿梭闪电 */
.strike-2 {
  opacity: 0;
  animation: lightningStrikeCycle2 9.8s infinite;
  animation-delay: 1.5s;
}

/* 闪电组 3 动画：周期 12s，交错高空裂变 */
.strike-3 {
  opacity: 0;
  animation: lightningStrikeCycle3 12s infinite;
  animation-delay: 3.8s;
}

/* 真实闪电双重回击脉冲关键帧 (Double-Stroke Return Flash) */
@keyframes lightningStrikeCycle1 {
  0%, 31.9% {
    opacity: 0;
    transform: scale(1);
  }
  /* 第一次先导闪电 */
  32% {
    opacity: 0.75;
  }
  32.4% {
    opacity: 0.15;
  }
  /* 第二次主干强力回击 */
  32.8% {
    opacity: 1;
    transform: scale(1.002);
  }
  33.5% {
    opacity: 0.85;
  }
  34.2% {
    opacity: 0.3;
  }
  35% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}

@keyframes lightningStrikeCycle2 {
  0%, 61.9% {
    opacity: 0;
  }
  62% {
    opacity: 0.85;
  }
  62.3% {
    opacity: 0.2;
  }
  62.7% {
    opacity: 1;
  }
  63.4% {
    opacity: 0.65;
  }
  64.2% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes lightningStrikeCycle3 {
  0%, 79.9% {
    opacity: 0;
  }
  80% {
    opacity: 0.9;
  }
  80.4% {
    opacity: 0.25;
  }
  80.8% {
    opacity: 1;
  }
  81.5% {
    opacity: 0.55;
  }
  82.3% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* 天空与背景网格的闪电辉光同步闪烁 */
@keyframes lightningSkyFlash {
  0%, 31.8% {
    opacity: 0;
  }
  /* 配合 strike-1 闪烁 */
  32% {
    opacity: 0.3;
  }
  32.4% {
    opacity: 0.08;
  }
  32.8% {
    opacity: 0.5;
  }
  33.5% {
    opacity: 0.22;
  }
  34.5% {
    opacity: 0;
  }
  /* 配合 strike-2 闪烁 */
  61.9% {
    opacity: 0;
  }
  62% {
    opacity: 0.35;
  }
  62.7% {
    opacity: 0.55;
  }
  63.5% {
    opacity: 0.18;
  }
  64.3% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.12); }
  100% { transform: translate(-40px, 40px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -60px) scale(1.15); }
  100% { transform: translate(50px, 70px) scale(0.9); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, -70px) scale(1.1); }
  100% { transform: translate(-70px, 60px) scale(0.96); }
}

/* ==========================================================================
   顶部导航栏 (Header & Navbar)
   左上方要有这个 logo
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}

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

/* 左侧 Logo 规范 */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.35));
  transition: transform 0.3s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--amber-light);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
}

/* 导航链接 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 4px;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--amber-primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--amber-primary);
}

/* 导航右侧按钮 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   通用按钮规范 (严格满足 CTA 规范)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-amber);
  color: #0b0e14;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-cyan {
  background: var(--grad-cyan);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(6, 182, 212, 0.5);
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.08rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero 主视觉区
   ========================================================================== */
.hero-section {
  padding: 60px 0 45px;
  text-align: center;
  position: relative;
  width: 100%;
}

.hero-content-wrap {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-light);
  margin-bottom: 22px;
  animation: pulseLight 3s infinite ease-in-out;
  max-width: 100%;
}

.hero-pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-status);
  box-shadow: 0 0 10px var(--green-status);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(1.85rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  word-break: break-word;
  width: 100%;
}

.hero-title-highlight {
  background: var(--grad-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-title-cyan {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
  line-height: 1.7;
  word-break: break-word;
  width: 100%;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  width: 100%;
}

.hero-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.86rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  width: 100%;
}

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

.guarantee-item .icon-check {
  color: var(--green-status);
  font-weight: 800;
}

/* ==========================================================================
   实时状态数据栏 (Stats Counter Banner)
   ========================================================================== */
.stats-banner-section {
  padding: 10px 0 50px;
  width: 100%;
}

.stats-banner {
  margin: 20px auto 50px;
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
  padding: 12px;
  border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-right: none;
}

.stat-val {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat-val.amber {
  color: var(--amber-light);
}

.stat-val.cyan {
  color: var(--cyan-light);
}

.stat-val.green {
  color: var(--green-status);
}

.stat-label {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   核心价值亮点 (Features Grid)
   ========================================================================== */
.section {
  padding: 60px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--amber-primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}

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

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

.feature-card {
  background: var(--grad-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-amber);
}

.feature-card:hover::before {
  background: var(--grad-amber);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-icon-box.cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
}

.feature-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   价格方案同排展示 ("所有价格要同排")
   全网四大主力方案在桌面端横向一字排开，四列等宽对比
   ========================================================================== */
.pricing-section {
  padding: 70px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 25, 0.6) 50%, transparent 100%);
  position: relative;
}

.pricing-row-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  width: 100%;
}

.pricing-card {
  background: var(--grad-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-md);
}

/* 官方强烈推荐卡片 (闪电猫 ¥40) 高亮样式 */
.pricing-card.featured {
  background: var(--grad-featured);
  border: 2px solid var(--amber-primary);
  box-shadow: var(--shadow-amber);
  transform: scale(1.025);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.045) translateY(-8px);
  box-shadow: 0 0 45px rgba(245, 158, 11, 0.45);
}

.pricing-badge-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-amber);
  color: #0b0e14;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
}

.plan-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.plan-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  margin-bottom: 10px;
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  min-height: 40px;
  line-height: 1.45;
}

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

.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber-light);
}

.price-val {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}

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

.plan-subprice-info {
  font-size: 0.74rem;
  color: var(--amber-light);
  background: rgba(245, 158, 11, 0.08);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
}

.plan-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.plan-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.plan-spec-item strong {
  color: var(--text-primary);
}

.spec-check {
  color: var(--green-status);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  margin-top: 1px;
}

.plan-cta-wrapper {
  margin-top: auto;
}

/* ==========================================================================
   节点测速与全球分布展示 (Nodes & Latency Table)
   ========================================================================== */
.nodes-section {
  padding: 60px 0;
}

.nodes-table-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.nodes-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 20px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.nodes-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

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

.nodes-table tr:hover td {
  background: rgba(245, 158, 11, 0.03);
}

.node-region-flag {
  font-size: 1.2rem;
  margin-right: 8px;
  vertical-align: middle;
}

.latency-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.latency-green {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

.latency-blue {
  background: rgba(6, 182, 212, 0.12);
  color: #38bdf8;
}

.ratio-badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-light);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   客户端支持与快捷教程 (Clients Section)
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-cyan);
}

.client-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.client-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.client-apps {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

/* ==========================================================================
   知识库文章精选 (Articles Knowledge Base Showcase)
   ========================================================================== */
.articles-section {
  padding: 60px 0;
}

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

.article-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.article-preview-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.article-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.article-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber-light);
}

.article-date {
  font-size: 0.74rem;
  color: var(--text-dim);
}

.article-title-link {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
  margin-bottom: 10px;
  display: block;
}

.article-title-link:hover {
  color: var(--amber-light);
}

.article-snippet {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.article-readmore-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cyan-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-readmore-link:hover {
  color: #ffffff;
  gap: 10px;
}

/* ==========================================================================
   用户评价模块 ("在最下方添加用户评价")
   真实口碑，多职业维度反馈
   ========================================================================== */
.reviews-section {
  padding: 60px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 22, 0.7) 100%);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #facc15;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--amber-light);
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-meta {
  line-height: 1.35;
}

.review-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.review-role {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* ==========================================================================
   常见问题 FAQ ("常见问题FAQ")
   纯原生 details/summary 交互，零 JavaScript，秒开且流畅
   ========================================================================== */
.faq-section {
  padding: 60px 0 70px;
}

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

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

.faq-item[open] {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.faq-question {
  padding: 18px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--amber-light);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

.faq-answer strong {
  color: var(--text-primary);
}

/* ==========================================================================
   外部工具与权威外链 ("帮我做好外链")
   包含 Clash Verge、Shadowrocket、Sing-box、IP纯净度检测等权威站
   ========================================================================== */
.outbound-section {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border-subtle);
}

.outbound-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.outbound-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
}

.outbound-card:hover {
  background: rgba(26, 38, 66, 0.7);
  border-color: var(--border-cyan);
  transform: translateY(-2px);
}

.outbound-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.outbound-info-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.outbound-info-desc {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* ==========================================================================
   全站底部页脚 (Site Footer)
   ========================================================================== */
.site-footer {
  background: #030407;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-brand-desc {
  line-height: 1.65;
  color: var(--text-muted);
  font-size: 0.86rem;
  max-width: 360px;
  margin-bottom: 20px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-links-list a:hover {
  color: var(--amber-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.82rem;
}

.footer-geo-tags {
  display: flex;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* ==========================================================================
   响应式断点适配 (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1140px) {
  /* 价格卡片在较窄桌面依然同排，稍减内边距与字号 */
  .pricing-row-container {
    gap: 14px;
  }
  .pricing-card {
    padding: 24px 16px;
  }
  .price-val {
    font-size: 2.4rem;
  }
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .outbound-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 64px;
  }
  .nav-menu {
    display: none; /* 移动端精简模式 */
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }
  /* 移动端价格水平横滑滚动或2x2展示 */
  .pricing-row-container {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .features-grid,
  .reviews-grid,
  .articles-grid,
  .clients-grid,
  .outbound-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nodes-table th:nth-child(4),
  .nodes-table td:nth-child(4) {
    display: none;
  }
}
