/* ── Why Choose Us ─────────────────────────────────────────────────────── */
.why-section {
  background: linear-gradient(135deg, #060f2e 0%, #0a1535 40%, #0d1f5c 70%, #060f2e 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* ── Animated background orbs ── */
.why-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.why-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(109,40,217,0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.why-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,110,245,0.15) 0%, transparent 70%);
  top: 50%; right: -80px;
  animation-delay: -3s;
}
.why-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  bottom: -50px; left: 40%;
  animation-delay: -5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

/* ── Grid lines decoration ── */
.why-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Floating particles ── */
.why-particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(109,40,217,0.6);
  pointer-events: none;
  animation: particleDrift linear infinite;
}
.why-particle:nth-child(1)  { left: 10%; top: 20%; animation-duration: 12s; animation-delay: 0s;   width: 3px; height: 3px; }
.why-particle:nth-child(2)  { left: 25%; top: 70%; animation-duration: 15s; animation-delay: -4s;  background: rgba(26,110,245,0.5); }
.why-particle:nth-child(3)  { left: 50%; top: 15%; animation-duration: 10s; animation-delay: -2s;  width: 5px; height: 5px; }
.why-particle:nth-child(4)  { left: 75%; top: 60%; animation-duration: 14s; animation-delay: -6s;  background: rgba(139,92,246,0.6); }
.why-particle:nth-child(5)  { left: 88%; top: 30%; animation-duration: 11s; animation-delay: -1s;  width: 3px; height: 3px; }
.why-particle:nth-child(6)  { left: 35%; top: 85%; animation-duration: 13s; animation-delay: -8s;  background: rgba(26,110,245,0.4); }
@keyframes particleDrift {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-120px) translateX(20px) scale(0.5); opacity: 0; }
}

/* ── Section header overrides for dark bg ── */
.why-section .section-header h2 { color: #ffffff; }
.why-section .section-sub       { color: rgba(255,255,255,0.6); }
.why-section .section-divider   { background: linear-gradient(90deg, transparent, #6D28D9, #1a6ef5, transparent); }

/* ── Stats bar ── */
.why-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.why-stat {
  text-align: center;
  position: relative;
}
.why-stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}
.why-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
  display: block;
}
.why-stat + .why-stat::before {
  content: '';
  position: absolute;
  left: -30px; top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

/* ── Cards grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Card base ── */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  cursor: default;
  backdrop-filter: blur(10px);
}

/* Glow on hover */
.card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(109,40,217,0.5);
  box-shadow: 0 20px 60px rgba(109,40,217,0.2), 0 0 0 1px rgba(109,40,217,0.15);
}

/* Top gradient line */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6D28D9, #1a6ef5, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card.visible::before,
.card:hover::before { opacity: 1; }

/* Corner glow */
.card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,40,217,0.12) 0%, transparent 70%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0;
}
.card:hover::after { opacity: 1; transform: scale(1.3); }

/* ── Card number badge ── */
.card-num {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  font-family: 'Inter', sans-serif;
  user-select: none;
  transition: color 0.4s ease;
}
.card:hover .card-num { color: rgba(109,40,217,0.1); }

/* ── Icon ── */
.card-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(109,40,217,0.2), rgba(26,110,245,0.15));
  border: 1px solid rgba(109,40,217,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #a78bfa;
  margin-bottom: 22px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  position: relative;
  z-index: 1;
}
.card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(109,40,217,0.35);
  background: linear-gradient(135deg, rgba(109,40,217,0.35), rgba(26,110,245,0.25));
}

/* ── Text ── */
.card h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.75;
  position: relative; z-index: 1;
}

/* ── Bottom tag ── */
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative; z-index: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.card:hover .card-tag { opacity: 1; transform: translateY(0); }
.card-tag i { font-size: 0.7rem; }

/* ── Bottom CTA strip ── */
.why-cta-strip {
  margin-top: 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.why-cta-strip p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.why-cta-strip .btn-primary {
  background: linear-gradient(135deg, #6D28D9, #1a6ef5);
  border: none;
  padding: 14px 36px;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(109,40,217,0.35);
}
.why-cta-strip .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(109,40,217,0.5);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-stats  { gap: 40px; }
}
@media (max-width: 768px) {
  .why-stats  { gap: 28px; }
  .why-stat-num { font-size: 2.2rem; }
}
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .why-stats  { gap: 20px; }
  .why-stat + .why-stat::before { display: none; }
}
