/**
 * Nove-Tix — minimal landing UI
 */

:root {
  color-scheme: light;
  --nx-bg: #fafafa;
  --nx-surface: #ffffff;
  --nx-text: #000000;
  --nx-muted: #000000;
  --nx-subtle: #000000;
  --nx-border: #e5e5e5;
  --nx-border-soft: #f0f0f0;
  --nx-accent: var(--nx-primary, #1e90ff);
  --nx-accent-hover: var(--nx-primary-hover, #1878d6);
  --nx-on-accent: #ffffff;
  --nx-header-bg: rgba(255, 255, 255, 0.85);
  --nx-header-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --nx-focus-ring: rgba(30, 144, 255, 0.2);
  --nx-hero-overlay:
    linear-gradient(
      105deg,
      rgba(28, 32, 40, 0.62) 0%,
      rgba(28, 32, 40, 0.4) 34%,
      rgba(28, 32, 40, 0.16) 54%,
      rgba(28, 32, 40, 0.04) 74%
    ),
    linear-gradient(180deg, transparent 52%, var(--nx-bg) 100%);
  --nx-hero-filter: brightness(0.86) saturate(1.12) contrast(1.02);
  --nx-hero-label-color: rgba(255, 255, 255, 0.78);
  --nx-hero-desc-color: rgba(255, 255, 255, 0.92);
  --nx-hero-cat-color: rgba(255, 255, 255, 0.74);
  --nx-hero-stat-color: rgba(255, 255, 255, 0.68);
  --nx-hero-divider: rgba(255, 255, 255, 0.18);
  --nx-card-hover-border: #d4d4d4;
  --nx-card-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --nx-placeholder-bg: #f5f5f5;
  --nx-footer-bg: #0a0a0a;
  --nx-footer-text: #ffffff;
  --nx-footer-muted: #ffffff;
  --nx-footer-subtle: #ffffff;
  --nx-footer-border: rgba(255, 255, 255, 0.1);
  --nx-footer-icon-bg: rgba(255, 255, 255, 0.08);
  --nx-radius: 10px;
  --nx-radius-lg: 14px;
  --nx-font: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --nx-gutter: clamp(1rem, 4vw, 2.5rem);
  --nx-header-h: 64px;
  --nx-theme-meta: #fafafa;
}

[data-theme="dark"] {
  color-scheme: dark;
  --nx-bg: #0a0a0a;
  --nx-surface: #141414;
  --nx-text: #ffffff;
  --nx-muted: #ffffff;
  --nx-subtle: #ffffff;
  --nx-border: #2a2a2a;
  --nx-border-soft: #1f1f1f;
  --nx-accent: var(--nx-primary, #1e90ff);
  --nx-accent-hover: var(--nx-primary-hover, #3da0ff);
  --nx-on-accent: #ffffff;
  --nx-header-bg: rgba(10, 10, 10, 0.88);
  --nx-header-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --nx-focus-ring: rgba(30, 144, 255, 0.35);
  --nx-hero-overlay:
    linear-gradient(
      105deg,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(10, 10, 10, 0.72) 35%,
      rgba(10, 10, 10, 0.35) 55%,
      transparent 100%
    ),
    linear-gradient(180deg, transparent 0%, var(--nx-bg) 92%);
  --nx-hero-filter: brightness(0.5) saturate(0.95);
  --nx-hero-label-color: #ffffff;
  --nx-hero-desc-color: #ffffff;
  --nx-hero-cat-color: #ffffff;
  --nx-hero-stat-color: #ffffff;
  --nx-hero-divider: rgba(255, 255, 255, 0.12);
  --nx-card-hover-border: #404040;
  --nx-card-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --nx-placeholder-bg: #1a1a1a;
  --nx-footer-bg: #050505;
  --nx-footer-text: #fafafa;
  --nx-footer-muted: #ffffff;
  --nx-footer-subtle: #ffffff;
  --nx-footer-border: rgba(255, 255, 255, 0.08);
  --nx-footer-icon-bg: rgba(255, 255, 255, 0.06);
  --nx-theme-meta: #0a0a0a;
}

/* Full-width page shell */
.nx-page-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--nx-gutter);
  padding-right: var(--nx-gutter);
}

body.layout-landing {
  font-family: var(--nx-font);
  background: var(--nx-bg);
  color: var(--nx-text);
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

/* Events section head — black (light) / white (dark), overrides theme heading colors */
body.layout-landing .nx-events-head h2,
body.layout-landing .nx-events-head p,
body.layout-landing .nx-events-head .nx-meta,
body.layout-landing .nx-events-head .nx-meta strong {
  color: var(--nx-text) !important;
}

body.layout-landing .nx-card,
body.layout-landing .nt-header-shell,
body.layout-landing .nx-search,
body.layout-landing .nx-cta,
body.layout-landing .nx-empty {
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

/* ── Header (minimal) ── */
.nt-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  pointer-events: none;
}

.nt-header-shell {
  pointer-events: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  height: var(--nx-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--nx-gutter);
  background: var(--nx-header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nx-border-soft);
  border-radius: 0;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.nt-header-shell.scrolled {
  box-shadow: var(--nx-header-shadow);
  border-color: var(--nx-border);
}

.nt-header-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nt-logo-mark,
.nt-header-logo img,
.nt-mobile-menu-head img {
  height: var(--nx-logo-height);
  width: auto;
  display: block;
  object-fit: contain;
}

/* Brand logo keeps transparent background on all themes (no color inversion) */
.nt-footer-brand img,
[data-theme="dark"] .nt-header-logo img,
[data-theme="dark"] .nt-mobile-menu-head img,
[data-theme="dark"] .app-brand-logo img,
[data-theme="dark"] .nt-footer-brand img {
  filter: none;
}

.nt-header-logo span {
  font-weight: 800;
  font-size: var(--nx-logo-wordmark-size);
  line-height: 1;
  color: var(--nx-text);
  letter-spacing: -0.03em;
}

.nt-header-logo span em {
  font-style: normal;
  color: var(--nx-text);
  font-weight: 800;
}

.nt-nav-pills {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0 auto;
}

.nt-nav-pill {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nx-muted);
  text-decoration: none;
  border-radius: 8px;
  transition:
    color 0.15s,
    background 0.15s;
}

.nt-nav-pill:hover {
  color: var(--nx-text);
  background: var(--nx-border-soft);
}

.nt-nav-pill.is-active {
  color: var(--nx-text);
  background: var(--nx-border-soft);
}

.nt-nav-pill i {
  display: none;
}

.nt-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nt-btn-signin {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nx-muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  transition: color 0.15s;
}

.nt-btn-signin:hover {
  color: var(--nx-text);
}

.nt-theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--nx-border);
  background: var(--nx-surface);
  border-radius: 8px;
  color: var(--nx-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition:
    border-color 0.15s,
    background 0.15s;
  flex-shrink: 0;
}

.nt-theme-toggle:hover {
  border-color: var(--nx-text);
}

.nt-theme-toggle .bx-sun {
  display: none;
}
.nt-theme-toggle .bx-moon {
  display: block;
}

[data-theme="dark"] .nt-theme-toggle .bx-sun {
  display: block;
}
[data-theme="dark"] .nt-theme-toggle .bx-moon {
  display: none;
}

/* Profile menu (logged-in header) */
.nt-profile-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--nx-border);
  background: var(--nx-surface);
  border-radius: 8px;
  color: var(--nx-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}

.nt-profile-btn:hover {
  border-color: var(--nx-text);
}

.nt-profile-menu {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 12px;
  box-shadow: var(--nx-card-shadow, 0 8px 30px rgba(0, 0, 0, 0.12));
  padding: 0.35rem;
  min-width: 220px;
}

.nt-profile-menu .dropdown-item {
  color: var(--nx-text);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

.nt-profile-menu .dropdown-item:hover {
  background: var(--nx-border-soft, #f0f0f0);
}

.nt-profile-menu .dropdown-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
}

.nt-profile-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--nx-text);
}

.nt-profile-email {
  color: var(--nx-muted) !important;
}

.nt-btn-host {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: var(--nx-accent);
  color: var(--nx-on-accent) !important;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s,
    color 0.15s;
}

.nt-btn-host:hover {
  background: var(--nx-accent-hover);
  color: var(--nx-on-accent);
  transform: translateY(-1px);
}

.nt-mobile-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--nx-border);
  background: var(--nx-surface);
  border-radius: 8px;
  color: var(--nx-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nt-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--nx-surface);
  flex-direction: column;
  overflow: hidden;
}

.nt-mobile-menu.is-open {
  display: flex;
}

.nt-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  min-height: var(--nx-header-h);
  padding: 0 var(--nx-gutter);
  border-bottom: 1px solid var(--nx-border-soft);
}

.nt-mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0.5rem var(--nx-gutter);
  -webkit-overflow-scrolling: touch;
}

.nt-mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  color: var(--nx-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--nx-border-soft);
}

.nt-mobile-nav-link:last-child {
  border-bottom: none;
}

.nt-mobile-nav-link i {
  flex-shrink: 0;
  width: 1.5rem;
  font-size: 1.35rem;
  text-align: center;
  color: var(--nx-muted);
}

.nt-mobile-nav-link span {
  flex: 1;
  min-width: 0;
}

.nt-mobile-menu-foot {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem var(--nx-gutter);
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--nx-border-soft);
  background: var(--nx-surface);
}

#nt-theme-toggle-mobile {
  width: 100%;
  height: auto;
  min-height: 44px;
  padding: 0.75rem 1rem;
  justify-content: flex-start;
  gap: 0.75rem;
  border-radius: var(--nx-radius);
  background: var(--nx-border-soft);
}

#nt-theme-toggle-mobile span {
  font-size: 0.9375rem;
  font-weight: 600;
}

.nt-mobile-menu-foot .nt-btn-host {
  width: 100%;
  min-height: 44px;
}

.nt-mobile-close {
  position: static;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--nx-border);
  background: transparent;
  border-radius: 8px;
  color: var(--nx-text);
  font-size: 1.35rem;
  cursor: pointer;
}

/* ── Hero ── */
.nx-hero {
  position: relative;
  width: 100%;
  padding: calc(var(--nx-header-h) + 3.5rem) var(--nx-gutter) 5rem;
  max-width: none;
  margin: 0;
  min-height: 420px;
}

.nx-hero-media {
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
  max-height: none;
}

.nx-hero-media img,
.nx-hero-media .nx-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nx-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  filter: var(--nx-hero-filter);
  transform: scale(1.02);
}

.nx-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nx-hero-overlay);
}

.nx-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.nx-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nx-hero-label-color, var(--nx-muted));
  margin-bottom: 1rem;
}

.nx-hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: #ffffff;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.28);
}

.nx-hero-desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--nx-hero-desc-color, var(--nx-muted));
  margin: 0 0 2rem;
  max-width: 480px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.nx-hero .nx-cats {
  border-top-color: var(--nx-hero-divider, var(--nx-border-soft));
}

.nx-hero .nx-cat {
  color: var(--nx-hero-cat-color, var(--nx-muted));
}

.nx-hero .nx-cat.is-active,
.nx-hero .nx-cat:hover {
  color: #ffffff;
}

.nx-hero .nx-search {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

.nx-hero .nx-stats {
  color: var(--nx-hero-stat-color, var(--nx-subtle));
}

.nx-search {
  display: flex;
  max-width: 440px;
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  background: var(--nx-surface);
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.nx-search:focus-within {
  border-color: var(--nx-text);
  box-shadow: 0 0 0 3px var(--nx-focus-ring);
}

.nx-search input {
  flex: 1;
  border: none;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  outline: none;
  background: transparent;
  font-family: inherit;
  color: var(--nx-text);
}

.nx-search input::placeholder {
  color: var(--nx-subtle);
}

.nx-search button {
  border: none;
  background: var(--nx-accent);
  color: var(--nx-on-accent);
  padding: 0 1.15rem;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.nx-search button:hover {
  background: var(--nx-accent-hover);
}

.nx-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--nx-border-soft);
}

.nx-cat {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nx-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nx-cat:hover {
  color: var(--nx-text);
}

.nx-cat.is-active {
  color: var(--nx-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nx-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--nx-subtle);
}

.nx-stats span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nx-category-notice {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--nx-radius);
  border: 1px solid var(--nx-border);
  background: var(--nx-surface);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nx-text);
}

/* ── Events ── */
.nx-events {
  width: 100%;
  padding: 3rem var(--nx-gutter) 5rem;
  max-width: none;
  margin: 0;
}

.nx-events-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--nx-border);
}

.nx-events-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--nx-text);
}

.nx-events-head p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--nx-text);
}

.nx-events-head .nx-meta {
  font-size: 0.8125rem;
  color: var(--nx-text);
}

.nx-events-head .nx-meta strong {
  color: var(--nx-text);
  font-weight: 600;
}

.nx-meta {
  font-size: 0.8125rem;
  color: var(--nx-text);
}

.nx-meta strong {
  color: var(--nx-text);
  font-weight: 600;
}

.nx-clear {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--nx-muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.15s;
}

.nx-clear:hover {
  color: var(--nx-text);
}

.nx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* Event card */
.nx-card {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.nx-card:hover {
  border-color: var(--nx-card-hover-border);
  box-shadow: var(--nx-card-shadow);
  transform: translateY(-2px);
}

.nx-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.nx-card-link.is-disabled {
  cursor: default;
  opacity: 0.8;
}

.nx-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--nx-border-soft);
  overflow: hidden;
}

.nx-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nx-card:hover .nx-card-media img {
  transform: scale(1.03);
}

.nx-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 20% 25%, rgba(124, 58, 237, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 55% 40%, rgba(251, 191, 36, 0.12) 0%, transparent 38%),
    var(--nx-placeholder-bg);
  text-align: center;
}

[data-theme="dark"] .nx-card-placeholder {
  background:
    radial-gradient(circle at 20% 25%, rgba(167, 139, 250, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(244, 114, 182, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 55% 40%, rgba(251, 191, 36, 0.1) 0%, transparent 38%),
    var(--nx-placeholder-bg);
}

.nx-card-placeholder-art {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
}

.nx-ph-ticket {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--nx-text);
  opacity: 0.88;
  transform: rotate(-8deg);
  animation: nx-ph-float 4s ease-in-out infinite;
}

.nx-ph-note {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  font-size: 0.9rem;
  color: var(--nx-muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nx-ph-note-1 {
  top: -0.15rem;
  right: -0.2rem;
  animation: nx-ph-bob 3s ease-in-out infinite;
}

.nx-ph-note-2 {
  bottom: 0.35rem;
  left: -0.35rem;
  animation: nx-ph-bob 3.4s ease-in-out infinite 0.4s;
}

.nx-ph-spark {
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--nx-glow, #1e90ff);
  opacity: 0.65;
}

.nx-ph-spark-1 { top: 0.5rem; left: 0.25rem; animation: nx-ph-sparkle 2.2s ease-in-out infinite; }
.nx-ph-spark-2 { top: 1.2rem; right: 0.1rem; animation: nx-ph-sparkle 2.6s ease-in-out infinite 0.3s; }
.nx-ph-spark-3 { bottom: 0.85rem; right: 1.1rem; animation: nx-ph-sparkle 2.4s ease-in-out infinite 0.6s; }

.nx-card-placeholder-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nx-muted);
}

@keyframes nx-ph-float {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-4px); }
}

@keyframes nx-ph-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes nx-ph-sparkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .nx-ph-ticket,
  .nx-ph-note,
  .nx-ph-spark {
    animation: none;
  }
}

.nx-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nx-card-badge-muted {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  color: var(--nx-muted);
}

.nx-card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.nx-card-meta-line {
  margin: 0 0 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nx-muted);
  line-height: 1.45;
}

.nx-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nx-card-meta-item i {
  font-size: 0.95rem;
  color: var(--nx-subtle);
  flex-shrink: 0;
}

.nx-card-meta-sep {
  color: var(--nx-subtle);
  user-select: none;
}

.nx-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--nx-text);
}

.nx-card-price {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.5rem;
}

.nx-card-price-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--nx-muted);
  line-height: 1.2;
}

.nx-card-price-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--nx-text);
  line-height: 1.2;
}

.nx-badge-muted {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--nx-muted);
  padding: 0.5rem;
  background: var(--nx-border-soft);
  border-radius: 6px;
}

/* Pagination */
.nx-pagination-wrap {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--nx-border);
}

.nt-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.nt-pagination .page-item .page-link {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--nx-border);
  background: var(--nx-surface);
  color: var(--nx-text);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}

.nt-pagination .page-item.active .page-link {
  background: var(--nx-accent);
  border-color: var(--nx-accent);
  color: var(--nx-on-accent);
}

.nt-pagination .page-item.disabled .page-link {
  opacity: 0.35;
  pointer-events: none;
}

.nt-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  border-color: var(--nx-text);
}

/* Empty */
.nx-empty {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px dashed var(--nx-border);
  border-radius: var(--nx-radius-lg);
  background: var(--nx-surface);
}

.nx-empty h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--nx-text);
}

.nx-empty p {
  color: var(--nx-muted);
  font-size: 0.9375rem;
  margin: 0 0 1.5rem;
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  background: var(--nx-accent);
  color: var(--nx-on-accent) !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}

.nx-btn:hover {
  background: var(--nx-accent-hover);
  color: var(--nx-on-accent);
}

/* Strip sections */
.nx-strip {
  width: 100%;
  border-top: 1px solid var(--nx-border);
  padding: 4rem var(--nx-gutter);
  max-width: none;
  margin: 0;
}

.nx-strip h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 2rem;
  color: var(--nx-text);
}

.nx-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.nx-feature h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--nx-text);
}

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

.nx-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 400px;
}

.nx-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.nx-step-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--nx-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nx-muted);
}

.nx-step h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  color: var(--nx-text);
}

.nx-step p {
  font-size: 0.8125rem;
  color: var(--nx-muted);
  margin: 0;
}

.nx-cta {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 3rem var(--nx-gutter);
  margin: 0 0 4rem;
  max-width: none;
  background: var(--nx-surface);
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
  border-radius: 0;
}

.nx-cta h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--nx-text);
}

.nx-cta p {
  color: var(--nx-muted);
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
}

/* Footer */
.nt-footer {
  width: 100%;
  background: var(--nx-footer-bg);
  color: var(--nx-footer-text);
  padding: 3.5rem 0 1.5rem;
}

.nt-footer .nx-page-inner {
  box-sizing: border-box;
}

.nt-footer a {
  color: var(--nx-footer-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nt-footer a:hover {
  color: var(--nx-footer-text);
  text-decoration: none;
}

.nt-footer h5 {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-footer-subtle);
  margin-bottom: 1rem;
  font-weight: 600;
}

.nt-footer-brand .nt-footer-logo {
  font-weight: 800;
  font-size: var(--nx-logo-wordmark-size);
  line-height: 1;
  color: var(--nx-footer-text);
  letter-spacing: -0.03em;
}

.nt-footer-brand .nt-footer-logo em {
  font-style: normal;
  color: var(--nx-footer-text);
  font-weight: 800;
}

.nt-footer-brand p {
  color: var(--nx-footer-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
}

.nt-footer-label {
  color: var(--nx-footer-text);
  font-size: 0.875rem;
  font-weight: 500;
}

.nt-footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--nx-footer-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-footer-text);
  flex-shrink: 0;
}

.nt-footer-bottom {
  border-top: 1px solid var(--nx-footer-border);
  margin-top: 2rem;
  padding-top: 1.25rem;
  color: var(--nx-footer-subtle);
  font-size: 0.8125rem;
}

.nt-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--nx-footer-border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  color: var(--nx-footer-muted);
  transition:
    border-color 0.15s,
    color 0.15s;
}

.nt-social a:hover {
  border-color: var(--nx-footer-muted);
  color: var(--nx-footer-text);
}

/* Bootstrap row text in strip */
.nx-strip .row {
  color: var(--nx-text);
}

[data-theme="dark"] .text-muted {
  color: var(--nx-muted) !important;
}

[data-theme="dark"] .btn-outline-secondary {
  color: var(--nx-muted);
  border-color: var(--nx-border);
  background: transparent;
}

[data-theme="dark"] .btn-outline-secondary:hover {
  color: var(--nx-text);
  background: var(--nx-border-soft);
  border-color: var(--nx-border);
}

@media (max-width: 991.98px) {
  .nt-nav-pills {
    display: none !important;
  }

  .nt-header-shell {
    justify-content: space-between;
    gap: 0.5rem;
  }

  .nt-header-actions {
    margin-left: auto;
    gap: 0.35rem;
  }
}

@media (max-width: 575.98px) {
  .nx-hero {
    padding-top: calc(var(--nx-header-h) + 2.5rem);
  }
  .nx-cats {
    gap: 0.35rem 1rem;
  }
  .nt-header-shell {
    padding: 0 1rem;
  }
  .nt-btn-host {
    padding: 0.5rem 0.65rem;
  }
}

/* Override theme layout constraints on landing */
html.layout-landing .layout-wrapper,
html.layout-landing .layout-container,
body.layout-landing .layout-wrapper,
body.layout-landing .layout-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Auth pages (login, signup, OTP, forgot password) */
body.layout-auth-minimal {
  background: var(--nx-bg);
}

body.layout-auth-minimal .nx-auth {
  position: relative;
  padding: calc(var(--nx-header-h) + 1.25rem) var(--nx-gutter) 1.75rem;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
}

body.layout-auth-minimal .nx-auth--signup,
body.layout-auth-minimal .nx-auth--login {
  align-items: center;
  padding-top: calc(var(--nx-header-h) + 1rem);
  padding-bottom: 1.75rem;
}

.nx-auth-ambient {
  position: absolute;
  top: var(--nx-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.nx-auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.nx-auth-orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(120, 80, 255, 0.35) 0%, transparent 70%);
}

.nx-auth-orb--2 {
  width: 360px;
  height: 360px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, rgba(255, 120, 60, 0.28) 0%, transparent 70%);
}

[data-theme="dark"] .nx-auth-orb--1 {
  background: radial-gradient(circle, rgba(140, 100, 255, 0.22) 0%, transparent 70%);
}

[data-theme="dark"] .nx-auth-orb--2 {
  background: radial-gradient(circle, rgba(255, 140, 80, 0.18) 0%, transparent 70%);
}

.nx-auth-split {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(380px, 1.12fr);
  min-height: min(640px, calc(100dvh - var(--nx-header-h) - 3rem));
  border-radius: 20px;
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-card-shadow);
  overflow: hidden;
  background: var(--nx-surface);
}

.nx-auth-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  color: #fff;
  overflow: hidden;
}

.nx-auth-panel-media {
  position: absolute;
  inset: 0;
  background-image: var(--nx-auth-hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.nx-auth-panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.82) 55%, rgba(10, 10, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.2) 0%, transparent 50%);
}

.nx-auth-panel-content {
  position: relative;
  z-index: 1;
}

.nx-auth-panel-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.nx-auth-panel-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
}

.nx-auth-panel-desc {
  margin: 0 0 1.5rem;
  max-width: 32ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.nx-auth-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nx-auth-perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.nx-auth-perk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.1rem;
}

.nx-auth-main {
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--nx-surface);
}

.nx-auth-card {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.nx-auth-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--nx-gutter);
  pointer-events: none;
  background: var(--nx-bg);
  border-bottom: 1px solid var(--nx-border);
  isolation: isolate;
}

.nx-auth-chrome .nx-auth-logo-link,
.nx-auth-chrome .nt-theme-toggle {
  pointer-events: auto;
}

.nx-auth-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--nx-text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nx-auth-logo-link em {
  font-style: normal;
  font-weight: 800;
}

.nx-auth-head {
  margin-bottom: 1.35rem;
}

.nx-auth-head--compact {
  margin-bottom: 1.1rem;
}

.nx-auth-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nx-muted);
}

.nx-auth-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--nx-text);
  line-height: 1.2;
}

.nx-auth-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--nx-muted);
}

.nx-auth-desc strong {
  color: var(--nx-text);
  font-weight: 600;
}

.nx-auth-alert {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.45;
}

.nx-auth-alert--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.nx-auth-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

[data-theme="dark"] .nx-auth-alert--success {
  background: rgba(16, 185, 129, 0.12);
  color: #8ee53f;
  border-color: rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .nx-auth-alert--error {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.25);
}

.nx-auth-form .field {
  margin-bottom: 0.95rem;
}

.nx-auth-form--signup .field {
  margin-bottom: 0;
}

.nx-auth-fields--signup {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.nx-auth-field-row {
  display: grid;
  gap: 0.95rem 1rem;
}

.nx-auth-field-row--2 {
  grid-template-columns: 1fr 1fr;
}

.nx-auth-field-row--3 {
  grid-template-columns: 1fr 1fr 1.15fr;
}

/* Login & signup: balanced height */
.nx-auth--login .nx-auth-split,
.nx-auth--signup .nx-auth-split {
  min-height: min(580px, calc(100dvh - var(--nx-header-h) - 2.5rem));
  max-height: calc(100dvh - var(--nx-header-h) - 2rem);
}

.nx-auth--login .nx-auth-panel,
.nx-auth--signup .nx-auth-panel {
  padding: 1.75rem 2rem;
  justify-content: center;
}

.nx-auth--login .nx-auth-panel--compact .nx-auth-panel-title,
.nx-auth--signup .nx-auth-panel--compact .nx-auth-panel-title {
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
}

.nx-auth--login .nx-auth-panel--compact .nx-auth-panel-desc,
.nx-auth--signup .nx-auth-panel--compact .nx-auth-panel-desc {
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.nx-auth--login .nx-auth-main,
.nx-auth--signup .nx-auth-main {
  padding: 1.75rem 2.25rem;
  align-items: center;
}

.nx-auth--login .nx-auth-head--compact,
.nx-auth--signup .nx-auth-head--compact {
  margin-bottom: 1rem;
}

.nx-auth--login .nx-auth-title,
.nx-auth--signup .nx-auth-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.nx-auth--login .nx-auth-desc,
.nx-auth--signup .nx-auth-desc {
  font-size: 0.875rem;
  line-height: 1.45;
}

.nx-auth--login .nx-auth-fields--login {
  gap: 0.85rem;
}

.nx-auth--signup .nx-auth-fields--signup {
  gap: 0.85rem;
}

.nx-auth--signup .nx-auth-field-row {
  gap: 0.85rem 1rem;
}

.nx-auth--login .nx-auth-form .field,
.nx-auth--signup .nx-auth-form .field {
  margin-bottom: 0;
}

.nx-auth--login .nx-auth-label,
.nx-auth--signup .nx-auth-label {
  margin-bottom: 0.3rem;
  font-size: 0.8125rem;
}

.nx-auth--login .nx-auth-input,
.nx-auth--login .nx-auth-form .form-control,
.nx-auth--signup .nx-auth-input,
.nx-auth--signup .nx-auth-form .form-control {
  padding: 0.6rem 0.8rem;
  font-size: 0.9375rem;
}

.nx-auth--login .nx-auth-row {
  margin-bottom: 0.5rem;
}

.nx-auth--signup .nx-auth-terms-row {
  margin: 0.35rem 0 0;
}

.nx-auth--login .nx-auth-check-label,
.nx-auth--signup .nx-auth-check-label {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.nx-auth--login .nx-auth-btn,
.nx-auth--signup .nx-auth-btn {
  margin-top: 0.35rem;
  padding: 0.7rem 1.15rem;
  font-size: 0.875rem;
}

.nx-auth--login .nx-auth-foot,
.nx-auth--signup .nx-auth-foot {
  margin-top: 1rem;
}

.nx-auth--login .nx-auth-foot--inline,
.nx-auth--signup .nx-auth-foot--inline {
  text-align: left;
}

.nx-auth--login .nx-auth-alert,
.nx-auth--signup .nx-auth-alert {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
}

@media (min-width: 992px) {
  .nx-auth--login .nx-auth-split,
  .nx-auth--signup .nx-auth-split {
    min-height: min(560px, calc(100dvh - var(--nx-header-h) - 3rem));
    max-height: calc(100dvh - var(--nx-header-h) - 2.5rem);
  }
}

@media (max-width: 991.98px) {
  .nx-auth-field-row--3 {
    grid-template-columns: 1fr 1fr;
  }

  .nx-auth-field-row--3 .field:last-child {
    grid-column: 1 / -1;
  }
}

.nx-auth-fields .nx-auth-password-wrap {
  margin-bottom: 0;
}

.nx-auth-terms-row {
  margin: 0.5rem 0 0.25rem;
}

.nx-auth-terms-row .field {
  margin-bottom: 0;
}

.nx-auth-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nx-text);
}

.nx-auth-input,
.nx-auth-form .form-control,
.nx-auth-form .form-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--nx-font);
  font-size: 0.9375rem;
  color: var(--nx-text);
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.nx-auth-input:focus,
.nx-auth-form .form-control:focus,
.nx-auth-form .form-select:focus {
  outline: none;
  border-color: var(--nx-text);
  box-shadow: 0 0 0 3px var(--nx-focus-ring);
  background: var(--nx-bg);
  color: var(--nx-text);
}

.nx-auth-input--otp {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  font-variant-numeric: tabular-nums;
}

.nx-auth-error,
.nx-auth-form .invalid-feedback {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #dc2626;
}

[data-theme="dark"] .nx-auth-error,
[data-theme="dark"] .nx-auth-form .invalid-feedback {
  color: #f87171;
}

@media (max-width: 991.98px) {
  body.layout-auth-minimal .nx-auth {
    align-items: flex-start;
    padding-top: calc(var(--nx-header-h) + 0.75rem);
  }

  .nx-auth-split {
    grid-template-columns: 1fr;
    min-height: auto;
    max-width: 560px;
  }

  .nx-auth-panel {
    min-height: 220px;
    padding: 1.5rem;
  }

  .nx-auth-panel-desc {
    margin-bottom: 1rem;
  }

  .nx-auth-perks {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .nx-auth-main {
    padding: 1.5rem;
  }

  .nx-auth-field-row--2,
  .nx-auth-field-row--3 {
    grid-template-columns: 1fr;
  }

  .nx-auth-field-row--3 .field:last-child {
    grid-column: auto;
  }
}

@media (max-width: 575.98px) {
  .nx-auth-perks {
    flex-direction: column;
    align-items: flex-start;
  }
}

.nx-auth-password-wrap {
  position: relative;
  margin-bottom: 1.1rem;
}

.nx-auth-password-wrap .field {
  margin-bottom: 0;
}

.nx-auth-password-toggle {
  position: absolute;
  right: 0.65rem;
  bottom: 0.55rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--nx-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.nx-auth-password-toggle:hover {
  color: var(--nx-text);
}

.nx-auth-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.nx-auth-row .field {
  margin-bottom: 0;
}

.nx-auth-check-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nx-muted);
}

.nx-auth-form .form-check-input {
  border-color: var(--nx-border);
  background-color: var(--nx-bg);
}

.nx-auth-form .form-check-input:checked {
  background-color: var(--nx-accent);
  border-color: var(--nx-accent);
}

.nx-auth-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nx-text);
  text-decoration: none;
}

.nx-auth-link:hover {
  text-decoration: underline;
}

.nx-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: var(--nx-accent);
  color: var(--nx-on-accent);
  font-family: var(--nx-font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.nx-auth-btn:hover {
  background: var(--nx-accent-hover);
  transform: translateY(-1px);
}

.nx-auth-foot {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--nx-muted);
}

.nx-auth-foot a {
  font-weight: 600;
  color: var(--nx-text);
  text-decoration: none;
}

.nx-auth-foot a:hover {
  text-decoration: underline;
}

.nt-mobile-menu-foot .nt-btn-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nx-text);
  text-decoration: none;
}

/* —— Contact page —— */
.nx-contact {
  padding: calc(var(--nx-header-h) + 2rem) 0 4rem;
  min-height: calc(100vh - var(--nx-header-h));
  background: var(--nx-bg);
}

.nx-contact-hero {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.nx-contact-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nx-accent);
  background: color-mix(in srgb, var(--nx-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--nx-accent) 25%, transparent);
}

.nx-contact-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--nx-text);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.nx-contact-hero p {
  font-size: 1.05rem;
  color: var(--nx-muted);
  opacity: 0.72;
  margin: 0;
  line-height: 1.6;
}

.nx-contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 1.15fr);
  gap: 1.5rem;
  align-items: start;
}

.nx-contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nx-contact-panel {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--nx-card-shadow);
}

.nx-contact-panel h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nx-text);
  margin-bottom: 0.35rem;
}

.nx-contact-panel-lead {
  font-size: 0.9rem;
  color: var(--nx-muted);
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.nx-contact-channels {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.nx-contact-channels li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.nx-contact-channel-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--nx-accent) 10%, var(--nx-surface));
  color: var(--nx-accent);
  font-size: 1.25rem;
}

.nx-contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nx-muted);
  opacity: 0.55;
  margin-bottom: 0.15rem;
}

.nx-contact-channels a,
.nx-contact-channels address,
.nx-contact-channels span:not(.nx-contact-channel-icon):not(.nx-contact-label) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--nx-text);
  text-decoration: none;
  line-height: 1.45;
}

.nx-contact-channels a:hover {
  color: var(--nx-accent);
}

.nx-contact-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nx-accent);
  text-decoration: none;
}

.nx-contact-directions:hover {
  text-decoration: underline;
}

.nx-contact-map {
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-card-shadow);
  min-height: 220px;
  background: var(--nx-placeholder-bg);
}

.nx-contact-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.nx-contact-form-wrap .nx-contact-panel--form {
  height: 100%;
}

.nx-contact-form .nx-contact-field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nx-text);
  margin-bottom: 0.35rem;
}

.nx-contact-input {
  border-radius: var(--nx-radius);
  border: 1px solid var(--nx-border);
  background: var(--nx-bg);
  color: var(--nx-text);
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.nx-contact-input:focus {
  border-color: var(--nx-accent);
  box-shadow: 0 0 0 3px var(--nx-focus-ring);
  background: var(--nx-surface);
}

.nx-contact-captcha {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nx-contact-captcha img {
  border-radius: var(--nx-radius);
  border: 1px solid var(--nx-border);
}

.nx-contact-captcha input {
  flex: 1;
  min-width: 140px;
}

.nx-contact-form-actions {
  margin-top: 1.25rem;
}

.nx-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--nx-radius);
  background: var(--nx-accent);
  color: var(--nx-on-accent);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.nx-contact-btn:hover {
  background: var(--nx-accent-hover);
  color: var(--nx-on-accent);
}

.nx-contact-btn:active {
  transform: scale(0.98);
}

.nx-contact-btn--ghost {
  background: transparent;
  color: var(--nx-text);
  border: 1px solid var(--nx-border);
  margin-top: 0.5rem;
}

.nx-contact-btn--ghost:hover {
  background: var(--nx-surface);
  border-color: var(--nx-card-hover-border);
  color: var(--nx-text);
}

.nx-contact-success {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 560px;
  padding: 2rem;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  box-shadow: var(--nx-card-shadow);
}

.nx-contact-success-icon {
  flex-shrink: 0;
  font-size: 2.5rem;
  color: #8ee53f;
  line-height: 1;
}

.nx-contact-success h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--nx-text);
}

.nx-contact-success p {
  color: var(--nx-muted);
  opacity: 0.75;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .nx-contact-grid {
    grid-template-columns: 1fr;
  }

  .nx-contact-map iframe {
    height: 240px;
  }
}

/* Legal pages (privacy, terms) — follow landing theme tokens */
body.layout-landing .nx-legal-page {
  background: var(--nx-bg);
  color: var(--nx-text);
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

body.layout-landing .nx-legal-page h4,
body.layout-landing .nx-legal-page h5,
body.layout-landing .nx-legal-page .nx-legal-page__title,
body.layout-landing .nx-legal-page .nx-legal-page__heading {
  color: var(--nx-text) !important;
  font-weight: 700 !important;
}

body.layout-landing .nx-legal-page p,
body.layout-landing .nx-legal-page li {
  color: var(--nx-muted);
}

body.layout-landing .nx-legal-page hr {
  border-color: var(--nx-border);
  opacity: 1;
}

body.layout-landing .nx-legal-page a {
  color: var(--nx-accent);
}

body.layout-landing .nx-legal-page h5 strong,
body.layout-landing .nx-legal-page .nx-legal-page__heading strong {
  color: inherit;
  font-weight: 700;
}

/* —— About page —— */
.nx-about-page {
  --nx-about-blue: #1e90ff;
  --nx-about-green: #57d516;
  --nx-about-violet: #7c5cff;
  --nx-about-coral: #ff6b4a;
  --nx-about-lime: #3dd68c;
  background: var(--nx-bg);
}

/* Hero */
.nx-about-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nx-header-h) + 3rem) var(--nx-gutter) 3.5rem;
  overflow: hidden;
}

.nx-about-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: var(--nx-hero-filter);
  transform: scale(1.03);
}

.nx-about-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    var(--nx-hero-overlay),
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(87, 213, 22, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(30, 144, 255, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.nx-about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.nx-about-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.nx-about-eyebrow--light {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
}

.nx-about-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.nx-about-hero-lead,
.nx-about-hero-hook {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem;
  max-width: 580px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.nx-about-hero-hook {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.75rem;
}

.nx-about-hero-hook strong {
  color: var(--nx-about-lime);
}

.nx-about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.nx-about-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.nx-about-btn-outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.nx-about-btn-outline--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.nx-about-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s;
}

.nx-about-scroll .bx {
  font-size: 1.5rem;
  animation: nx-about-bounce 2s ease infinite;
}

.nx-about-scroll:hover {
  color: #fff;
}

@keyframes nx-about-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Sections */
.nx-about-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.nx-about-section--alt {
  background: color-mix(in srgb, var(--nx-accent) 4%, var(--nx-bg));
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
}

.nx-about-tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nx-about-blue);
  background: color-mix(in srgb, var(--nx-about-blue) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--nx-about-blue) 28%, transparent);
}

.nx-about-tag--coral {
  color: var(--nx-about-coral);
  background: color-mix(in srgb, var(--nx-about-coral) 12%, transparent);
  border-color: color-mix(in srgb, var(--nx-about-coral) 28%, transparent);
}

.nx-about-tag--violet {
  color: var(--nx-about-violet);
  background: color-mix(in srgb, var(--nx-about-violet) 12%, transparent);
  border-color: color-mix(in srgb, var(--nx-about-violet) 28%, transparent);
}

.nx-about-tag--green {
  color: var(--nx-about-green);
  background: color-mix(in srgb, var(--nx-about-green) 12%, transparent);
  border-color: color-mix(in srgb, var(--nx-about-green) 28%, transparent);
}

.nx-about-tag--lime {
  color: #2db872;
  background: color-mix(in srgb, var(--nx-about-lime) 14%, transparent);
  border-color: color-mix(in srgb, var(--nx-about-lime) 30%, transparent);
}

.nx-about-section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.nx-about-section-head--center {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.nx-about-section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--nx-text);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.nx-about-section-head p {
  font-size: 1rem;
  color: var(--nx-muted);
  opacity: 0.78;
  line-height: 1.65;
  margin: 0;
}

.nx-about-gradient-text {
  background: linear-gradient(135deg, var(--nx-about-blue) 0%, var(--nx-about-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Frustration */
.nx-about-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.nx-about-split-head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--nx-text);
  margin: 0;
}

.nx-about-split-body p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--nx-muted);
  opacity: 0.82;
  margin: 0 0 1rem;
}

.nx-about-split-body p:last-child {
  margin-bottom: 0;
}

.nx-about-split-body strong {
  color: var(--nx-about-blue);
}

/* Origin */
.nx-about-origin-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.nx-about-origin-copy p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--nx-muted);
  opacity: 0.8;
  margin: 0 0 1rem;
}

.nx-about-origin-emphasis {
  font-weight: 500;
  color: var(--nx-text) !important;
  opacity: 1 !important;
}

.nx-about-origin-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nx-about-origin-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  box-shadow: var(--nx-card-shadow);
  transition: transform 0.2s, border-color 0.2s;
}

.nx-about-origin-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--nx-about-blue) 35%, var(--nx-border));
}

.nx-about-origin-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--nx-about-blue) 18%, var(--nx-surface)), color-mix(in srgb, var(--nx-about-green) 12%, var(--nx-surface)));
  color: var(--nx-about-blue);
  font-size: 1.2rem;
}

.nx-about-origin-card-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nx-muted);
  opacity: 0.65;
  margin-bottom: 0.15rem;
}

.nx-about-origin-card-text {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--nx-text);
  line-height: 1.4;
}

/* Evolution — vertical alternating timeline */
.nx-about-evolution {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0.5rem 0 1rem;
}

.nx-about-evolution-line {
  position: absolute;
  left: 50%;
  top: 3.5rem;
  bottom: 3.5rem;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    var(--nx-about-green) 0%,
    color-mix(in srgb, var(--nx-about-green) 40%, var(--nx-about-blue)) 45%,
    var(--nx-about-blue) 100%
  );
  border-radius: 999px;
  z-index: 0;
  pointer-events: none;
}

.nx-about-evolution-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  position: relative;
  z-index: 1;
}

.nx-about-evolution-axis {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nx-about-evolution-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px var(--nx-bg);
}

.nx-about-evolution-dot--green {
  background: var(--nx-about-green);
}

.nx-about-evolution-dot--blue {
  background: var(--nx-about-blue);
}

.nx-about-evolution-label-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nx-about-evolution-label-col--end {
  justify-content: flex-start;
}

.nx-about-evolution-label {
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
}

.nx-about-evolution-label--green {
  color: color-mix(in srgb, var(--nx-about-green) 72%, var(--nx-bg));
}

.nx-about-evolution-label--blue {
  color: color-mix(in srgb, var(--nx-about-blue) 72%, var(--nx-bg));
}

[data-theme='dark'] .nx-about-evolution-label--green {
  color: color-mix(in srgb, var(--nx-about-green) 88%, transparent);
}

[data-theme='dark'] .nx-about-evolution-label--blue {
  color: color-mix(in srgb, var(--nx-about-blue) 88%, transparent);
}

.nx-about-evolution-copy {
  text-align: left;
  max-width: 340px;
}

.nx-about-evolution-copy--end {
  justify-self: end;
  text-align: right;
  max-width: 340px;
}

.nx-about-evolution-copy h3 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--nx-text);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.nx-about-evolution-copy p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--nx-muted);
  opacity: 0.78;
  margin: 0;
}

.nx-about-evolution-copy strong {
  color: var(--nx-text);
  font-weight: 700;
}

/* Platform cards */
.nx-about-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.nx-about-platform-card {
  padding: 1.35rem;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  box-shadow: var(--nx-card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nx-about-platform-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.nx-about-platform-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.nx-about-platform-card--blue .nx-about-platform-icon {
  background: color-mix(in srgb, var(--nx-about-blue) 15%, var(--nx-surface));
  color: var(--nx-about-blue);
}

.nx-about-platform-card--blue {
  border-top: 3px solid var(--nx-about-blue);
}

.nx-about-platform-card--green .nx-about-platform-icon {
  background: color-mix(in srgb, var(--nx-about-green) 15%, var(--nx-surface));
  color: var(--nx-about-green);
}

.nx-about-platform-card--green {
  border-top: 3px solid var(--nx-about-green);
}

.nx-about-platform-card--violet .nx-about-platform-icon {
  background: color-mix(in srgb, var(--nx-about-violet) 15%, var(--nx-surface));
  color: var(--nx-about-violet);
}

.nx-about-platform-card--violet {
  border-top: 3px solid var(--nx-about-violet);
}

.nx-about-platform-card--lime .nx-about-platform-icon {
  background: color-mix(in srgb, var(--nx-about-lime) 15%, var(--nx-surface));
  color: #2db872;
}

.nx-about-platform-card--lime {
  border-top: 3px solid var(--nx-about-lime);
}

.nx-about-platform-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nx-text);
  margin: 0 0 0.5rem;
}

.nx-about-platform-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--nx-muted);
  opacity: 0.76;
  margin: 0;
}

/* Game changer */
.nx-about-game-changer {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--nx-about-green) 12%, var(--nx-bg)) 0%,
    color-mix(in srgb, var(--nx-about-blue) 8%, var(--nx-bg)) 100%
  );
}

.nx-about-game-changer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  box-shadow: var(--nx-card-shadow);
}

.nx-about-game-changer-copy h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nx-text);
  margin: 0 0 0.75rem;
}

.nx-about-game-changer-copy p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--nx-muted);
  opacity: 0.78;
  margin: 0;
}

.nx-about-revenue-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nx-about-revenue-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--nx-radius);
  background: color-mix(in srgb, var(--nx-about-lime) 8%, var(--nx-bg));
  border: 1px solid color-mix(in srgb, var(--nx-about-lime) 22%, var(--nx-border));
}

.nx-about-revenue-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--nx-about-lime) 20%, var(--nx-surface));
  color: #2db872;
  font-size: 1.2rem;
}

.nx-about-revenue-list strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--nx-text);
  margin-bottom: 0.15rem;
}

.nx-about-revenue-list span {
  font-size: 0.82rem;
  color: var(--nx-muted);
  opacity: 0.75;
  line-height: 1.45;
}

/* Metrics band */
.nx-about-metrics-band {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, var(--nx-about-blue) 0%, #4da3ff 45%, var(--nx-about-green) 100%);
}

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

.nx-about-metric {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--nx-radius-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #fff;
}

.nx-about-metric-value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.nx-about-metric-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.nx-about-metric-sub {
  display: block;
  font-size: 0.78rem;
  opacity: 0.82;
}

/* Values */
.nx-about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.nx-about-value {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border-radius: var(--nx-radius-lg);
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--nx-text);
  box-shadow: var(--nx-card-shadow);
  transition: transform 0.2s;
}

.nx-about-value:hover {
  transform: translateY(-2px);
}

.nx-about-value .bx {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.nx-about-value--blue .bx {
  color: var(--nx-about-blue);
}

.nx-about-value--green .bx {
  color: var(--nx-about-green);
}

.nx-about-value--violet .bx {
  color: var(--nx-about-violet);
}

.nx-about-value--coral .bx {
  color: var(--nx-about-coral);
}

.nx-about-value--lime .bx {
  color: #2db872;
}

.nx-about-value--blue {
  border-left: 3px solid var(--nx-about-blue);
}

.nx-about-value--green {
  border-left: 3px solid var(--nx-about-green);
}

.nx-about-value--violet {
  border-left: 3px solid var(--nx-about-violet);
}

.nx-about-value--coral {
  border-left: 3px solid var(--nx-about-coral);
}

.nx-about-value--lime {
  border-left: 3px solid var(--nx-about-lime);
}

.nx-about-values-link {
  text-align: center;
  margin: 0;
}

.nx-about-values-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nx-accent);
  text-decoration: none;
}

.nx-about-values-link a:hover {
  color: var(--nx-accent-hover);
}

/* Mission finale */
.nx-about-mission-finale {
  padding: clamp(3rem, 6vw, 4.5rem) 0 5rem;
}

.nx-about-mission-finale-inner {
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--nx-radius-lg);
  text-align: center;
  color: #fff;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--nx-about-blue) 88%, #0a1628) 0%,
    color-mix(in srgb, var(--nx-about-violet) 55%, #0a1628) 55%,
    color-mix(in srgb, var(--nx-about-green) 40%, #0a1628) 100%
  );
  box-shadow: 0 20px 60px color-mix(in srgb, var(--nx-about-blue) 28%, transparent);
}

.nx-about-mission-finale-inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.nx-about-mission-points {
  list-style: none;
  padding: 0;
  margin: 0 auto 1rem;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nx-about-mission-points li {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.nx-about-mission-points li::before {
  content: '✓ ';
  color: var(--nx-about-lime);
  font-weight: 700;
}

.nx-about-mission-kicker {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.5rem;
}

.nx-about-finale-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 991.98px) {
  .nx-about-split,
  .nx-about-origin-grid,
  .nx-about-game-changer-inner,
  .nx-about-platform-grid {
    grid-template-columns: 1fr;
  }

  .nx-about-metrics,
  .nx-about-values-grid {
    grid-template-columns: 1fr;
  }

  .nx-about-platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .nx-about-platform-grid {
    grid-template-columns: 1fr;
  }

  .nx-about-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .nx-about-evolution-line {
    left: 13px;
    top: 2rem;
    bottom: 2rem;
    transform: none;
  }

  .nx-about-evolution-row,
  .nx-about-evolution-row--flip {
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    gap: 0.35rem 1.1rem;
    padding: 1.75rem 0;
    align-items: start;
  }

  .nx-about-evolution-axis {
    grid-row: 1 / span 2;
    grid-column: 1;
    align-self: center;
  }

  .nx-about-evolution-label-col,
  .nx-about-evolution-label-col--end {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
  }

  .nx-about-evolution-copy,
  .nx-about-evolution-copy--end {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    text-align: left;
    max-width: none;
  }

  .nx-about-evolution-label {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}
