/**
 * Notifal examples hub landing page styles.
 *
 * Scoped under .notifal-examples-page to avoid leaking into the rest of the site.
 *
 * @package Notifal
 * @since   1.5.0
 */

/* ---------------------------------------------------------------------------
 * Root scope and design tokens
 * ------------------------------------------------------------------------- */
.notifal-examples-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-examples-page *,
.notifal-examples-page *::before,
.notifal-examples-page *::after {
  box-sizing: border-box;
}

.notifal-examples-page .nexh-section__head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.notifal-examples-page .nexh-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-primary);
  margin-bottom: 12px;
}

.notifal-examples-page .nexh-section__title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin: 0 0 14px;
  color: var(--ink);
}

.notifal-examples-page .nexh-section__sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------- */
.notifal-examples-page .nexh-hero {
  position: relative;
  background: linear-gradient(135deg, #10002b 0%, #3c096c 45%, #7b2cbf 100%);
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  padding: 80px 24px 96px;
}

.notifal-examples-page .nexh-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.notifal-examples-page .nexh-hero__blob--1 {
  width: 480px;
  height: 480px;
  background: rgba(157, 78, 221, 0.35);
  top: -120px;
  right: -80px;
}

.notifal-examples-page .nexh-hero__blob--2 {
  width: 360px;
  height: 360px;
  background: rgba(90, 24, 154, 0.4);
  bottom: -100px;
  left: -60px;
}

.notifal-examples-page .nexh-hero__blob--3 {
  width: 260px;
  height: 260px;
  background: rgba(199, 125, 255, 0.25);
  top: 45%;
  left: 48%;
}

.notifal-examples-page .nexh-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto;
}

.notifal-examples-page .nexh-hero__text {
  flex: 0 0 54%;
  max-width: 54%;
}

.notifal-examples-page .nexh-hero__visual {
  flex: 0 0 46%;
  max-width: 46%;
}

.notifal-examples-page .nexh-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  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-examples-page .nexh-hero__title {
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.notifal-examples-page .nexh-hero__subtext {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 560px;
}

.notifal-examples-page .nexh-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.notifal-examples-page .nexh-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-examples-page .nexh-hero__check {
  color: var(--purple-light);
  font-size: 12px;
}

.notifal-examples-page .nexh-hero__stat {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Hero pillars visual */
.notifal-examples-page .nexh-pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notifal-examples-page .nexh-pillar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.notifal-examples-page .nexh-pillar:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.notifal-examples-page .nexh-pillar__num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--purple-light);
  margin-bottom: 6px;
}

.notifal-examples-page .nexh-pillar__label {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.notifal-examples-page .nexh-pillar__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ---------------------------------------------------------------------------
 * Intro
 * ------------------------------------------------------------------------- */
.notifal-examples-page .nexh-intro {
  padding: 64px 24px;
  background: var(--white);
}

.notifal-examples-page .nexh-intro__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.notifal-examples-page .nexh-intro__inner p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px;
}

.notifal-examples-page .nexh-intro__inner p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Learn cards
 * ------------------------------------------------------------------------- */
.notifal-examples-page .nexh-learn {
  padding: 72px 24px;
  background: var(--purple-pale);
}

.notifal-examples-page .nexh-learn__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.notifal-examples-page .nexh-learn__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.notifal-examples-page .nexh-learn-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.notifal-examples-page .nexh-learn-card:hover {
  border-color: #d4b3f5;
  box-shadow: 0 16px 36px -18px rgba(123, 44, 191, 0.35);
}

.notifal-examples-page .nexh-learn-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-primary));
  color: #fff;
  margin-bottom: 16px;
}

.notifal-examples-page .nexh-learn-card__title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.notifal-examples-page .nexh-learn-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ---------------------------------------------------------------------------
 * Examples grid
 * ------------------------------------------------------------------------- */
.notifal-examples-page .nexh-grid-section {
  padding: 80px 24px;
  background: var(--white);
}

.notifal-examples-page .nexh-grid-section__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.notifal-examples-page .nexh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.notifal-examples-page .nexh-empty {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px;
  background: var(--purple-pale);
  border-radius: 16px;
}

.notifal-examples-page .nexh-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Hub card */
.notifal-examples-page .nexh-card,
.notifal-ex-page .nexh-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #eadcf7;
  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-examples-page .nexh-card:hover,
.notifal-ex-page .nexh-card:hover {
  transform: translateY(-4px);
  border-color: #d4b3f5;
  box-shadow: 0 20px 40px -24px rgba(123, 44, 191, 0.4);
}

.notifal-examples-page .nexh-card__top,
.notifal-ex-page .nexh-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.notifal-examples-page .nexh-card__category,
.notifal-ex-page .nexh-card__category {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--purple-deep);
  background: var(--purple-pale);
  border-radius: 100px;
  padding: 5px 10px;
}

.notifal-examples-page .nexh-card__metric,
.notifal-ex-page .nexh-card__metric {
  font-size: 13px;
  font-weight: 800;
  color: var(--purple-primary);
}

.notifal-examples-page .nexh-card__title,
.notifal-ex-page .nexh-card__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--ink);
}

.notifal-examples-page .nexh-card__industry,
.notifal-ex-page .nexh-card__industry {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-mid);
  margin: 0 0 10px;
}

.notifal-examples-page .nexh-card__desc,
.notifal-ex-page .nexh-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
  flex: 1;
}

.notifal-examples-page .nexh-card__highlights,
.notifal-ex-page .nexh-card__highlights {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.notifal-examples-page .nexh-card__highlights li,
.notifal-ex-page .nexh-card__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.notifal-examples-page .nexh-card__check,
.notifal-ex-page .nexh-card__check {
  color: var(--purple-primary);
  flex-shrink: 0;
}

.notifal-examples-page .nexh-card__footer,
.notifal-ex-page .nexh-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0e8fa;
  padding-top: 14px;
  margin-top: auto;
}

.notifal-examples-page .nexh-card__cta,
.notifal-ex-page .nexh-card__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-primary);
}

.notifal-examples-page .nexh-card__arrow,
.notifal-ex-page .nexh-card__arrow {
  color: var(--purple-primary);
  display: inline-flex;
  transition: transform 0.2s ease;
}

.notifal-examples-page .nexh-card:hover .nexh-card__arrow,
.notifal-ex-page .nexh-card:hover .nexh-card__arrow {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------------------- */
.notifal-examples-page .nexh-faq {
  padding: 72px 24px 40px;
  background: #faf7fc;
}

.notifal-examples-page .nexh-faq__inner {
  max-width: 800px;
  margin: 0 auto;
}

.notifal-examples-page .nexh-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notifal-examples-page .nexh-faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.notifal-examples-page .nexh-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-examples-page .nexh-faq__q::-webkit-details-marker {
  display: none;
}

.notifal-examples-page .nexh-faq__icon {
  display: inline-flex;
  color: var(--purple-primary);
  transition: transform 0.2s ease;
}

.notifal-examples-page .nexh-faq__item[open] .nexh-faq__icon {
  transform: rotate(45deg);
}

.notifal-examples-page .nexh-faq__a {
  padding: 0 20px 18px;
}

.notifal-examples-page .nexh-faq__a p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.notifal-examples-page .nexh-faq__a a {
  color: var(--purple-primary);
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
 * CTA
 * ------------------------------------------------------------------------- */
.notifal-examples-page .nexh-cta {
  padding: 40px 24px 90px;
  background: #faf7fc;
}

.notifal-examples-page .nexh-cta__box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #10002b 0%, #5a189a 55%, #7b2cbf 100%);
  border-radius: 24px;
  padding: 56px 40px;
}

.notifal-examples-page .nexh-cta__title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.notifal-examples-page .nexh-cta__sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.notifal-examples-page .nexh-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.notifal-examples-page .nexh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease, background 0.2s ease;
}

.notifal-examples-page .nexh-btn--primary {
  background: linear-gradient(135deg, #7b2cbf, #9d4edd);
  color: #fff;
  box-shadow: 0 10px 24px rgba(123, 44, 191, 0.35);
}

.notifal-examples-page .nexh-btn--primary:hover {
  filter: brightness(1.08);
}

.notifal-examples-page .nexh-btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.notifal-examples-page .nexh-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .notifal-examples-page .nexh-hero__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .notifal-examples-page .nexh-hero__text,
  .notifal-examples-page .nexh-hero__visual {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .notifal-examples-page .nexh-learn__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .notifal-examples-page .nexh-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .notifal-examples-page .nexh-hero {
    padding: 56px 20px 72px;
    border-radius: 0 0 28px 28px;
  }

  .notifal-examples-page .nexh-hero__title {
    font-size: 32px;
  }

  .notifal-examples-page .nexh-section__title {
    font-size: 26px;
  }

  .notifal-examples-page .nexh-learn__grid,
  .notifal-examples-page .nexh-grid {
    grid-template-columns: 1fr;
  }

  .notifal-examples-page .nexh-cta__box {
    padding: 40px 22px;
  }

  .notifal-examples-page .nexh-cta__title {
    font-size: 24px;
  }
}
