/* Results Section Styles */

.results {
  background: linear-gradient(to bottom, #FAFAF9 0%, #EFEFEF 100%);
  padding: 96px 0;
  position: relative;
}

.results__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.results__header {
  text-align: center;
  margin-bottom: 64px;
}

.results__title {
  font-family: var(--font-family-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 0;
}

@media (min-width: 768px) {
  .results__title {
    font-size: 44px;
  }
}

@media (min-width: 1024px) {
  .results__title {
    font-size: 48px;
  }
}

.results__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .results__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .results__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.result-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 44px 36px;
  text-align: left;
  box-shadow: 
    0 1px 3px 0 rgba(0, 0, 0, 0.05),
    0 10px 20px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #f3f4f6;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: #e5e7eb;
}

.result-card:hover::before {
  opacity: 1;
}

.result-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border-radius: 14px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.result-card:hover .result-card__icon {
  transform: scale(1.1);
}

.result-icon {
  width: 28px;
  height: 28px;
  color: #374151;
  stroke-width: 2;
  transition: color 0.35s ease;
}


.result-card__stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-card__number-line {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}

.result-card__number {
  font-family: var(--font-family-heading);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #111827;
  transition: all 0.35s ease;
}

@media (min-width: 768px) {
  .result-card__number {
    font-size: 72px;
  }
}

@media (min-width: 1024px) {
  .result-card__number {
    font-size: 68px;
  }
}

@media (min-width: 1280px) {
  .result-card__number {
    font-size: 76px;
  }
}

.result-card:hover .result-card__number {
  color: var(--color-primary);
  transform: scale(1.02);
}

.result-card__unit {
  font-family: var(--font-family-heading);
  font-size: 28px;
  font-weight: 600;
  color: #9ca3af;
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-left: 4px;
  transition: color 0.35s ease;
}

@media (min-width: 768px) {
  .result-card__unit {
    font-size: 32px;
  }
}

.result-card:hover .result-card__unit {
  color: var(--color-primary);
}

/* Enhanced color coding for descriptors */
.result-card:nth-child(1) .result-card__descriptor {
  color: #3b82f6;
}

.result-card:nth-child(2) .result-card__descriptor {
  color: #f59e0b;
}

.result-card:nth-child(3) .result-card__descriptor {
  color: #10b981;
}

.result-card:nth-child(4) .result-card__descriptor {
  color: #8b5cf6;
}

.result-card__descriptor {
  font-family: var(--font-family-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
  transition: transform 0.35s ease;
}

@media (min-width: 768px) {
  .result-card__descriptor {
    font-size: 22px;
  }
}

.result-card:hover .result-card__descriptor {
  transform: translateX(2px);
}

.result-card__label {
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .result-card__label {
    font-size: 17px;
  }
}

/* Counter animation pulse effect */
@keyframes numberPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.result-card__number.animating {
  animation: numberPulse 0.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 639px) {
  .results {
    padding: 72px 0;
  }
  
  .results__header {
    margin-bottom: 48px;
  }
  
  .results__title {
    font-size: 28px;
  }
  
  .result-card {
    padding: 36px 28px;
    gap: 24px;
  }
  
  .result-card__icon {
    width: 48px;
    height: 48px;
  }
  
  .result-icon {
    width: 24px;
    height: 24px;
  }
  
  .result-card__number {
    font-size: 56px;
  }
  
  .result-card__unit {
    font-size: 24px;
  }
  
  .result-card__descriptor {
    font-size: 18px;
  }
  
  .result-card__label {
    font-size: 15px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .result-card {
    padding: 40px 32px;
  }
  
  .result-card__number {
    font-size: 64px;
  }
  
  .result-card__unit {
    font-size: 28px;
  }
  
  .result-card__descriptor {
    font-size: 20px;
  }
}

