/**
 * Notifal alternatives hub landing page styles.
 *
 * Scoped under .notifal-alternatives-page to avoid leaking into the rest of the site.
 *
 * @package Notifal
 * @since   1.4.1
 */

/* ---------------------------------------------------------------------------
 * Root scope and design tokens
 * ------------------------------------------------------------------------- */
.notifal-alternatives-page {
  --purple-primary: #7b2cbf;
  --purple-deep: #5a189a;
  --purple-light: #c77dff;
  --purple-pale: #f8ebff;
  --purple-mid: #9d4edd;
  --purple-dark: #3c096c;
  --ink: #1a1a2e;
  --muted: #6b6b8a;
  --line: #edd9ff;
  --white: #ffffff;

  font-family: "Raleway", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.notifal-alternatives-page *,
.notifal-alternatives-page *::before,
.notifal-alternatives-page *::after {
  box-sizing: border-box;
}

/* Shared section headings */
.notifal-alternatives-page .nalh-section__head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.notifal-alternatives-page .nalh-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-primary);
  margin-bottom: 12px;
}

.notifal-alternatives-page .nalh-section__title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin: 0 0 14px;
  color: var(--ink);
}

.notifal-alternatives-page .nalh-section__sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------- */
.notifal-alternatives-page .nalh-hero {
  position: relative;
  background: linear-gradient(135deg, #3c096c 0%, #7b2cbf 50%, #9d4edd 100%);
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  padding: 80px 24px 96px;
}

.notifal-alternatives-page .nalh-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.notifal-alternatives-page .nalh-hero__blob--1 {
  width: 480px;
  height: 480px;
  background: rgba(199, 125, 255, 0.25);
  top: -120px;
  right: -80px;
  opacity: 0.7;
}

.notifal-alternatives-page .nalh-hero__blob--2 {
  width: 360px;
  height: 360px;
  background: rgba(199, 125, 255, 0.2);
  bottom: -100px;
  left: -60px;
  opacity: 0.6;
}

.notifal-alternatives-page .nalh-hero__blob--3 {
  width: 260px;
  height: 260px;
  background: rgba(90, 24, 154, 0.4);
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.notifal-alternatives-page .nalh-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto;
}

.notifal-alternatives-page .nalh-hero__text {
  flex: 0 0 58%;
  max-width: 58%;
}

.notifal-alternatives-page .nalh-hero__visual {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notifal-alternatives-page .nalh-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.notifal-alternatives-page .nalh-hero__title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.notifal-alternatives-page .nalh-hero__subtext {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 560px;
}

.notifal-alternatives-page .nalh-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.notifal-alternatives-page .nalh-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.notifal-alternatives-page .nalh-hero__check {
  color: var(--purple-light);
  font-size: 12px;
}

.notifal-alternatives-page .nalh-hero__stat {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Hero comparison scorecard */
.notifal-alternatives-page .nalh-scorecard {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: 20px;
  padding: 22px 22px 12px;
  box-shadow: 0 24px 60px rgba(60, 9, 108, 0.35);
}

.notifal-alternatives-page .nalh-scorecard__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0e8fa;
  margin-bottom: 6px;
}

.notifal-alternatives-page .nalh-scorecard__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.notifal-alternatives-page .nalh-scorecard__cols {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.notifal-alternatives-page .nalh-scorecard__col {
  width: 40px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.notifal-alternatives-page .nalh-scorecard__col--notifal {
  color: var(--purple-primary);
}

.notifal-alternatives-page .nalh-scorecard__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notifal-alternatives-page .nalh-scorecard__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #f6f1fc;
}

.notifal-alternatives-page .nalh-scorecard__row:last-child {
  border-bottom: none;
}

.notifal-alternatives-page .nalh-scorecard__label {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.notifal-alternatives-page .nalh-scorecard__mark {
  width: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notifal-alternatives-page .nalh-scorecard__mark svg {
  display: block;
}

.notifal-alternatives-page .nalh-scorecard__mark.is-yes {
  color: #16a34a;
}

.notifal-alternatives-page .nalh-scorecard__mark.is-no {
  color: #cbd0dc;
}

/* Highlight the Notifal "win" with a filled brand badge */
.notifal-alternatives-page .nalh-scorecard__mark--notifal.is-yes svg {
  box-sizing: content-box;
  width: 15px;
  height: 15px;
  padding: 5px;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
  border-radius: 8px;
}

/* ---------------------------------------------------------------------------
 * Intro
 * ------------------------------------------------------------------------- */
.notifal-alternatives-page .nalh-intro {
  padding: 64px 24px;
  background: var(--white);
}

.notifal-alternatives-page .nalh-intro__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.notifal-alternatives-page .nalh-intro__inner p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px;
}

.notifal-alternatives-page .nalh-intro__inner p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Why Notifal cards
 * ------------------------------------------------------------------------- */
.notifal-alternatives-page .nalh-why {
  padding: 72px 24px;
  background: var(--purple-pale);
}

.notifal-alternatives-page .nalh-why__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.notifal-alternatives-page .nalh-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.notifal-alternatives-page .nalh-why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notifal-alternatives-page .nalh-why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(123, 44, 191, 0.1);
}

.notifal-alternatives-page .nalh-why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
  color: var(--white);
  margin-bottom: 16px;
}

.notifal-alternatives-page .nalh-why-card__icon svg {
  width: 22px;
  height: 22px;
}

.notifal-alternatives-page .nalh-why-card__title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.3;
}

.notifal-alternatives-page .nalh-why-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ---------------------------------------------------------------------------
 * Alternatives grid
 * ------------------------------------------------------------------------- */
.notifal-alternatives-page .nalh-grid-section {
  padding: 72px 24px;
  background: var(--white);
}

.notifal-alternatives-page .nalh-grid-section__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.notifal-alternatives-page .nalh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.notifal-alternatives-page .nalh-empty {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px;
  background: var(--purple-pale);
  border: 1px dashed var(--line);
  border-radius: 16px;
}

.notifal-alternatives-page .nalh-empty p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Hub cards */
.notifal-alternatives-page .nalh-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid #e8dff5;
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.notifal-alternatives-page .nalh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(123, 44, 191, 0.12);
  border-color: var(--purple-light);
}

.notifal-alternatives-page .nalh-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.notifal-alternatives-page .nalh-card__brand .nalt-brand__img-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 44px;
}

.notifal-alternatives-page .nalh-card__brand .nalt-brand__img {
  max-height: 28px;
  width: auto;
}

.notifal-alternatives-page .nalh-card__brand .nalt-brand--text {
  font-size: 15px;
  font-weight: 800;
  color: #334155;
}

.notifal-alternatives-page .nalh-card__tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  line-height: 1.3;
  max-width: 120px;
}

.notifal-alternatives-page .nalh-card__title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.25;
}

.notifal-alternatives-page .nalh-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
  flex: 1;
}

.notifal-alternatives-page .nalh-card__highlights {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notifal-alternatives-page .nalh-card__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}

.notifal-alternatives-page .nalh-card__check {
  color: var(--purple-primary);
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
}

.notifal-alternatives-page .nalh-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f0e8fa;
  margin-top: auto;
}

.notifal-alternatives-page .nalh-card__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-primary);
}

.notifal-alternatives-page .nalh-card__arrow {
  color: var(--purple-primary);
  transition: transform 0.2s ease;
}

.notifal-alternatives-page .nalh-card:hover .nalh-card__arrow {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------------------- */
.notifal-alternatives-page .nalh-faq {
  padding: 72px 24px;
  background: var(--purple-pale);
}

.notifal-alternatives-page .nalh-faq__inner {
  max-width: 760px;
  margin: 0 auto;
}

.notifal-alternatives-page .nalh-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notifal-alternatives-page .nalh-faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.notifal-alternatives-page .nalh-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.notifal-alternatives-page .nalh-faq__q::-webkit-details-marker {
  display: none;
}

.notifal-alternatives-page .nalh-faq__icon {
  flex-shrink: 0;
  color: var(--purple-primary);
  transition: transform 0.2s ease;
}

.notifal-alternatives-page .nalh-faq__item[open] .nalh-faq__icon {
  transform: rotate(45deg);
}

.notifal-alternatives-page .nalh-faq__a {
  padding: 0 20px 18px;
}

.notifal-alternatives-page .nalh-faq__a p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------------------------------------------------------------------------
 * CTA
 * ------------------------------------------------------------------------- */
.notifal-alternatives-page .nalh-cta {
  padding: 72px 24px 96px;
  background: var(--white);
}

.notifal-alternatives-page .nalh-cta__box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-primary));
  border-radius: 24px;
  padding: 48px 32px;
  color: var(--white);
}

.notifal-alternatives-page .nalh-cta__title {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
}

.notifal-alternatives-page .nalh-cta__sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 28px;
}

.notifal-alternatives-page .nalh-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.notifal-alternatives-page .nalh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notifal-alternatives-page .nalh-btn:hover {
  transform: translateY(-2px);
}

.notifal-alternatives-page .nalh-btn--primary {
  background: var(--white);
  color: var(--purple-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.notifal-alternatives-page .nalh-btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .notifal-alternatives-page .nalh-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .notifal-alternatives-page .nalh-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .notifal-alternatives-page .nalh-hero {
    padding: 56px 20px 72px;
    border-radius: 0 0 28px 28px;
  }

  .notifal-alternatives-page .nalh-hero__inner {
    flex-direction: column;
    gap: 32px;
  }

  .notifal-alternatives-page .nalh-hero__text,
  .notifal-alternatives-page .nalh-hero__visual {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .notifal-alternatives-page .nalh-hero__title {
    font-size: 34px;
  }

  .notifal-alternatives-page .nalh-hero__subtext {
    font-size: 16px;
  }

  .notifal-alternatives-page .nalh-section__title {
    font-size: 28px;
  }

  .notifal-alternatives-page .nalh-why__grid,
  .notifal-alternatives-page .nalh-grid {
    grid-template-columns: 1fr;
  }

  .notifal-alternatives-page .nalh-cta__title {
    font-size: 24px;
  }

  .notifal-alternatives-page .nalh-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .notifal-alternatives-page .nalh-btn {
    justify-content: center;
  }
}
