/* BabkaVPS cyber redesign — from index (7).html + project tweaks */

/* ==========================================================================
   BabkaVPS — Ultra Modern Cyber-Dark Design System (Clean & High-Performance)
   ========================================================================== */

:root {
  --bg-primary: #06080f;
  --bg-secondary: #0b101c;
  --bg-card: rgba(14, 20, 34, 0.75);
  --bg-card-hover: rgba(22, 30, 50, 0.9);
  --bg-glass: rgba(14, 20, 36, 0.6);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(99, 102, 241, 0.2);
  --border-neon-cyan: rgba(0, 240, 255, 0.4);
  --border-neon-purple: rgba(168, 85, 247, 0.4);

  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.3);
  --accent-purple: #c084fc;
  --accent-purple-glow: rgba(192, 132, 252, 0.3);
  --accent-fuchsia: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-cyan: #38bdf8;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-sans: 'Onest', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-neon-cyan: 0 0 25px rgba(0, 240, 255, 0.25);
  --shadow-neon-purple: 0 0 25px rgba(168, 85, 247, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 20% 15%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 25%, rgba(0, 240, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 75%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
    linear-gradient(to bottom, #06080f, #090e18 50%, #06080f 100%);
  background-attachment: fixed;
}

/* Subtle Cyber Grid Vignette */
.cyber-grid-overlay {
  position: fixed;
  inset: 0;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
  pointer-events: none;
  z-index: 0;
}

/* Ambient Glow Lighting */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}
.glow-orb-cyan {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #00f0ff 0%, transparent 70%);
  top: -80px;
  right: -100px;
}
.glow-orb-purple {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  top: 150px;
  left: -150px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

/* Typography & Gradients */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 10%, #38bdf8 60%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-neon {
  background: linear-gradient(135deg, #00f0ff 0%, #c084fc 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-purple {
  background: linear-gradient(135deg, #ffffff 20%, #c084fc 70%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Headings */
.section-head {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}
.badge-pill-purple {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.3);
  color: #d8b4fe;
}
.badge-pill-emerald {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
  user-select: none;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #6366f1 50%, #a855f7 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35), 0 0 12px rgba(0, 240, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.5), 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.btn-neon-outline {
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--accent-cyan);
}
.btn-neon-outline:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}
.btn-trial {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.35);
}
.btn-trial:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.5);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}
.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   Header & Promo Bar (Clean & Streamlined)
   ========================================================================== */
.promo-bar {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.15) 0%, rgba(0, 240, 255, 0.15) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
  padding: 7px 16px;
  position: relative;
  z-index: 60;
  backdrop-filter: blur(8px);
}
.promo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.promo-badge {
  background: var(--accent-cyan);
  color: #000;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.promo-link {
  color: var(--accent-cyan);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.promo-link:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}
.site-header.scrolled {
  background: rgba(6, 8, 15, 0.95);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

/* Brand */
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.brand-avatar-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
  flex-shrink: 0;
}
.brand-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #000;
}
.brand-title {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.brand-domain {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(0, 240, 255, 0.25);
}

/* Status Indicator */
.header-status {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}
@media (min-width: 1120px) {
  .header-status {
    display: inline-flex;
  }
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Navigation Menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: 22px;
  list-style: none;
}
@media (min-width: 900px) {
  .nav-menu {
    display: flex;
  }
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-trial-btn {
  display: none;
}
@media (min-width: 640px) {
  .nav-trial-btn {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  cursor: pointer;
}
@media (min-width: 900px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 8, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 49;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Hero Section (Tighter, Clean, Zero Noise)
   ========================================================================== */
.hero-section {
  padding-top: 48px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
  }
}

.hero-headline {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 580px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.trust-item-icon {
  color: var(--accent-cyan);
}

/* Hero Cyber Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-hologram-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(160deg, rgba(16, 24, 44, 0.92) 0%, rgba(10, 14, 26, 0.98) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 28px;
  padding: 38px 26px 26px;
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.16), 0 20px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  transform: translateZ(0);
}

/* Card Badges matching image-2 layout */
.card-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 5;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card-badge:hover {
  transform: translateY(-2px);
}
.card-badge-top-left {
  top: 18px;
  left: 18px;
  border-color: rgba(34, 211, 238, 0.4);
  color: #38bdf8;
}
.card-badge-bottom-right {
  bottom: 84px;
  right: 18px;
  border-color: rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
}

.hero-mascot-container {
  position: relative;
  width: 204px;
  margin: 14px auto 20px;
}
.hero-mascot-img-wrap {
  position: relative;
  width: 204px;
  height: 204px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.95) 0%, rgba(168, 85, 247, 0.9) 60%, rgba(0, 240, 255, 0.8) 100%);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.45), 0 0 20px rgba(168, 85, 247, 0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}
.hero-mascot-img-wrap::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(32, 20, 56, 0.98) 0%, rgba(10, 14, 24, 1) 75%);
  box-shadow: inset 0 0 24px rgba(168, 85, 247, 0.35);
  z-index: 0;
}
.hero-mascot-img-wrap:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.7), 0 0 30px rgba(168, 85, 247, 0.55);
}
.hero-mascot-glow {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.55) 0%, rgba(0, 240, 255, 0.35) 60%, transparent 80%);
  filter: blur(22px);
  animation: glow-breathe 4s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
}
@keyframes glow-breathe {
  0% { transform: scale(0.96); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* CSS Live Puppet Rig for Babka Waving */
.babka-puppet-container {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translateY(14px) scale(1.12);
  transform-origin: center bottom;
}
.babka-puppet-body,
.babka-puppet-hand,
.babka-puppet-cuff {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.babka-puppet-body {
  z-index: 1;
}
.babka-puppet-hand {
  z-index: 2;
  transform-origin: 32.94% 38.71%;
  animation: babka-real-wave 1.25s infinite ease-in-out;
  will-change: transform;
}
.hero-mascot-img-wrap:hover .babka-puppet-hand {
  animation-duration: 0.65s;
}
.babka-puppet-cuff {
  z-index: 3;
}

@keyframes babka-real-wave {
  0% {
    transform: rotate(2deg);
  }
  20% {
    transform: rotate(-22deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  65% {
    transform: rotate(-24deg);
  }
  85% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(2deg);
  }
}

.hero-mascot-img {
  position: relative;
  width: 112%;
  height: 112%;
  object-fit: contain;
  transform: translateY(14px);
  z-index: 1;
  pointer-events: none;
}

.mascot-speech-bubble {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(0, 240, 255, 0.65);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.3);
  color: #fff;
  padding: 5px 12px;
  border-radius: 12px 12px 12px 2px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
  animation: bubble-float 3s ease-in-out infinite alternate;
  user-select: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
@keyframes bubble-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}


/* Bottom-corner audio control: opt-in, lightweight, and touch-friendly. */
.ambient-toggle {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 13px;
  color: #eaf9ff;
  font: 700 .78rem/1 var(--font-sans);
  letter-spacing: .01em;
  background: rgba(8, 13, 27, .88);
  border: 1px solid rgba(0, 229, 255, .34);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.34), 0 0 20px rgba(0,229,255,.08);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.ambient-toggle:hover { transform: translateY(-2px); border-color: rgba(0,229,255,.8); }
.ambient-toggle:focus-visible { outline: 3px solid rgba(168,85,247,.75); outline-offset: 3px; }
.ambient-toggle.is-playing { border-color: rgba(34,211,153,.8); background: rgba(7, 34, 38, .92); }
.ambient-toggle-dot { width: 8px; height: 8px; border-radius: 50%; background: #64748b; box-shadow: 0 0 0 0 rgba(52,211,153,0); }
.ambient-toggle.is-playing .ambient-toggle-dot { background: #34d399; animation: ambient-pulse 1.6s ease-in-out infinite; }
@keyframes ambient-pulse { 50% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } }
@media (max-width: 680px) {
  .ambient-toggle { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 54px); left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}
.metric-val {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}
.metric-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ==========================================================================
   Payments Bar
   ========================================================================== */
.payments-ticker-sec {
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 16, 28, 0.5);
}
.payments-ticker-title {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 700;
}
.payments-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pay-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.pay-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   Server Monitor & Ping Test
   ========================================================================== */
.ping-monitor-sec {
  padding: 80px 0;
}
.ping-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-neon-cyan);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.1), var(--shadow-card);
  backdrop-filter: blur(20px);
}
.ping-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.ping-live-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ping-refresh-btn {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}
.ping-refresh-btn:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.server-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .server-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .server-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.server-card {
  background: rgba(11, 16, 28, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-fast);
  cursor: pointer;
}
.server-card:hover, .server-card.active {
  border-color: var(--accent-cyan);
  background: rgba(18, 26, 44, 0.95);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}
.server-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.server-flag-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}
.server-flag {
  font-size: 1.4rem;
  line-height: 1;
}
.server-country-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.server-city-name {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.server-ping-badge {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ping-ultra {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.ping-good {
  background: rgba(0, 240, 255, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 240, 255, 0.3);
}
.ping-med {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.server-load-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.server-load-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
}
.server-load-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.server-load-progress {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #34d399, #38bdf8);
}
.server-best-for {
  font-size: 0.76rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-sec {
  padding: 72px 0;
}
.service-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-pill-btn:hover, .filter-pill-btn.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}
.service-status-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.service-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.service-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.service-perf-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-sec {
  padding: 80px 0;
  position: relative;
}
.pricing-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 640px) {
  .pricing-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pricing-cards-container {
    grid-template-columns: repeat(5, 1fr);
  }
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.plan-card-featured {
  background: linear-gradient(165deg, rgba(26, 20, 50, 0.95) 0%, rgba(12, 16, 32, 0.95) 100%);
  border: 2px solid var(--accent-purple);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.25), 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: scale(1.02);
  z-index: 2;
}
.plan-card-featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 0 45px rgba(168, 85, 247, 0.4);
}
.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
  white-space: nowrap;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
}
.plan-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 18px;
}
.plan-price-wrap {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.plan-price {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.plan-period-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 6px;
}
.plan-save-pill {
  display: inline-block;
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.35);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-top: 8px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}
.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.feature-check {
  color: var(--accent-cyan);
  flex-shrink: 0;
  font-weight: 900;
}

/* ==========================================================================
   3-Step Setup Wizard
   ========================================================================== */
.wizard-sec {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 16, 28, 0.7) 50%, transparent 100%);
}
.os-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.os-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.os-tab-btn:hover, .os-tab-btn.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.wizard-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 860px) {
  .wizard-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wizard-step-card {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
}
.step-number-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #000;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}
.step-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}
.step-action-area {
  margin-top: auto;
}

/* ==========================================================================
   Router Showcase
   ========================================================================== */
.router-showcase-sec {
  padding: 80px 0;
}
.router-banner-card {
  background: linear-gradient(135deg, rgba(20, 26, 44, 0.9) 0%, rgba(10, 14, 25, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.12), var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 960px) {
  .router-banner-card {
    grid-template-columns: 1.25fr 0.75fr;
    padding: 50px 42px;
  }
}
.router-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.spec-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
}
.spec-box-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 3px;
}
.spec-box-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.router-visual-card {
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(0, 0, 0, 0.5) 80%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}
.router-price-badge {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 6px;
}
.router-perk-pills {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 18px 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.comparison-sec {
  padding: 80px 0;
}
.comp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comp-table th, .comp-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}
.comp-table th {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}
.comp-table th.col-highlight {
  background: rgba(0, 240, 255, 0.08);
  color: var(--accent-cyan);
  border-left: 1px solid rgba(0, 240, 255, 0.2);
  border-right: 1px solid rgba(0, 240, 255, 0.2);
}
.comp-table td.col-highlight {
  background: rgba(0, 240, 255, 0.03);
  border-left: 1px solid rgba(0, 240, 255, 0.18);
  border-right: 1px solid rgba(0, 240, 255, 0.18);
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-sec {
  padding: 80px 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.review-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 0.95rem;
}
.reviewer-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.reviewer-date {
  font-size: 0.74rem;
  color: var(--text-muted);
}
.stars-row {
  color: #f59e0b;
  font-size: 0.82rem;
  letter-spacing: 2px;
}
.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.review-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-sec {
  padding: 80px 0;
}
.faq-search-wrap {
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
}
.faq-search-input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid var(--border-neon-cyan);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  transition: all var(--transition-fast);
}
.faq-search-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}
.faq-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-cyan);
  font-size: 1rem;
}

.faq-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.faq-cat-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.faq-cat-btn:hover, .faq-cat-btn.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--accent-purple);
  color: #fff;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  transition: all var(--transition-fast);
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}
.faq-question-btn {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-chevron {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(0, 240, 255, 0.15);
}
.faq-grid-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-grid-content {
  grid-template-rows: 1fr;
}
.faq-grid-inner {
  overflow: hidden;
}
.faq-answer-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 0 22px 20px 22px;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-container {
  width: 100%;
  max-width: 580px;
  background: linear-gradient(165deg, #101524 0%, #070a12 100%);
  border: 1px solid var(--border-neon-cyan);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.2), 0 30px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-container {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 22px;
}
.modal-tab-btn {
  flex: 1;
  padding: 10px 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}
.modal-tab-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.modal-plan-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
@media (min-width: 500px) {
  .modal-plan-selector {
    grid-template-columns: repeat(3, 1fr);
  }
}
.modal-plan-opt {
  padding: 10px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.modal-plan-opt.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.key-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #38bdf8;
  word-break: break-all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
}

/* ==========================================================================
   Mobile Sticky Action Bar
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(6, 8, 15, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #04050a;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 24px;
  margin-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}
.footer-col-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--accent-cyan);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Upgraded Modal Components (Vector Icons & Rich State)
   ========================================================================== */
.modal-plan-opt-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}
.modal-plan-opt-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  margin-bottom: 2px;
}
.modal-plan-opt-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.modal-plan-opt-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  display: inline-block;
  margin-top: 2px;
  width: fit-content;
}
.modal-plan-opt-badge.hit {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(168, 85, 247, 0.25));
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.4);
}
.modal-plan-opt-badge.green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.modal-pay-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.pay-method-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pay-method-card:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(0, 240, 255, 0.35);
}
.pay-method-card.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.18);
}
.pay-method-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pay-method-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pay-method-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}
.pay-method-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.pay-method-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.pay-method-card.active .pay-method-radio {
  border-color: var(--accent-cyan);
}
.radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  display: none;
}
.pay-method-card.active .radio-dot {
  display: block;
}

.modal-summary-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

  

/* Completion pass: keyboard access and the legal-information dialog. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible, [role="radio"]:focus-visible, .modal-plan-opt:focus-visible {
  outline: 3px solid rgba(0, 240, 255, 0.85); outline-offset: 3px;
}
.hero-mascot-img-wrap[role="button"]:focus-visible { box-shadow:0 0 0 4px rgba(168,85,247,.45),0 0 50px rgba(0,240,255,.7); }
.server-card[role="button"] { font:inherit; text-align:left; }
.server-card[role="button"]:focus-visible { outline:3px solid rgba(0,240,255,.85); outline-offset:2px; }
.modal-plan-opt[role="radio"]:focus-visible, .pay-method-card[role="radio"]:focus-visible { outline:3px solid rgba(168,85,247,.8); outline-offset:2px; }
.legal-modal { max-width:520px; }
.legal-modal h2 { margin:14px 36px 10px 0; font-size:1.5rem; line-height:1.15; color:#fff; }
.legal-modal-icon { width:45px; height:45px; display:flex; align-items:center; justify-content:center; border-radius:14px; color:var(--accent-cyan); background:rgba(0,240,255,.1); border:1px solid rgba(0,240,255,.22); }
.legal-modal-content { color:var(--text-secondary); font-size:.91rem; line-height:1.65; margin:0 0 20px; }
.legal-modal-content p { margin:0 0 12px; }
.legal-modal-content ul { margin:0; padding-left:20px; display:grid; gap:7px; }
@media (max-width:767px) { body { padding-bottom:68px; } .ambient-toggle { bottom:76px; } }

  

/* ========================================================================
   Final visual polish — preserves the existing design and adds no heavy assets
   ======================================================================== */
html { scroll-padding-top: 102px; }
::selection { color:#06101c; background:rgba(0,240,255,.82); }
#scrollProgress { position:fixed; top:0; left:0; z-index:130; width:100%; height:2px; pointer-events:none; background:transparent; }
#scrollProgress > span { display:block; width:0; height:100%; background:linear-gradient(90deg,var(--accent-cyan),#a855f7 72%,#f472b6); box-shadow:0 0 13px rgba(0,240,255,.9); transition:width .08s linear; }
.back-to-top { position:fixed; right:max(18px, env(safe-area-inset-right)); bottom:max(22px, env(safe-area-inset-bottom)); z-index:46; width:46px; height:46px; display:grid; place-items:center; color:#eaf9ff; border:1px solid rgba(0,240,255,.3); border-radius:14px; background:rgba(9,16,29,.88); box-shadow:0 12px 28px rgba(0,0,0,.36); backdrop-filter:blur(14px); cursor:pointer; opacity:0; transform:translateY(12px) scale(.92); pointer-events:none; transition:opacity .2s ease,transform .2s ease,border-color .2s ease,background .2s ease; }
.back-to-top.visible { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.back-to-top:hover { border-color:var(--accent-cyan); background:rgba(0,240,255,.1); transform:translateY(-3px); }
.back-to-top svg { transition:transform .2s ease; }.back-to-top:hover svg { transform:translateY(-2px); }
.nav-link { position:relative; }.nav-link::after { content:''; position:absolute; left:50%; right:50%; bottom:-9px; height:2px; border-radius:99px; background:var(--accent-cyan); box-shadow:0 0 12px rgba(0,240,255,.8); transition:left .24s ease,right .24s ease; }.nav-link.active,.nav-link[aria-current="page"] { color:#f2fcff; }.nav-link.active::after,.nav-link[aria-current="page"]::after { left:7px; right:7px; }
.hero-hologram-card { isolation:isolate; }.hero-hologram-card::after { content:''; position:absolute; z-index:-1; inset:12px; border-radius:22px; background:radial-gradient(circle at 50% 20%,rgba(0,240,255,.09),transparent 45%); pointer-events:none; }
.server-card,.service-card,.pricing-card,.feature-card { will-change:transform; }
@media (hover:hover) { .server-card:hover { transform:translateY(-4px); border-color:rgba(0,240,255,.5); box-shadow:0 14px 30px rgba(0,0,0,.25),0 0 22px rgba(0,240,255,.08); }.service-card:hover { transform:translateY(-4px); border-color:rgba(168,85,247,.5); }.pricing-card:hover { transform:translateY(-5px); } }
.server-card.active { border-color:rgba(0,240,255,.75); box-shadow:0 0 0 1px rgba(0,240,255,.16),0 15px 30px rgba(0,0,0,.27),0 0 24px rgba(0,240,255,.11); }
body.js-motion .reveal { opacity:0; transform:translateY(18px); transition:opacity .55s cubic-bezier(.16,1,.3,1),transform .55s cubic-bezier(.16,1,.3,1); }
body.js-motion .reveal.revealed { opacity:1; transform:translateY(0); }
body.js-motion .reveal:nth-child(2) { transition-delay:.06s; } body.js-motion .reveal:nth-child(3) { transition-delay:.12s; } body.js-motion .reveal:nth-child(4) { transition-delay:.18s; }
.toast-close { display:grid; place-items:center; width:20px; height:20px; margin-left:2px; color:#9ab1c9; border:0; background:transparent; font-size:1rem; cursor:pointer; }.toast-close:hover { color:#fff; }
@media (max-width:767px) { .back-to-top { bottom:78px; right:12px; width:42px; height:42px; border-radius:12px; }.nav-link::after { display:none; } }
@media (prefers-reduced-motion:reduce) { #scrollProgress > span { transition:none; } .back-to-top { transition:none; } body.js-motion .reveal { opacity:1; transform:none; transition:none; } }

  

/* Audible ambient control — the indicator changes only after the real media starts. */
.ambient-toggle { min-width:146px; justify-content:center; overflow:hidden; }
.ambient-toggle .sound-bars { display:none; align-items:flex-end; gap:2px; width:12px; height:14px; }
.ambient-toggle .sound-bars i { display:block; width:2px; height:5px; border-radius:9px; background:#072127; }
.ambient-toggle.is-playing .ambient-toggle-dot { display:none; }
.ambient-toggle.is-playing .sound-bars { display:flex; }
.ambient-toggle.is-playing .sound-bars i { background:#6ff6c8; animation:soundBar .72s ease-in-out infinite alternate; }
.ambient-toggle.is-playing .sound-bars i:nth-child(2) { height:11px; animation-delay:.18s; }
.ambient-toggle.is-playing .sound-bars i:nth-child(3) { height:8px; animation-delay:.36s; }
@keyframes soundBar { from { transform:scaleY(.45); } to { transform:scaleY(1.05); } }
.ambient-toggle.audio-error { border-color:rgba(255,113,133,.72); color:#ffd9df; }
.ambient-toggle.audio-error .ambient-toggle-dot { background:var(--accent-pink, #ff7185); }
@media (max-width:767px) { .ambient-toggle { min-width:132px; } }

  

/* —— Babka project tweaks on top of reference —— */
.hero-babka-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: babka-float 5.5s ease-in-out infinite;
}
.hero-babka-img {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 240, 255, 0.18));
}
.hero-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: rgba(8, 14, 24, 0.85);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  color: var(--text-secondary);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.12);
}
.hero-live-chip strong { color: var(--accent-cyan); font-family: var(--font-mono); }
@keyframes babka-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.brand-link { text-decoration: none; }
.brand-avatar { border-radius: 50%; object-fit: cover; }
/* Prefer real payment CTAs via main.js */
.plan-card .js-buy-btn { cursor: pointer; }
body.babka-cyber { background: var(--bg-primary); }
@media (max-width: 900px) {
  .hero-babka-img { width: min(100%, 300px); }
}


/* —— project isolation + server UX —— */
html.theme-v2.babka-cyber-html, html.theme-v2.babka-cyber-html body.babka-cyber {
  overflow-x: clip !important; max-width: 100% !important;
}
html.theme-v2.babka-cyber-html body.babka-cyber::before,
html.theme-v2.babka-cyber-html body.babka-cyber::after {
  display:none !important; content:none !important; background:none !important;
}
.spin-anim { animation: babka-spin .7s linear infinite; }
@keyframes babka-spin { to { transform: rotate(360deg); } }
body.babka-cyber.has-mobile-sticky-cta { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 901px) { body.babka-cyber.has-mobile-sticky-cta { padding-bottom: 0; } }
