/* Umoji Studio Asset Sync: 2026-09-12-r1 */
/**
 * ==============================================================================
 * UMOJI STUDIO — COUNTING DATA / STATS METRICS (LIGHT MODE)
 * ==============================================================================
 * Clean, modern stat strip with light minimal aesthetic:
 * - Matching navbar and workflow max-width (1280px)
 * - Elevated white bar with subtle border and crisp divider lines
 * - Bold tabular numbers with smooth counting animation
 * - Labels matching nav link format (color: #05060f, opacity: 0.6)
 */

.light-stats-section {
  position: relative;
  width: 100%;
  padding: var(--section-padding-y, 6rem) 0;
  background-color: var(--bg-body);
}

.light-stats-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.light-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border: 1px solid #ededed;
  border-radius: 20px;
  box-shadow: none !important;
  overflow: hidden;
}

.light-stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 24px;
  position: relative;
  transition: background-color 0.22s ease;
}

.light-stat-item:hover {
  background-color: #fafafa;
}

.light-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, #ededed 50%, transparent 100%);
}

.light-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Icon 1 & 3: Dark Style */
.light-stat-icon--dark,
.light-stat-item:nth-child(odd) .light-stat-icon {
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #ffffff;
}

.light-stat-item:hover .light-stat-icon--dark,
.light-stat-item:nth-child(odd):hover .light-stat-icon {
  transform: scale(1.06);
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

/* Icon 2 & 4: Flat Blue Style (Matches Button #126EF5) */
.light-stat-icon--blue,
.light-stat-item:nth-child(even) .light-stat-icon {
  background-color: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  color: #ffffff;
}

.light-stat-item:hover .light-stat-icon--blue,
.light-stat-item:nth-child(even):hover .light-stat-icon {
  transform: scale(1.06);
  background-color: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
  box-shadow: 0 4px 14px rgba(18, 110, 245, 0.28);
}

.light-stat-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.light-stat-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.light-stat-number {
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #094099 0%, #126EF5 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}

.light-stat-label {
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500;
  color: #05060f;
  opacity: 0.6;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
 * Responsive Breakpoints
 * -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .light-stats-section {
    padding: var(--section-padding-y, 5rem) 0;
  }

  .light-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .light-stat-item {
    justify-content: flex-start;
    padding: 24px 28px;
  }

  .light-stat-item:nth-child(1)::after,
  .light-stat-item:nth-child(3)::after {
    display: block;
  }

  .light-stat-item:nth-child(2)::after,
  .light-stat-item:nth-child(4)::after {
    display: none;
  }

  .light-stat-item:nth-child(1),
  .light-stat-item:nth-child(2) {
    border-bottom: 1px solid #ededed;
  }

  .light-stat-number {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .light-stats-section {
    padding: var(--section-padding-y, 4rem) 0;
  }

  .light-stats-container {
    padding: 0 16px;
  }

  .light-stat-item {
    padding: 20px 20px;
    gap: 14px;
  }

  .light-stat-icon {
    width: 40px;
    height: 40px;
  }

  .light-stat-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .light-stat-number {
    font-size: 24px;
  }

  .light-stat-label {
    font-size: 13.5px !important;
  }
}

@media (max-width: 540px) {
  .light-stats-bar {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .light-stat-item::after {
    display: none !important;
  }

  .light-stat-item:not(:last-child) {
    border-bottom: 1px solid #ededed;
  }

  .light-stat-item {
    padding: 18px 20px;
  }

  .light-stat-number {
    font-size: 24px;
  }

  .light-stat-label {
    font-size: 13.5px !important;
  }
}
