/* ── Why Hadithna — Old way vs Hadithna ─────────────────── */
.why {
  position: relative;
  overflow: hidden;
  padding: 88px 24px;
  background:
    radial-gradient(ellipse 90% 70% at 15% 20%, rgba(100, 116, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 60% at 90% 80%, rgba(26, 31, 132, 0.12), transparent 50%),
    linear-gradient(160deg, #EEF1FF 0%, #F7F8FF 42%, #F3F5FC 100%);
  color: #1A1D3A;
}

.why-assets {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.why-sq {
  position: absolute;
  border-radius: 18px;
  background: rgba(79, 126, 255, 0.08);
  border: 1px solid rgba(79, 126, 255, 0.10);
}

.why-sq.ws1 { width: 110px; height: 110px; top: 8%; right: 4%; }
.why-sq.ws2 { width: 68px; height: 68px; top: 22%; right: 14%; background: rgba(100, 116, 255, 0.10); }
.why-sq.ws3 { width: 88px; height: 88px; bottom: 12%; right: 6%; }
.why-sq.ws4 { width: 96px; height: 96px; top: 14%; left: 5%; background: rgba(26, 31, 132, 0.07); }
.why-sq.ws5 { width: 64px; height: 64px; bottom: 18%; left: 8%; }

.why-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.why-compare {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(79, 126, 255, 0.14);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 48px rgba(26, 31, 132, 0.08);
}

.why-compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid rgba(26, 29, 58, 0.08);
}

.why-head-cell {
  padding: 26px 28px 22px;
}

.why-head-old {
  background: #FFFFFF;
  border-inline-end: 1px solid rgba(26, 29, 58, 0.08);
}

.why-head-new {
  background:
    linear-gradient(160deg, rgba(79, 126, 255, 0.10) 0%, rgba(100, 116, 255, 0.04) 55%, #FFFFFF 100%);
}

.why-col-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.why-head-old .why-col-label {
  color: #4A4A55;
  background: rgba(26, 29, 58, 0.06);
  border: 1px solid rgba(26, 29, 58, 0.08);
}

.why-head-new .why-col-label {
  color: #fff;
  background: linear-gradient(135deg, #1A1F84, #4F7EFF);
  box-shadow: 0 6px 16px rgba(79, 126, 255, 0.22);
}

.why-brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.22);
}

.why-head-cell p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #5C5A66;
  max-width: 100%;
  text-wrap: balance;
}

.why-head-new p {
  color: #4A5568;
}

.why-rows {
  display: flex;
  flex-direction: column;
}

.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid rgba(26, 29, 58, 0.06);
}

.why-cell {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 20px 28px;
}

.why-cell-old {
  background: #FFFFFF;
  border-inline-end: 1px solid rgba(26, 29, 58, 0.08);
}

.why-cell-new {
  background: rgba(79, 126, 255, 0.03);
}

.why-row:nth-child(even) .why-cell-old {
  background: #FAFBFC;
}

.why-row:nth-child(even) .why-cell-new {
  background: rgba(79, 126, 255, 0.055);
}

.why-row:hover .why-cell-new {
  background: rgba(79, 126, 255, 0.09);
}

.why-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.why-mark-x {
  color: #C45C5C;
  background: rgba(196, 92, 92, 0.10);
}

.why-mark-check {
  color: #fff;
  background: linear-gradient(135deg, #1A1F84, #4F7EFF);
  box-shadow: 0 6px 14px rgba(79, 126, 255, 0.22);
}

.why-cell strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 3px;
}

.why-cell-old strong {
  color: #2A2D42;
}

.why-cell-new strong {
  color: #1A1D3A;
}

.why-cell span:not(.why-mark) {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: #5C5A66;
}

.why-cell-new span:not(.why-mark) {
  color: #4A5568;
}

.why-cta {
  margin-top: 40px;
  text-align: center;
}

.why-cta .btn-primary {
  display: inline-flex;
}

.why-cta-note {
  margin-top: 12px;
  font-size: 13px;
  color: #8A8580;
}

@media (max-width: 820px) {
  .why {
    padding: 72px 16px;
  }

  .why-assets {
    display: none;
  }

  .why-compare-head,
  .why-row {
    grid-template-columns: 1fr;
  }

  .why-head-old,
  .why-cell-old {
    border-inline-end: none;
    border-bottom: 1px solid rgba(26, 29, 58, 0.08);
  }

  .why-head-cell {
    padding: 22px 20px 18px;
  }

  .why-head-cell p {
    max-width: none;
  }

  .why-cell {
    padding: 16px 20px;
  }

  .why-cta {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .why-cell {
    grid-template-columns: 28px 1fr;
    gap: 10px;
  }

  .why-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .why-cell strong {
    font-size: 14px;
  }
}
