/* ============================================================
   STATS / PRODUCTIVITY SECTION
============================================================ */
.stats-section {
  position: relative;
  background: #0B1F3A;
  background: var(--primary, #0B1F3A);
  padding: 96px 0;
  overflow: hidden;
}

/* Background glows */
.stats-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.stats-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.stats-bg-glow--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,194,168,0.12) 0%, transparent 70%);
  top: -150px; right: -100px;
  animation: statsGlow 7s ease-in-out infinite alternate;
}
.stats-bg-glow--2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,100,200,0.08) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  animation: statsGlow 9s ease-in-out infinite alternate-reverse;
}
@keyframes statsGlow {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.2); }
}

/* ============================================================
   TOP SECTION — TWO COLUMNS
============================================================ */
.stats-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 56px;
}

/* Left */
.stats-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #00C2A8;
  color: var(--secondary, #00C2A8);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.stats-label-line {
  display: inline-block;
  width: 28px; height: 2px;
  background: #00C2A8;
  background: var(--secondary, #00C2A8);
  border-radius: 2px;
  flex-shrink: 0;
}

.stats-heading {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.stats-heading-accent {
  color: #00C2A8;
  color: var(--secondary, #00C2A8);
}

.stats-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00C2A8;
  background: var(--secondary, #00C2A8);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(0,194,168,0.3);
}
.stats-explore-btn:hover {
  background: #00a891;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,194,168,0.4);
}
.stats-explore-btn svg { transition: transform 0.2s; }
.stats-explore-btn:hover svg { transform: translateX(4px); }

/* Right */
.stats-body {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 1.8;
  margin-bottom: 14px;
}
.stats-body:last-of-type { margin-bottom: 20px; }
.stats-body strong {
  color: #ffffff;
  font-weight: 600;
}

.stats-features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stats-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}
.stats-features li svg {
  color: #00C2A8;
  flex-shrink: 0;
  background: rgba(0,194,168,0.12);
  border-radius: 50%;
  padding: 3px;
  width: 22px; height: 22px;
}

/* Divider */
.stats-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  margin-bottom: 56px;
}

/* ============================================================
   STATS GRID
============================================================ */
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Base stat card */
.stats-card {
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
  cursor: default;
}
.stats-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.3);
  border-color: rgba(0,194,168,0.25);
  background: rgba(255,255,255,0.06);
}

.stats-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.stats-card-glow {
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0,194,168,0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.stats-card:hover .stats-card-glow { opacity: 1; }

/* Number */
.stats-num {
  font-size: 52px;
  font-weight: 800;
  color: #00C2A8;
  color: var(--secondary, #00C2A8);
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline;
}
.stats-plus {
  font-size: 32px;
  font-weight: 700;
  color: #00C2A8;
  color: var(--secondary, #00C2A8);
  vertical-align: super;
  line-height: 1;
}

/* Number row wrapper */
.stats-card-inner > .stats-num,
.stats-card-inner > .stats-plus {
  display: inline;
}

/* Wrap num + plus together */
.stats-num-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.stats-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.stats-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* Globe card */
.stats-card--globe .stats-card-inner { gap: 6px; }
.stats-globe-icon {
  color: #00C2A8;
  color: var(--secondary, #00C2A8);
  margin-bottom: 8px;
  animation: globeSpin 12s linear infinite;
}
@keyframes globeSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.stats-card--globe:hover .stats-globe-icon { animation-play-state: paused; }

.stats-globe-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.stats-globe-countries {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
  .stats-section { padding: 72px 0; }
  .stats-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
============================================================ */
@media (max-width: 640px) {
  .stats-section { padding: 56px 0; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stats-card-inner { padding: 28px 16px 24px; }
  .stats-num { font-size: 40px; }
  .stats-plus { font-size: 24px; }
}