/* ==========================================================================
   瞬云 (ShunYun) - 80s Synthwave & Retrowave Futuristic Stylesheet
   Domain: shunyunjc.my
   Fluid Responsive Layout (Percentage-based, auto-stretch)
   ========================================================================== */

:root {
  /* Color Palette - 80s Synthwave & Cyberpunk */
  --bg-deep-space: #090314;
  --bg-dark-purple: #120624;
  --bg-card: rgba(22, 10, 42, 0.72);
  --bg-card-hover: rgba(36, 16, 68, 0.85);
  
  --neon-pink: #ff007f;
  --neon-pink-glow: rgba(255, 0, 127, 0.6);
  --neon-magenta: #ff2a8d;
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.6);
  --neon-purple: #a855f7;
  --sunset-orange: #ff7700;
  --sunset-yellow: #fbee35;
  --cyber-green: #00ff88;
  
  --text-main: #ffffff;
  --text-muted: #e6e0f8;
  --text-dim: #beb4d8;
  
  --border-neon-pink: rgba(255, 42, 141, 0.38);
  --border-neon-cyan: rgba(0, 240, 255, 0.38);
  
  --font-display: "Impact", "Arial Black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Courier New", "Consolas", monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  
  --transition-fast: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep-space);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #20083b 0%, #0d041c 50%, #070110 100%);
}

/* CRT Scanlines Overlay - Set behind text to prevent Chinese character fuzziness */
.scanlines-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.22) 50%
  );
  background-size: 100% 4px;
  opacity: 0.15;
}

/* Fluid Container - Percent-based */
.container {
  width: 92%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(10px, 2%, 24px);
  padding-right: clamp(10px, 2%, 24px);
}

/* Typography & Chrome 3D Effect */
.chrome-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: clamp(3px, 1vw, 10px);
  text-transform: uppercase;
  display: block;
  margin: 0 auto 18px;
  width: fit-content;
  position: relative;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f2f5fb 32%,
    #8ea3bb 48%,
    #1b2d49 50%,
    #3f75a6 52%,
    #8ec4f5 72%,
    #ffffff 88%,
    #d1e4fa 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 25px rgba(255, 0, 127, 0.9)) drop-shadow(0 0 45px rgba(0, 240, 255, 0.6));
  line-height: 1.15;
  user-select: none;
}

.chrome-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: linear-gradient(to bottom, #ff007f 0%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(14px);
  opacity: 0.85;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--neon-cyan);
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 0 12px var(--neon-pink-glow);
  margin-bottom: 12px;
}

.section-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(14, 6, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 42, 141, 0.25);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(64px, 8vh, 84px);
}

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

.logo-cloud-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 8px var(--neon-pink)) drop-shadow(0 0 16px var(--neon-cyan));
  animation: pulse-glow 3s infinite alternate ease-in-out;
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff 0%, var(--neon-pink) 50%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 0, 127, 0.6));
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-cyan);
  letter-spacing: 1px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(12px, 1.8vw, 28px);
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  transition: all var(--transition-fast);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--neon-pink);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-pink) 0%, #b8005b 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px var(--neon-pink-glow), inset 0 0 10px rgba(255, 255, 255, 0.3);
  transition: all var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.9), 0 0 15px var(--neon-cyan);
  border-color: #fff;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--neon-pink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 10px var(--neon-pink-glow);
}

/* ==========================================================================
   Hero Section - 80s Synthwave Sun, Low-Poly Neon Cloud & 3D Ground Grid
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(60px, 10vh, 120px) 0 clamp(80px, 12vh, 160px);
  overflow: hidden;
}

/* Synthwave Sunset & Glow Horizon */
.synthwave-sun {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(280px, 38vw, 480px);
  height: clamp(280px, 38vw, 480px);
  border-radius: 50%;
  background: linear-gradient(to bottom, #ffe600 0%, #ff5500 40%, #ff007f 80%, #7d00b3 100%);
  box-shadow: 0 0 60px rgba(255, 119, 0, 0.5), 0 0 120px rgba(255, 0, 127, 0.35);
  z-index: 1;
  opacity: 0.62;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 48%,
    transparent 50%,
    rgba(0, 0, 0, 1) 52%,
    rgba(0, 0, 0, 1) 62%,
    transparent 64%,
    rgba(0, 0, 0, 1) 66%,
    rgba(0, 0, 0, 1) 76%,
    transparent 78%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 1) 88%,
    transparent 90%,
    rgba(0, 0, 0, 1) 92%,
    rgba(0, 0, 0, 1) 97%,
    transparent 98%,
    rgba(0, 0, 0, 1) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 48%,
    transparent 50%,
    rgba(0, 0, 0, 1) 52%,
    rgba(0, 0, 0, 1) 62%,
    transparent 64%,
    rgba(0, 0, 0, 1) 66%,
    rgba(0, 0, 0, 1) 76%,
    transparent 78%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 1) 88%,
    transparent 90%,
    rgba(0, 0, 0, 1) 92%,
    rgba(0, 0, 0, 1) 97%,
    transparent 98%,
    rgba(0, 0, 0, 1) 100%
  );
}

/* Floating Low-Poly Neon Cloud */
.lowpoly-clouds-container {
  position: absolute;
  top: 8%;
  width: 100%;
  height: 55%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.lowpoly-cloud {
  position: absolute;
  filter: drop-shadow(0 0 25px rgba(255, 0, 127, 0.7)) drop-shadow(0 0 45px rgba(0, 240, 255, 0.5));
  animation: float-cloud 8s ease-in-out infinite alternate;
  opacity: 0.75;
}

.cloud-left {
  left: -4%;
  top: 25%;
  width: clamp(260px, 32vw, 500px);
}

.cloud-right {
  right: -5%;
  top: 15%;
  width: clamp(280px, 35vw, 540px);
  animation-duration: 10s;
  animation-direction: alternate-reverse;
}

/* 3D Perspective Ground Grid */
.synthwave-grid-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48%;
  overflow: hidden;
  perspective: 450px;
  z-index: 1;
}

.synthwave-grid-plane {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(to right, rgba(255, 0, 127, 0.5) 2px, transparent 2px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.5) 2px, transparent 2px);
  background-size: clamp(40px, 4.5vw, 75px) clamp(40px, 4.5vw, 75px);
  transform: rotateX(74deg) translateY(0);
  transform-origin: top center;
  animation: move-grid 2.5s linear infinite;
  box-shadow: inset 0 0 100px rgba(18, 6, 36, 0.95);
}

.horizon-glow {
  position: absolute;
  bottom: 48%;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #ff007f 25%, #00f0ff 50%, #ff007f 75%, transparent 100%);
  box-shadow: 0 0 35px 8px rgba(0, 240, 255, 0.8), 0 0 65px 15px rgba(255, 0, 127, 0.9);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) clamp(18px, 3vw, 36px);
  background: rgba(12, 5, 26, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 42, 141, 0.35);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 0, 127, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 9, 44, 0.95);
  border: 1.5px solid var(--neon-pink);
  box-shadow: 0 0 22px rgba(255, 0, 127, 0.5);
  padding: 8px 24px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1.1vw, 0.96rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1.2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cyber-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyber-green);
  animation: blink 1.5s infinite;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.3vw, 1.95rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
  margin: 10px 0 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 240, 255, 0.8);
}

.hero-description {
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
  font-weight: 500;
  color: #f2eefd;
  max-width: 860px;
  margin: 0 auto 36px;
  line-height: 1.85;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

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

.btn-primary-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(14px, 2vh, 18px) clamp(28px, 3.5vw, 44px);
  border-radius: 40px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff007f 0%, #ff5500 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.75), 0 0 60px rgba(255, 85, 0, 0.45);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.btn-primary-neon:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 45px rgba(255, 0, 127, 1), 0 0 80px rgba(0, 240, 255, 0.6);
  border-color: #fff;
}

.btn-secondary-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(14px, 2vh, 18px) clamp(26px, 3vw, 38px);
  border-radius: 40px;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  text-decoration: none;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.35);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.btn-secondary-cyber:hover {
  background: rgba(0, 240, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.7);
  color: #fff;
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 50px);
  padding: 18px clamp(15px, 3vw, 36px);
  background: rgba(18, 8, 38, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 42, 141, 0.28);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 900;
  background: linear-gradient(90deg, #ff007f, #00f0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.stat-label {
  font-size: clamp(0.75rem, 1vw, 0.88rem);
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
   Section Layouts & Sunset Cards
   ========================================================================== */
section {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}

/* Sunset Gradient Glass Cards */
.sunset-card {
  position: relative;
  background: linear-gradient(135deg, rgba(38, 14, 68, 0.72) 0%, rgba(20, 8, 42, 0.82) 100%);
  border: 1px solid rgba(255, 42, 141, 0.28);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 36px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.sunset-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-cyan), transparent);
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.sunset-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 42, 141, 0.65);
  box-shadow: 0 18px 45px rgba(255, 0, 127, 0.25), 0 0 25px rgba(0, 240, 255, 0.2);
}

.sunset-card:hover::before {
  opacity: 1;
  height: 3px;
  box-shadow: 0 0 15px var(--neon-pink);
}

/* Retro Pixel Icons */
.pixel-icon-box {
  width: clamp(52px, 5vw, 68px);
  height: clamp(52px, 5vw, 68px);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.2), rgba(0, 240, 255, 0.15));
  border: 1px solid rgba(255, 0, 127, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
  font-size: 1.8rem;
  color: var(--neon-cyan);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 28vw, 380px), 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.feature-title {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  color: var(--text-muted);
  line-height: 1.72;
}

/* ==========================================================================
   Node Latency & Real-Time Status Board
   ========================================================================== */
.nodes-monitor-board {
  background: rgba(14, 5, 30, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 20px;
  padding: clamp(20px, 3.5vw, 40px);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.15), inset 0 0 30px rgba(0, 240, 255, 0.05);
}

.monitor-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(255, 42, 141, 0.3);
}

.monitor-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.monitor-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyber-green);
  box-shadow: 0 0 15px var(--cyber-green);
  animation: pulse-indicator 2s infinite;
}

.monitor-name {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.monitor-btn-refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.monitor-btn-refresh:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 20px var(--neon-cyan);
}

.nodes-table-wrap {
  width: 100%;
  overflow-x: auto;
}

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

.nodes-table th {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--neon-pink);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 42, 141, 0.25);
}

.nodes-table td {
  padding: 16px;
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  color: #ffffff;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nodes-table tr:hover td {
  background: rgba(255, 0, 127, 0.05);
}

.node-region-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.flag-icon {
  font-size: 1.3rem;
}

.protocol-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #d8b4fe;
}

.latency-val {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.05rem;
}

.latency-ultra {
  color: var(--cyber-green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.latency-good {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.status-badge-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyber-green);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(30px, 4vw, 55px);
}

.pricing-switch-btn {
  background: rgba(25, 10, 48, 0.7);
  border: 1px solid rgba(255, 42, 141, 0.35);
  padding: 4px;
  border-radius: 999px;
  display: flex;
  gap: 4px;
}

.toggle-opt {
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-opt.active {
  background: linear-gradient(135deg, var(--neon-pink), #b8005b);
  color: #fff;
  box-shadow: 0 0 18px var(--neon-pink-glow);
}

.discount-pill {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #ff7700, #ff007f);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 119, 0, 0.6);
  animation: bounce 2s infinite ease-in-out;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 22vw, 320px), 1fr));
  gap: clamp(20px, 2.5vw, 30px);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.featured {
  border-color: var(--neon-pink);
  box-shadow: 0 0 35px rgba(255, 0, 127, 0.4), inset 0 0 20px rgba(255, 0, 127, 0.1);
  transform: scale(1.02);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(90deg, var(--neon-pink), var(--sunset-orange));
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 0 15px var(--neon-pink);
}

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

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

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

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

.currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-pink);
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 0, 127, 0.6);
}

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

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

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: #ffffff;
  font-weight: 500;
}

.feature-check {
  color: var(--cyber-green);
  font-weight: 800;
  font-size: 1.1rem;
}

.pricing-btn {
  width: 100%;
  padding: 13px 0;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 42, 141, 0.4);
  transition: all var(--transition-smooth);
  display: inline-block;
}

.pricing-card.featured .pricing-btn {
  background: linear-gradient(135deg, var(--neon-pink), #b8005b);
  border-color: #fff;
  box-shadow: 0 0 25px var(--neon-pink-glow);
}

.pricing-btn:hover {
  background: var(--neon-pink);
  border-color: #fff;
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.8);
  transform: translateY(-2px);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 28vw, 380px), 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.user-meta-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.user-meta-title {
  font-size: 0.82rem;
  color: var(--neon-cyan);
}

.rating-stars {
  color: #ffd700;
  font-size: 0.95rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: #f1ecfc;
  line-height: 1.75;
  font-style: normal;
}

/* ==========================================================================
   FAQ Section - Accordion
   ========================================================================== */
.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(22, 10, 42, 0.65);
  border: 1px solid rgba(255, 42, 141, 0.22);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.faq-question {
  width: 100%;
  padding: clamp(16px, 2.5vw, 22px);
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  gap: 16px;
}

.faq-icon-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-pink);
  font-weight: 800;
  font-size: 1.2rem;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--neon-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease-out, padding 0.38s ease;
  padding: 0 clamp(16px, 2.5vw, 22px);
  color: #f1ecfc;
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 380px;
  padding-bottom: 22px;
}

/* ==========================================================================
   Knowledge Base & 8 SEO Tutorials Section
   ========================================================================== */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(290px, 28vw, 420px), 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.tutorial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tutorial-cover-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.tutorial-title {
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.45;
}

.tutorial-excerpt {
  font-size: 0.95rem;
  color: #e6e0f8;
  margin-bottom: 20px;
  line-height: 1.7;
}

.tutorial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: auto;
}

.read-time {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.read-link {
  color: var(--neon-pink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.read-link:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
  transform: translateX(4px);
}

/* ==========================================================================
   Full Article Reader Modal (Quick Read Experience)
   ========================================================================== */
.article-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(8, 2, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.article-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.modal-content-container {
  width: 94%;
  max-width: 920px;
  max-height: 88vh;
  background: #140827;
  border: 1px solid var(--neon-pink);
  box-shadow: 0 0 45px rgba(255, 0, 127, 0.4), 0 0 80px rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 48px);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255, 0, 127, 0.2);
  border: 1px solid var(--neon-pink);
  color: #fff;
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--neon-pink);
  box-shadow: 0 0 18px var(--neon-pink);
}

/* Article Styling (Common for subpages and modal) */
.article-body {
  color: #e4def5;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: #fff;
  text-shadow: 0 0 12px var(--neon-pink);
  margin-bottom: 18px;
}

.article-body h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--neon-cyan);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.3);
}

.article-body h3 {
  font-size: 1.2rem;
  color: #ff99cc;
  margin: 22px 0 10px;
}

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

.article-body ul, .article-body ol {
  margin-bottom: 20px;
  padding-left: 28px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--neon-pink);
  padding: 12px 20px;
  background: rgba(255, 0, 127, 0.08);
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-style: italic;
  color: #fce7f3;
}

.article-body code {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--neon-cyan);
  font-size: 0.9em;
}

.article-body pre {
  background: #0b0216;
  border: 1px solid rgba(255, 42, 141, 0.3);
  padding: 18px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 20px 0;
}

.article-body pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: #00ff88;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.article-body th, .article-body td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  font-size: 0.92rem;
}

.article-body th {
  background: rgba(255, 0, 127, 0.15);
  color: var(--neon-pink);
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.2), rgba(0, 240, 255, 0.2));
  border: 1px solid var(--neon-pink);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.3);
  border-radius: 14px;
  padding: 26px;
  text-align: center;
  margin: 40px 0 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #090216;
  border-top: 1px solid rgba(255, 42, 141, 0.3);
  padding: clamp(50px, 7vw, 90px) 0 35px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 20vw, 280px), 1fr));
  gap: clamp(30px, 4vw, 50px);
  margin-bottom: 50px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  background: linear-gradient(90deg, #fff, var(--neon-pink), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--neon-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--neon-pink);
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes move-grid {
  0% {
    transform: rotateX(74deg) translateY(0);
  }
  100% {
    transform: rotateX(74deg) translateY(clamp(40px, 4.5vw, 75px));
  }
}

@keyframes float-cloud {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-18px) scale(1.04);
  }
}

@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 6px var(--neon-pink)) drop-shadow(0 0 12px var(--neon-cyan));
  }
  100% {
    filter: drop-shadow(0 0 16px var(--neon-pink)) drop-shadow(0 0 32px var(--neon-cyan));
  }
}

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

@keyframes pulse-indicator {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: clamp(64px, 8vh, 84px);
    left: 0;
    width: 100%;
    background: rgba(14, 6, 28, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--neon-pink);
    flex-direction: column;
    padding: 26px 0;
    gap: 16px;
    clip-path: circle(0% at top right);
    transition: clip-path 0.4s ease-in-out;
  }
  
  .nav-menu.open {
    clip-path: circle(150% at top right);
  }
  
  .synthwave-sun {
    top: 10%;
  }
}

@media (max-width: 600px) {
  .hero-stats-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .btn-primary-neon, .btn-secondary-cyber {
    width: 100%;
  }
}
