/* ===================================
   WHY US SECTION - LIGHT MODE
=================================== */

#why-us .why-us-section {
  position: relative;
  padding: 120px 20px;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #fff5f7 100%);
  overflow: hidden;
}

/* Container */
#why-us .why-us-container {
  position: relative;
  max-width: 1400px;
  padding: 0 24px;
  margin: 0 auto;
  z-index: 2;
}

/* Header */
#why-us .why-us-header {
  text-align: center;
  animation: fadeInUp 1s ease-out;
  padding-top:  120px ;
  margin-bottom: 80px;
}

#why-us .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

#why-us .badge-icon {
  font-size: 18px;
  animation: rotate 3s linear infinite;
}


@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
  }
}

#why-us .section-title {
  font-size: 48px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.2;
}

#why-us .gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

#why-us .section-description {
  font-size: 18px;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Features Grid */
#why-us .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

/* Feature Card */
#why-us .feature-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  overflow: hidden;
}

#why-us .feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(245, 87, 108, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

#why-us .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
  border-color: #667eea;
}

#why-us .feature-card:hover::before {
  opacity: 1;
}

/* Featured Card */
#why-us .feature-card.featured {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

#why-us .feature-card.featured::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

#why-us .feature-card.featured .card-title,
#why-us .feature-card.featured .card-description,
#why-us .feature-card.featured .stat-value,
#why-us .feature-card.featured .stat-label {
  color: white;
}

#why-us .feature-card.featured .icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

#why-us .feature-card.featured .card-number {
  color: rgba(255, 255, 255, 0.5);
}

#why-us .feature-card.featured .tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Card Header */
#why-us .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

#why-us .icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

#why-us .icon-lightning {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  color: #d63031;
}

#why-us .icon-chart {
  background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
  color: #fff;
}

#why-us .icon-money {
  background: linear-gradient(135deg, #55efc4 0%, #00b894 100%);
  color: #fff;
}

#why-us .icon-security {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: #fff;
}

#why-us .icon-target {
  background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
  color: #fff;
}

#why-us .icon-star {
  background: linear-gradient(135deg, #fab1a0 0%, #ff7675 100%);
  color: #fff;
}

#why-us .feature-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

#why-us .card-number {
  font-size: 48px;
  font-weight: 800;
  color: #e5e7eb;
  line-height: 1;
}

/* Card Content */
#why-us .card-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.3;
}

#why-us .card-description {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Card Stats */
#why-us .card-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 12px;
  margin-bottom: 20px;
}

#why-us .feature-card.featured .card-stats {
  background: rgba(255, 255, 255, 0.1);
}

#why-us .stat {
  flex: 1;
  text-align: center;
}

#why-us .stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 4px;
}

#why-us .stat-label {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

#why-us .stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(102, 126, 234, 0.2);
}

#why-us .feature-card.featured .stat-divider {
  background: rgba(255, 255, 255, 0.2);
}

/* Card Tags */
#why-us .card-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#why-us .tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#why-us .tag:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Bottom CTA */
#why-us .why-us-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
  animation: fadeInUp 1s ease-out 0.3s both;
}

#why-us .cta-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

#why-us .cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

#why-us .btn-primary-large {
  font-family: 'Vazirmatn';
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#why-us .btn-primary-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

#why-us .btn-primary-large svg {
  transition: transform 0.3s ease;
}

#why-us .btn-primary-large:hover svg {
  transform: translateX(-5px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  #why-us .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  #why-us .why-us-section {
    padding: 80px 20px;
  }

  #why-us .section-title {
    font-size: 32px;
  }

  #why-us .section-description {
    font-size: 16px;
  }

  #why-us .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #why-us .feature-card {
    padding: 30px;
  }

  #why-us .why-us-cta {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 30px;
  }

  #why-us .cta-content h3 {
    font-size: 24px;
  }

  #why-us .btn-primary-large {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #why-us .section-title {
    font-size: 28px;
  }

  #why-us .card-title {
    font-size: 20px;
  }

  #why-us .icon-wrapper {
    width: 56px;
    height: 56px;
  }

  #why-us .card-number {
    font-size: 36px;
  }
}
