/* ==========================================================================
   【雨燕云 yuyanyun.sbs】官方现代科技流光样式表
   Speed & Cosmos Aesthetic Engine
   ========================================================================== */

:root {
  --bg-main: #06070c;
  --bg-card: rgba(16, 19, 31, 0.72);
  --bg-card-hover: rgba(26, 31, 52, 0.85);
  --border-card: rgba(255, 75, 107, 0.18);
  --border-card-hover: rgba(255, 75, 107, 0.55);
  --primary-red: #ff2a5f;
  --accent-red: #ff4b6b;
  --deep-red: #990f2d;
  --neon-glow: rgba(255, 42, 95, 0.35);
  --cyber-cyan: #00f0ff;
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-stack);
  background-color: var(--bg-main);
  color: var(--text-white);
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 宇宙星空与全球互联背景 Canvas */
#cosmic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* 鼠标尾翼 Canvas */
#mouse-trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}

/* 红白渐变字体核心规则 */
.rw-gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, #ff708d 55%, #ff1744 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 0 35px rgba(255, 42, 95, 0.3);
}

.rw-gradient-sub {
  background: linear-gradient(135deg, #ffffff 40%, #ff8da1 85%, #ff2a5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* 速度流线感动效 */
.speed-glow-bar {
  position: relative;
  overflow: hidden;
}
.speed-glow-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: lightSweep 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightSweep {
  0% { left: -150%; }
  40% { left: 150%; }
  100% { left: 150%; }
}

/* 页面通用布局 */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部导航栏 */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 7, 12, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 42, 95, 0.12);
  transition: var(--transition);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 10px rgba(255, 42, 95, 0.6));
  transition: var(--transition);
}
.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.08) rotate(-4deg);
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-domain {
  font-size: 12px;
  color: var(--primary-red);
  background: rgba(255, 42, 95, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 42, 95, 0.25);
  font-family: monospace;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 42, 95, 0.8);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition);
  box-shadow: 0 0 8px var(--primary-red);
}
.nav-links a:hover::after {
  width: 100%;
}

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

/* 按钮规范 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff2a5f 0%, #d80032 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 42, 95, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 42, 95, 0.65);
  background: linear-gradient(135deg, #ff4b6b 0%, #ff1744 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 42, 95, 0.5);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 17px;
  border-radius: 10px;
}

/* 汉堡菜单 (移动端) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* ==========================================================================
   指令3: H1 首屏区 + 实时在线人数波动器
   ========================================================================== */
.hero-section {
  padding: 70px 0 90px;
  position: relative;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  position: relative;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 42, 95, 0.12);
  border: 1px solid rgba(255, 42, 95, 0.35);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  color: #ff94ab;
  font-weight: 600;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

h1.hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-dim);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-item svg {
  color: #ff4b6b;
}

/* 首屏右侧：实时在线人数与全球网络测速仪卡片 (指令3) */
.hero-live-card {
  background: linear-gradient(145deg, rgba(20, 24, 40, 0.78), rgba(10, 12, 22, 0.88));
  border: 1px solid rgba(255, 75, 107, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 42, 95, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-live-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff2a5f, #00f0ff, #ffffff);
}

.live-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* 核心跳动数字 */
.online-counter-box {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 42, 95, 0.2);
}

.online-counter-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.online-counter-number {
  font-size: clamp(34px, 3.5vw, 46px);
  font-weight: 900;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 42, 95, 0.8);
  transition: color 0.4s ease;
}
.online-counter-number.pulse {
  color: #ff4b6b;
}

.online-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.stat-val {
  font-size: 16px;
  font-weight: 700;
  color: #ff6b87;
  font-family: monospace;
}

.stat-lbl {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.live-speed-radar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #a0aec0;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 10px 14px;
  border-radius: 8px;
}
.radar-blip {
  color: var(--cyber-cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   指令4: H2 科技感文章流 (由上往下 顺序排列滑动，摒弃传统滑块，科技穿梭)
   ========================================================================== */
.section-articles {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  color: var(--primary-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h2.section-title {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* 垂直科技流光穿梭容器 */
.cyber-article-stream-wrapper {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

/* 科技轨道装饰线 */
.cyber-rail-glow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,42,95,0.1), rgba(255,42,95,0.8), rgba(0,240,255,0.8), rgba(255,42,95,0.1));
  box-shadow: 0 0 12px rgba(255, 42, 95, 0.5);
  z-index: 1;
}

.cyber-article-stream {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-height: 620px;
  overflow-y: auto;
  padding: 10px 14px 10px 60px;
  scroll-behavior: smooth;
  /* 隐藏原生极丑滚动条，使用极细科技条 */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 42, 95, 0.5) rgba(10, 15, 25, 0.5);
}

.cyber-article-stream::-webkit-scrollbar {
  width: 6px;
}
.cyber-article-stream::-webkit-scrollbar-track {
  background: rgba(10, 15, 25, 0.6);
  border-radius: 4px;
}
.cyber-article-stream::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-red), #990f2d);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(255, 42, 95, 0.6);
}

/* 科技流光文章卡片 */
.cyber-article-card {
  position: relative;
  background: linear-gradient(135deg, rgba(18, 22, 38, 0.8), rgba(12, 14, 25, 0.9));
  border: 1px solid rgba(255, 75, 107, 0.2);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  backdrop-filter: blur(12px);
  transition: all 0.35s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.cyber-article-card::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 30px;
  width: 14px;
  height: 14px;
  background: var(--bg-main);
  border: 2px solid var(--primary-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-red);
  transition: var(--transition);
}

.cyber-article-card:hover {
  transform: translateX(8px);
  border-color: rgba(255, 75, 107, 0.65);
  box-shadow: 0 10px 30px rgba(255, 42, 95, 0.2), inset 0 0 20px rgba(255, 42, 95, 0.05);
}

.cyber-article-card:hover::before {
  background: var(--primary-red);
  box-shadow: 0 0 16px #ff2a5f, 0 0 30px #ff2a5f;
}

.article-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.article-keyword-tag {
  background: rgba(255, 42, 95, 0.15);
  color: #ff708d;
  border: 1px solid rgba(255, 42, 95, 0.3);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.article-read-time {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  transition: color 0.2s ease;
}
.cyber-article-card:hover .article-card-title {
  color: #ff4b6b;
}

.article-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.article-read-cta {
  color: #ff5e7e;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.cyber-article-card:hover .article-read-cta {
  gap: 10px;
  color: #ffffff;
}

/* 科技滚动控制器 */
.stream-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.stream-ctrl-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.stream-ctrl-btn:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  box-shadow: 0 0 15px rgba(255, 42, 95, 0.6);
}

/* ==========================================================================
   指令5: H3 动态并排可滑动的套餐内容
   ========================================================================== */
.section-pricing {
  padding: 90px 0;
  position: relative;
}

h3.section-title {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 16px;
  line-height: 1.25;
}

.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 35px;
}

.pricing-billing-toggle {
  display: inline-flex;
  background: rgba(16, 20, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px;
  border-radius: 30px;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-btn.active {
  background: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(255, 42, 95, 0.5);
}

/* 动态并排滑动套餐轨道 */
.pricing-cards-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 10px 40px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 42, 95, 0.4) transparent;
}

.pricing-cards-track::-webkit-scrollbar {
  height: 6px;
}
.pricing-cards-track::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 4px;
}

.pricing-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: linear-gradient(145deg, rgba(20, 24, 42, 0.85), rgba(12, 14, 26, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  backdrop-filter: blur(16px);
  transition: all 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 75, 107, 0.6);
  box-shadow: 0 20px 45px rgba(255, 42, 95, 0.25);
}

.pricing-card.featured {
  border-color: var(--primary-red);
  background: linear-gradient(145deg, rgba(32, 24, 46, 0.95), rgba(18, 14, 30, 0.98));
  box-shadow: 0 15px 40px rgba(255, 42, 95, 0.28);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff2a5f, #ff708d);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 42, 95, 0.6);
}

.package-name {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.package-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.package-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.currency-sym {
  font-size: 22px;
  color: #ff4b6b;
  font-weight: 700;
}

.package-price {
  font-size: 44px;
  font-weight: 900;
  color: #ffffff;
  font-family: monospace;
}

.package-period {
  font-size: 14px;
  color: var(--text-dim);
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 30px;
}

.package-features li {
  font-size: 14px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.package-features li svg {
  color: #00ff88;
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
}

/* ==========================================================================
   指令6: H4 用户评价自动轮播 + 右侧节点测速自动刷新
   ========================================================================== */
.section-reviews-speed {
  padding: 90px 0;
  position: relative;
}

h4.section-title {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 16px;
  line-height: 1.25;
}

.reviews-speed-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 36px;
  margin-top: 40px;
}

/* 左侧：自动轮播用户评价 */
.reviews-slider-box {
  background: linear-gradient(145deg, rgba(20, 24, 40, 0.75), rgba(12, 14, 25, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(16px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.reviews-title-h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-card-viewport {
  position: relative;
  min-height: 220px;
}

.review-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
}
.review-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

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

.review-quote {
  font-size: 16px;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-red), #500718);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-meta-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.user-meta-tag {
  font-size: 12px;
  color: var(--text-dim);
}

.review-dots-nav {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}

.dot-btn {
  width: 24px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}
.dot-btn.active {
  background: var(--primary-red);
  width: 36px;
  box-shadow: 0 0 10px var(--primary-red);
}

/* 右侧：节点自动测速雷达表 */
.speed-radar-box {
  background: linear-gradient(145deg, rgba(20, 24, 40, 0.75), rgba(12, 14, 25, 0.85));
  border: 1px solid rgba(255, 75, 107, 0.25);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.speed-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.speed-box-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.refresh-timer {
  font-size: 12px;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.refresh-spin {
  animation: spin 2.5s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.nodes-table th {
  text-align: left;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nodes-table td {
  padding: 13px 8px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.node-flag-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #f1f5f9;
}

.ping-badge {
  display: inline-block;
  font-family: monospace;
  font-weight: 700;
  color: #00ff88;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.streaming-support {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyber-cyan);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* ==========================================================================
   指令7: H5 常见问题 FAQ 动态并排展开
   ========================================================================== */
.section-faq {
  padding: 90px 0;
  position: relative;
}

h5.section-title {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 16px;
  line-height: 1.25;
}

.faq-grid-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.faq-card {
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.8), rgba(12, 14, 25, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-card.open {
  border-color: rgba(255, 75, 107, 0.6);
  background: linear-gradient(135deg, rgba(25, 29, 48, 0.9), rgba(14, 16, 28, 0.95));
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}
.faq-card.open .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-card.open .faq-answer-content {
  max-height: 300px;
  padding: 0 24px 22px 24px;
  transition: max-height 0.4s ease-in-out;
}

/* ==========================================================================
   指令8: H6 所有设备都将受到保护的文案与终端展示
   ========================================================================== */
.section-devices-security {
  padding: 90px 0 110px;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(16, 20, 36, 0.5), transparent);
}

h6.section-title {
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 16px;
  line-height: 1.3;
}

.devices-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 45px;
}

.device-card-item {
  background: linear-gradient(145deg, rgba(22, 26, 42, 0.7), rgba(12, 14, 25, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}

.device-card-item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 42, 95, 0.5);
  box-shadow: 0 12px 30px rgba(255, 42, 95, 0.2);
}

.device-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(255, 42, 95, 0.1);
  border: 1px solid rgba(255, 42, 95, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff5e7e;
  transition: var(--transition);
}
.device-card-item:hover .device-icon-wrap {
  background: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 42, 95, 0.7);
}

.device-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.device-supported-clients {
  font-size: 12px;
  color: var(--text-dim);
}

.security-assurances-banner {
  margin-top: 50px;
  background: linear-gradient(135deg, rgba(255, 42, 95, 0.1), rgba(10, 15, 30, 0.8));
  border: 1px solid rgba(255, 75, 107, 0.3);
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.security-text-box h4 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.security-text-box p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 650px;
}

/* ==========================================================================
   【核心任务 2：页脚 PBN 权重精准输血管道】
   语义化 HTML5 <footer>，居中排版，低调美观小字号友链区，
   外链必带 target="_blank" 且严格绝不加 rel="nofollow"
   ========================================================================== */
footer.site-pbn-footer {
  background: #040508;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 55px 0 35px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-inner-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.footer-brand-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
}
.footer-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav-links a:hover {
  color: #ff4b6b;
}

/* PBN 权重精准输血区：低调、美观、小字号，与原页面深度融合 */
.pbn-transmission-pipeline {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  width: 100%;
}

.pbn-label-subtle {
  font-size: 11px;
  color: #475569;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pbn-dofollow-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

/* 外链样式：完全 dofollow 传输权重，视觉低调不违和 */
.pbn-dofollow-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.25s ease;
  padding: 2px 4px;
}
.pbn-dofollow-links a:hover {
  color: #ff708d;
}

.footer-copyright {
  font-size: 12px;
  color: #475569;
  margin-top: 6px;
}

/* ==========================================================================
   文章详情页独立模版通用样式 (Article Subpages)
   ========================================================================== */
.article-header-banner {
  padding: 80px 0 50px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-nav a:hover {
  color: #ff4b6b;
}

.article-main-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}

.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-body h2 {
  font-size: 26px;
  color: #ffffff;
  margin: 40px 0 18px;
  border-left: 4px solid var(--primary-red);
  padding-left: 14px;
}

.article-body h3 {
  font-size: 20px;
  color: #f1f5f9;
  margin: 28px 0 14px;
}

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

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-body code {
  background: rgba(255, 42, 95, 0.12);
  color: #ff708d;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.article-body pre {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 42, 95, 0.12), rgba(15, 20, 35, 0.9));
  border: 1px solid rgba(255, 42, 95, 0.35);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  margin: 45px 0;
}

.article-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   移动端响应式适配 (Responsive Breakdown)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .reviews-speed-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid-dual {
    grid-template-columns: 1fr;
  }
  .devices-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(8, 10, 18, 0.98);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 42, 95, 0.2);
    backdrop-filter: blur(20px);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-section {
    padding: 40px 0 60px;
  }
  .pricing-cards-track {
    padding-left: 0;
    padding-right: 0;
  }
  .devices-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-assurances-banner {
    flex-direction: column;
    text-align: center;
  }
  .article-related-grid {
    grid-template-columns: 1fr;
  }
}
