/* ============================================================
   چرخ گستر سهند - Why Us Section
   دلایل انتخاب + افتخارات + نظرات مشتریان
   نسخه: 1.0 - Mobile First
   ============================================================ */

:root {
  --atlas-deep-blue: #0a1a2f;
  --atlas-mid-blue: #0d2240;
  --atlas-tech-blue: #134074;
  --atlas-gold: #d4af37;
  --atlas-gold-light: #e5c767;
  --atlas-copper: #b87333;
  --atlas-white: #ffffff;
  --atlas-light-gray: #e8ecf1;
  --atlas-text-on-dark: #ccd6e0;
  --atlas-text-muted: #8899aa;
  --atlas-green: #2ecc71;
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  --border-radius: 18px;
  --font-primary: 'IRANSans', 'Vazirmatn', 'Tahoma', sans-serif;
}

/* ==================== بخش اصلی ==================== */
.why-us-section {
  background: linear-gradient(180deg, var(--atlas-deep-blue) 0%, var(--atlas-mid-blue) 100%);
  padding: 5rem 1rem;
  font-family: var(--font-primary);
  direction: rtl;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* الگوی پس‌زمینه */
.why-us-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.wu-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==================== هدر ==================== */
.wu-header {
  text-align: center;
  margin-bottom: 4rem;
}

.wu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  color: var(--atlas-gold);
  padding: 0.4rem 1.3rem;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  margin-bottom: 1rem;
}

.wu-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--atlas-gold);
  border-radius: 50%;
  animation: wuDotPulse 2s ease-in-out infinite;
}

@keyframes wuDotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.8);
    opacity: 0.3;
  }
}

.wu-title {
  color: var(--atlas-white);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.wu-title-accent {
  color: var(--atlas-gold);
}

.wu-subtitle {
  color: var(--atlas-text-muted);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==================== کارت‌های دلایل ==================== */
.wu-reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.reason-card {
  background: linear-gradient(145deg, rgba(19, 64, 116, 0.25), rgba(10, 26, 47, 0.6));
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.reason-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(212, 175, 55, 0.2);
}

/* خط بالای کارت */
.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--atlas-gold);
  transition: width 0.5s ease;
}

.reason-card:hover::before {
  width: 70%;
}

/* آیکون */
.reason-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 1.2rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.reason-card:hover .reason-icon {
  background: rgba(212, 175, 55, 0.2);
  transform: scale(1.1) rotateY(180deg);
}

.reason-icon svg {
  width: 32px;
  height: 32px;
}

/* رنگ‌های مختلف آیکون */
.reason-icon.icon-blue {
  color: #3498db;
}

.reason-icon.icon-green {
  color: var(--atlas-green);
}

.reason-icon.icon-gold {
  color: var(--atlas-gold);
}

.reason-icon.icon-cyan {
  color: #00bcd4;
}

.reason-title {
  color: var(--atlas-white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.reason-desc {
  color: var(--atlas-text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ==================== بخش آمار ==================== */
.wu-stats-wrapper {
  background: linear-gradient(145deg, rgba(19, 64, 116, 0.2), rgba(10, 26, 47, 0.5));
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
}

.wu-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  padding: 0.5rem;
}

.stat-number {
  color: var(--atlas-gold);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.stat-label {
  color: var(--atlas-text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* جداکننده بین آیتم‌ها */
.stat-item:not(:last-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==================== افتخارات + نظرات ==================== */
.wu-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* ==================== افتخارات ==================== */
.honors-card {
  background: linear-gradient(145deg, rgba(19, 64, 116, 0.25), rgba(10, 26, 47, 0.6));
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.honors-title {
  color: var(--atlas-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.honors-title svg {
  width: 24px;
  height: 24px;
  color: var(--atlas-gold);
}

.honors-list {
  list-style: none;
  padding: 0;
}

.honors-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--atlas-text-on-dark);
  font-size: 0.9rem;
  line-height: 1.7;
}

.honors-list li:last-child {
  border-bottom: none;
}

.honors-list li svg {
  width: 18px;
  height: 18px;
  color: var(--atlas-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.honors-year {
  color: var(--atlas-gold);
  font-weight: 700;
  margin-left: 0.3rem;
}

/* ==================== نظرات مشتریان ==================== */
.testimonial-card {
  background: linear-gradient(145deg, rgba(19, 64, 116, 0.25), rgba(10, 26, 47, 0.6));
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 8rem;
  color: rgba(212, 175, 55, 0.06);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-title {
  color: var(--atlas-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.testimonial-title svg {
  width: 24px;
  height: 24px;
  color: var(--atlas-gold);
}

.testimonial-text {
  color: var(--atlas-text-on-dark);
  font-size: 0.95rem;
  line-height: 2;
  font-style: italic;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--atlas-gold), var(--atlas-copper));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--atlas-deep-blue);
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.author-name {
  color: var(--atlas-white);
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  color: var(--atlas-text-muted);
  font-size: 0.8rem;
}

/* ==================== CTA ==================== */
.wu-cta {
  text-align: center;
}

.btn-wu-cta {
  background: linear-gradient(135deg, var(--atlas-gold), var(--atlas-copper));
  color: var(--atlas-deep-blue);
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-wu-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
  color: var(--atlas-deep-blue);
}

.btn-wu-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  animation: wuBtnShine 3s ease-in-out infinite;
}

@keyframes wuBtnShine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.wu-cta-text {
  color: var(--atlas-text-muted);
  font-size: 0.85rem;
  margin-top: 0.8rem;
}

/* ==================== Responsive ==================== */

/* تبلت */
@media (max-width: 992px) {
  .wu-reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wu-bottom-grid {
    grid-template-columns: 1fr;
  }

  .wu-title {
    font-size: 1.8rem;
  }

  .wu-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-left: none;
  }
}

/* موبایل */
@media (max-width: 768px) {
  .why-us-section {
    padding: 3rem 0.8rem;
  }

  .wu-reasons-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .wu-title {
    font-size: 1.6rem;
  }

  .wu-stats-wrapper {
    padding: 1.5rem 1rem;
  }

  .wu-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .reason-card:hover {
    transform: translateY(-4px);
  }
}

/* موبایل کوچک */
@media (max-width: 480px) {
  .wu-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .stat-item {
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 0;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .wu-title {
    font-size: 1.4rem;
  }
}