:root {
  --nx-bg: #f5f7fb;
  --nx-paper: #ffffff;
  --nx-paper-2: #eef4fb;
  --nx-ink: #0f172a;
  --nx-muted: #58708f;
  --nx-line: rgba(15, 23, 42, 0.1);
  --nx-primary: #0045b2;
  --nx-primary-dark: #001b4d;
  --nx-accent: #f59e0b;
  --nx-shadow: 0 24px 70px rgba(0, 27, 77, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--nx-bg);
  color: var(--nx-ink);
}

body.nx-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.nx-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nx-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-primary);
}

.nx-kicker--light {
  color: rgba(255, 255, 255, 0.78);
}

.nx-lead {
  margin: 0;
  max-width: 760px;
  color: var(--nx-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.nx-lead--light {
  color: rgba(255, 255, 255, 0.86);
}

.nx-btn-primary,
.nx-btn-secondary,
.nx-link-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nx-btn-primary:hover,
.nx-btn-secondary:hover,
.nx-link-ghost:hover {
  transform: translateY(-1px);
}

.nx-btn-primary {
  background: #fff;
  color: var(--nx-primary-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.nx-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nx-btn-secondary--light {
  border-color: rgba(255, 255, 255, 0.35);
}

.nx-link-ghost {
  color: var(--nx-primary-dark);
  background: rgba(0, 69, 178, 0.08);
}

.nx-public-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  background: rgba(245, 247, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nx-public-brand img {
  height: 34px;
  width: auto;
}

.nx-public-links,
.nx-public-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nx-public-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--nx-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nx-public-links a:hover {
  color: var(--nx-ink);
  background: rgba(0, 69, 178, 0.08);
}

.nx-public-hero {
  position: relative;
  overflow: hidden;
  background: var(--nx-primary-dark);
}

.nx-public-hero__bg,
.nx-public-hero__veil {
  position: absolute;
  inset: 0;
}

.nx-public-hero__bg {
  background: url("/static/img/nexuma/nexuma-login-hero.jpg?v=1") center/cover no-repeat;
  transform: scale(1.04);
}

.nx-public-hero__veil {
  background:
    linear-gradient(110deg, rgba(0, 27, 77, 0.96) 8%, rgba(0, 69, 178, 0.78) 46%, rgba(0, 69, 178, 0.36) 100%),
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.18), transparent 24%);
}

.nx-public-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 36px;
  align-items: center;
  padding: 84px 0 76px;
}

.nx-public-hero__copy h1,
.nx-section h2,
.nx-final-cta h2 {
  margin: 0 0 18px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.nx-public-hero__copy h1 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.65rem);
}

.nx-public-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nx-inline-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.nx-inline-points li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
}

.nx-public-hero__visual {
  position: relative;
  min-height: 560px;
}

.nx-stage-card,
.nx-stage-image,
.nx-problem-grid article,
.nx-solution-card,
.nx-module-card,
.nx-role-grid article,
.nx-demo-panel,
.nx-faq__list article,
.nx-stat-strip article {
  border: 1px solid var(--nx-line);
  box-shadow: var(--nx-shadow);
}

.nx-stage-card,
.nx-stage-image {
  position: absolute;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.nx-stage-card--main {
  top: 0;
  right: 0;
  width: 85%;
  padding: 24px;
}

.nx-stage-card__eyebrow {
  margin-bottom: 18px;
  color: var(--nx-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nx-stage-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nx-stage-kpis article {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #edf4fc 100%);
}

.nx-stage-kpis strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.7rem;
  color: var(--nx-primary-dark);
}

.nx-stage-kpis span {
  color: var(--nx-muted);
  font-size: 0.92rem;
}

.nx-stage-card--floating {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 270px;
  padding: 16px 18px;
}

.nx-stage-card--floating span {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.nx-stage-card--floating p {
  margin: 0;
  color: var(--nx-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.nx-stage-card--nexy {
  top: 236px;
  left: 12px;
}

.nx-stage-card--nexy img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.nx-stage-card--badge {
  right: 18px;
  bottom: 28px;
}

.nx-stage-card--badge i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.14);
  color: #b77907;
  font-size: 1.15rem;
}

.nx-stage-image {
  left: 54px;
  bottom: 0;
  width: 72%;
  overflow: hidden;
}

.nx-stage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nx-section {
  padding: 88px 0;
}

.nx-section h2,
.nx-final-cta h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.nx-section--plain {
  padding: 32px 0 16px;
}

.nx-section--soft {
  background: linear-gradient(180deg, #f9fbfe 0%, #eef4fb 100%);
}

.nx-section--ink {
  background: linear-gradient(180deg, #031028 0%, #071a3b 100%);
  color: #fff;
}

.nx-section--cta {
  background: linear-gradient(135deg, #001b4d 0%, #00348d 100%);
  color: #fff;
}

.nx-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nx-stat-strip article {
  padding: 20px 24px;
  border-radius: 24px;
  background: var(--nx-paper);
}

.nx-stat-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--nx-primary-dark);
  font-size: 1.05rem;
}

.nx-stat-strip span {
  color: var(--nx-muted);
  line-height: 1.5;
}

.nx-problem-grid,
.nx-solution-grid,
.nx-role-grid,
.nx-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.nx-problem-grid article,
.nx-solution-card,
.nx-role-grid article,
.nx-faq__list article {
  padding: 26px;
  border-radius: 26px;
  background: var(--nx-paper);
}

.nx-problem-grid h3,
.nx-solution-card h3,
.nx-module-card h3,
.nx-role-grid h3,
.nx-faq__list h3,
.nx-steps-grid h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.nx-problem-grid p,
.nx-solution-card p,
.nx-module-card p,
.nx-role-grid p,
.nx-faq__list p,
.nx-steps-grid p,
.nx-demo-panel p,
.nx-final-cta p {
  margin: 0;
  color: var(--nx-muted);
  line-height: 1.7;
}

.nx-split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 24px;
  align-items: end;
}

.nx-solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nx-solution-card i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(0, 69, 178, 0.1);
  color: var(--nx-primary);
  font-size: 1.2rem;
}

.nx-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.nx-module-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--nx-paper);
}

.nx-module-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.nx-module-card > div {
  padding: 24px;
}

.nx-module-card ul,
.nx-demo-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.nx-module-card li,
.nx-demo-points li {
  position: relative;
  padding-left: 18px;
  color: var(--nx-muted);
  line-height: 1.7;
}

.nx-module-card li::before,
.nx-demo-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nx-accent);
}

.nx-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.nx-steps-grid article {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nx-steps-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.nx-steps-grid p {
  color: rgba(255, 255, 255, 0.75);
}

.nx-demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: 30px;
  background: var(--nx-paper);
}

.nx-demo-panel aside {
  overflow: hidden;
  border-radius: 22px;
}

.nx-faq {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}

.nx-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nx-final-cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
}

.nx-public-footer {
  padding: 26px 0 40px;
  background: #031028;
  color: rgba(255, 255, 255, 0.78);
}

.nx-public-footer .nx-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nx-public-footer img,
.nx-public-footer__logo {
  height: 36px;
  width: auto;
  /* Logo blanco con fondo negro: elimina el negro sobre el pie oscuro */
  mix-blend-mode: screen;
}

.nx-public-footer p {
  margin: 0;
  max-width: 720px;
  text-align: right;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .nx-public-hero__grid,
  .nx-split-head,
  .nx-demo-panel,
  .nx-faq,
  .nx-final-cta {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nx-public-hero__visual {
    min-height: 520px;
  }

  .nx-stage-card--main {
    width: 100%;
  }

  .nx-stage-image {
    width: 82%;
  }
}

@media (max-width: 900px) {
  .nx-public-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nx-public-links,
  .nx-public-actions,
  .nx-stat-strip,
  .nx-problem-grid,
  .nx-solution-grid,
  .nx-module-grid,
  .nx-role-grid,
  .nx-faq__list,
  .nx-steps-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nx-public-links {
    display: none;
  }

  .nx-public-hero__grid {
    padding-top: 56px;
  }

  .nx-public-hero__visual {
    min-height: 460px;
  }

  .nx-stage-card--nexy {
    left: 0;
  }
}

@media (max-width: 640px) {
  .nx-shell {
    width: min(100% - 24px, 1160px);
  }

  .nx-public-nav {
    padding: 14px 12px;
  }

  .nx-public-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nx-public-hero__copy h1 {
    max-width: 100%;
  }

  .nx-public-hero__visual {
    min-height: 420px;
  }

  .nx-stage-card--main,
  .nx-stage-card--floating,
  .nx-stage-image {
    position: static;
    width: 100%;
  }

  .nx-public-hero__visual {
    display: grid;
    gap: 14px;
  }

  .nx-stage-card--floating {
    width: 100%;
  }

  .nx-stage-image img,
  .nx-module-card img {
    height: auto;
  }

  .nx-public-footer .nx-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .nx-public-footer p {
    text-align: left;
  }
}

/* Agenda comercial */
.nx-booking {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 8%, rgba(55, 225, 201, 0.15), transparent 28%),
    radial-gradient(circle at 95% 55%, rgba(26, 127, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #03142f 0%, #062652 55%, #073f71 100%);
}

.nx-booking__glow {
  position: absolute;
  top: 90px;
  left: 50%;
  width: 900px;
  height: 900px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  pointer-events: none;
  transform: translateX(-50%);
  box-shadow: 0 0 0 120px rgba(255, 255, 255, 0.018), 0 0 0 240px rgba(255, 255, 255, 0.012);
}

.nx-booking__head,
.nx-booking__promise,
.nx-booking__workspace {
  position: relative;
}

.nx-booking__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  gap: 70px;
  align-items: end;
}

.nx-booking__head h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4.2vw, 4.2rem);
}

.nx-booking__head > p {
  margin: 0 0 8px;
  color: rgba(224, 239, 255, 0.76);
  font-size: 1rem;
  line-height: 1.75;
}

.nx-booking__promise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 48px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
}

.nx-booking__promise article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 22px;
}

.nx-booking__promise article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nx-booking__promise article > span {
  color: #63e5d2;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.nx-booking__promise strong,
.nx-booking__promise small {
  display: block;
}

.nx-booking__promise strong {
  font-size: 0.84rem;
}

.nx-booking__promise small {
  margin-top: 3px;
  color: rgba(222, 238, 255, 0.56);
  font-size: 0.7rem;
}

.nx-booking__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.nx-booking__workspace--teaser {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.nx-booking__teaser {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  color: #eff6ff;
  background: #06152e;
  box-shadow: 0 35px 90px rgba(0, 8, 28, 0.3);
}

.nx-booking__teaser-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.55;
  transform: scale(1.04);
}

.nx-booking__teaser-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(3, 20, 47, 0.88) 10%, rgba(6, 37, 82, 0.78) 55%, rgba(7, 63, 113, 0.72) 100%);
}

.nx-booking__teaser-body {
  position: relative;
  z-index: 1;
  padding: 34px 30px;
}

.nx-booking__teaser p {
  margin: 0;
  color: rgba(236, 246, 255, 0.9);
  line-height: 1.7;
}

.nx-booking__teaser .nx-booking__form-intro {
  margin-bottom: 18px;
}

.nx-booking__teaser .nx-booking__form-intro p {
  color: #63e5d2;
}

.nx-booking__teaser .nx-booking__form-intro h3 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.nx-booking__teaser .nx-public-hero__actions {
  margin-top: 22px;
}

.nx-booking__form-card,
.nx-meeting-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 35px 90px rgba(0, 8, 28, 0.3);
}

.nx-booking__form-card {
  padding: 30px;
  color: #10233f;
  background: rgba(255, 255, 255, 0.98);
}

.nx-booking__form-intro,
.nx-schedule-picker__title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nx-booking__form-intro {
  margin-bottom: 26px;
}

.nx-booking__form-intro > span,
.nx-schedule-picker__title > span {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #0060bf;
  background: #e7f3ff;
}

.nx-booking__form-intro p {
  margin: 0 0 3px;
  color: #1477c9;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.nx-booking__form-intro h3 {
  margin: 0;
  color: #061b3a;
  font-size: 1.35rem;
}

.nx-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nx-form-span-2 {
  grid-column: span 2;
}

.nx-booking form label > span,
.nx-interest-fieldset legend,
.nx-date-field > span {
  display: block;
  margin-bottom: 7px;
  color: #3d526d;
  font-size: 0.72rem;
  font-weight: 800;
}

.nx-booking input:not([type="checkbox"]):not([type="radio"]),
.nx-booking select,
.nx-booking textarea {
  width: 100%;
  border: 1px solid #d8e2ee;
  border-radius: 12px;
  outline: none;
  color: #132b49;
  background: #f9fbfd;
  font: inherit;
  font-size: 0.84rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nx-modal__dialog input:not([type="checkbox"]):not([type="radio"]),
.nx-modal__dialog select,
.nx-modal__dialog textarea {
  width: 100%;
  border: 1px solid #d8e2ee;
  border-radius: 12px;
  outline: none;
  color: #132b49;
  background: #f9fbfd;
  font: inherit;
  font-size: 0.84rem;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nx-booking input:not([type="checkbox"]):not([type="radio"]),
.nx-booking select {
  height: 48px;
  padding: 0 13px;
}

.nx-modal__dialog input:not([type="checkbox"]):not([type="radio"]),
.nx-modal__dialog select {
  height: 48px;
  padding: 0 13px;
}

.nx-booking textarea {
  min-height: 94px;
  padding: 13px;
  resize: vertical;
  line-height: 1.5;
}

.nx-modal__dialog textarea {
  min-height: 94px;
  padding: 13px;
  resize: vertical;
  line-height: 1.5;
}

.nx-booking input:not([type="checkbox"]):not([type="radio"]):focus,
.nx-booking select:focus,
.nx-booking textarea:focus {
  border-color: #1684dd;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 132, 221, 0.1);
}

.nx-modal__dialog input:not([type="checkbox"]):not([type="radio"]):focus,
.nx-modal__dialog select:focus,
.nx-modal__dialog textarea:focus {
  border-color: #1684dd;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 132, 221, 0.1);
}

.nx-booking input:not([type="checkbox"]):not([type="radio"]).is-invalid,
.nx-booking select.is-invalid,
.nx-booking textarea.is-invalid {
  border-color: #d74848;
  box-shadow: 0 0 0 3px rgba(215, 72, 72, 0.08);
}

.nx-modal__dialog input:not([type="checkbox"]):not([type="radio"]).is-invalid,
.nx-modal__dialog select.is-invalid,
.nx-modal__dialog textarea.is-invalid {
  border-color: #d74848;
  box-shadow: 0 0 0 3px rgba(215, 72, 72, 0.08);
}

.nx-modal__dialog form label > span,
.nx-modal__dialog .nx-interest-fieldset legend,
.nx-modal__dialog .nx-date-field > span {
  display: block;
  margin-bottom: 7px;
  color: #3d526d;
  font-size: 0.72rem;
  font-weight: 800;
}

.nx-interest-fieldset {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.nx-interest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nx-interest-chips label {
  cursor: pointer;
}

.nx-interest-chips input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nx-interest-chips label > span {
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #d6e1ed;
  border-radius: 999px;
  color: #526983;
  background: #f8fafc;
  font-size: 0.7rem;
  transition: 0.2s ease;
}

.nx-interest-chips input:checked + span {
  border-color: #147bd1;
  color: #07549b;
  background: #e5f3ff;
  box-shadow: inset 0 0 0 1px #147bd1;
}

.nx-form-notes {
  display: block;
  margin-top: 24px;
}

.nx-schedule-picker {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 14px 20px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #d8e6f2;
  border-radius: 18px;
  background: linear-gradient(135deg, #f2f8ff, #f2fcfa);
}

.nx-schedule-picker__title {
  grid-column: 1 / -1;
}

.nx-schedule-picker__title > span {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
  color: #087562;
  background: #dbf8f1;
}

.nx-schedule-picker__title strong,
.nx-schedule-picker__title small {
  display: block;
}

.nx-schedule-picker__title strong {
  color: #102a49;
  font-size: 0.85rem;
}

.nx-schedule-picker__title small {
  margin-top: 3px;
  color: #6b7e94;
  font-size: 0.69rem;
}

.nx-date-field {
  align-self: start;
}

.nx-slot-area > p {
  margin: 0;
  color: #6c7f95;
  font-size: 0.72rem;
  line-height: 1.5;
}

.nx-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.nx-slot-grid button {
  min-height: 42px;
  padding: 0 6px;
  border: 1px solid #cbdbea;
  border-radius: 10px;
  color: #285072;
  background: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

.nx-slot-grid button:hover,
.nx-slot-grid button.is-selected {
  border-color: #087bca;
  color: #fff;
  background: #087bca;
  box-shadow: 0 8px 20px rgba(8, 123, 202, 0.2);
}

.nx-slot-grid.is-loading {
  min-height: 42px;
  border-radius: 10px;
  background: linear-gradient(90deg, #e6edf5, #f7fafc, #e6edf5);
  background-size: 200% 100%;
  animation: nxSlotLoading 1.2s linear infinite;
}

.nx-privacy-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  cursor: pointer;
}

.nx-privacy-check input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  padding: 0;
  border: 1px solid #b8c8da;
  border-radius: 6px;
  background: #fff;
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: #087bca;
}

.nx-privacy-check > span {
  margin: 0 !important;
  color: #64758a !important;
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

.nx-honeypot {
  position: absolute;
  left: -9999px;
}

.nx-form-message {
  display: none;
  margin-top: 16px;
  padding: 11px 13px;
  border-radius: 11px;
  font-size: 0.76rem;
  line-height: 1.5;
}

.nx-form-message.is-visible {
  display: block;
}

.nx-form-message.is-error {
  color: #8d2525;
  background: #ffeded;
}

.nx-form-message.is-success {
  color: #086451;
  background: #def8f0;
}

.nx-booking-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  padding: 0 19px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(110deg, #0064c8, #078abf);
  box-shadow: 0 15px 30px rgba(0, 92, 184, 0.22);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.nx-booking-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0, 92, 184, 0.28);
}

.nx-booking-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.nx-booking-security {
  margin: 12px 0 0;
  color: #8190a3;
  font-size: 0.65rem;
  text-align: center;
}

.nx-booking-security i {
  margin-right: 5px;
  color: #168c75;
}

.nx-meeting-card {
  position: sticky;
  top: 92px;
  background: #071a37;
}

.nx-meeting-card--static {
  position: sticky;
}

.nx-meeting-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.nx-meeting-card__top > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nx-meeting-card__top strong {
  font-size: 0.77rem;
}

.nx-meeting-card__top small {
  color: rgba(214, 232, 251, 0.45);
  font-size: 0.62rem;
}

.nx-meeting-preview {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #06152e;
}

.nx-meeting-preview__photo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.62;
}

.nx-meeting-preview__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 21, 46, 0.35) 0%, rgba(6, 21, 46, 0.55) 40%, rgba(3, 16, 40, 0.92) 100%);
}

.nx-meeting-preview__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.nx-meeting-preview__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 610px;
  padding: 38px;
}

.nx-meeting-preview__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #061b3a;
  background: #55e2cf;
  box-shadow: 0 0 45px rgba(85, 226, 207, 0.22);
  font-size: 1.2rem;
}

.nx-meeting-preview__content > p:first-of-type {
  margin: 0 0 9px;
  color: #5de1cf;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nx-meeting-preview__content h3 {
  margin: 0 0 14px;
  max-width: 9ch;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.nx-meeting-preview__content > p:last-of-type {
  margin: 0;
  color: rgba(220, 237, 255, 0.68);
  font-size: 0.84rem;
  line-height: 1.65;
}

.nx-meeting-preview__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.nx-meeting-preview__topics span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.65rem;
  font-weight: 700;
}

.nx-meeting-room,
.nx-meeting-room iframe {
  width: 100%;
  min-height: 610px;
  border: 0;
}

.nx-booking-success {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #082448;
}

.nx-booking-success[hidden],
.nx-meeting-room[hidden],
.nx-meeting-preview[hidden] {
  display: none;
}

.nx-booking-success > span {
  display: grid;
  float: left;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 13px;
  border-radius: 50%;
  color: #06382f;
  background: #5ce4d0;
}

.nx-booking-success p {
  margin: 0 0 3px;
  color: #62e1d0;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.nx-booking-success h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}

.nx-booking-success small {
  color: rgba(222, 239, 255, 0.55);
}

.nx-booking-success__actions {
  display: flex;
  clear: both;
  gap: 8px;
  padding-top: 20px;
}

.nx-booking-success__actions a {
  flex: 1;
  padding: 11px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #e6f3ff;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.nx-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.nx-modal[hidden] {
  display: none;
}

.nx-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 24, 0.72);
  backdrop-filter: blur(8px);
}

.nx-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  max-height: calc(100vh - 48px);
  padding: 22px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(4, 18, 42, 0.96), rgba(5, 24, 55, 0.96));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nx-modal.is-open .nx-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nx-modal__close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nx-booking__workspace--modal {
  align-items: stretch;
}

.nx-booking__workspace--modal .nx-booking__form-card,
.nx-booking__workspace--modal .nx-meeting-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.nx-floating-cta > i {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #052844;
  background: #53e0ce;
}

.nx-floating-cta span {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  color: #fff;
  background: transparent;
}

.nx-floating-cta small,
.nx-floating-cta strong {
  display: block;
}

.nx-floating-cta small {
  margin-bottom: 1px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.55rem;
}

.nx-floating-cta strong {
  font-size: 0.74rem;
}

@keyframes nxSlotLoading {
  to { background-position: -200% 0; }
}

@media (max-width: 980px) {
  .nx-booking__head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nx-booking__head > p {
    max-width: 720px;
  }

  .nx-booking__workspace {
    grid-template-columns: 1fr;
  }

  .nx-booking__workspace--teaser {
    grid-template-columns: 1fr;
  }

  .nx-meeting-card {
    position: relative;
    top: auto;
  }

  .nx-meeting-preview,
  .nx-meeting-preview__content,
  .nx-meeting-room,
  .nx-meeting-room iframe {
    min-height: 480px;
  }

  .nx-meeting-preview__content h3 {
    max-width: 12ch;
  }

  .nx-modal {
    padding: 12px;
  }

  .nx-modal__dialog {
    max-height: calc(100vh - 24px);
    padding: 16px;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .nx-booking {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .nx-booking__head h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .nx-booking__head > p {
    font-size: 0.9rem;
  }

  .nx-booking__promise {
    display: flex;
    width: auto;
    margin: 34px -16px 18px;
    padding: 0 16px;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .nx-booking__promise::-webkit-scrollbar {
    display: none;
  }

  .nx-booking__promise article {
    flex: 0 0 230px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
    scroll-snap-align: start;
  }

  .nx-booking__promise article + article {
    margin-left: 9px;
  }

  .nx-booking__form-card,
  .nx-meeting-card {
    border-radius: 22px;
  }

  .nx-booking__form-card {
    padding: 22px 16px;
  }

  .nx-booking__form-intro h3 {
    font-size: 1.08rem;
  }

  .nx-form-grid {
    grid-template-columns: 1fr;
  }

  .nx-form-span-2 {
    grid-column: auto;
  }

  .nx-interest-chips {
    flex-wrap: nowrap;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nx-interest-chips::-webkit-scrollbar {
    display: none;
  }

  .nx-interest-chips label {
    flex: 0 0 auto;
  }

  .nx-schedule-picker {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .nx-schedule-picker__title {
    grid-column: auto;
  }

  .nx-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nx-meeting-card__top {
    padding-inline: 15px;
  }

  .nx-meeting-preview,
  .nx-meeting-preview__content,
  .nx-meeting-room,
  .nx-meeting-room iframe {
    min-height: 430px;
  }

  .nx-meeting-preview__content {
    padding: 24px;
  }

  .nx-meeting-preview__content h3 {
    font-size: 2.2rem;
  }

  .nx-booking-success__actions {
    display: grid;
  }

  .nx-floating-cta {
    right: 12px;
    bottom: 12px;
    padding: 6px 13px 6px 6px;
  }

  .nx-floating-cta span,
  .nx-floating-cta strong {
    display: block;
  }

  .nx-floating-cta small {
    display: none;
  }
}

/* Commercial experience v2 */
:root {
  --nx-aqua: #42e8cf;
  --nx-sky: #4da8ff;
  --nx-coral: #ffb545;
  --nx-navy: #061b3a;
  --nx-navy-2: #0a2a56;
  --nx-radius: 30px;
  --nx-shadow-soft: 0 18px 55px rgba(6, 27, 58, 0.1);
}

body {
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at 10% 12%, rgba(77, 168, 255, 0.08), transparent 26%),
    var(--nx-bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
.nx-public-nav,
.nx-btn-primary,
.nx-btn-secondary,
.nx-btn-outline,
.nx-floating-cta {
  font-family: "Outfit", sans-serif;
}

::selection {
  color: #fff;
  background: var(--nx-primary);
}

.nx-scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  pointer-events: none;
}

.nx-scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--nx-aqua), var(--nx-sky));
  box-shadow: 0 0 18px rgba(66, 232, 207, 0.7);
}

.nx-public-nav {
  min-height: 76px;
  padding: 13px max(28px, calc((100vw - 1320px) / 2));
  background: rgba(250, 252, 255, 0.88);
  transition: min-height 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nx-public-nav.is-scrolled {
  min-height: 66px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(6, 27, 58, 0.08);
}

.nx-public-brand img {
  height: 38px;
}

.nx-public-links {
  gap: 2px;
}

.nx-public-links a {
  position: relative;
  font-size: 0.9rem;
}

.nx-public-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--nx-primary);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.nx-public-links a:hover::after,
.nx-public-links a.is-active::after {
  transform: scaleX(1);
}

.nx-public-nav .nx-btn-primary {
  min-height: 44px;
  color: #fff;
  background: linear-gradient(135deg, #0759c7, #003b93);
  box-shadow: 0 10px 24px rgba(0, 69, 178, 0.22);
}

.nx-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: rgba(0, 69, 178, 0.08);
}

.nx-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--nx-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nx-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nx-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nx-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nx-public-hero {
  min-height: calc(100vh - 76px);
  background: #061b3a;
}

.nx-public-hero__bg {
  background-image: url("/static/img/nexuma/nexuma-demo-landing-hero.png?v=1");
  background-position: 52% center;
  opacity: 0.23;
  animation: nxHeroZoom 18s ease-in-out infinite alternate;
}

.nx-public-hero__veil {
  background:
    linear-gradient(105deg, rgba(4, 20, 45, 0.99) 4%, rgba(4, 34, 77, 0.94) 47%, rgba(0, 73, 156, 0.58) 100%),
    radial-gradient(circle at 80% 20%, rgba(66, 232, 207, 0.22), transparent 27%);
}

.nx-public-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(4, 20, 45, 0.32));
  pointer-events: none;
}

.nx-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.nx-orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nx-aqua);
  box-shadow: 0 0 24px var(--nx-aqua);
}

.nx-orbit--one {
  top: -280px;
  right: -180px;
  width: 700px;
  height: 700px;
  animation: nxSpin 25s linear infinite;
}

.nx-orbit--two {
  right: 16%;
  bottom: 12%;
  width: 240px;
  height: 240px;
  animation: nxSpin 16s linear infinite reverse;
}

.nx-public-hero__grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  min-height: calc(100vh - 180px);
  padding: 74px 0 48px;
}

.nx-public-hero__copy {
  position: relative;
  z-index: 4;
  animation: nxHeroCopyIn 0.85s 0.1s both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nx-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 13px;
  border: 1px solid rgba(66, 232, 207, 0.3);
  border-radius: 999px;
  color: #d9fffa;
  background: rgba(66, 232, 207, 0.08);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nx-hero-pill span,
.nx-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nx-aqua);
  box-shadow: 0 0 0 5px rgba(66, 232, 207, 0.1);
  animation: nxPulse 1.9s ease-in-out infinite;
}

.nx-public-hero__copy h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.6vw, 5.35rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.nx-public-hero__copy h1 em {
  color: var(--nx-aqua);
  font-style: normal;
  text-shadow: 0 0 42px rgba(66, 232, 207, 0.2);
}

.nx-word-rotate {
  display: inline-grid;
  vertical-align: baseline;
}

.nx-word-rotate__viewport {
  display: inline-grid;
  grid-template-areas: "stack";
  justify-items: start;
}

.nx-word-rotate__word {
  grid-area: stack;
  opacity: 0;
  transform: translateY(0.28em);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.nx-word-rotate__word.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .nx-word-rotate__word {
    transition: none;
  }
}

.nx-public-hero__copy .nx-lead {
  max-width: 590px;
  font-size: 1.11rem;
}

.nx-btn-primary,
.nx-btn-secondary,
.nx-btn-outline {
  gap: 10px;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
}

.nx-btn-primary--hero {
  color: var(--nx-navy);
  background: linear-gradient(135deg, #fff, #dffffa);
  box-shadow: 0 15px 35px rgba(66, 232, 207, 0.2);
}

.nx-btn-primary i,
.nx-text-link i {
  transition: transform 0.22s ease;
}

.nx-btn-primary:hover i,
.nx-text-link:hover i {
  transform: translateX(4px);
}

.nx-btn-secondary {
  padding-inline: 18px;
}

.nx-btn-secondary .fa-play {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--nx-navy);
  background: #fff;
  font-size: 0.7rem;
}

.nx-btn-primary--dark {
  color: #fff;
  background: linear-gradient(135deg, #0759c7, #003985);
  box-shadow: 0 15px 35px rgba(0, 69, 178, 0.22);
}

.nx-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(6, 27, 58, 0.15);
  color: var(--nx-navy);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nx-btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--nx-primary);
}

.nx-hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.nx-hero-proof__avatars {
  display: flex;
  padding-left: 10px;
}

.nx-hero-proof__avatars span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: -10px;
  border: 2px solid #123665;
  border-radius: 50%;
  color: var(--nx-navy);
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.nx-hero-proof__avatars span:nth-child(2) { background: var(--nx-aqua); }
.nx-hero-proof__avatars span:nth-child(3) { background: #ffd27b; }

.nx-hero-proof p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.45;
}

.nx-hero-proof strong {
  color: #fff;
  font-size: 0.9rem;
}

.nx-public-hero__visual {
  z-index: 3;
  animation: nxHeroVisualIn 1s 0.2s both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nx-stage-card,
.nx-stage-image {
  box-shadow: 0 28px 80px rgba(0, 10, 30, 0.3);
}

.nx-stage-card--main {
  top: 8px;
  width: 84%;
  padding: 18px 18px 16px;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.nx-stage-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--nx-navy);
  font-weight: 700;
}

.nx-stage-card__topline > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nx-stage-card__topline > span {
  color: var(--nx-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.nx-predict-student__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.nx-predict-student__head strong {
  display: block;
  color: var(--nx-navy);
  font-size: 0.92rem;
  line-height: 1.25;
}

.nx-predict-student__head small {
  display: block;
  margin-top: 3px;
  color: var(--nx-muted);
  font-size: 0.72rem;
}

.nx-predict-badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: #9a6700;
  background: #fff3cd;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nx-predict-chart {
  display: block;
  width: 100%;
  height: auto;
  margin: 2px 0 8px;
}

.nx-predict-grid line {
  stroke: rgba(6, 27, 58, 0.08);
  stroke-width: 1;
}

.nx-predict-expected {
  stroke: #8aa4c4;
  stroke-width: 2;
  stroke-dasharray: 5 4;
  stroke-linecap: round;
}

.nx-predict-actual {
  stroke: #0b7d6e;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.nx-predict-point {
  fill: #0b7d6e;
  stroke: #fff;
  stroke-width: 2;
}

.nx-predict-point.is-risk {
  fill: #d97706;
}

.nx-predict-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  color: #5b738f;
  font-size: 0.68rem;
  font-weight: 700;
}

.nx-predict-legend i {
  display: inline-block;
  width: 14px;
  height: 3px;
  margin-right: 6px;
  border-radius: 99px;
  vertical-align: middle;
}

.nx-predict-legend .is-expected {
  background: #8aa4c4;
  box-shadow: inset 0 0 0 0 #8aa4c4;
  background-image: repeating-linear-gradient(90deg, #8aa4c4 0 4px, transparent 4px 7px);
}

.nx-predict-legend .is-actual {
  background: #0b7d6e;
}

.nx-predict-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nx-predict-signals article {
  padding: 10px 12px;
  border: 1px solid rgba(0, 69, 178, 0.08);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #edf6ff);
}

.nx-predict-signals strong {
  display: block;
  color: var(--nx-primary-dark);
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  line-height: 1.1;
}

.nx-predict-signals span {
  display: block;
  margin-top: 2px;
  color: var(--nx-muted);
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.3;
}

.nx-stage-card--nexy {
  top: 268px;
  left: -5px;
  z-index: 4;
}

.nx-stage-card--badge {
  right: -10px;
  bottom: 34px;
  z-index: 4;
}

.nx-stage-card--badge i {
  color: #c96b00;
}

.nx-stage-image {
  left: 64px;
  bottom: 22px;
  width: 76%;
  height: 310px;
  border: 6px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  transform: rotate(-2deg);
}

.nx-stage-image img {
  object-position: 26% center;
}

.nx-hero-marquee {
  position: relative;
  z-index: 4;
  margin-top: 8px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(3, 16, 40, 0.82);
  backdrop-filter: blur(12px);
}

.nx-hero-marquee__track {
  display: flex;
  width: max-content;
  animation: nxMarquee 34s linear infinite;
}

.nx-hero-marquee span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.nx-hero-marquee i {
  color: var(--nx-aqua);
  font-size: 0.72rem;
}

.nx-section {
  position: relative;
  padding: 108px 0;
}

.nx-section h2,
.nx-final-cta h2 {
  max-width: 16ch;
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.nx-kicker {
  color: #0066d6;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.09em;
}

.nx-kicker--aqua {
  color: var(--nx-aqua);
}

.nx-section--plain {
  z-index: 2;
  margin-top: 28px;
  padding: 0 0 42px;
}

.nx-stat-strip {
  position: relative;
  z-index: 3;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 27, 58, 0.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--nx-shadow-soft);
}

.nx-stat-strip article {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 116px;
  border: 0;
  border-right: 1px solid rgba(6, 27, 58, 0.08);
  border-radius: 0;
  box-shadow: none;
}

.nx-stat-strip article:last-child {
  border-right: 0;
}

.nx-stat-strip i {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: var(--nx-primary);
  background: #eaf4ff;
}

.nx-stat-strip strong {
  font-family: "Outfit", sans-serif;
}

.nx-centered-head {
  display: grid;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.nx-centered-head h2 {
  max-width: 19ch;
}

.nx-centered-head .nx-lead {
  max-width: 780px;
}

.nx-problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
}

.nx-problem-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 30px;
  border: 0;
  box-shadow: 0 15px 45px rgba(6, 27, 58, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nx-problem-grid article::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(77, 168, 255, 0.09), rgba(66, 232, 207, 0.14));
}

.nx-problem-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(6, 27, 58, 0.13);
}

.nx-problem-grid article > span {
  display: block;
  margin-bottom: 54px;
  color: #8fb3dc;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.nx-solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
}

.nx-solution-card {
  border: 1px solid rgba(6, 27, 58, 0.07);
  box-shadow: none;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.nx-solution-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 69, 178, 0.18);
  box-shadow: var(--nx-shadow-soft);
}

.nx-solution-card--accent {
  background: linear-gradient(145deg, #eef9ff, #f2fffb);
}

.nx-moodle {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(66, 232, 207, 0.18), transparent 26%),
    radial-gradient(circle at 5% 90%, rgba(77, 168, 255, 0.18), transparent 22%),
    #061b3a;
}

.nx-moodle::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}

.nx-moodle__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: 90px;
  align-items: center;
}

.nx-moodle h2 {
  max-width: 15ch;
}

.nx-moodle__copy > p:not(.nx-kicker) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

.nx-moodle__logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.nx-moodle__logos > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.nx-moodle__logos > div:not(.nx-moodle__nexuma) img {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.nx-moodle__logos > i {
  color: var(--nx-aqua);
  font-size: 1rem;
  flex: 0 0 auto;
}

.nx-moodle__logos span {
  font-weight: 700;
  font-size: 0.95rem;
}

.nx-moodle__nexuma {
  min-height: 72px;
  padding: 8px 14px;
  overflow: visible;
}

/* Wordmark Nexuma: proporción razonable junto al icono Moodle */
.nx-moodle__logos > .nx-moodle__nexuma img {
  width: 168px;
  height: auto !important;
  max-width: 168px !important;
  max-height: 52px !important;
  object-fit: contain;
  mix-blend-mode: screen; /* oculta el fondo negro del PNG */
}

.nx-moodle__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 30px 0;
}

.nx-moodle__features span {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.45;
}

.nx-moodle__features i {
  margin-top: 3px;
  color: var(--nx-aqua);
}

.nx-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--nx-aqua);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.nx-moodle__visual {
  perspective: 1000px;
}

.nx-migration-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: var(--nx-navy);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.32);
  transform: rotateY(-5deg) rotateX(2deg);
}

.nx-migration-card::before {
  content: "";
  position: absolute;
  inset: -18px 24px auto;
  z-index: -1;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
}

.nx-migration-card__head,
.nx-migration-file,
.nx-migration-result,
.nx-migration-ready {
  display: flex;
  align-items: center;
}

.nx-migration-card__head {
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(6, 27, 58, 0.08);
  font-weight: 700;
}

.nx-migration-card__head small {
  padding: 6px 9px;
  border-radius: 999px;
  color: #087865;
  background: rgba(66, 232, 207, 0.16);
}

.nx-migration-file {
  gap: 14px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 18px;
  background: #f3f7fb;
}

.nx-migration-file > i:first-child {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #fff;
  background: #f28b22;
}

.nx-migration-file > i:last-child {
  margin-left: auto;
  color: #0db890;
}

.nx-migration-file strong,
.nx-migration-file span {
  display: block;
}

.nx-migration-file span,
.nx-migration-ready span {
  margin-top: 2px;
  color: var(--nx-muted);
  font-size: 0.78rem;
}

.nx-migration-progress {
  height: 8px;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e5edf5;
}

.nx-migration-progress span {
  display: block;
  width: 88%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--nx-primary), var(--nx-aqua));
  animation: nxProgress 3s ease-in-out infinite alternate;
}

.nx-migration-result {
  justify-content: space-between;
  gap: 8px;
}

.nx-migration-result span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #4a617e;
  font-size: 0.75rem;
}

.nx-migration-result i {
  color: #0db890;
}

.nx-migration-ready {
  gap: 14px;
  margin-top: 24px;
  padding: 17px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eaf4ff, #ebfff9);
}

.nx-migration-ready > i {
  color: var(--nx-primary);
  font-size: 1.2rem;
}

.nx-migration-ready strong,
.nx-migration-ready span {
  display: block;
}

.nx-module-grid {
  margin-top: 50px;
}

.nx-module-card {
  border: 1px solid rgba(6, 27, 58, 0.07);
  box-shadow: 0 15px 45px rgba(6, 27, 58, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.nx-module-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(6, 27, 58, 0.14);
}

.nx-module-card > img,
.nx-module-media {
  height: 250px;
}

.nx-module-card > img {
  transition: transform 0.6s ease;
}

.nx-module-card:hover > img {
  transform: scale(1.04);
}

.nx-module-card--featured {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-column: 1 / -1;
}

.nx-module-card--featured > div:last-child {
  padding: 38px;
}

.nx-module-media {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 390px;
}

.nx-module-media--game {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 181, 69, 0.35), transparent 28%),
    linear-gradient(145deg, #0a2c61, #0067c9);
}

.nx-module-media--game > img {
  width: 78%;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.28));
}

.nx-game-streak {
  position: absolute;
  right: 22px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 1px 9px;
  align-items: center;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  color: #fff;
  background: rgba(6, 27, 58, 0.72);
  backdrop-filter: blur(10px);
}

.nx-game-streak i {
  grid-row: 1 / 3;
  color: var(--nx-coral);
  font-size: 1.35rem;
}

.nx-game-streak span {
  font-size: 0.72rem;
  opacity: 0.72;
}

.nx-card-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--nx-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nx-module-media--lab {
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(66, 232, 207, 0.35), transparent 27%),
    linear-gradient(145deg, #061b3a, #0757a8);
}

.nx-lab-wave {
  position: absolute;
  top: 85px;
  left: 10%;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 80%;
  height: 100px;
}

.nx-lab-wave i {
  flex: 1;
  height: 24%;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--nx-aqua), var(--nx-sky));
  animation: nxWave 1.2s ease-in-out infinite alternate;
}

.nx-lab-wave i:nth-child(2n) { height: 68%; animation-delay: -0.2s; }
.nx-lab-wave i:nth-child(3n) { height: 92%; animation-delay: -0.4s; }
.nx-lab-wave i:nth-child(4n) { height: 45%; animation-delay: -0.6s; }

.nx-lab-score {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 8px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.nx-lab-score i { grid-row: 1 / 3; color: var(--nx-aqua); }
.nx-lab-score span { font-size: 0.7rem; opacity: 0.7; }

.nx-lab-caption {
  position: absolute;
  right: 30px;
  bottom: 34px;
  left: 30px;
}

.nx-lab-caption span,
.nx-lab-caption strong {
  display: block;
}

.nx-lab-caption span {
  margin-bottom: 7px;
  color: var(--nx-aqua);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nx-lab-caption strong {
  max-width: 12ch;
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.nx-section--ink {
  background:
    radial-gradient(circle at 85% 20%, rgba(66, 232, 207, 0.13), transparent 25%),
    linear-gradient(180deg, #031028, #071e44);
}

.nx-steps-head {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 70px;
  align-items: end;
}

.nx-steps-head > p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.75;
}

.nx-steps-grid {
  position: relative;
  gap: 24px;
  margin-top: 55px;
}

.nx-steps-grid::before {
  content: "";
  position: absolute;
  top: 50px;
  right: 16%;
  left: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(66, 232, 207, 0.55), transparent);
}

.nx-steps-grid article {
  position: relative;
  min-height: 270px;
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.nx-steps-grid article:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.12);
}

.nx-steps-grid span {
  color: var(--nx-navy);
  background: var(--nx-aqua);
  box-shadow: 0 0 30px rgba(66, 232, 207, 0.2);
}

.nx-role-grid article {
  position: relative;
  padding: 32px 30px 32px 88px;
  border: 1px solid rgba(6, 27, 58, 0.07);
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nx-role-grid article:hover {
  transform: translateY(-5px);
  box-shadow: var(--nx-shadow-soft);
}

.nx-role-grid article > i {
  position: absolute;
  top: 30px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--nx-primary);
  background: #eaf4ff;
}

.nx-demo-panel {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.74fr);
  padding: 54px;
  border: 0;
  border-radius: 38px;
  box-shadow: 0 28px 80px rgba(6, 27, 58, 0.12);
}

.nx-demo-panel h2 {
  max-width: 16ch;
}

.nx-demo-panel aside {
  position: relative;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(6, 27, 58, 0.18);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.nx-demo-panel:hover aside {
  transform: rotate(0deg) scale(1.015);
}

.nx-faq {
  gap: 70px;
}

.nx-faq__intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.nx-faq__list {
  display: block;
  margin-top: 0;
}

.nx-faq__list details {
  border-bottom: 1px solid rgba(6, 27, 58, 0.12);
}

.nx-faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  color: var(--nx-navy);
  font-family: "Outfit", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.nx-faq__list summary::-webkit-details-marker {
  display: none;
}

.nx-faq__list summary i {
  color: var(--nx-primary);
  transition: transform 0.25s ease;
}

.nx-faq__list details[open] summary i {
  transform: rotate(45deg);
}

.nx-faq__list details p {
  max-width: 690px;
  margin: -7px 0 26px;
  color: var(--nx-muted);
  line-height: 1.7;
  animation: nxFaqIn 0.3s both;
}

.nx-section--cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0, rgba(66, 232, 207, 0.18), transparent 30%),
    linear-gradient(135deg, #061b3a, #004ba6);
}

.nx-section--cta::before {
  content: "";
  position: absolute;
  top: -230px;
  right: -140px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.025), 0 0 0 160px rgba(255, 255, 255, 0.02);
}

.nx-final-cta {
  position: relative;
}

.nx-public-footer {
  padding-block: 34px;
}

.nx-floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 17px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 69, 178, 0.94);
  box-shadow: 0 18px 40px rgba(0, 47, 119, 0.32);
  backdrop-filter: blur(12px);
  transform: translateY(120px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s ease;
}

.nx-floating-cta.is-visible {
  transform: translateY(0);
}

.nx-floating-cta:hover {
  background: #003b93;
}

.nx-floating-cta span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--nx-navy);
  background: var(--nx-aqua);
}

.nx-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes nxHeroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.11) translate3d(-1%, -1%, 0); }
}

@keyframes nxHeroCopyIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nxHeroVisualIn {
  from { opacity: 0; transform: translateX(35px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes nxPulse {
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes nxSpin {
  to { transform: rotate(360deg); }
}

@keyframes nxMarquee {
  to { transform: translateX(-50%); }
}

@keyframes nxFloat {
  50% { transform: translateY(-10px); }
}

@keyframes nxFloatReverse {
  50% { transform: translateY(9px); }
}

@keyframes nxProgress {
  from { width: 66%; }
  to { width: 94%; }
}

@keyframes nxWave {
  to { height: 90%; }
}

@keyframes nxFaqIn {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

.nx-float { animation: nxFloat 4.5s ease-in-out infinite; }
.nx-float-slow { animation: nxFloat 6.5s ease-in-out infinite; }
.nx-float-reverse { animation: nxFloatReverse 5.5s ease-in-out infinite; }

@media (max-width: 1120px) {
  .nx-public-links a {
    padding-inline: 8px;
    font-size: 0.84rem;
  }

  .nx-public-hero__grid {
    min-height: auto;
  }

  .nx-problem-grid,
  .nx-solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nx-problem-grid article {
    min-height: 220px;
  }

  .nx-moodle__grid {
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .nx-public-nav {
    justify-content: space-between;
  }

  .nx-menu-toggle {
    display: block;
    order: 3;
  }

  .nx-public-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(6, 27, 58, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--nx-shadow-soft);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nx-public-links.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nx-public-links a {
    padding: 12px 14px;
  }

  .nx-public-actions {
    margin-left: auto;
  }

  .nx-public-actions .nx-link-ghost {
    display: none;
  }

  .nx-public-hero__grid {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

  .nx-public-hero__copy h1 {
    max-width: 12ch;
  }

  .nx-public-hero__visual {
    min-height: 540px;
  }

  .nx-moodle__grid,
  .nx-steps-head {
    grid-template-columns: 1fr;
  }

  .nx-moodle__grid {
    gap: 65px;
  }

  .nx-steps-head {
    gap: 0;
  }

  .nx-module-card--featured {
    grid-template-columns: 1fr;
  }

  .nx-module-media {
    min-height: 340px;
  }

  .nx-demo-panel {
    padding: 36px;
  }
}

@media (max-width: 640px) {
  .nx-public-nav {
    min-height: 66px;
    flex-wrap: nowrap;
  }

  .nx-public-brand img {
    height: 30px;
  }

  .nx-public-actions {
    width: auto;
  }

  .nx-public-actions .nx-btn-primary {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.78rem;
  }

  .nx-menu-toggle {
    flex: 0 0 42px;
  }

  .nx-public-hero {
    min-height: auto;
  }

  .nx-public-hero__grid {
    padding-top: 54px;
    padding-bottom: 40px;
  }

  .nx-public-hero__copy h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .nx-public-hero__copy .nx-lead {
    font-size: 1rem;
  }

  .nx-public-hero__actions > a {
    width: 100%;
  }

  .nx-public-hero__visual {
    min-height: 0;
    margin-top: 38px;
  }

  .nx-stage-card--main,
  .nx-stage-card--floating,
  .nx-stage-image {
    position: relative;
    inset: auto;
  }

  .nx-stage-card--main {
    order: 1;
  }

  .nx-stage-image {
    order: 2;
    height: 220px;
    border-width: 4px;
    transform: rotate(-1deg);
  }

  .nx-stage-card--nexy { order: 3; }
  .nx-stage-card--badge { order: 4; }

  .nx-stage-kpis article {
    padding: 13px;
  }

  .nx-stage-kpis strong {
    font-size: 1.4rem;
  }

  .nx-hero-marquee span {
    padding: 15px 22px;
  }

  .nx-section {
    padding: 76px 0;
  }

  .nx-section--plain {
    margin-top: 20px;
    padding: 0 0 20px;
  }

  .nx-stat-strip {
    display: block;
  }

  .nx-stat-strip article {
    min-height: 0;
    padding: 19px;
    border-right: 0;
    border-bottom: 1px solid rgba(6, 27, 58, 0.08);
  }

  .nx-stat-strip article:last-child {
    border-bottom: 0;
  }

  .nx-problem-grid,
  .nx-solution-grid {
    grid-template-columns: 1fr;
  }

  .nx-problem-grid article {
    min-height: 0;
  }

  .nx-problem-grid article > span {
    margin-bottom: 28px;
  }

  .nx-moodle__features {
    grid-template-columns: 1fr;
  }

  .nx-moodle__logos {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nx-moodle__logos > div {
    min-height: 64px;
    padding: 8px 12px;
  }

  .nx-moodle__logos > div:not(.nx-moodle__nexuma) img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
  }

  .nx-moodle__nexuma {
    min-height: 64px;
  }

  .nx-moodle__logos > .nx-moodle__nexuma img {
    width: 140px;
    max-width: 140px !important;
    max-height: 44px !important;
  }

  .nx-migration-card {
    padding: 19px;
    transform: none;
  }

  .nx-migration-file {
    padding: 12px;
  }

  .nx-migration-file strong {
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nx-migration-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .nx-module-card--featured > div:last-child,
  .nx-module-card > div {
    padding: 24px;
  }

  .nx-module-media {
    min-height: 300px;
  }

  .nx-steps-grid::before {
    display: none;
  }

  .nx-steps-grid article {
    min-height: 0;
  }

  .nx-role-grid article {
    padding: 28px 24px 28px 80px;
  }

  .nx-demo-panel {
    padding: 26px 20px;
    border-radius: 28px;
  }

  .nx-faq__intro {
    position: static;
  }

  .nx-final-cta {
    gap: 10px;
  }

  .nx-floating-cta {
    right: 14px;
    bottom: 14px;
  }

  .nx-floating-cta strong {
    display: none;
  }

  .nx-floating-cta {
    padding: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .nx-reveal { opacity: 1; transform: none; }
}

/* Mobile experience v2.1 */
.nx-nav-demo-short {
  display: none;
}

section[id] {
  scroll-margin-top: 84px;
}

section:target .nx-reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  body {
    background: #f4f7fb;
  }

  .nx-reveal,
  .nx-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nx-shell {
    width: calc(100% - 32px);
  }

  .nx-public-nav {
    gap: 9px;
    padding: 12px 14px;
  }

  .nx-public-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nx-public-brand img {
    width: auto;
    max-width: 112px;
    height: auto;
  }

  .nx-public-actions {
    flex: 0 0 auto;
    margin: 0;
  }

  .nx-public-actions .nx-btn-primary {
    min-height: 42px;
    padding: 0 15px;
    border-radius: 12px;
  }

  .nx-menu-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
  }

  .nx-public-links {
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .nx-public-hero__grid {
    gap: 0;
    padding-top: 48px;
    padding-bottom: 36px;
  }

  .nx-hero-pill {
    margin-bottom: 20px;
    padding: 7px 11px;
    font-size: 0.77rem;
  }

  .nx-public-hero__copy h1 {
    margin-bottom: 22px;
    font-size: clamp(2.55rem, 12vw, 3.35rem);
    line-height: 1;
    letter-spacing: -0.05em;
  }

  .nx-public-hero__copy .nx-lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .nx-public-hero__actions {
    gap: 10px;
    margin-top: 24px;
  }

  .nx-public-hero__actions > a {
    min-height: 52px;
  }

  .nx-hero-proof {
    align-items: flex-start;
    margin-top: 27px;
  }

  .nx-hero-proof__avatars {
    flex: 0 0 auto;
    margin-top: 2px;
  }

  .nx-public-hero__visual {
    display: grid;
    min-height: 0;
    margin-top: 48px;
  }

  .nx-stage-card--main {
    padding: 18px;
    border-radius: 24px;
  }

  .nx-stage-card__topline {
    margin-bottom: 13px;
    font-size: 0.92rem;
  }

  .nx-stage-kpis {
    gap: 9px;
  }

  .nx-stage-kpis article {
    padding: 13px 12px;
    border-radius: 15px;
  }

  .nx-stage-kpis strong {
    margin-bottom: 2px;
    font-size: 1.35rem;
  }

  .nx-stage-kpis span {
    font-size: 0.79rem;
    line-height: 1.25;
  }

  .nx-stage-image {
    height: 190px;
    margin-top: 12px;
    border-radius: 24px;
  }

  .nx-stage-card--nexy,
  .nx-stage-card--badge {
    display: none;
  }

  .nx-hero-marquee__track {
    animation-duration: 42s;
  }

  .nx-section {
    padding: 68px 0;
  }

  .nx-section h2,
  .nx-final-cta h2 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.06;
  }

  .nx-kicker {
    margin-bottom: 10px;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .nx-lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .nx-section--plain {
    padding: 0 0 18px;
  }

  .nx-stat-strip {
    border-radius: 24px;
  }

  .nx-stat-strip article {
    gap: 14px;
    padding: 17px 18px;
  }

  .nx-stat-strip i {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .nx-centered-head {
    text-align: left;
    justify-items: start;
  }

  .nx-centered-head .nx-lead {
    text-align: left;
  }

  .nx-problem-grid,
  .nx-solution-grid,
  .nx-module-grid,
  .nx-role-grid {
    display: flex;
    gap: 14px;
    width: auto;
    margin-right: -16px;
    margin-left: -16px;
    padding: 4px 16px 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nx-problem-grid::-webkit-scrollbar,
  .nx-solution-grid::-webkit-scrollbar,
  .nx-module-grid::-webkit-scrollbar,
  .nx-role-grid::-webkit-scrollbar {
    display: none;
  }

  .nx-problem-grid,
  .nx-solution-grid {
    margin-top: 30px;
  }

  .nx-problem-grid article,
  .nx-solution-card {
    flex: 0 0 min(82vw, 315px);
    scroll-snap-align: start;
  }

  .nx-problem-grid article {
    min-height: 260px;
    padding: 26px;
  }

  .nx-problem-grid article > span {
    margin-bottom: 48px;
  }

  .nx-solution-card {
    min-height: 270px;
    padding: 25px;
  }

  .nx-solution-card i {
    margin-bottom: 30px;
  }

  .nx-moodle {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .nx-moodle h2 {
    font-size: clamp(2.1rem, 9.5vw, 2.8rem);
  }

  .nx-moodle__copy > p:not(.nx-kicker) {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .nx-moodle__logos {
    margin-bottom: 30px;
  }

  .nx-moodle__features {
    gap: 11px;
    margin: 26px 0;
  }

  .nx-moodle__visual {
    width: 100%;
  }

  .nx-migration-card {
    width: 100%;
    border-radius: 26px;
  }

  #capacidades .nx-centered-head {
    text-align: left;
  }

  .nx-module-grid {
    align-items: flex-start;
    margin-top: 34px;
    padding-bottom: 24px;
  }

  .nx-module-card,
  .nx-module-card--featured {
    display: block;
    flex: 0 0 calc(100vw - 48px);
    max-width: 360px;
    scroll-snap-align: center;
  }

  .nx-module-card > img,
  .nx-module-media {
    width: 100%;
    height: 205px;
    min-height: 205px;
  }

  .nx-module-card > img {
    object-fit: cover;
  }

  .nx-module-card > div,
  .nx-module-card--featured > div:last-child {
    padding: 24px;
  }

  .nx-module-card h3 {
    font-size: 1.08rem;
    line-height: 1.32;
  }

  .nx-module-card p,
  .nx-module-card li {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .nx-module-media--game > img {
    width: 80%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
  }

  .nx-game-streak {
    right: 14px;
    bottom: 14px;
    padding: 10px 13px;
  }

  .nx-lab-wave {
    top: 50px;
    height: 70px;
  }

  .nx-lab-score {
    top: 16px;
    right: 16px;
  }

  .nx-lab-caption {
    right: 22px;
    bottom: 20px;
    left: 22px;
  }

  .nx-lab-caption strong {
    font-size: 1.4rem;
  }

  .nx-steps-head {
    gap: 6px;
  }

  .nx-steps-head > p {
    margin-bottom: 0;
    font-size: 0.96rem;
  }

  .nx-steps-grid {
    gap: 12px;
    margin-top: 34px;
  }

  .nx-steps-grid article {
    padding: 25px;
    border-radius: 22px;
  }

  .nx-role-grid {
    margin-top: 30px;
  }

  .nx-role-grid article {
    flex: 0 0 min(84vw, 325px);
    min-height: 250px;
    padding: 86px 25px 26px;
    scroll-snap-align: start;
  }

  .nx-role-grid article > i {
    top: 25px;
    left: 25px;
  }

  .nx-demo-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    width: 100%;
    min-width: 0;
    padding: 28px 22px;
  }

  .nx-demo-panel > div,
  .nx-demo-panel aside {
    width: 100%;
    min-width: 0;
  }

  .nx-demo-panel h2,
  .nx-demo-panel .nx-lead {
    max-width: 100%;
  }

  .nx-demo-panel .nx-public-hero__actions {
    display: grid;
  }

  .nx-demo-panel aside {
    border-radius: 22px;
    transform: none;
  }

  .nx-demo-panel aside img {
    width: 100%;
    height: auto;
  }

  .nx-faq {
    gap: 16px;
  }

  .nx-faq__list summary {
    padding: 22px 0;
    font-size: 1rem;
    line-height: 1.35;
  }

  .nx-faq__list details p {
    font-size: 0.93rem;
  }

  .nx-final-cta {
    display: block;
  }

  .nx-final-cta .nx-public-hero__actions {
    display: grid;
    margin-top: 28px;
  }

  .nx-public-footer {
    padding-bottom: 82px;
  }

  .nx-public-footer .nx-shell {
    gap: 15px;
  }

  .nx-public-footer p {
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .nx-nav-demo-long {
    display: none;
  }

  .nx-nav-demo-short {
    display: inline;
  }

  .nx-public-brand img {
    max-width: 104px;
  }

  .nx-public-actions .nx-btn-primary {
    padding-inline: 13px;
  }

  .nx-public-hero__copy h1 {
    font-size: 2.35rem;
  }

  .nx-hero-pill {
    font-size: 0.69rem;
  }

  .nx-stage-card__topline > span {
    display: none;
  }

  .nx-moodle__logos > i {
    font-size: 0.78rem;
  }

  .nx-migration-card {
    padding: 16px;
  }
}

/* Nexuma Intelligence */
.nx-intelligence {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(66, 232, 207, 0.09), transparent 24%),
    radial-gradient(circle at 92% 8%, rgba(77, 168, 255, 0.12), transparent 28%),
    #f7faff;
}

.nx-intelligence::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(rgba(6, 27, 58, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 27, 58, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 52%);
  pointer-events: none;
}

.nx-intelligence > .nx-shell {
  position: relative;
}

.nx-intelligence__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
  gap: 70px;
  align-items: end;
}

.nx-intelligence__head h2 {
  max-width: 14ch;
}

.nx-data-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.nx-data-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(0, 69, 178, 0.1);
  border-radius: 999px;
  color: #3f5877;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
}

.nx-data-pills i {
  color: #0aa98a;
}

.nx-intelligence__showcase {
  position: relative;
  margin-top: 58px;
}

.nx-intelligence__showcase::before,
.nx-intelligence__showcase::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.nx-intelligence__showcase::before {
  top: -55px;
  right: 6%;
  width: 150px;
  height: 150px;
  background: rgba(66, 232, 207, 0.17);
}

.nx-intelligence__showcase::after {
  bottom: -45px;
  left: -45px;
  width: 120px;
  height: 120px;
  background: rgba(77, 168, 255, 0.14);
}

.nx-data-console {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 34px;
  color: #dfeeff;
  background:
    radial-gradient(circle at 80% 0, rgba(77, 168, 255, 0.2), transparent 28%),
    linear-gradient(145deg, #06182f, #0a2e5d 62%, #063f71);
  box-shadow: 0 38px 100px rgba(6, 27, 58, 0.25);
}

.nx-data-console__top,
.nx-data-console__brand,
.nx-data-console__status,
.nx-data-kpis article > div,
.nx-data-card-head,
.nx-data-chart__legend,
.nx-data-signals li {
  display: flex;
  align-items: center;
}

.nx-data-console__top {
  justify-content: space-between;
  gap: 18px;
}

.nx-data-console__brand {
  gap: 11px;
  color: #fff;
  font-family: "Outfit", sans-serif;
}

.nx-data-console__brand > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--nx-navy);
  background: var(--nx-aqua);
  box-shadow: 0 0 24px rgba(66, 232, 207, 0.24);
}

.nx-data-console__status {
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
}

.nx-data-console__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nx-aqua);
  box-shadow: 0 0 10px var(--nx-aqua);
}

.nx-data-tabs {
  display: flex;
  gap: 7px;
  margin: 22px 0 18px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nx-data-tabs::-webkit-scrollbar {
  display: none;
}

.nx-data-tabs span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.72rem;
  font-weight: 700;
}

.nx-data-tabs .is-active {
  color: #04243d;
  background: var(--nx-aqua);
}

.nx-data-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.nx-data-kpis article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(12px);
}

.nx-data-kpis article > div {
  justify-content: space-between;
  gap: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 700;
}

.nx-data-kpis article > div i {
  color: var(--nx-aqua);
}

.nx-data-kpis strong,
.nx-data-kpis small {
  display: block;
}

.nx-data-kpis strong {
  margin-top: 18px;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
}

.nx-data-kpis small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
}

.nx-data-console__body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  gap: 12px;
  margin-top: 12px;
}

.nx-data-chart,
.nx-data-signals {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.075);
}

.nx-data-card-head {
  justify-content: space-between;
  gap: 12px;
}

.nx-data-card-head strong,
.nx-data-card-head span {
  display: block;
}

.nx-data-card-head strong {
  color: #fff;
  font-size: 0.83rem;
}

.nx-data-card-head span,
.nx-data-card-head small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.66rem;
}

.nx-data-card-head > small {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nx-data-chart__legend {
  gap: 13px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
}

.nx-data-chart__legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nx-data-chart__legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.nx-data-chart__legend .is-blue { background: var(--nx-sky); }
.nx-data-chart__legend .is-aqua { background: var(--nx-aqua); }

.nx-data-chart__plot {
  position: relative;
  height: 185px;
  margin-top: 7px;
}

.nx-data-gridlines {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: linear-gradient(rgba(255, 255, 255, 0.75) 1px, transparent 1px);
  background-size: 100% 25%;
}

.nx-data-chart__plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.nx-line-main,
.nx-line-second {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.nx-line-main {
  stroke: var(--nx-sky);
  filter: drop-shadow(0 0 6px rgba(77, 168, 255, 0.45));
}

.nx-line-second {
  stroke: var(--nx-aqua);
  stroke-width: 2;
  stroke-dasharray: 7 6;
}

.nx-line-area {
  fill: url("#nx-data-gradient");
  fill: rgba(77, 168, 255, 0.1);
}

.nx-data-chart__months {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.58rem;
}

.nx-data-signals .nx-data-card-head > i {
  color: var(--nx-aqua);
}

.nx-data-signals ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.nx-data-signals li {
  gap: 10px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.nx-data-signals li > span {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nx-data-signals li > span.is-amber { color: #ffbe55; background: rgba(255, 190, 85, 0.13); }
.nx-data-signals li > span.is-red { color: #ff7e7e; background: rgba(255, 126, 126, 0.13); }
.nx-data-signals li > span.is-aqua { color: var(--nx-aqua); background: rgba(66, 232, 207, 0.13); }

.nx-data-signals li div {
  min-width: 0;
}

.nx-data-signals li strong,
.nx-data-signals li small {
  display: block;
}

.nx-data-signals li strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
}

.nx-data-signals li small {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nx-data-signals li > i {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.65rem;
}

.nx-intelligence__pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.nx-intelligence__pillars article {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(6, 27, 58, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 40px rgba(6, 27, 58, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nx-intelligence__pillars article:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 60px rgba(6, 27, 58, 0.12);
}

.nx-pillar-media {
  position: relative;
  flex: 0 0 120px;
  width: 100%;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Fundido al cuerpo de la tarjeta para integrar la imagen */
.nx-pillar-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.55) 72%,
    rgba(255, 255, 255, 0.98) 100%
  );
  pointer-events: none;
}

.nx-pillar-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: -18px;
  padding: 8px 24px 26px;
}

.nx-intelligence__pillars .nx-pillar-predictive {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(165deg, #071d3d 0%, #074d83 100%);
}

/* Misma altura de media; overlay oscuro para fundir con la tarjeta predictiva */
.nx-pillar-predictive .nx-pillar-media {
  flex-basis: 120px;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  opacity: 1;
}

.nx-pillar-predictive .nx-pillar-media::after {
  background: linear-gradient(
    180deg,
    rgba(7, 29, 61, 0.15) 20%,
    rgba(7, 29, 61, 0.72) 68%,
    rgba(7, 77, 131, 0.98) 100%
  );
}

.nx-pillar-icon {
  display: none; /* reemplazados por .nx-pillar-media */
}

.nx-intelligence__pillars h3 {
  margin: 0 0 12px;
  color: var(--nx-navy);
  font-size: 1.15rem;
  line-height: 1.25;
}

.nx-intelligence__pillars .nx-pillar-body > p:not(.nx-card-label) {
  margin: 0;
  color: var(--nx-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.nx-intelligence__pillars ul {
  display: grid;
  gap: 7px;
  margin: 20px 0 0;
  margin-top: auto;
  padding: 20px 0 0;
  list-style: none;
}

.nx-intelligence__pillars li {
  position: relative;
  padding-left: 16px;
  color: #4e6682;
  font-size: 0.79rem;
  font-weight: 700;
}

.nx-intelligence__pillars li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nx-sky);
}

.nx-pillar-predictive h3,
.nx-pillar-predictive .nx-card-label {
  color: #fff;
}

.nx-intelligence__pillars .nx-pillar-predictive .nx-pillar-body > p:not(.nx-card-label),
.nx-intelligence__pillars .nx-pillar-predictive li {
  color: rgba(255, 255, 255, 0.7);
}

.nx-pillar-predictive li::before {
  background: var(--nx-aqua);
}

.nx-ai-impact {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 35px;
  align-items: center;
  margin-top: 18px;
  padding: 30px;
  border: 1px solid rgba(0, 69, 178, 0.09);
  border-radius: 26px;
  background: linear-gradient(135deg, #ecf7ff, #eefff9);
}

.nx-ai-impact__intro {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nx-ai-impact__intro > span {
  flex: 0 0 62px;
  overflow: hidden;
  width: 62px;
  height: 62px;
  border: 3px solid #fff;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(6, 27, 58, 0.1);
}

.nx-ai-impact__intro h3 {
  margin: 0;
  color: var(--nx-navy);
  font-size: 1.2rem;
  line-height: 1.25;
}

.nx-ai-impact__intro .nx-kicker {
  margin-bottom: 6px;
  font-size: 0.67rem;
}

.nx-ai-impact__uses {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.nx-ai-impact__uses span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 69, 178, 0.09);
  border-radius: 12px;
  color: #314c6b;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 700;
}

.nx-ai-impact__uses i {
  color: var(--nx-primary);
}

@media (max-width: 1120px) {
  .nx-intelligence__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nx-ai-impact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nx-intelligence__head,
  .nx-data-console__body {
    grid-template-columns: 1fr;
  }

  .nx-intelligence__head {
    gap: 16px;
  }

  .nx-data-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nx-data-signals ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nx-intelligence {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .nx-intelligence__head {
    display: block;
  }

  .nx-intelligence__head h2 {
    max-width: 100%;
  }

  .nx-intelligence__head .nx-lead {
    margin-top: 24px;
  }

  .nx-data-pills {
    gap: 7px;
  }

  .nx-data-pills span {
    padding: 7px 9px;
    font-size: 0.69rem;
  }

  .nx-intelligence__showcase {
    margin-top: 38px;
  }

  .nx-data-console {
    margin-inline: -4px;
    padding: 16px;
    border-radius: 26px;
  }

  .nx-data-console__brand strong {
    font-size: 0.88rem;
  }

  .nx-data-console__brand > span {
    width: 34px;
    height: 34px;
  }

  .nx-data-console__status {
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .nx-data-tabs {
    margin: 17px 0 13px;
  }

  .nx-data-tabs span {
    padding: 7px 10px;
  }

  .nx-data-kpis {
    gap: 8px;
  }

  .nx-data-kpis article {
    min-height: 122px;
    padding: 12px;
    border-radius: 15px;
  }

  .nx-data-kpis article > div span {
    max-width: 90px;
    line-height: 1.25;
  }

  .nx-data-kpis strong {
    margin-top: 15px;
    font-size: 0.84rem;
  }

  .nx-data-kpis small {
    font-size: 0.61rem;
    line-height: 1.35;
  }

  .nx-data-chart,
  .nx-data-signals {
    padding: 15px;
  }

  .nx-data-chart__plot {
    height: 150px;
  }

  .nx-data-signals ul {
    grid-template-columns: 1fr;
  }

  .nx-intelligence__pillars {
    display: flex;
    gap: 14px;
    width: auto;
    margin: 34px -16px 0;
    padding: 4px 16px 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .nx-intelligence__pillars::-webkit-scrollbar {
    display: none;
  }

  .nx-intelligence__pillars article {
    flex: 0 0 min(83vw, 320px);
    min-height: 390px;
    padding: 0;
    scroll-snap-align: start;
  }

  .nx-ai-impact {
    gap: 24px;
    margin-top: 6px;
    padding: 24px 20px;
  }

  .nx-ai-impact__intro {
    align-items: flex-start;
  }

  .nx-ai-impact__intro > span {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .nx-ai-impact__intro h3 {
    font-size: 1.03rem;
  }

  .nx-ai-impact__uses {
    display: grid;
  }

  .nx-ai-impact__uses span {
    width: 100%;
  }
}

/* El CTA flotante usa texto además del icono; estas reglas deben ganar a la versión compacta anterior. */
.nx-floating-cta > i {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #052844;
  background: #53e0ce;
}

.nx-floating-cta span {
  display: block;
  place-items: initial;
  width: auto;
  height: auto;
  border-radius: 0;
  color: #fff;
  background: transparent;
}

.nx-floating-cta small,
.nx-floating-cta strong {
  display: block;
}

.nx-floating-cta small {
  margin-bottom: 1px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.55rem;
}

.nx-floating-cta strong {
  font-size: 0.74rem;
}

@media (max-width: 640px) {
  .nx-floating-cta {
    right: 12px;
    bottom: 12px;
    padding: 6px 13px 6px 6px;
  }

  .nx-floating-cta span,
  .nx-floating-cta strong {
    display: block;
  }

  .nx-floating-cta small {
    display: none;
  }
}

/* —— Planes (landing comercial nexuma.tech) —— */
.nx-plans {
  margin-top: 1.5rem;
}

.nx-plans__lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.nx-plans__line,
.nx-plans__mod {
  appearance: none;
  border: 1px solid var(--nx-line);
  background: #fff;
  color: var(--nx-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  padding: 0.65rem 1.05rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.nx-plans__line:hover,
.nx-plans__mod:hover {
  border-color: rgba(0, 69, 178, 0.35);
  color: var(--nx-primary);
  transform: translateY(-1px);
}

.nx-plans__line.is-active,
.nx-plans__mod.is-active {
  background: linear-gradient(120deg, #003a96, var(--nx-primary));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 69, 178, 0.22);
}

.nx-plans__line-lead {
  margin: 0 0 0.85rem;
  color: var(--nx-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 46rem;
}

.nx-plans__modalities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.nx-plans__mod {
  font-size: 0.8rem;
  padding: 0.48rem 0.9rem;
  background: rgba(255, 255, 255, 0.7);
}

.nx-plans__platform {
  margin: 0 0 1.35rem;
  padding: 1.25rem 1.3rem 1.3rem;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(135deg, rgba(0, 69, 178, 0.06), transparent 55%),
    #fff;
  box-shadow: 0 14px 36px rgba(0, 27, 77, 0.06);
}

.nx-plans__platform-head h3 {
  margin: 0.55rem 0 0.4rem;
  font-family: "Outfit", "DM Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--nx-ink);
}

.nx-plans__platform-head p {
  margin: 0;
  color: var(--nx-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 52rem;
}

.nx-plans__pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.05rem;
}

.nx-plans__pillars > div {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(245, 247, 251, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.nx-plans__pillars strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.86rem;
  color: var(--nx-primary-dark);
}

.nx-plans__pillars p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--nx-muted);
}

.nx-plans__functions-title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.nx-plans__functions {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
}

.nx-plans__functions li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #334155;
}

.nx-plans__functions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--nx-accent);
}

@media (max-width: 800px) {
  .nx-plans__pillars,
  .nx-plans__functions {
    grid-template-columns: 1fr;
  }
}

.nx-plans__functions-title--addon {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.nx-plans__addons {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.nx-plans__addons li {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #334155;
}

.nx-plans__addons strong {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nx-primary);
  background: rgba(0, 69, 178, 0.1);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  margin-right: 0.4rem;
}

.nx-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.nx-plans__tier {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 1.25rem 1.2rem 1.2rem;
  box-shadow: 0 14px 36px rgba(0, 27, 77, 0.06);
  min-height: 100%;
}

.nx-plans__tier--featured {
  border-color: rgba(0, 69, 178, 0.28);
  box-shadow: 0 18px 42px rgba(0, 69, 178, 0.14);
  background:
    linear-gradient(180deg, rgba(0, 69, 178, 0.06), transparent 42%),
    #fff;
}

.nx-plans__tier--max {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.14);
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.08), transparent 42%),
    #fff;
}

.nx-plans__tier--none {
  background: #f8fafc;
  box-shadow: none;
}

.nx-plans__tier--none header h3,
.nx-plans__tier--none header p {
  color: var(--nx-muted);
}

.nx-plans__tier header h3 {
  margin: 0.35rem 0 0.35rem;
  font-family: "Outfit", "DM Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--nx-ink);
}

.nx-plans__tier header p {
  margin: 0;
  color: var(--nx-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.nx-plans__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nx-primary);
  background: rgba(0, 69, 178, 0.1);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.nx-plans__badge--accent {
  color: #8a4b00;
  background: rgba(245, 158, 11, 0.18);
}

.nx-plans__badge--max {
  color: #b45309;
  background: rgba(245, 158, 11, 0.22);
}

.nx-plans__badge--muted {
  color: #64748b;
  background: rgba(100, 116, 139, 0.12);
}

.nx-plans__tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.nx-plans__tier li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #334155;
}

.nx-plans__tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--nx-primary);
  box-shadow: 0 0 0 3px rgba(0, 69, 178, 0.12);
}

.nx-plans__tier--max li::before {
  background: var(--nx-accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.nx-plans__ai-groups {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}

.nx-plans__ai-group h5 {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nx-primary);
}

.nx-plans__tier--max .nx-plans__ai-group h5 {
  color: #b45309;
}

.nx-plans__tier-none {
  flex: 1;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--nx-muted);
  font-style: italic;
}

.nx-plans__tier .nx-btn-outline,
.nx-plans__tier .nx-btn-primary {
  width: 100%;
  margin-top: 0.25rem;
}

.nx-plans__footnote {
  margin: 1.1rem 0 0;
  font-size: 0.8rem;
  color: var(--nx-muted);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .nx-plans__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nx-plans__line {
    flex: 1 1 100%;
    text-align: center;
  }
}
