/* ========================================
   RESULTS SECTION - PARALLAX STATS
   ======================================== */

#results {
  position: relative;
  padding: 88px 0;
  background: #14213D;
  overflow: hidden;
}

#results .container {
  position: relative;
  z-index: 2;
}

/* Eyebrow */
.results-eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #E8823A;
  text-align: center;
  margin-bottom: 16px;
}

/* Title */
.results-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Shimmer Text Animation */
.results-title.shimmer-text {
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #FFFFFF 40%,
    #E8823A 50%,
    #FFFFFF 60%,
    #FFFFFF 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    background-position: 200% center;
  }
  50% {
    background-position: 0% center;
  }
}

/* Stats Grid */
.results-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Glassmorphism Stat Cards */
.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 36px 32px 40px;
  text-align: center;
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 130, 58, 0.4);
  box-shadow: 0 20px 60px rgba(232, 130, 58, 0.15);
}

/* Counter Numbers */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: #E8823A;
  background: linear-gradient(135deg, #E8823A, #E8A030);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

/* Count Pulse Animation */
@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.stat-number.pulse {
  animation: countPulse 400ms ease;
}

/* Stat Labels */
.stat-label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Divider Lines */
.stat-divider {
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 6px;
}

/* Particle Burst */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
}

@keyframes particleBurst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0);
  }
}

.particle.burst {
  animation: particleBurst 600ms ease-out forwards;
}

/* Responsive - Large Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  #results {
    padding: 110px 0;
  }
  
  #results .container {
    padding: 0 32px;
  }
  
  .results-eyebrow {
    font-size: 13px;
    margin-bottom: 14px;
  }
  
  .results-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    margin-bottom: 64px;
    line-height: 1.25;
  }
  
  .results-stats {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 500px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-card {
    padding: 40px 32px;
    border-radius: 20px;
  }
  
  .stat-number {
    font-size: clamp(3.5rem, 7vw, 4.5rem);
    margin-bottom: 12px;
  }
  
  .stat-label {
    font-size: 15px;
    line-height: 1.4;
  }
}

/* Responsive - Small Tablet (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
  #results {
    padding: 72px 0;
  }
  
  #results .container {
    padding: 0 24px;
  }
  
  .results-eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }
  
  .results-title {
    font-size: clamp(1.625rem, 5vw, 2.125rem);
    margin-bottom: 56px;
    line-height: 1.3;
    padding: 0 16px;
  }
  
  .results-stats {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-card {
    padding: 36px 28px;
    border-radius: 18px;
  }
  
  .stat-number {
    font-size: clamp(3.25rem, 8vw, 4rem);
    margin-bottom: 10px;
  }
  
  .stat-label {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Responsive - Mobile (≤480px) */
@media (max-width: 480px) {
  #results {
    padding: 56px 0;
    background-attachment: scroll;
  }
  
  #results .container {
    padding: 0;
  }
  
  .results-eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    padding: 0 20px;
  }
  
  .results-title {
    font-size: clamp(1.25rem, 6vw, 1.625rem);
    margin-bottom: 32px;
    line-height: 1.3;
    padding: 0 20px;
  }
  
  .results-stats {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    margin: 0 -20px;
    scrollbar-width: none;
  }
  
  .results-stats::-webkit-scrollbar {
    display: none;
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-card {
    flex: 0 0 85%;
    min-width: 85%;
    padding: 28px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    scroll-snap-align: center;
  }
  
  .stat-card:first-child {
    margin-left: 20px;
  }
  
  .stat-card:last-child {
    margin-right: 20px;
  }
  
  .stat-card:hover {
    transform: none;
  }
  
  .stat-number {
    font-size: clamp(2.5rem, 10vw, 3rem);
    margin-bottom: 8px;
  }
  
  .stat-label {
    font-size: 0.875rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
  }
  
  .stat-label br {
    display: inline;
  }
  
  .stat-label br::after {
    content: ' ';
  }
}
