/* Global Stats Section */
.global-stats-section {
  padding: 60px 0 40px 0;
  position: relative;
  overflow: hidden;
  background: #F7F9FC;
  z-index: 0;
}

/* Section Header */
.global-stats-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.global-stats-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #e0d4ff 0%, #d4c5ff 100%);
  color: #6b46c1;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.global-stats-title {
  font-size: 34px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.global-stats-subtitle {
  font-size: 16px;
  color: #666666;
  font-family: 'Montserrat', sans-serif;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Feature Cards */
.global-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.global-feature-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.global-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.global-feature-icon {
  width: 56px;
  height: 56px;
  background: #0C3365;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.global-feature-icon i {
  font-size: 26px;
  color: white;
}

.global-feature-content {
  flex: 1;
}

.global-feature-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
}

.global-feature-content p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.7;
  font-family: 'Montserrat', sans-serif;
}

/* Globe Background */
.globe-video-background {
  position: absolute;
  top: 500px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1050px;
  z-index: 0;
  pointer-events: none;
}

.globe-video {
  width: 100%;
  pointer-events: none;
}

.globe-video::-webkit-media-controls,
.globe-video::-webkit-media-controls-enclosure,
.globe-video::-webkit-media-controls-panel,
.globe-video::-webkit-media-controls-play-button,
.globe-video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

/* Stats Grid */
.stats-grid-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1000px;
  margin: 320px auto 0;
  margin-bottom: 100px;
  align-items: center;
}

.stats-top-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.stats-bottom-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.stat-card-global {
  background: #ffffff;
  border: 1px solid rgba(12, 51, 101, 0.1);
  border-radius: 20px;
  padding: 20px 48px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(12, 51, 101, 0.07);
  transition: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  min-width: 280px;
}

.stat-card-global:hover {
  transform: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.stat-number-global {
  font-size: 38px;
  font-weight: 700;
  color: #0C3365;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.stat-label-global {
  font-size: 12px;
  color: #666666;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  max-width: 220px;
  text-align: center;
}

/* Bottom Curve */
.global-stats-curve-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  overflow: hidden;
  z-index: 2;
}

.global-stats-curve-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: translateY(2px);
}

/* ----------------------------------------
   TABLET (768px – 1024px)
   Feature cards: all 3 in one row
   Globe: centered below cards
   Stats: 3 top + 2 bottom
---------------------------------------- */
@media (max-width: 1024px) and (min-width: 769px) {
  .global-stats-section {
    padding: 60px 0 60px;
  }

  .global-features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 40px !important;
    max-width: 100% !important;
  }

  .global-feature-card:nth-child(3) {
    grid-column: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .global-feature-card {
    padding: 24px 18px !important;
    gap: 12px !important;
  }

  .global-feature-icon {
    width: 46px !important;
    height: 46px !important;
  }

  .global-feature-icon i {
    font-size: 20px !important;
  }

  .global-feature-content h3 {
    font-size: 16px !important;
  }

  .global-feature-content p {
    font-size: 13px !important;
  }

  .globe-video-background {
    top: 440px !important;
    max-width: 820px !important;
    width: 100% !important;
  }

  .stats-grid-container {
    margin-top: 200px !important;
    margin-bottom: 60px !important;
    max-width: 100% !important;
    gap: 16px !important;
  }

  .stats-top-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .stats-bottom-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .stat-card-global {
    min-width: 0 !important;
    flex: 1 !important;
    max-width: 210px !important;
    padding: 18px 14px !important;
  }

  .stats-bottom-row .stat-card-global {
    max-width: 260px !important;
    flex: 0 1 260px !important;
  }

  .stat-number-global {
    font-size: 32px !important;
  }

  .stat-label-global {
    font-size: 11px !important;
    max-width: 160px !important;
  }
}

/* ----------------------------------------
   MOBILE (max-width: 768px)
   Layout: 2 + 2 + 1 centered via CSS grid + display:contents
   Globe visible behind cards
   Numbers: no letter-spacing
---------------------------------------- */
@media (max-width: 768px) {

  .global-stats-section {
    padding: 40px 0 20px !important;
    overflow: hidden !important;
  }

  /* Feature cards: single column, horizontal layout */
  .global-features-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 32px !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .global-feature-card {
    padding: 16px 14px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .global-feature-icon {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
  }

  .global-feature-icon i { font-size: 18px !important; }
  .global-feature-content h3 { font-size: 14px !important; margin-bottom: 3px !important; }
  .global-feature-content p { font-size: 12px !important; }

  /* Globe: behind stats cards, shifted down toward curve */
  .globe-video-background {
    display: block !important;
    position: absolute !important;
    top: auto !important;
    bottom: 60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 420px !important;
    z-index: 0 !important;
  }

  /* Stats container: 2-col grid, rows use display:contents so all 5 cards flow naturally */
  .stats-grid-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    position: relative !important;
    z-index: 2 !important;
    align-items: stretch !important;
  }

  /* Rows become transparent — cards flow directly into the grid */
  .stats-top-row,
  .stats-bottom-row {
    display: contents !important;
  }

  /* All cards fill their grid cell */
  .stat-card-global {
    padding: 20px 12px !important;
    min-height: 100px !important;
    min-width: 0 !important;
    width: 100% !important;
    flex: none !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* Last card (8.5 NPS) — span both columns, center at 50% width */
  .stats-bottom-row .stat-card-global:last-child {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: calc(50% - 7px) !important;
    max-width: calc(50% - 7px) !important;
  }

  /* Fix number spacing */
  .stat-number-global {
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    font-size: 26px !important;
    margin-bottom: 8px !important;
  }

  .stat-label-global {
    font-size: 11px !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
  }

  /* Curve */
  .global-stats-curve-bottom {
    height: 60px !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .global-stats-curve-bottom svg {
    display: block !important;
    width: 100% !important;
    height: 60px !important;
    transform: none !important;
  }
}

@media (max-width: 575px) {
  .stats-grid-container {
    gap: 12px !important;
    padding: 0 12px !important;
  }

  .stat-number-global {
    font-size: 22px !important;
  }

  .stat-label-global {
    font-size: 10px !important;
  }

  .stats-bottom-row .stat-card-global:last-child {
    width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
  }

  .globe-video-background {
    max-width: 380px !important;
  }

  .global-stats-section {
    padding-bottom: 80px !important;
  }

  .global-stats-curve-bottom {
    height: 50px !important;
  }
  .global-stats-curve-bottom svg {
    height: 50px !important;
  }
}



