/* ==========================================
   CYLINK官网落地页 - 二次元/赛博朋克风格样式系统
   （白色科技感背景重构版）
   ========================================== */

/* 1. 全局 CSS 变量与设计系统 */
:root {
  --bg-dark: #f8fafc; /* 以明亮科技白色为主 */
  --bg-card: rgba(255, 255, 255, 0.8); /* 半透明玻璃白 */
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --color-primary: #ff3366; /* 霓虹粉 */
  --color-secondary: #ff6633; /* 活力橙 */
  --color-accent: #0088cc; /* 科技深蓝，保证白底对比度 */
  --color-purple: #8c00ff; /* 魔法紫 */
  --text-main: #334155; /* 主正文颜色为 Slate 700 */
  --text-muted: #64748b; /* 辅助文字 Slate 500 */
  --text-white: #ffffff; /* 保持白色，用于有色背景上的文字 */
  --text-dark: #0f172a; /* 核心大标题颜色 Slate 900 */
  --border-neon: rgba(255, 51, 102, 0.15); /* 霓虹边框降低饱和度 */
  --border-neon-hover: rgba(0, 136, 204, 0.4);
  --font-title: 'Outfit', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow-neon: 0 4px 20px rgba(255, 51, 102, 0.08);
  --shadow-neon-hover: 0 8px 30px rgba(0, 136, 204, 0.18);
}

/* 2. 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('anime_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -3;
  opacity: 0.12;
  filter: blur(1px);
  pointer-events: none;
}

/* 3. 背景 Canvas 与鼠标尾翼 */
#animeCanvas, #trailCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  display: block;
}

#animeCanvas {
  z-index: -2;
}

#trailCanvas {
  z-index: 9999;
}

/* 4. 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* 5. 字体渐变与特效 */
.gradient-red-white {
  background: linear-gradient(135deg, #ff1a53 0%, #ff527b 50%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.text-gradient-red-white {
  background: linear-gradient(90deg, #ff1a53, #ff527b, #1e293b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-accent {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 6. 按钮组件 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-title);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--text-white);
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
}

.btn-outline-cyber {
  background: rgba(255, 51, 102, 0.05);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-cyber:hover {
  background: var(--color-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 36px;
  font-size: 1.1rem;
}

.btn-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(157, 0, 255, 0.2);
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(157, 0, 255, 0.4);
}

.btn-outline {
  border: 2px solid rgba(15, 23, 42, 0.15);
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: #ffffff;
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

.glow-btn {
  position: relative;
  overflow: hidden;
}

.glow-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  transition: 0.8s;
  opacity: 0;
}

.glow-btn:hover::after {
  opacity: 1;
  left: 120%;
}

/* 7. Instruction 9: Top Live Review Ticker */
.top-review-ticker {
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(240,244,248,0.95));
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
  width: 100%;
}

.ticker-wrapper {
  display: flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  gap: 50px;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  color: var(--text-main);
  font-size: 0.85rem;
  gap: 10px;
}

.ticker-item span.avatar {
  background: rgba(255, 51, 102, 0.1);
  color: var(--color-primary);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 51, 102, 0.3);
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-33.333%, 0, 0); }
}

/* 8. 导航栏 (Navbar) */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo {
  height: 42px;
  width: 42px;
  filter: drop-shadow(0 0 4px rgba(255, 51, 102, 0.2));
}

.brand-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 5px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-smooth);
}

.nav-item:hover {
  color: var(--text-dark);
}

.nav-item:hover::after {
  width: 100%;
}

/* 9. Hero Section */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-anime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 136, 204, 0.08);
  border: 1px solid rgba(0, 136, 204, 0.2);
  color: var(--color-accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px rgba(0, 136, 204, 0.1); border-color: rgba(0, 136, 204, 0.2); }
  100% { box-shadow: 0 0 15px rgba(0, 136, 204, 0.3); border-color: var(--color-accent); }
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -1px;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 750px;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Instruction 2: Unlocked services tags */
.unlocked-services {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 51, 102, 0.06);
  border: 1px solid rgba(255, 51, 102, 0.15);
  color: var(--color-primary);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(255, 51, 102, 0.02);
  transition: var(--transition-smooth);
}

.service-tag:hover {
  transform: translateY(-2px);
  background: rgba(255, 51, 102, 0.1);
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.1);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 700px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 40px;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--text-dark), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 0.5px;
}

/* 10. 通用 Section 头部 */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
}

.anime-sub {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
}

/* 11. Instruction 4: H2 Articles Section sliding from top to bottom */
.articles-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.7), transparent);
}

.articles-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 480px; /* 固定高度，用于上下滚动 */
  overflow: hidden;
  position: relative;
  padding: 0 20px;
}

/* 渐变遮罩，使滚动顶部和底部淡出 */
.articles-slider-container::before,
.articles-slider-container::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 10;
  pointer-events: none;
}

.articles-slider-container::before {
  top: 0;
  background: linear-gradient(180deg, var(--bg-dark), transparent);
}

.articles-slider-container::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--bg-dark), transparent);
}

.articles-slider-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slide-vertical 30s linear infinite;
}

/* 鼠标悬停时暂停滚动 */
.articles-slider-container:hover .articles-slider-track {
  animation-play-state: paused;
}

@keyframes slide-vertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.article-card-wrapper {
  padding: 5px 0;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}

.article-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 136, 204, 0.1);
  background: var(--bg-card-hover);
}

.card-badge {
  display: inline-block;
  background: rgba(255, 51, 102, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(255, 51, 102, 0.2);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.article-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.article-card h3 a:hover {
  color: var(--color-accent);
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.read-more {
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.article-card:hover .read-more {
  color: var(--color-accent);
}

/* 12. Instruction 5: H3 Plans Section (Dynamic slideable/carousel) */
.plans-section {
  padding: 80px 0;
}

.plans-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 60px;
}

.plans-carousel-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 0 30px 0;
  scrollbar-width: none;
}

.plans-carousel-track::-webkit-scrollbar {
  display: none;
}

.plan-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 320px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 24px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.plan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(255, 51, 102, 0.15), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(0, 136, 204, 0.1), 0 0 15px rgba(255, 51, 102, 0.05);
  background: var(--bg-card-hover);
}

.plan-card.popular {
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(255, 51, 102, 0.1);
  background: rgba(255, 51, 102, 0.02);
}

.plan-card.popular:hover {
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(0, 136, 204, 0.12), 0 10px 30px rgba(255, 51, 102, 0.15);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
}

.plan-badge.hot {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  color: var(--text-white);
  border: none;
  box-shadow: 0 2px 8px rgba(255, 51, 102, 0.3);
}

.plan-header h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.price {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
}

.price .currency {
  font-size: 1.5rem;
  font-weight: 600;
}

.price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 5px;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-features li i {
  color: var(--color-primary);
  font-size: 1rem;
}

.plan-card:hover .plan-features li i {
  color: var(--color-accent);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.carousel-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* 13. Instruction 6: H4 Speedtest and Global Statistics Section */
.speedtest-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.3);
}

/* Global Node Coverage Banner styling */
.node-coverage-container {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 20px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.coverage-label {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coverage-label i {
  color: var(--color-accent);
}

.coverage-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.badge-loc:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: scale(1.05);
}

.speedtest-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
}

.speedtest-panel, .stats-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 24px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.speedtest-panel::after, .stats-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.03) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 20px;
  margin-bottom: 25px;
  z-index: 1;
}

.panel-header .title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-header .title i {
  color: var(--color-primary);
}

.status-indicator {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.status-indicator.live {
  color: #00b344;
  text-shadow: 0 0 8px rgba(0, 179, 68, 0.2);
  animation: flash 1.5s infinite;
}

@keyframes flash {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.9rem;
}

th {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

td {
  color: var(--text-main);
  font-weight: 400;
}

.flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  object-fit: cover;
}

.type-tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.tag-iepl {
  background: rgba(0, 136, 204, 0.08);
  color: var(--color-accent);
  border: 1px solid rgba(0, 136, 204, 0.15);
}

.tag-iplc {
  background: rgba(255, 51, 102, 0.06);
  color: var(--color-primary);
  border: 1px solid rgba(255, 51, 102, 0.15);
}

.tag-transit {
  background: rgba(140, 0, 255, 0.06);
  color: #8c00ff;
  border: 1px solid rgba(140, 0, 255, 0.15);
}

.ping {
  font-family: var(--font-title);
  font-weight: 700;
  transition: var(--transition-smooth);
}

.ping.green { color: #00b344; }
.ping.yellow { color: #d4a000; }
.speed {
  font-family: var(--font-title);
  font-weight: 700;
}

.status-ok {
  color: #00b344;
  background: rgba(0, 179, 68, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
}

.status-warn {
  color: #d4a000;
  background: rgba(212, 160, 0, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
}

/* Stats Counter Panel Right */
.stats-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 1;
}

.counter-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  padding: 20px;
  transition: var(--transition-smooth);
}

.counter-box:hover {
  background: rgba(255, 51, 102, 0.01);
  border-color: rgba(255, 51, 102, 0.15);
  transform: translateX(5px);
}

.counter-box .icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 51, 102, 0.06);
  border: 1px solid rgba(255, 51, 102, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.counter-box:hover .icon-wrap {
  background: rgba(0, 136, 204, 0.08);
  border-color: rgba(0, 136, 204, 0.15);
  color: var(--color-accent);
  box-shadow: 0 0 10px rgba(0, 136, 204, 0.1);
}

.counter-data {
  display: flex;
  flex-direction: column;
}

.counter-value {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.counter-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.join-banner {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.03), rgba(140, 0, 255, 0.03));
  border: 1px dashed rgba(255, 51, 102, 0.15);
  border-radius: 16px;
  padding: 20px;
}

.join-banner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.5;
}

/* 14. Instruction 7: H5 FAQ section, dynamic and side-by-side */
.faq-section {
  padding: 80px 0;
}

.faq-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.faq-question i {
  color: var(--color-primary);
  font-size: 0.9rem;
  transition: transform 0.4s ease;
}

.faq-item.active .faq-question {
  color: var(--color-primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  background: rgba(0, 0, 0, 0.01);
}

.faq-answer p {
  padding: 0 20px 20px 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* 15. Instruction 8: H6 Copyright / Protective Security Banner */
.security-banner {
  padding: 100px 20px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(255, 51, 102, 0.04) 0%, transparent 60%);
}

.banner-inner {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(255, 51, 102, 0.15);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 50px 40px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.security-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 51, 102, 0.06);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 25px;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.1);
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.security-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.security-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 16. 页脚 PBN 权重精准输血管道 */
.pbn-footer {
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 40px 20px;
  color: #64748b;
  font-size: 0.8rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.footer-info p {
  margin-bottom: 6px;
  color: #64748b;
}

.footer-info .geo-info {
  color: #94a3b8;
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
}

.links-title {
  color: #475569;
  font-weight: 500;
}

.pbn-link {
  color: #64748b; /* 低调文字颜色，与背景融合 */
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.pbn-link:hover {
  color: var(--color-accent);
  text-shadow: 0 0 5px rgba(0, 136, 204, 0.3);
}

.link-separator {
  color: rgba(0, 0, 0, 0.08);
}

/* 17. 响应式布局优化 (Responsive Layouts) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  
  .plans-carousel-container {
    padding: 0 40px;
  }
  
  .plan-card {
    flex: 0 0 calc(50% - 15px);
  }
  
  .speedtest-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* 移动端折叠导航 */
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .plans-carousel-container {
    padding: 0;
  }
  
  .plan-card {
    flex: 0 0 100%;
  }
  
  .carousel-nav-btn {
    display: none;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .speedtest-grid {
    grid-template-columns: 1fr;
  }
  
  .pbn-footer {
    padding: 30px 15px;
  }
  
  .footer-links {
    flex-wrap: wrap;
    line-height: 1.8;
  }
  
  .node-coverage-container {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .coverage-badges {
    width: 100%;
  }
}

/* 18. 文章详情页样式模板 */
.article-body {
  max-width: 800px;
  margin: 40px auto 100px auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.article-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 15px;
}

.article-content {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin: 40px 0 20px 0;
  border-left: 4px solid var(--color-primary);
  padding-left: 15px;
}

.article-content h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 30px 0 15px 0;
}

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

.article-content ul, .article-content ol {
  margin-bottom: 25px;
  padding-left: 20px;
  color: var(--text-muted);
}

.article-content li {
  margin-bottom: 10px;
}

.article-content strong {
  color: var(--text-dark);
}

.article-content blockquote {
  background: rgba(255, 51, 102, 0.02);
  border-left: 4px solid var(--color-primary);
  padding: 20px;
  border-radius: 0 12px 12px 0;
  margin: 30px 0;
  color: var(--text-muted);
  font-style: italic;
}

.article-cta {
  background: linear-gradient(135deg, rgba(255,51,102,0.03), rgba(0,136,204,0.03));
  border: 1px solid var(--border-neon);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  margin-top: 50px;
}

.article-cta h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.article-cta p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.breadcrumb-separator {
  color: rgba(0, 0, 0, 0.15);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 30px;
  margin-top: 50px;
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  max-width: 45%;
  text-decoration: none;
}

.article-nav-link.next {
  align-items: flex-end;
  text-align: right;
}

.article-nav-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.article-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.article-nav-link:hover .article-nav-title {
  color: var(--color-accent);
}
