/* ==========================================================================
   WIREGLOT GLOBAL GRID ALIGNMENT FIX
   Ensures ALL sections share the EXACT same 1295px max-width and padding.
   ========================================================================== */

:root {
  --site-max-width: 1295px;
  --site-padding: clamp(24px, 5vw, 72px);
}

.hero,
.stats-strip,
.demo-section,
.features-section,
.showcase-section,
.subtitle-demo,
.sss-section,
.closing-cta,
.early-access {
  max-width: var(--site-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-padding) !important;
  padding-right: var(--site-padding) !important;
  box-sizing: border-box !important;
}

.hero {
  padding-top: clamp(72px, 10vw, 145px) !important;
  padding-bottom: 72px !important;
}

.stats-strip {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ==========================================================================
   WIREGLOT SURGICAL POLISH: LIVING AUDIO WAVEFORMS
   Gives constant, tactical, organic audio breathing life to waveforms.
   ========================================================================== */

/* 1. Hero Audio Visualizer: Continuous dynamic pulse with hardware feel */
.wave-bar {
  animation: hardware-wave-pulse 1.4s ease-in-out var(--bar-delay, 0s) infinite alternate !important;
  transform-origin: bottom center !important;
  will-change: transform, height, opacity !important;
}

@keyframes hardware-wave-pulse {
  0% {
    transform: scaleY(0.4);
    opacity: 0.65;
    filter: brightness(0.85);
  }
  50% {
    transform: scaleY(1.05);
    opacity: 0.95;
    filter: brightness(1.1);
  }
  100% {
    transform: scaleY(0.7);
    opacity: 0.8;
    filter: brightness(0.95);
  }
}

/* 2. Simulator & Demo Mini-Waves: Always alive instead of frozen static bars */
.mini-wave span {
  animation: mini-wave-breathe 1.2s ease-in-out infinite alternate !important;
  transform-origin: bottom center !important;
  border-radius: 2px !important;
}

.mini-wave span:nth-child(2n) {
  animation-delay: 0.15s !important;
  animation-duration: 0.9s !important;
}

.mini-wave span:nth-child(3n) {
  animation-delay: 0.3s !important;
  animation-duration: 1.5s !important;
}

.mini-wave span:nth-child(4n) {
  animation-delay: 0.45s !important;
  animation-duration: 1.1s !important;
}

@keyframes mini-wave-breathe {
  0% {
    transform: scaleY(0.35);
    opacity: 0.45;
  }
  100% {
    transform: scaleY(1.2);
    opacity: 1;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
  }
}

/* 3. Subtle LED breathing for status indicators */
.status i,
.audio-state {
  display: inline-block !important;
  animation: tactical-led-glow 2s ease-in-out infinite alternate !important;
}

@keyframes tactical-led-glow {
  0% {
    opacity: 0.6;
    text-shadow: 0 0 4px rgba(0, 210, 255, 0.2);
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
  }
}

/* ==========================================================================
   WIREGLOT SURGICAL POLISH: STATS TICKER & PROGRESS BAR
   Animates stat numbers and adds a sleek tactical cyber-rule underneath.
   ========================================================================== */

.stat {
  position: relative !important;
  overflow: hidden !important;
}

.stat::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 0% !important;
  height: 2px !important;
  background: linear-gradient(90deg, #00d2ff, rgba(0, 210, 255, 0.2)) !important;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5) !important;
}

.stat.stat-counted::after {
  width: 100% !important;
}

.stat strong {
  display: inline-block !important;
  font-variant-numeric: tabular-nums !important;
}
/* ==========================================================================
   WIREGLOT ENHANCED CINEMATIC AMBIENT ORBS
   Increases orb size, saturation, and rich cinematic depth.
   ========================================================================== */

.neon-orb {
  width: 520px !important;
  height: 520px !important;
  filter: blur(110px) !important;
  opacity: 0.28 !important;
  mix-blend-mode: screen !important;
}

.orb-one {
  background: radial-gradient(circle, #00d2ff 0%, rgba(0, 210, 255, 0) 70%) !important;
  top: 10% !important;
  left: 5% !important;
}

.orb-two {
  background: radial-gradient(circle, #ff007f 0%, rgba(255, 0, 127, 0) 70%) !important;
  top: 45% !important;
  right: 5% !important;
}

.hero::before {
  width: min(1000px, 98vw) !important;
  height: min(600px, 75vw) !important;
  background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.22) 0%, rgba(120, 40, 220, 0.16) 45%, transparent 70%) !important;
  filter: blur(85px) !important;
  opacity: 0.9 !important;
}
