/* ===== Section 2 — Stats bar ===== */
.section2 {
  position: relative;
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.section2__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding: clamp(40px, 6vw, 72px) 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.stat + .stat { position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 22%;
  width: 1px; height: 56%;
  background: var(--line);
  transform: scaleY(0);
  transition: transform 1.2s var(--ease) 0.3s;
}
.section2.is-visible .stat { opacity: 1; transform: none; }
.section2.is-visible .stat:nth-child(2) { transition-delay: 0.15s; }
.section2.is-visible .stat + .stat::before { transform: scaleY(1); }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 112px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 2.1ch;
  transition: color 0.4s;
}
.stat__num sup { font-size: 0.7em; vertical-align: 0.2em; color: var(--green); }

.stat__label { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; margin-bottom: 6px; }
.stat__sub {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.stat:hover .stat__num { color: var(--green); }

/* moving glow sweep */
.section2::after {
  content: "";
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(47, 91, 255, 0.12), rgba(46, 232, 111, 0.12), transparent);
  animation: statSweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes statSweep { 0% { left: -30%; } 60%, 100% { left: 110%; } }

@media (max-width: 700px) {
  .section2__inner { grid-template-columns: 1fr; }
  .stat { justify-content: flex-start; }
  .stat + .stat::before { top: 0; left: 0; width: 100%; height: 1px; transform: scaleX(0); }
  .section2.is-visible .stat + .stat::before { transform: scaleX(1); }
}
