/* Anayanex — Why Choose Us comparison */
.wpr-why-choose-us-area.ax-why-choose {
  --ax-why-ink: #0b1220;
  --ax-why-muted: #5b6577;
  --ax-why-blue: #0066ff;
  --ax-why-cyan: #00e0ff;
  --ax-why-deep: #004cff;
}

.wpr-why-choose-us-area.ax-why-choose .section-inner {
  position: relative;
  overflow: hidden;
  border-radius: 28px !important;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(0, 102, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 100%, rgba(0, 224, 255, 0.07), transparent 50%),
    linear-gradient(165deg, #f8fafc 0%, #eef2f7 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.wpr-why-choose-us-area.ax-why-choose .ax-why-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) clamp(4px, 1.5vw, 12px) clamp(12px, 2vw, 20px);
  box-sizing: border-box;
  width: 100%;
}

.ax-why-header {
  margin-bottom: clamp(36px, 5vw, 56px) !important;
  text-align: center;
}

.ax-why-header .sub-title {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px !important;
  padding: 8px 14px !important;
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.14);
  color: var(--ax-why-deep) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
}

.ax-why-header .sub-title::after,
.ax-why-header .sub-title::before {
  display: none !important;
  content: none !important;
}

.ax-why-header .section-title {
  letter-spacing: -0.03em;
  color: var(--ax-why-ink) !important;
}

.ax-why-lead {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ax-why-muted);
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.ax-why-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
  position: relative;
}

.ax-why-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ax-why-vs span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0b1220 0%, #1a2438 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow:
    0 10px 28px rgba(11, 18, 32, 0.35),
    0 0 0 6px rgba(255, 255, 255, 0.85),
    0 0 0 7px rgba(0, 102, 255, 0.18);
  position: relative;
}

.ax-why-vs span::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 102, 255, 0.28);
  animation: ax-why-spin 16s linear infinite;
  pointer-events: none;
}

.ax-why-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  min-height: 100%;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.ax-why-choose.is-inview .ax-why-card--other {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 80ms;
}

.ax-why-choose.is-inview .ax-why-card--us {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 180ms;
}

.ax-why-choose.is-inview .ax-why-vs {
  opacity: 1;
  transform: scale(1);
}

.ax-why-vs {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.55s ease 0.12s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.ax-why-card--other {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(8px);
}

.ax-why-card--us {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(0, 224, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0, 102, 255, 0.22), transparent 50%),
    linear-gradient(160deg, #070b14 0%, #0f1728 52%, #0a1220 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 22px 48px rgba(0, 76, 255, 0.22),
    0 4px 14px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.ax-why-card--us::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ax-why-deep) 0%, var(--ax-why-cyan) 100%);
}

.ax-why-card:hover {
  transform: translateY(-6px);
}

.ax-why-choose.is-inview .ax-why-card:hover {
  transform: translateY(-6px);
}

.ax-why-card__head {
  padding: 24px 26px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ax-why-card--us .ax-why-card__head {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ax-why-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1;
}

.ax-why-badge--muted {
  background: #e8eaed;
  color: #5f6368;
}

.ax-why-badge--brand {
  background: rgba(0, 224, 255, 0.14);
  color: #7ee8ff;
  border: 1px solid rgba(0, 224, 255, 0.28);
}

.ax-why-card__title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ax-why-ink);
  text-transform: none !important;
}

.ax-why-card--us .ax-why-card__title {
  color: #fff;
}

.ax-why-brand-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ax-why-logo {
  display: flex;
  align-items: center;
}

.ax-why-logo img {
  display: none;
}

.ax-why-logo--text {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-transform: none;
  background: linear-gradient(90deg, #fff 0%, #b8ecff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ax-why-list {
  list-style: none;
  margin: 0;
  padding: 18px 18px 24px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ax-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.05);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ax-why-muted);
  text-transform: none !important;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    border-color 0.25s ease;
  transition-delay: calc(220ms + var(--ax-li, 0) * 55ms);
}

.ax-why-card--us .ax-why-list li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.07);
  color: #e8eaed;
  transform: translateX(10px);
  transition-delay: calc(280ms + var(--ax-li, 0) * 55ms);
}

.ax-why-choose.is-inview .ax-why-list li {
  opacity: 1;
  transform: translateX(0);
}

.ax-why-card--other .ax-why-list li:hover {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
}

.ax-why-card--us .ax-why-list li:hover {
  background: rgba(0, 224, 255, 0.08);
  border-color: rgba(0, 224, 255, 0.2);
}

.ax-why-list li span {
  flex: 1;
  min-width: 0;
}

.ax-why-icon {
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0 !important;
  margin-top: 1px;
  box-sizing: border-box;
  overflow: hidden;
}

.ax-why-icon svg {
  width: 14px !important;
  height: 14px !important;
  display: block;
  flex: none;
}

.ax-why-icon--cross {
  background: #eef0f3;
  color: #9aa0a6;
}

.ax-why-icon--check {
  background: linear-gradient(135deg, var(--ax-why-deep) 0%, #00b8ff 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 76, 255, 0.4);
}

.ax-why-cta {
  margin-top: clamp(36px, 5vw, 52px) !important;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease 0.45s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
}

.ax-why-choose.is-inview .ax-why-cta {
  opacity: 1;
  transform: translateY(0);
}

.ax-why-cta .wpr-btn {
  max-width: 260px;
  color: #fff !important;
  background-image: linear-gradient(180deg, #40454a 0%, #292c2e 55%, #0a0a0b 100%) !important;
  box-shadow:
    0 3px 3px rgba(0, 0, 0, 0.18),
    0 14px 28px rgba(10, 10, 11, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -5px 0 #0a0a0b !important;
  border: 0 !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}

.ax-why-cta .wpr-btn:hover,
.ax-why-cta .wpr-btn:focus-visible {
  color: #fff !important;
  filter: brightness(1.08);
  transform: translateY(-2px);
  background-image: linear-gradient(180deg, #4a5056 0%, #323538 55%, #111113 100%) !important;
  box-shadow:
    0 4px 4px rgba(0, 0, 0, 0.2),
    0 16px 32px rgba(10, 10, 11, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -5px 0 #0a0a0b !important;
}

.wpr-why-choose-us-area.ax-why-choose .why-choose-wrapper {
  display: none;
}

.wpr-why-choose-us-area.ax-why-choose .bottom-shape-area {
  opacity: 0.35;
  pointer-events: none;
}

@keyframes ax-why-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 699px) {
  .ax-why-compare {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ax-why-vs {
    order: 0;
    margin: -2px 0;
  }

  .ax-why-vs span {
    width: 44px;
    height: 44px;
  }

  .ax-why-card__title {
    font-size: 22px;
  }

  .ax-why-header .section-title {
    font-size: clamp(26px, 7vw, 34px) !important;
    padding-inline: 4px;
  }

  .ax-why-lead {
    font-size: 15px;
    padding-inline: 4px;
  }

  .ax-why-cta .wpr-btn {
    max-width: 100%;
    width: 100%;
  }
}

@media (min-width: 700px) and (max-width: 991px) {
  .ax-why-compare {
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
  }

  .ax-why-card__title,
  .ax-why-logo--text {
    font-size: 22px;
  }

  .ax-why-list li {
    font-size: 14px;
    padding: 11px 12px;
  }
}

@media (max-width: 575px) {
  .ax-why-list li {
    font-size: 14px;
    padding: 11px 12px;
  }

  .ax-why-card__head {
    padding: 18px 16px 14px;
  }

  .ax-why-list {
    padding: 14px 12px 18px !important;
  }

  .wpr-why-choose-us-area.ax-why-choose .section-inner {
    border-radius: 20px !important;
  }
}

/* Short landscape phones / foldables */
@media (max-height: 480px) and (orientation: landscape) {
  .ax-why-header {
    margin-bottom: 24px !important;
  }

  .ax-why-cta {
    margin-top: 28px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-why-card,
  .ax-why-vs,
  .ax-why-list li,
  .ax-why-cta,
  .ax-why-vs span::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
