/* ==========================================================================
   智联网络 (zlwl.homes) 赛博朋克极光设计系统 (Cyber Neon Aesthetic)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #070512;
  --bg-card: rgba(18, 12, 38, 0.65);
  --bg-card-hover: rgba(30, 20, 60, 0.85);
  --border-neon: rgba(157, 78, 221, 0.35);
  --border-neon-bright: rgba(224, 170, 255, 0.8);
  
  --primary-purple: #9d4edd;
  --secondary-magenta: #c77dff;
  --accent-gold: #ffaa00;
  --accent-cyan: #00f0ff;
  --accent-green: #00ff88;
  
  --text-main: #f3f0ff;
  --text-muted: #a39bb8;
  --text-highlight: #e0aaff;
  
  --font-display: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --glow-primary: 0 0 25px rgba(157, 78, 221, 0.45);
  --glow-strong: 0 0 40px rgba(224, 170, 255, 0.7);
  --glow-cyan: 0 0 25px rgba(0, 240, 255, 0.4);
}

/* Reset & Universal Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

/* Canvas & Cursor Trail */
#spark-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

#trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}

/* Background Gradients */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(157, 78, 221, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(0, 240, 255, 0.12) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
}

/* Typography Utilities */
.neon-title-spark {
  background: linear-gradient(135deg, #ffffff 0%, #e0aaff 30%, #9d4edd 70%, #ffaa00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(157, 78, 221, 0.5);
  font-family: var(--font-display);
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #7b2cbf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header Navbar */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 5, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(157, 78, 221, 0.2);
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 10px rgba(157, 78, 221, 0.8));
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.1) rotate(5deg);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 1px;
}

.brand-name span {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-left: 4px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Header Buttons */
.btn-recommend {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(157, 78, 221, 0.3));
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--glow-cyan);
  transition: all 0.3s ease;
}

.btn-recommend:hover {
  background: var(--accent-cyan);
  color: #070512;
  box-shadow: 0 0 25px var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-register-main {
  background: linear-gradient(135deg, var(--primary-purple), var(--secondary-magenta));
  border: none;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--glow-primary);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-register-main:hover {
  box-shadow: var(--glow-strong);
  transform: translateY(-2px) scale(1.03);
}

/* Layout Containers */
.main-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.section-block {
  margin-bottom: 5rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid var(--border-neon);
  border-radius: 20px;
  color: var(--text-highlight);
  font-size: 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

/* H1 Hero Section Directive 3 */
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-action-group {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Live Stats Counter Box Directive 3 */
.stats-counter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--glow-primary);
  position: relative;
  overflow: hidden;
}

.stats-counter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary-purple), var(--accent-gold));
}

.counter-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-highlight);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.live-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseLive 1.8s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.counter-item {
  margin-bottom: 1.25rem;
}

.counter-item:last-child {
  margin-bottom: 0;
}

.counter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.counter-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}

.counter-value.cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.counter-value.gold {
  color: var(--accent-gold);
  text-shadow: 0 0 15px rgba(255, 170, 0, 0.5);
}

/* H2 Packages Dynamic Horizontal Rotating Slider */
.pricing-carousel-container {
  position: relative;
  width: 100%;
  padding: 0 3.5rem;
  margin: 1.5rem 0;
}

.pricing-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 24px;
  padding: 2rem 0.5rem 1.2rem;
}

.pricing-horizontal-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.price-card {
  flex: 0 0 calc(25% - 1.125rem);
  min-width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(16px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s ease;
}

.price-card:hover, .price-card.featured, .price-card.active-focus {
  border-color: var(--border-neon-bright);
  box-shadow: var(--glow-strong);
  transform: translateY(-8px) scale(1.02);
  background: var(--bg-card-hover);
}

.price-card.featured::after {
  content: '⚡ 最受欢迎';
  position: absolute;
  top: 12px;
  right: 16px;
  background: linear-gradient(135deg, var(--accent-gold), #ff5500);
  color: #070512;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 170, 0, 0.6);
  z-index: 5;
}

/* Nav Control Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(157, 78, 221, 0.4);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: var(--glow-cyan);
}

.carousel-nav-btn:hover {
  background: var(--accent-cyan);
  color: #070512;
  box-shadow: 0 0 25px var(--accent-cyan);
  transform: translateY(-50%) scale(1.15);
}

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

/* Dots Indicator */
.pricing-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pricing-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(157, 78, 221, 0.3);
  border: 1px solid var(--border-neon);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-dots .dot.active, .pricing-dots .dot:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 14px var(--accent-cyan);
  transform: scale(1.3);
}

/* Responsive Grid for Track */
@media (max-width: 1200px) {
  .price-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .pricing-carousel-container {
    padding: 0 2.5rem;
  }
  .price-card {
    flex: 0 0 100%;
  }
  .carousel-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }
}

.price-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.price-amount span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.price-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: bold;
}

.btn-card-buy {
  width: 100%;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--border-neon);
  background: rgba(157, 78, 221, 0.2);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.price-card:hover .btn-card-buy, .price-card.featured .btn-card-buy {
  background: linear-gradient(135deg, var(--primary-purple), var(--secondary-magenta));
  border-color: transparent;
  box-shadow: var(--glow-primary);
}

/* H3 Cyber Article Stream Directive 5 */
.cyber-article-wrapper {
  background: rgba(15, 10, 32, 0.7);
  border: 1px solid var(--border-neon);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  max-height: 580px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-purple) rgba(15, 10, 32, 0.9);
}

.cyber-article-wrapper::-webkit-scrollbar {
  width: 6px;
}
.cyber-article-wrapper::-webkit-scrollbar-track {
  background: rgba(15, 10, 32, 0.9);
}
.cyber-article-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary-purple);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--primary-purple);
}

.cyber-article-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cyber-article-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-main);
}

.cyber-article-card:hover {
  background: rgba(157, 78, 221, 0.12);
  border-color: var(--accent-cyan);
  transform: translateX(8px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.article-info h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.article-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-highlight);
}

.article-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(157, 78, 221, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cyber-article-card:hover .article-arrow {
  background: var(--accent-cyan);
  color: #070512;
  transform: scale(1.1);
}

/* H4 Reviews & Node Speed Test Directive 6 */
.h4-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.review-slider-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-content-box {
  position: relative;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary-purple);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.review-text {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100px;
  transition: opacity 0.4s ease;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
}

.user-info h5 {
  font-size: 0.95rem;
  color: #fff;
}

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

.star-rating {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

/* Speed Test Box */
.speedtest-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(20px);
}

.speed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.speed-header h4 {
  font-size: 1.2rem;
  color: #fff;
}

.btn-retest {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 0.35rem 0.9rem;
  border-radius: 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-retest:hover {
  background: var(--accent-cyan);
  color: #070512;
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.node-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.flag {
  font-size: 1.2rem;
}

.node-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.ping-bar-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ping-val {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-green);
}

.ping-val.fast { color: var(--accent-green); }
.ping-val.medium { color: var(--accent-gold); }

/* H5 FAQ Side-by-side Cards Directive 7 */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.faq-card:hover {
  border-color: var(--border-neon-bright);
  box-shadow: var(--glow-primary);
}

.faq-card h5 {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-card h5::before {
  content: 'Q.';
  font-family: var(--font-display);
  color: var(--primary-purple);
  font-weight: 800;
}

.faq-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* H6 Protection & Clients Ecosystem Directive 8 */
.protection-box {
  background: linear-gradient(135deg, rgba(26, 16, 60, 0.8), rgba(10, 5, 25, 0.9));
  border: 1px solid var(--border-neon);
  border-radius: 28px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-primary);
}

.protection-box h6 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.protection-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.platform-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
  min-width: 110px;
}

.platform-item:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
  background: rgba(0, 240, 255, 0.08);
}

.platform-icon {
  font-size: 2rem;
}

.platform-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Footer & PBN Links Directive */
.site-footer {
  border-top: 1px solid rgba(157, 78, 221, 0.2);
  background: rgba(5, 3, 12, 0.95);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

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

/* PBN Friend Links Section - Precision SEO Integration */
.pbn-links-area {
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pbn-links-area label {
  font-weight: 600;
  color: var(--text-highlight);
  font-size: 0.8rem;
}

.pbn-links-area a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pbn-links-area a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-action-group {
    justify-content: center;
  }
  .pricing-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
  .h4-dual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.8rem 1rem;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .pricing-carousel {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .platform-grid {
    gap: 0.75rem;
  }
  .platform-item {
    min-width: 80px;
    padding: 0.75rem 0.5rem;
  }
}
