/* ════════════════════════════════════════════════════════
   Why Us  –  "We help you grow your business" section
   ════════════════════════════════════════════════════════ */

/* ── Section wrapper ─────────────────────────── */
#why-us-section {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

/* Subtle top wave separator from dark section above */
/* #why-us-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5fcdf8, #1e43f6, #a855f7, #5fcdf8);
  background-size: 300% 100%;
  animation: whyGradientShift 6s linear infinite;
} */

@keyframes whyGradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

/* ── Section badge ───────────────────────────── */
.why-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1e43f6;
  background: rgba(30, 67, 246, 0.07);
  border: 1px solid rgba(30, 67, 246, 0.18);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.25rem;
}

.why-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e43f6;
  box-shadow: 0 0 6px rgba(30, 67, 246, 0.6);
  flex-shrink: 0;
}

/* ── Section headline ────────────────────────── */
.why-headline {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: #0c0f1a;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.why-headline .why-hl {
  background: linear-gradient(90deg, #5fcdf8, #1e43f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-subline {
  font-size: 1rem;
  color: #64748b;
  max-width: 480px;
  line-height: 1.7;
}

/* ── Feature cards ───────────────────────────── */
.why-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  transition:
    transform 0.38s cubic-bezier(0.22, 0.68, 0, 1.2),
    box-shadow 0.38s ease,
    border-color 0.38s ease;
  cursor: default;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(30, 67, 246, 0.22);
  box-shadow:
    0 20px 60px rgba(30, 67, 246, 0.1),
    0 4px 16px rgba(30, 67, 246, 0.06);
}

/* Glow corner blob */
.why-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(40px);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.why-card:hover::before {
  opacity: 1;
}

/* Per-card unique blob colors */
.why-card[data-card="1"]::before {
  background: rgba(95, 205, 248, 0.4);
}
.why-card[data-card="2"]::before {
  background: rgba(30, 67, 246, 0.35);
}
.why-card[data-card="3"]::before {
  background: rgba(168, 85, 247, 0.35);
}
.why-card[data-card="4"]::before {
  background: rgba(34, 197, 94, 0.35);
}

/* Gradient top accent line per card */
.why-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 1.25rem 1.25rem 0 0;
  opacity: 0;
  transition: opacity 0.38s ease;
}

.why-card:hover::after {
  opacity: 1;
}

.why-card[data-card="1"]::after {
  background: linear-gradient(90deg, #5fcdf8, #1e43f6);
}
.why-card[data-card="2"]::after {
  background: linear-gradient(90deg, #1e43f6, #6366f1);
}
.why-card[data-card="3"]::after {
  background: linear-gradient(90deg, #a855f7, #6366f1);
}
.why-card[data-card="4"]::after {
  background: linear-gradient(90deg, #22c55e, #14b8a6);
}

/* ── Card icon ring ──────────────────────────── */
.why-icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  transition: transform 0.38s ease;
}

.why-card:hover .why-icon-ring {
  transform: scale(1.12) rotate(-4deg);
}

.why-icon-ring[data-variant="cyan"] {
  background: rgba(95, 205, 248, 0.12);
}
.why-icon-ring[data-variant="blue"] {
  background: rgba(30, 67, 246, 0.1);
}
.why-icon-ring[data-variant="purple"] {
  background: rgba(168, 85, 247, 0.12);
}
.why-icon-ring[data-variant="green"] {
  background: rgba(34, 197, 94, 0.12);
}

/* ── Card number badge ───────────────────────── */
.why-card-num {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 0, 0, 0.035);
  user-select: none;
  pointer-events: none;
  transition: color 0.38s ease;
}

.why-card:hover .why-card-num {
  color: rgba(30, 67, 246, 0.07);
}

/* ── Card typography ─────────────────────────── */
.why-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0c0f1a;
  line-height: 1.3;
}

.why-card-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e43f6;
  letter-spacing: 0.01em;
}

.why-card-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.7;
  margin-top: 0.25rem;
}

/* ── Stagger-in entrance animation ──────────── */
.why-stagger {
  opacity: 0;
  transform: translateY(28px);
  animation: whyFadeUp 0.55s ease forwards;
}

@keyframes whyFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Decorative background pattern ──────────── */
.why-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 67, 246, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 67, 246, 0.028) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Fade edges of the grid */
.why-bg-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 50%,
    transparent 30%,
    #ffffff 100%
  );
}

/* ── Stat strip ──────────────────────────────── */
.why-stat-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, #050d1f 0%, #0f1e4a 100%);
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.why-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 2.5rem;
}

.why-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.why-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: #5fcdf8;
  line-height: 1;
}

.why-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
  white-space: nowrap;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .why-stat-strip {
    flex-direction: column;
    gap: 1rem;
  }

  .why-stat-divider {
    width: 60px;
    height: 1px;
  }

  .why-stat-item {
    padding: 0.25rem 1rem;
  }
}
