/* Stats highlight bar — design language borrowed from a reference site the
   client liked, re-implemented with the project's own class names (not the
   reference site's) and theme color variables. Shared by Home and About via
   frontend/partials/stats.blade.php. */

.stats-highlight-bar {
  padding: 40px 0;
  background-color: var(--background-color);
}

.stats-highlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.stats-highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stats-highlight-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.stats-highlight-content {
  display: flex;
  flex-direction: column;
}

.stats-highlight-number {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

.stats-highlight-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-top: 2px;
}

/* A slow shimmering gradient sweep across each number — restrained (one
   subtle pass every few seconds), not a busy/flashy effect. */
.stats-shimmer-text {
  display: inline-block;
  background: linear-gradient(90deg, var(--heading-color) 0%, var(--accent-color) 50%, var(--heading-color) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: stats-shimmer-sweep 4s linear infinite;
}

@keyframes stats-shimmer-sweep {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.stats-highlight-accent {
  padding-left: 20px;
  border-left: 2px solid var(--accent-color);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  line-height: 1.4;
}

.stats-highlight-accent strong {
  color: var(--heading-color);
}

@media (prefers-reduced-motion: reduce) {
  .stats-shimmer-text {
    animation: none;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--heading-color);
  }
}

@media (max-width: 991px) {
  .stats-highlight-row {
    justify-content: flex-start;
    gap: 24px 32px;
  }
}

@media (max-width: 575px) {
  .stats-highlight-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 24px;
  }

  .stats-highlight-accent {
    border-left: 0;
    border-top: 2px solid var(--accent-color);
    padding-left: 0;
    padding-top: 12px;
    width: 100%;
  }
}
