/* ==========================================================================
   ByWave (by-wave.cyou) - Native High-Performance Modern CSS Stylesheet
   Pure Native CSS | Zero Framework Dependencies | Lightning Fast Seconds Load
   ========================================================================== */

/* --- 1. CSS Variables & Theme Definition --- */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Color Palette - Deep Dark Tech Cyber Ocean */
  --bg-primary: #060913;
  --bg-secondary: #0B1120;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(28, 20, 50, 0.88);
  --bg-card-border: rgba(192, 132, 252, 0.18);
  --bg-card-border-hover: rgba(192, 132, 252, 0.55);
  --bg-glass: rgba(11, 15, 28, 0.88);

  /* Brand Accents - 冰淡紫色系 (Icy Light Purple & Lavender) */
  --cyan-primary: #D8B4FE;
  --cyan-glow: rgba(216, 180, 254, 0.35);
  --blue-primary: #C084FC;
  --blue-hover: #E9D5FF;
  --purple-accent: #A855F7;
  --purple-glow: rgba(168, 85, 247, 0.35);
  
  /* Text Colors */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-highlight: #D8B4FE;

  /* Status Colors */
  --green-online: #10B981;
  --green-glow: rgba(16, 185, 129, 0.4);
  --gold-accent: #F59E0B;

  /* Layout & Spacing */
  --container-max: 1240px;
  --container-narrow: 900px;
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows & Glows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-hover: 0 20px 40px -15px rgba(168, 85, 247, 0.35), 0 0 25px rgba(216, 180, 254, 0.25);
  --shadow-glow-cyan: 0 0 30px rgba(192, 132, 252, 0.35);
  --shadow-glow-btn: 0 4px 22px rgba(168, 85, 247, 0.45), 0 0 20px rgba(216, 180, 254, 0.35);
  --ice-purple-primary: #C084FC;
  --ice-purple-light: #E9D5FF;
  --ice-purple-glow: rgba(192, 132, 252, 0.4);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. CSS Reset & Base Elements --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  color: var(--text-main);
  background-color: transparent; /* 确保背景透出动态星空与渐变流光 */
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- 3. Dynamic Background with Pure Native CSS --- */
.dynamic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0; /* 提升至 0 层，杜绝被 body 默认层级遮挡 */
  pointer-events: none; /* 彻底穿透，不阻挡任何按钮与链接点击 */
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #1a0f30 0%, #060913 65%);
}

.dynamic-background .bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(192, 132, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 20%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 20%, black 40%, transparent 85%);
}

/* Animated Floating Aurora Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}

.orb-1 {
  top: -100px;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #9333EA 0%, rgba(147, 51, 234, 0.12) 70%, transparent 100%);
  animation: orbFloat1 18s ease-in-out infinite alternate;
}

.orb-2 {
  top: 250px;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #C084FC 0%, rgba(192, 132, 252, 0.12) 70%, transparent 100%);
  animation: orbFloat2 22s ease-in-out infinite alternate;
}

.orb-3 {
  bottom: 100px;
  left: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #7C3AED 0%, rgba(124, 58, 237, 0.12) 70%, transparent 100%);
  animation: orbFloat3 26s ease-in-out infinite alternate;
}

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

@keyframes orbFloat2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-90px, -50px, 0) scale(1.08); }
  100% { transform: translate3d(50px, 70px, 0) scale(0.92); }
}

@keyframes orbFloat3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(70px, -80px, 0) scale(1.15); }
  100% { transform: translate3d(-80px, 40px, 0) scale(0.9); }
}

/* Subtle Animated Ambient Waves */
.bg-wave-line {
  position: absolute;
  width: 200%;
  height: 200px;
  left: -50%;
  top: 15%;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.08), rgba(168, 85, 247, 0.08), transparent);
  transform: rotate(-8deg);
  animation: waveShift 12s linear infinite;
  pointer-events: none;
}

@keyframes waveShift {
  0% { transform: rotate(-8deg) translateX(-15%); }
  50% { transform: rotate(-6deg) translateX(0%); }
  100% { transform: rotate(-8deg) translateX(15%); }
}

/* Base Instant CSS Starry Dust Layer */
.dynamic-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 25px 35px, #FFFFFF, transparent),
    radial-gradient(1.5px 1.5px at 80px 120px, #E9D5FF, transparent),
    radial-gradient(1px 1px at 150px 60px, #FFFFFF, transparent),
    radial-gradient(2px 2px at 220px 180px, #C084FC, transparent),
    radial-gradient(1px 1px at 310px 90px, #FFFFFF, transparent),
    radial-gradient(1.5px 1.5px at 390px 240px, #E9D5FF, transparent),
    radial-gradient(1px 1px at 470px 130px, #FFFFFF, transparent),
    radial-gradient(2px 2px at 560px 70px, #D8B4FE, transparent),
    radial-gradient(1px 1px at 640px 290px, #FFFFFF, transparent),
    radial-gradient(1.5px 1.5px at 720px 160px, #C084FC, transparent),
    radial-gradient(1px 1px at 810px 40px, #FFFFFF, transparent),
    radial-gradient(2px 2px at 900px 210px, #E9D5FF, transparent),
    radial-gradient(1px 1px at 980px 110px, #FFFFFF, transparent),
    radial-gradient(1.5px 1.5px at 1060px 270px, #C084FC, transparent),
    radial-gradient(1px 1px at 1150px 80px, #FFFFFF, transparent),
    radial-gradient(2px 2px at 1240px 190px, #E9D5FF, transparent);
  background-size: 650px 350px;
  opacity: 0.6;
  pointer-events: none;
  animation: cosmicBlink 6s ease-in-out infinite alternate;
}

@keyframes cosmicBlink {
  0% { opacity: 0.35; }
  50% { opacity: 0.75; }
  100% { opacity: 0.45; }
}

/* --- Starfield Dynamic Background (各种各样的小星星与璀璨芒星系统) --- */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* 1. 圆点微星 (Dot Stars: 晶莹小圆星、光晕微星) */
.star-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  animation: starTwinkle infinite ease-in-out alternate;
}

.star-dot.size-xs {
  width: 1.5px;
  height: 1.5px;
}

.star-dot.size-sm {
  width: 2.5px;
  height: 2.5px;
}

.star-dot.size-md {
  width: 3.5px;
  height: 3.5px;
}

.star-dot.size-lg {
  width: 5px;
  height: 5px;
}

.star-dot.color-white {
  background: #FFFFFF;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

.star-dot.color-ice {
  background: #E9D5FF;
  box-shadow: 0 0 8px rgba(233, 213, 255, 0.95), 0 0 2px #FFFFFF;
}

.star-dot.color-purple {
  background: #C084FC;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.9), 0 0 3px #E9D5FF;
}

.star-dot.color-gold {
  background: #FEF3C7;
  box-shadow: 0 0 7px rgba(254, 243, 199, 0.85);
}

@keyframes starTwinkle {
  0% {
    opacity: 0.15;
    transform: scale(0.7);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.15);
  }
  100% {
    opacity: 0.25;
    transform: scale(0.85);
  }
}

/* 2. 四角十字钻石芒星 (Cross Sparkle Stars ✨) */
.star-cross {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
  animation: crossTwinkle infinite ease-in-out alternate;
  filter: drop-shadow(0 0 6px rgba(192, 132, 252, 0.75));
}

@keyframes crossTwinkle {
  0% {
    opacity: 0.2;
    transform: scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(15deg);
    filter: drop-shadow(0 0 12px rgba(233, 213, 255, 0.95)) drop-shadow(0 0 4px #FFFFFF);
  }
  100% {
    opacity: 0.3;
    transform: scale(0.75) rotate(-10deg);
  }
}

/* 3. 绚丽八角星芒 (Starburst 🌟) */
.star-burst {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
  animation: burstPulse infinite ease-in-out alternate;
  filter: drop-shadow(0 0 8px rgba(216, 180, 254, 0.8));
}

@keyframes burstPulse {
  0% {
    opacity: 0.25;
    transform: scale(0.7) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(45deg);
    filter: drop-shadow(0 0 16px rgba(192, 132, 252, 0.95)) drop-shadow(0 0 6px #FFFFFF);
  }
  100% {
    opacity: 0.35;
    transform: scale(0.8) rotate(90deg);
  }
}

/* 4. 流星划过夜空 (Shooting Stars / Meteors 🌠) */
.shooting-star {
  position: absolute;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, #FFFFFF 0%, #E9D5FF 30%, rgba(192, 132, 252, 0.6) 65%, transparent 100%);
  border-radius: 9999px;
  filter: drop-shadow(0 0 8px #C084FC);
  transform: rotate(-35deg);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.shooting-star::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF, 0 0 14px #E9D5FF;
}

.shooting-star-1 {
  top: 12%;
  right: 18%;
  animation: shootMeteor1 9s ease-in-out infinite;
  animation-delay: 1.5s;
}

.shooting-star-2 {
  top: 28%;
  right: 35%;
  width: 160px;
  animation: shootMeteor2 13s ease-in-out infinite;
  animation-delay: 6s;
}

.shooting-star-3 {
  top: 45%;
  right: 12%;
  width: 120px;
  animation: shootMeteor3 11s ease-in-out infinite;
  animation-delay: 10s;
}

@keyframes shootMeteor1 {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-35deg) scaleX(0.2);
  }
  5% {
    opacity: 1;
    transform: translate3d(-180px, 126px, 0) rotate(-35deg) scaleX(1);
  }
  10% {
    opacity: 0;
    transform: translate3d(-380px, 266px, 0) rotate(-35deg) scaleX(1.3);
  }
  100% {
    opacity: 0;
    transform: translate3d(-380px, 266px, 0) rotate(-35deg) scaleX(1.3);
  }
}

@keyframes shootMeteor2 {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-32deg) scaleX(0.2);
  }
  6% {
    opacity: 1;
    transform: translate3d(-240px, 150px, 0) rotate(-32deg) scaleX(1);
  }
  12% {
    opacity: 0;
    transform: translate3d(-480px, 300px, 0) rotate(-32deg) scaleX(1.4);
  }
  100% {
    opacity: 0;
    transform: translate3d(-480px, 300px, 0) rotate(-32deg) scaleX(1.4);
  }
}

@keyframes shootMeteor3 {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-38deg) scaleX(0.2);
  }
  5% {
    opacity: 1;
    transform: translate3d(-190px, 148px, 0) rotate(-38deg) scaleX(1);
  }
  10% {
    opacity: 0;
    transform: translate3d(-360px, 280px, 0) rotate(-38deg) scaleX(1.2);
  }
  100% {
    opacity: 0;
    transform: translate3d(-360px, 280px, 0) rotate(-38deg) scaleX(1.2);
  }
}

/* --- 4. Layout Container & Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: var(--radius-full);
  color: #E9D5FF;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.15);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #E9D5FF 65%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 冰淡紫色流光字 (Ice Light Purple Gradient) */
.gradient-ice-purple {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F3FF 20%, #E9D5FF 45%, #D8B4FE 70%, #C084FC 90%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(192, 132, 252, 0.4));
}

.gradient-cyan-purple {
  background: linear-gradient(135deg, #FAF5FF 0%, #D8B4FE 50%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- 5. Navigation Bar --- */
.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(192, 132, 252, 0.15);
  z-index: 1000;
  transition: all var(--transition-normal);
}

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

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

.nav-brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #CBD5E1;
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-primary), var(--blue-primary));
  transition: width var(--transition-normal);
}

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

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

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* --- 6. Buttons & CTA Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #FAF5FF 0%, #E9D5FF 28%, #D8B4FE 60%, #A855F7 100%);
  color: #0F051D;
  font-weight: 800;
  box-shadow: 0 4px 22px rgba(168, 85, 247, 0.45), 0 0 20px rgba(216, 180, 254, 0.35);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FFFFFF 0%, #F3E8FF 25%, #E9D5FF 55%, #C084FC 85%, #9333EA 100%);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.65), 0 0 30px rgba(233, 213, 255, 0.55);
  filter: brightness(1.06);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #D8B4FE;
  border: 1px solid rgba(192, 132, 252, 0.45);
}

.btn-outline:hover {
  background: rgba(192, 132, 252, 0.14);
  border-color: #D8B4FE;
  box-shadow: 0 0 18px rgba(192, 132, 252, 0.35);
  transform: translateY(-2px);
}

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

.btn-pulse {
  animation: pulseButton 2.5s infinite;
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(216, 180, 254, 0.65); }
  70% { box-shadow: 0 0 0 14px rgba(216, 180, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 180, 254, 0); }
}

/* --- 7. Hero Section --- */
.hero {
  padding: 70px 0 60px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: #F1F5F9;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.18);
}

.hero-pill .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green-online);
  box-shadow: 0 0 8px var(--green-online);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-line {
  display: block;
}

.hero-title-nowrap {
  display: inline-block;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

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

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  color: #94A3B8;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  max-width: 880px;
  margin: 0 auto;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge-item span.icon {
  color: var(--cyan-primary);
  font-size: 1.1rem;
}

/* --- 8. Live Stats Bar --- */
.stats-banner {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  backdrop-filter: blur(14px);
  margin-top: -20px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.stat-value.highlight-cyan { color: var(--cyan-primary); }
.stat-value.highlight-green { color: var(--green-online); }

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

/* --- 9. Pricing Section: STRICTLY ALL PRICES IN ONE ROW (所有价格同排) --- */
.pricing-section {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 Columns in 1 Row on Desktop */
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

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

/* Featured / Popular Plan */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(28, 16, 48, 0.95) 0%, rgba(16, 10, 30, 0.98) 100%);
  border: 2px solid #C084FC;
  box-shadow: 0 10px 40px -10px rgba(168, 85, 247, 0.45), 0 0 22px rgba(216, 180, 254, 0.35);
  transform: translateY(-4px);
}

.pricing-card.featured:hover {
  transform: translateY(-12px);
  border-color: #D8B4FE;
  box-shadow: 0 20px 50px -10px rgba(168, 85, 247, 0.6), 0 0 35px rgba(216, 180, 254, 0.5);
}

.card-top-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #FFFFFF 0%, #E9D5FF 35%, #C084FC 75%, #A855F7 100%);
  color: #0F051D;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.45);
}

.plan-header {
  margin-bottom: 20px;
}

.plan-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.28);
  border-radius: var(--radius-sm);
  color: #E9D5FF;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.plan-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
  line-height: 1.5;
}

.plan-price-wrap {
  margin: 18px 0 24px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.price-symbol {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan-primary);
}

.price-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: #FFFFFF;
  font-family: var(--font-mono);
  line-height: 1;
}

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

.price-tagline {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.plan-features-list {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #CBD5E1;
  line-height: 1.45;
}

.plan-features-list li svg.check-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: var(--cyan-primary);
  margin-top: 2px;
}

.plan-cta-btn {
  width: 100%;
  margin-top: auto;
}

/* --- 10. Core Advantages / Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

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

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.18) 0%, rgba(168, 85, 247, 0.28) 100%);
  border: 1px solid rgba(192, 132, 252, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #E9D5FF;
}

.feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.feature-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

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

/* --- 11. Global Nodes Matrix Showcase --- */
.nodes-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.node-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.node-card:hover {
  background: rgba(22, 33, 62, 0.7);
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
}

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

.node-flag {
  font-size: 1.8rem;
  line-height: 1;
}

.node-name {
  font-weight: 700;
  font-size: 1rem;
  color: #FFFFFF;
}

.node-type {
  font-size: 0.78rem;
  color: var(--text-highlight);
}

.node-meta {
  text-align: right;
}

.node-ping {
  font-size: 0.88rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--green-online);
}

.node-speed {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* --- 12. Article Showcase & Knowledge Base --- */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--bg-card-border-hover);
  box-shadow: var(--shadow-hover);
}

.article-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #E9D5FF;
  background: rgba(192, 132, 252, 0.14);
  border: 1px solid rgba(192, 132, 252, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  width: fit-content;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.45;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.article-card:hover .article-card-title {
  color: #D8B4FE;
}

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

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.article-read-more {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #D8B4FE;
  font-weight: 600;
}

.article-read-more svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.article-card:hover .article-read-more svg {
  transform: translateX(4px);
}

/* --- 13. User Reviews Section (用户评价) --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

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

.review-stars {
  color: var(--gold-accent);
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
  font-size: 0.95rem;
}

.review-text {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 22px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A855F7, #7C3AED);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(192, 132, 252, 0.45);
}

.review-info-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.review-info-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- 14. FAQ Accordion Section (常见问题) --- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.faq-item details summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: color var(--transition-fast);
}

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

.faq-item details summary:hover {
  color: var(--cyan-primary);
}

.faq-icon-chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  transition: transform var(--transition-normal);
  color: var(--text-highlight);
}

.faq-item details[open] summary .faq-icon-chevron {
  transform: rotate(180deg);
}

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

/* --- 15. External Resources & Client Support --- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.resource-card:hover {
  border-color: #D8B4FE;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.2);
}

.resource-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resource-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.resource-link {
  font-size: 0.82rem;
  color: var(--text-highlight);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --- 16. Article Detail Page Layout --- */
.article-page-wrap {
  padding: 50px 0 80px 0;
  position: relative;
  z-index: 2;
}

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

.breadcrumbs a:hover {
  color: var(--cyan-primary);
}

.breadcrumbs .separator {
  color: var(--text-dim);
}

.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 30px;
}

.article-title-large {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

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

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

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #E2E8F0;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 45px 0 18px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(192, 132, 252, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #D8B4FE;
  margin: 32px 0 14px 0;
}

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

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

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

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

.article-body strong {
  color: #FFFFFF;
  font-weight: 700;
}

.article-body blockquote {
  border-left: 4px solid #C084FC;
  background: rgba(192, 132, 252, 0.08);
  padding: 18px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 26px 0;
  color: #CBD5E1;
  font-style: italic;
}

/* In-Article Callout Box */
.article-cta-box {
  background: linear-gradient(135deg, rgba(28, 16, 48, 0.95) 0%, rgba(16, 10, 30, 0.95) 100%);
  border: 2px solid #C084FC;
  border-radius: var(--radius-lg);
  padding: 34px;
  margin: 45px 0;
  text-align: center;
  box-shadow: 0 10px 40px rgba(168, 85, 247, 0.3);
}

.article-cta-box h3 {
  font-size: 1.55rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

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

.related-articles-box {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
}

.related-articles-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 24px;
}

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

.related-link-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-fast);
}

.related-link-card:hover {
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
}

.related-link-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

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

/* --- 17. Footer Styles --- */
.site-footer {
  background: #03060C;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 35px 0;
  position: relative;
  z-index: 10;
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 380px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

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

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

.footer-links-list li a:hover {
  color: var(--cyan-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-geo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #64748B;
}

/* --- 18. Responsive Media Queries --- */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 on tablets */
  }
  .features-grid, .articles-preview-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-glass);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero {
    padding: 50px 0 40px 0;
  }
  .hero-title-nowrap {
    white-space: normal;
  }
  .hero-badges {
    flex-direction: column;
    gap: 14px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .pricing-grid {
    grid-template-columns: 1fr; /* Stack vertically on small mobile */
  }
  .features-grid, .nodes-matrix-grid, .articles-preview-grid, .reviews-grid, .resources-grid, .related-articles-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
