/* ── Section wrapper ── */
.stats-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* ── Overlay ── */
.stats-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Desktop Grid ── */
.stats-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1017px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  box-sizing: border-box;
}

/* ── Column ── */
.stats-col {
  padding: 40px 36px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  box-sizing: border-box;
}

/* ── Gradient divider bar ── */
.stats-col::before {
  content: '';
  width: 4px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    #0C0CE9 0%,
    #8A8AFF 29.33%,
    #E90CE9 66.25%,
    #E90C0C 100%
  );
}

/* ── Column inner ── */
.stats-col__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

/* ── Column header — bright white ── */
.stats-col__header,
.stats-col__header *,
.stats-col__header p,
.stats-col__header h1,
.stats-col__header h2,
.stats-col__header h3,
.stats-col__header h4,
.stats-col__header h5,
.stats-col__header h6,
.stats-col__header span,
.stats-col__header strong,
.stats-col__header a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #F6F9FC !important;
  letter-spacing: 0.04em !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-transform: none !important;
  font-family: inherit !important;
}

/* ── Stats list ── */
.stats-col__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Individual stat ── */
.stats-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stats-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stats-item:nth-child(1) { transition-delay: 0ms; }
.stats-item:nth-child(2) { transition-delay: 120ms; }
.stats-item:nth-child(3) { transition-delay: 240ms; }

/* ── Number ── */
.stats-item__number {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #6b8ff8;
}

/* ── Label ── */
.stats-item__label,
.stats-item__label *,
.stats-item__label p,
.stats-item__label span {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #F6F9FC !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* ── Mobile carousel — hidden on desktop ── */
.stats-carousel {
  display: none;
}

/* ══════════════════════════════════════
   MOBILE
══════════════════════════════════════ */
@media (max-width: 768px) {

  .stats-section {
    overflow: visible;
  }

  .stats-grid {
    display: none;
  }

  .stats-carousel {
    display: block;
    width: 100%;
    padding-bottom: 32px;
    position: relative;
    z-index: 10;
  }

  .stats-carousel__track {
    width: 100%;
    overflow-x: scroll;
    overflow-y: visible;
    display: flex;
    gap: 12px;
    padding: 24px 48px 20px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
  }

  .stats-carousel__track::-webkit-scrollbar {
    display: none;
  }

  .stats-carousel__track:active {
    cursor: grabbing;
  }

  .stats-carousel__card {
    flex: 0 0 78vw;
    max-width: 300px;
    min-width: 240px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 28px 24px 32px;
    scroll-snap-align: start;
    background: linear-gradient(160deg, #0d1020 0%, #090c18 100%);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-sizing: border-box;
    z-index: 2;
  }

  .stats-carousel__card::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 143, 248, 0.55), transparent);
  }

  .stats-carousel__card.dim {
    opacity: 0.5;
    transform: scale(0.95);
  }

  /* Card heading — H4 size, bright white, normal case */
  .stats-carousel__card-label,
  .stats-carousel__card-label *,
  .stats-carousel__card-label p {
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    color: #F6F9FC !important;
    margin-bottom: 24px !important;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .stats-carousel__card-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
  }

  .stats-carousel__row {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .stats-carousel__row:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .stats-carousel__card .stats-item__number {
    font-size: 40px !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #6b8ff8;
    margin-bottom: 4px;
  }

  /* Stat labels — bright white */
  .stats-carousel__card .stats-item__label,
  .stats-carousel__card .stats-item__label * {
    font-size: 13px !important;
    color: #F6F9FC !important;
  }

  .stats-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 0;
    position: relative;
    z-index: 2;
  }

  .stats-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(151, 146, 255, 0.30);
  cursor: pointer;
  transition: background 0.3s ease, width 0.2s ease, border-radius 0.2s ease;
}

.stats-carousel__dot.active {
  background: #9792FF;
  width: 20px;
  border-radius: 10px;
  transform: none;
}
css.stats-section {
  padding-bottom: 112px;
}