/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
#stats {
  padding: 120px 24px; background: var(--bg-surface);
  position: relative; overflow: hidden;
}
/* Ambient gradients */
#stats::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(168,85,247,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,245,255,0.06) 0%, transparent 60%);
}
/* Animated grid mesh */
#stats .stats-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(0,245,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: mesh-drift 25s linear infinite;
}
@keyframes mesh-drift { 0% { background-position: 0 0; } 100% { background-position: 60px 60px; } }

.stats-grid {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(20px); border-radius: 16px; padding: 40px 24px;
  text-align: center; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
  border-color: rgba(0,245,255,0.3); transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 30px rgba(0,245,255,0.06);
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }

/* Holographic shimmer */
.holo-shimmer {
  position: absolute; inset: 0; border-radius: inherit;
  background: conic-gradient(from 0deg at var(--mx,50%) var(--my,50%),
    rgba(0,245,255,0.1), rgba(168,85,247,0.1), rgba(217,70,239,0.1),
    rgba(245,158,11,0.07), rgba(0,245,255,0.1));
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
  mix-blend-mode: screen; z-index: 1;
}
.stat-card:hover .holo-shimmer { opacity: 1; }

.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(52px, 7vw, 88px); font-weight: 700;
  line-height: 1; margin-bottom: 12px; display: block; position: relative; z-index: 2;
}
.stat-card:nth-child(1) .stat-num { color: var(--cyan);   text-shadow: 0 0 30px rgba(0,245,255,0.5); }
.stat-card:nth-child(2) .stat-num { color: var(--purple); text-shadow: 0 0 30px rgba(168,85,247,0.5); }
.stat-card:nth-child(3) .stat-num { color: var(--green);  text-shadow: 0 0 30px rgba(16,185,129,0.5); }
.stat-card:nth-child(4) .stat-num { color: var(--amber);  text-shadow: 0 0 30px rgba(245,158,11,0.5); }

.stat-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); position: relative; z-index: 2;
}
