/* ==========================================
   STATS SECTION - DIOR LUXURY STYLE
   ========================================== */

.stats-dior-luxury {
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.stats-dior-luxury::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #f0f0f0 50%, transparent 100%);
}

.stats-dior-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 80px;
}

.stat-dior-card {
  background: white;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #f5f5f5;
  overflow: hidden;
}

.stat-dior-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff8c42, #ff6b35);
  transition: width 0.6s ease;
}

.stat-dior-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.stat-dior-card:hover::before {
  width: 100%;
}

/* البطاقة المميزة في المنتصف */
.stat-dior-card.stat-highlight {
  background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
  border: none;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(255, 140, 66, 0.3);
}

.stat-dior-card.stat-highlight::before {
  display: none;
}

.stat-dior-card.stat-highlight:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 35px 90px rgba(255, 140, 66, 0.4);
}

.stat-dior-card.stat-highlight .stat-dior-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.stat-dior-card.stat-highlight .stat-dior-number,
.stat-dior-card.stat-highlight .stat-dior-label,
.stat-dior-card.stat-highlight .stat-dior-desc {
  color: white;
}

/* Icon Styling */
.stat-dior-icon-wrapper {
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.stat-dior-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  background: rgba(255, 140, 66, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff8c42;
  font-size: 36px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(255, 140, 66, 0.15);
}

.stat-dior-card:hover .stat-dior-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(255, 140, 66, 0.25);
}

/* Number Styling */
.stat-dior-number {
  font-size: 64px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
  line-height: 1;
  letter-spacing: -2px;
}

.stat-counter {
  display: inline-block;
}

.stat-plus,
.stat-k {
  font-size: 48px;
  color: #ff8c42;
  font-weight: 700;
  margin-left: 5px;
}

.stat-dior-card.stat-highlight .stat-plus,
.stat-dior-card.stat-highlight .stat-k {
  color: white;
}

/* Label & Description */
.stat-dior-label {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  font-family: "Montserrat", sans-serif;
}

.stat-dior-desc {
  font-size: 14px;
  color: #666;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* ==========================================
   COUNTER ANIMATION
   ========================================== */

.stats-animated .stat-counter {
  animation: countUp 2s ease-out forwards;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .stats-dior-luxury {
    padding: 90px 0;
  }

  .stats-dior-grid {
    gap: 40px;
    margin-top: 60px;
  }

  .stat-dior-card {
    padding: 50px 30px;
  }

  .stat-dior-card.stat-highlight {
    transform: scale(1.02);
  }

  .stat-dior-card.stat-highlight:hover {
    transform: translateY(-15px) scale(1.02);
  }

  .stat-dior-number {
    font-size: 56px;
  }

  .stat-plus,
  .stat-k {
    font-size: 42px;
  }

  .stat-dior-label {
    font-size: 18px;
  }

  .stat-dior-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .stats-dior-luxury {
    padding: 70px 0;
  }

  .stats-dior-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
  }

  .stat-dior-card {
    padding: 40px 25px;
  }

  .stat-dior-card.stat-highlight {
    transform: scale(1);
  }

  .stat-dior-card.stat-highlight:hover {
    transform: translateY(-10px) scale(1);
  }

  .stat-dior-number {
    font-size: 48px;
  }

  .stat-plus,
  .stat-k {
    font-size: 36px;
  }

  .stat-dior-label {
    font-size: 16px;
  }

  .stat-dior-desc {
    font-size: 13px;
  }

  .stat-dior-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .stats-dior-luxury {
    padding: 60px 0;
  }

  .stat-dior-card {
    padding: 35px 20px;
  }

  .stat-dior-number {
    font-size: 42px;
  }

  .stat-plus,
  .stat-k {
    font-size: 32px;
  }

  .stat-dior-label {
    font-size: 15px;
  }

  .stat-dior-desc {
    font-size: 12px;
  }
}
