@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&display=swap');

/* ============================================================================
   NEBULA 3D - premium customer theme
   Deep-space navy, cyan/violet light, glass surfaces and CSS 3D objects.
   The shared foundation (premium-3d.css) supplies structure, forms, tables
   and the admin skin; this file supplies the material and the landing pages.
   ========================================================================== */

body[data-theme="nebula-3d"] {
  color-scheme: dark;
  --t-bg: #05070f;
  --t-bg2: #080d1a;
  --t-card: rgba(11, 18, 34, .78);
  --t-surface: rgba(12, 20, 38, .72);
  --t-surface2: rgba(24, 36, 64, .62);
  --t-line: rgba(124, 196, 255, .16);
  --t-ink: #edf4ff;
  --t-muted: #91a4c6;
  --t-acc: #4ce3ff;
  --t-acc2: #a78bfa;
  --t-acc-ink: #04121c;
  --t-radius: 18px;
  --t-radius-sm: 12px;
  --t-radius-lg: 28px;
  --t-shadow-sm: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 30px rgba(0, 0, 0, .34);
  --t-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px rgba(0, 0, 0, .48);
  --t-shadow-lg: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 100px rgba(0, 0, 0, .6);
  --t-highlight: rgba(150, 235, 255, .38);
  --t-glow: rgba(76, 227, 255, .22);
  --t-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-fonthead: 'Sora', 'Inter', system-ui, sans-serif;
  --t-heading-track: -.035em;
  --t-page-art:
    radial-gradient(1000px 620px at 78% -12%, rgba(76, 227, 255, .12), transparent 60%),
    radial-gradient(880px 620px at 6% 4%, rgba(167, 139, 250, .10), transparent 62%),
    radial-gradient(900px 700px at 50% 108%, rgba(76, 227, 255, .06), transparent 64%);
  --t-surface-image: linear-gradient(158deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015) 44%, rgba(76, 227, 255, .03));
  --t-hero:
    radial-gradient(720px 460px at 78% 18%, rgba(76, 227, 255, .16), transparent 62%),
    radial-gradient(620px 420px at 52% 92%, rgba(167, 139, 250, .13), transparent 66%),
    linear-gradient(150deg, #060a15, #08101f 55%, #050810);
  --t-hero-ink: #f2f8ff;
  --t-hero-muted: #a6b7d6;
  --t-hero-art: radial-gradient(circle at center, rgba(76, 227, 255, .26), transparent 64%);
  --t-pagehead:
    radial-gradient(560px 320px at 82% 0%, rgba(76, 227, 255, .14), transparent 62%),
    linear-gradient(125deg, rgba(8, 14, 28, .96), rgba(15, 25, 48, .9));
  --t-pagehead-ink: #f2f8ff;
  --t-nav-bg: rgba(5, 9, 20, .78);
  --t-nav-blur: blur(18px) saturate(140%);
  --t-nav-shadow: inset 0 -1px 0 rgba(124, 196, 255, .14), 0 16px 40px rgba(0, 0, 0, .34);
  --t-footer-bg: #04060d;
  --t-footer-ink: #a9b8d4;
  --t-field-bg: rgba(6, 12, 24, .72);
  --t-field-border: rgba(124, 196, 255, .2);
  --t-field-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  --t-focus-ring: 0 0 0 .24rem rgba(76, 227, 255, .18);
  --t-btn-bg: #4ce3ff;
  --t-btn-bg-hover: #82eeff;
  --t-btn-ink: #04121c;
  --t-btn-border: rgba(160, 240, 255, .52);
  --t-btn-image: linear-gradient(180deg, rgba(255, 255, 255, .4), transparent 52%), linear-gradient(120deg, #9bf6ff, #4ce3ff 55%, #7c9bff);
  --t-btn-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 12px 30px rgba(76, 227, 255, .22);
  --t-btn-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, .65), 0 16px 40px rgba(76, 227, 255, .32);
  --t-table-head: rgba(8, 15, 30, .72);
  --t-table-hover: rgba(76, 227, 255, .06);
  --t-alert-bg: rgba(9, 16, 30, .8);
  --t-code-bg: #040b16;
  --t-code-ink: #bfefff;
  --t-admin-bg: #05070f;
  --t-admin-top: rgba(6, 11, 24, .86);
  --t-admin-side: rgba(5, 9, 20, .9);
  --t-admin-side-ink: #dbe9ff;
  --t-admin-side-muted: rgba(219, 233, 255, .52);
  --t-admin-side-active-bg: #4ce3ff;
  --t-admin-side-active-ink: #04121c;
  --t-admin-side-active-shadow: 0 8px 22px rgba(76, 227, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .4);
  --t-admin-surface: rgba(12, 20, 38, .76);
  --t-admin-card-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 42px rgba(0, 0, 0, .32);
  --t-balance-bg: rgba(255, 255, 255, .06);
  --t-pill-bg: rgba(16, 26, 48, .7);
  --t-auth-bg:
    radial-gradient(760px 480px at 50% -6%, rgba(76, 227, 255, .13), transparent 62%),
    radial-gradient(620px 420px at 90% 90%, rgba(167, 139, 250, .1), transparent 66%),
    #05070f;
  --t-cta: linear-gradient(120deg, rgba(76, 227, 255, .16), rgba(167, 139, 250, .18));
  --t-cta-ink: #f2f8ff;
  --t-brand-bg: linear-gradient(145deg, #9bf6ff, #4ce3ff 55%, #a78bfa);
  --t-brand-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 20px rgba(76, 227, 255, .24);
  --bs-body-bg: var(--t-bg);
  --bs-body-color: var(--t-ink);
  --bs-body-font-family: var(--t-font);
  --bs-border-color: var(--t-line);
  --bs-emphasis-color: var(--t-ink);
  --bs-secondary-color: var(--t-muted);
  --bs-tertiary-bg: var(--t-surface2);
  --bs-secondary-bg: var(--t-surface);
  --bs-primary: #4ce3ff;
  --bs-primary-rgb: 76, 227, 255;
  --bs-link-color: #7cecff;
  --bs-link-hover-color: #c4b5fd;
  --bs-heading-color: var(--t-ink);
  --bs-form-control-bg: var(--t-field-bg);
  --bs-table-color: var(--t-ink);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--t-line);
  --bs-table-hover-color: var(--t-ink);
  --bs-table-hover-bg: var(--t-table-hover);
  --bs-dropdown-bg: #0a1222;
  --bs-dropdown-link-hover-bg: rgba(76, 227, 255, .1);
  --bs-dropdown-link-active-bg: rgba(76, 227, 255, .16);
  --bs-modal-bg: #0a1222;
  --bs-offcanvas-bg: #060b16;
  --bs-accordion-bg: transparent;
  --bs-accordion-color: var(--t-ink);
  --bs-accordion-border-color: var(--t-line);
  --bs-accordion-btn-color: var(--t-ink);
  --bs-accordion-active-bg: rgba(76, 227, 255, .07);
  --bs-accordion-active-color: #d9fbff;
}

/* Legacy panel components read these older variable names. Point them at the
   theme tokens so no light island appears inside a dark page. */
body[data-theme="nebula-3d"] {
  --brand-500: var(--t-acc);
  --brand-600: #38cdec;
  --brand-700: #82eeff;
  --ink: var(--t-ink);
  --muted: var(--t-muted);
  --line: var(--t-line);
  --soft: rgba(76, 227, 255, .07);
}

body[data-theme="nebula-3d"] {
  background-color: var(--t-bg);
  color: var(--t-ink);
  font-family: var(--t-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body[data-theme="nebula-3d"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--t-page-art);
}
body[data-theme="nebula-3d"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(1px 1px at 18% 24%, rgba(255, 255, 255, .55), transparent 100%),
    radial-gradient(1px 1px at 72% 12%, rgba(124, 227, 255, .5), transparent 100%),
    radial-gradient(1.4px 1.4px at 44% 62%, rgba(255, 255, 255, .32), transparent 100%),
    radial-gradient(1px 1px at 88% 78%, rgba(167, 139, 250, .55), transparent 100%),
    radial-gradient(1px 1px at 8% 84%, rgba(255, 255, 255, .3), transparent 100%);
  background-size: 720px 620px, 860px 700px, 640px 560px, 980px 820px, 560px 500px;
}
body[data-theme="nebula-3d"] h1,
body[data-theme="nebula-3d"] h2,
body[data-theme="nebula-3d"] h3,
body[data-theme="nebula-3d"] h4,
body[data-theme="nebula-3d"] .h1,
body[data-theme="nebula-3d"] .h2,
body[data-theme="nebula-3d"] .h3 {
  font-family: var(--t-fonthead);
  font-weight: 700;
  letter-spacing: var(--t-heading-track);
  color: var(--t-ink);
}
body[data-theme="nebula-3d"] .site-nav {
  background: var(--t-nav-bg);
  backdrop-filter: var(--t-nav-blur);
  -webkit-backdrop-filter: var(--t-nav-blur);
  border-bottom: 1px solid var(--t-line);
  box-shadow: var(--t-nav-shadow);
}
body[data-theme="nebula-3d"] .site-nav .nav-link {
  color: #c3d2ea;
  border-radius: 999px;
}
body[data-theme="nebula-3d"] .site-nav .nav-link:hover,
body[data-theme="nebula-3d"] .site-nav .nav-link.active {
  color: #eafcff;
  background: rgba(76, 227, 255, .1);
}
body[data-theme="nebula-3d"] .brand-mark {
  color: #04121c;
  box-shadow: var(--t-brand-shadow);
}
body[data-theme="nebula-3d"] .btn {
  letter-spacing: -.01em;
}
body[data-theme="nebula-3d"] .btn-primary {
  font-weight: 700;
}
body[data-theme="nebula-3d"] .btn-outline-primary {
  background: rgba(76, 227, 255, .04);
  backdrop-filter: blur(6px);
}
body[data-theme="nebula-3d"] .btn-outline-primary:hover {
  background: rgba(76, 227, 255, .14);
}
body[data-theme="nebula-3d"] .fav-chip {
  background: rgba(10, 18, 34, .85);
  border-color: var(--t-line);
  color: var(--t-ink);
}
body[data-theme="nebula-3d"] .fav-chip strong { color: var(--t-acc); }
body[data-theme="nebula-3d"] .site-footer {
  position: relative;
  background: var(--t-footer-bg);
  border-top: 1px solid var(--t-line);
}
body[data-theme="nebula-3d"] .site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 227, 255, .55), rgba(167, 139, 250, .5), transparent);
}
body[data-theme="nebula-3d"] .footer-head {
  font-family: var(--t-fonthead);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #dce9ff !important;
}

/* ============================================================================
   HOME - shared section rhythm
   ========================================================================== */
.nx-home { position: relative; }
.nx-section {
  position: relative;
  padding: clamp(3.75rem, 7vw, 6.5rem) 0;
}
.nx-section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 420px at 12% 0%, rgba(76, 227, 255, .06), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, .014), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(124, 196, 255, .07);
  border-bottom: 1px solid rgba(124, 196, 255, .07);
}
.nx-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.nx-head.is-center { margin-inline: auto; text-align: center; }
.nx-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, monospace;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8fefff;
}
.nx-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--t-acc);
  box-shadow: 0 0 12px rgba(76, 227, 255, .9);
}
.nx-title {
  margin: 0 0 .9rem;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.08;
}
.nx-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--t-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}
.nx-head.is-center .nx-lead { margin-inline: auto; }
.nx-grad {
  background: linear-gradient(100deg, #8ff4ff 0%, #4ce3ff 38%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nx-mono {
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---- reveal (JS adds .nx-js; without JS everything stays visible) -------- */
.nx-js .nx-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--nx-delay, 0s);
  will-change: opacity, transform;
}
.nx-js .nx-reveal.is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ============================================================================
   HERO
   ========================================================================== */
.nx-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem);
  background: var(--t-hero);
}
.nx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(124, 196, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 196, 255, .055) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 42%, #000 8%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 42%, #000 8%, transparent 76%);
  pointer-events: none;
}
.nx-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -120px;
  width: min(1100px, 120vw);
  height: 260px;
  transform: translateX(-50%);
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(76, 227, 255, .14), transparent 68%);
  pointer-events: none;
}
.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .9rem .45rem .7rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(124, 196, 255, .24);
  border-radius: 999px;
  background: rgba(11, 20, 38, .66);
  backdrop-filter: blur(10px);
  color: #cfe6ff;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 24px rgba(0, 0, 0, .3);
}
.nx-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63ffd1;
  box-shadow: 0 0 0 0 rgba(99, 255, 209, .55);
  animation: nx-pulse 2.6s ease-out infinite;
}
.nx-h1 {
  margin: 0 0 1.35rem;
  max-width: 15ch;
  font-size: clamp(2.55rem, 5.6vw, 4.7rem);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.045em;
  color: #f6faff;
}
.nx-lede {
  margin: 0 0 2rem;
  max-width: 35rem;
  color: #aabddb;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}
.nx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.nx-hero-actions .btn { padding: .85rem 1.5rem; }
.nx-hero-actions .btn-primary {
  box-shadow: var(--t-btn-shadow), 0 0 44px rgba(76, 227, 255, .22);
}
.nx-hero-actions .btn-primary:hover { box-shadow: var(--t-btn-shadow-hover), 0 0 60px rgba(76, 227, 255, .3); }
.nx-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(124, 196, 255, .13);
  padding-top: 1.4rem;
  max-width: 33rem;
}
.nx-metric {
  flex: 1 1 0;
  min-width: 7.2rem;
  padding-right: 1.4rem;
}
.nx-metric + .nx-metric {
  padding-left: 1.4rem;
  border-left: 1px solid rgba(124, 196, 255, .13);
}
.nx-metric strong {
  display: block;
  font-family: var(--t-fonthead);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #f2fbff;
  letter-spacing: -.02em;
}
.nx-metric span {
  display: block;
  margin-top: .2rem;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: .64rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #7f93b4;
}

/* ---- 3D stage ----------------------------------------------------------- */
.nx-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  perspective: 1100px;
  transform-style: preserve-3d;
}
.nx-stage-halo {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(76, 227, 255, .3), rgba(167, 139, 250, .14) 46%, transparent 70%);
  filter: blur(24px);
  animation: nx-breathe 9s ease-in-out infinite;
}
.nx-stage-floor {
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 4%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(76, 227, 255, .26), rgba(76, 227, 255, .05) 45%, transparent 72%);
  filter: blur(16px);
  transform: rotateX(64deg);
}
.nx-orbit {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 17%;
  bottom: 17%;
  border-radius: 50%;
  transform: rotateX(72deg) rotateZ(0deg);
  transform-style: preserve-3d;
  animation: nx-spin 26s linear infinite;
}
.nx-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(76, 227, 255, 0) 0deg, rgba(76, 227, 255, 0) 228deg, rgba(76, 227, 255, .9) 300deg, rgba(167, 139, 250, .7) 338deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.6px), #000 calc(100% - 1.4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.6px), #000 calc(100% - 1.4px));
}
.nx-orbit-b {
  left: 14%;
  right: 14%;
  top: 26%;
  bottom: 26%;
  animation-duration: 18s;
  animation-direction: reverse;
  transform: rotateX(64deg) rotateZ(38deg);
}
.nx-orbit-b::before {
  background: conic-gradient(from 0deg, rgba(167, 139, 250, 0) 0deg, rgba(167, 139, 250, 0) 190deg, rgba(167, 139, 250, .85) 268deg, rgba(76, 227, 255, .55) 320deg, transparent 360deg);
}
.nx-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  transform: translate(-50%, -50%) translateZ(70px) rotateY(-14deg) rotateX(7deg);
  transform-style: preserve-3d;
  animation: nx-core-bob 8s ease-in-out infinite;
  z-index: 3;
}
.nx-core img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 23%;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, .6)) drop-shadow(0 0 48px rgba(76, 227, 255, .18));
}
.nx-core::after {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: -34%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(76, 227, 255, .34), transparent 68%);
  filter: blur(14px);
}
.nx-reflect {
  position: absolute;
  top: 70%;
  left: 50%;
  width: 40%;
  height: 24%;
  transform: translateX(-50%) scaleY(-1);
  object-fit: cover;
  object-position: center top;
  opacity: .12;
  filter: blur(1.4px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 78%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 78%);
  pointer-events: none;
}
.nx-float {
  position: absolute;
  width: var(--nx-s, 62px);
  transform: translateZ(var(--nx-z, 40px)) rotate(var(--nx-r, 0deg));
  animation: nx-bob var(--nx-dur, 7s) ease-in-out infinite;
  animation-delay: var(--nx-delay, 0s);
  z-index: 2;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .48));
}
.nx-float img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 23%;
}
.nx-float::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -18%;
  height: 20%;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  filter: blur(7px);
  z-index: -1;
}
.nx-f1 { top: 2%; left: 8%; --nx-s: 86px; --nx-z: 55px; --nx-r: -9deg; --nx-dur: 7.5s; }
.nx-f2 { top: 9%; right: 4%; --nx-s: 66px; --nx-z: 90px; --nx-r: 7deg; --nx-dur: 8.4s; --nx-delay: -1.4s; }
.nx-f3 { top: 43%; left: -3%; --nx-s: 58px; --nx-z: 25px; --nx-r: -6deg; --nx-dur: 6.8s; --nx-delay: -2.1s; }
.nx-f4 { top: 39%; right: -3%; --nx-s: 74px; --nx-z: 48px; --nx-r: 5deg; --nx-dur: 9s; --nx-delay: -.7s; }
.nx-f5 { bottom: 13%; left: 12%; --nx-s: 64px; --nx-z: 75px; --nx-r: 8deg; --nx-dur: 7.9s; --nx-delay: -3s; }
.nx-f6 { bottom: 4%; right: 15%; --nx-s: 80px; --nx-z: 30px; --nx-r: -7deg; --nx-dur: 8.8s; --nx-delay: -2.4s; }

/* entrance */
.nx-hero .nx-eyebrow,
.nx-hero .nx-h1,
.nx-hero .nx-lede,
.nx-hero .nx-hero-actions,
.nx-hero .nx-metrics,
.nx-hero .nx-stage {
  animation: nx-rise .9s cubic-bezier(.16, 1, .3, 1) both;
}
.nx-hero .nx-h1 { animation-delay: .06s; }
.nx-hero .nx-lede { animation-delay: .12s; }
.nx-hero .nx-hero-actions { animation-delay: .18s; }
.nx-hero .nx-metrics { animation-delay: .24s; }
.nx-hero .nx-stage { animation-delay: .1s; animation-duration: 1.15s; }

/* ============================================================================
   PLATFORM SHOWCASE
   ========================================================================== */
.nx-platforms { position: relative; overflow: hidden; }
.nx-platforms::before {
  content: "";
  position: absolute;
  top: 18%;
  left: 50%;
  width: min(920px, 96vw);
  height: min(920px, 96vw);
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(124, 196, 255, .07);
  box-shadow: 0 0 0 90px rgba(124, 196, 255, .016), 0 0 0 180px rgba(124, 196, 255, .012);
  pointer-events: none;
}
.nx-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}
.nx-platform {
  position: relative;
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(124, 196, 255, .14);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(18, 30, 54, .72), rgba(8, 14, 28, .62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 14px 34px rgba(0, 0, 0, .26);
  overflow: hidden;
  text-decoration: none;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-color .4s ease, box-shadow .4s ease;
  transform-style: preserve-3d;
}
.nx-platform::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 120px at 18% 0%, rgba(76, 227, 255, .12), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.nx-platform:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 227, 255, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 26px 56px rgba(0, 0, 0, .46), 0 0 34px rgba(76, 227, 255, .08);
}
.nx-platform:hover::before { opacity: 1; }
.nx-platform img {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
}
.nx-platform-name {
  display: block;
  font-family: var(--t-fonthead);
  font-weight: 600;
  font-size: 1rem;
  color: #f0f8ff;
  line-height: 1.25;
}
.nx-platform-tag {
  display: block;
  margin-top: .2rem;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7f93b4;
}
.nx-platform-go {
  margin-left: auto;
  color: rgba(124, 196, 255, .5);
  font-size: .95rem;
  transition: color .3s ease, transform .3s ease;
}
.nx-platform:hover .nx-platform-go { color: #8ff4ff; transform: translateX(2px); }

/* ============================================================================
   LIVE STATISTICS
   ========================================================================== */
.nx-stats-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(124, 196, 255, .2);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(560px 260px at 8% 0%, rgba(76, 227, 255, .12), transparent 62%),
    radial-gradient(520px 280px at 96% 100%, rgba(167, 139, 250, .11), transparent 62%),
    linear-gradient(160deg, rgba(16, 27, 49, .9), rgba(7, 13, 26, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 80px rgba(0, 0, 0, .46);
}
.nx-stats-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 227, 255, .6), transparent);
}
.nx-stat {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem) 1.2rem;
  text-align: center;
}
.nx-stat + .nx-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(124, 196, 255, .22), transparent);
}
.nx-stat-value {
  display: block;
  font-family: var(--t-fonthead);
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, #ffffff, #9beeff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nx-stat-label {
  display: block;
  margin-top: .6rem;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: .66rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #8296b7;
}

/* ============================================================================
   WHY CHOOSE US
   ========================================================================== */
.nx-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .95rem;
}
.nx-why {
  position: relative;
  padding: 1.6rem;
  border: 1px solid rgba(124, 196, 255, .13);
  border-radius: 20px;
  background: linear-gradient(158deg, rgba(16, 27, 49, .72), rgba(7, 13, 26, .6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-color .4s ease, box-shadow .4s ease;
  overflow: hidden;
}
.nx-why:hover {
  transform: translateY(-5px);
  border-color: rgba(76, 227, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 26px 54px rgba(0, 0, 0, .4);
}
.nx-why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: 15px;
  color: #04121c;
  font-size: 1.35rem;
  background: linear-gradient(150deg, #a6f8ff, #4ce3ff 58%, #8fa8ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -2px 6px rgba(4, 18, 28, .25), 0 14px 28px rgba(76, 227, 255, .22);
}
.nx-why h3 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.nx-why p {
  margin: 0;
  color: var(--t-muted);
  font-size: .92rem;
  line-height: 1.62;
}
.nx-why::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 227, 255, .12), transparent 68%);
  pointer-events: none;
}

/* ============================================================================
   HOW IT WORKS
   ========================================================================== */
.nx-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: nx-step;
}
.nx-step {
  position: relative;
  padding: 1.9rem 1.7rem 1.7rem;
  border: 1px solid rgba(124, 196, 255, .13);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(17, 29, 52, .74), rgba(7, 13, 26, .62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
  overflow: hidden;
}
.nx-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(76, 227, 255, .7), rgba(167, 139, 250, .4), transparent);
  opacity: .65;
}
.nx-step-num {
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--t-fonthead);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(124, 196, 255, .38);
}
.nx-step h3 {
  margin: 0 0 .5rem;
  font-size: 1.12rem;
}
.nx-step p {
  margin: 0;
  color: var(--t-muted);
  font-size: .93rem;
  line-height: 1.65;
}
.nx-step-icon {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #9beeff;
  background: rgba(76, 227, 255, .08);
  border: 1px solid rgba(76, 227, 255, .18);
}

/* ============================================================================
   FEATURED SERVICES
   ========================================================================== */
.nx-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.nx-service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid rgba(124, 196, 255, .13);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(16, 27, 49, .76), rgba(7, 13, 26, .62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 14px 34px rgba(0, 0, 0, .24);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-color .4s ease, box-shadow .4s ease;
}
.nx-service:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 227, 255, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 28px 60px rgba(0, 0, 0, .46);
}
.nx-service-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .9rem;
}
.nx-service-head img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4));
}
.nx-service-head .bi {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(76, 227, 255, .1);
  color: #9beeff;
}
.nx-service-name {
  margin: 0;
  font-family: var(--t-fonthead);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #f0f8ff;
}
.nx-service-cat {
  margin-top: .18rem;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: .62rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #7f93b4;
}
.nx-service-desc {
  margin: 0 0 1.1rem;
  color: #95a8c8;
  font-size: .87rem;
  line-height: 1.6;
  flex: 1 1 auto;
}
.nx-service-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .8rem;
  padding-top: .95rem;
  border-top: 1px solid rgba(124, 196, 255, .1);
}
.nx-service-rate {
  font-family: var(--t-fonthead);
  font-size: 1.3rem;
  font-weight: 700;
  color: #eafcff;
  line-height: 1.1;
}
.nx-service-rate small {
  font-family: var(--t-font);
  font-size: .68rem;
  font-weight: 500;
  color: #7f93b4;
}
.nx-service-meta {
  margin-top: .2rem;
  font-size: .68rem;
  color: #7f93b4;
}
.nx-service-foot .btn { padding: .45rem .95rem; font-size: .82rem; }
.nx-empty {
  grid-column: 1 / -1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--t-muted);
  border: 1px dashed rgba(124, 196, 255, .2);
  border-radius: 18px;
  background: rgba(10, 17, 32, .5);
}

/* ============================================================================
   PRICING
   ========================================================================== */
.nx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}
.nx-price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(124, 196, 255, .16);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(16, 27, 49, .82), rgba(6, 12, 24, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px rgba(0, 0, 0, .32);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-color .4s ease;
}
.nx-price:hover { transform: translateY(-6px); border-color: rgba(76, 227, 255, .3); }
.nx-price.is-featured {
  border-color: rgba(76, 227, 255, .42);
  background:
    radial-gradient(420px 280px at 50% 0%, rgba(76, 227, 255, .16), transparent 66%),
    linear-gradient(165deg, rgba(18, 33, 58, .94), rgba(8, 14, 30, .86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 34px 80px rgba(0, 0, 0, .5), 0 0 54px rgba(76, 227, 255, .12);
  transform: translateY(-10px);
}
.nx-price.is-featured:hover { transform: translateY(-14px); }
.nx-price-badge {
  position: absolute;
  top: -.8rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .28rem .8rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #9bf6ff, #4ce3ff 55%, #a78bfa);
  color: #04121c;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(76, 227, 255, .28);
}
.nx-price-name {
  margin: 0 0 .35rem;
  font-family: var(--t-fonthead);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8ff4ff;
}
.nx-price-kicker {
  margin-bottom: .35rem;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7f93b4;
}
.nx-price-amount {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin-bottom: .3rem;
  font-family: var(--t-fonthead);
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: #f6fbff;
}
.nx-price-amount small {
  font-family: var(--t-font);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #7f93b4;
}
.nx-price-note {
  margin: 0 0 1.4rem;
  color: var(--t-muted);
  font-size: .88rem;
  line-height: 1.55;
}
.nx-price-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: .6rem;
  flex: 1 1 auto;
}
.nx-price-list li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  color: #a9bcd8;
  font-size: .88rem;
  line-height: 1.45;
}
.nx-price-list .bi {
  margin-top: .12rem;
  color: #5ff0c4;
  font-size: .9rem;
}
.nx-price .btn { width: 100%; }
.nx-price-foot {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(124, 196, 255, .1);
  color: #7f93b4;
  font-size: .74rem;
  text-align: center;
}

/* ============================================================================
   REVIEWS
   ========================================================================== */
.nx-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.nx-review {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(124, 196, 255, .13);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(17, 29, 52, .74), rgba(7, 13, 26, .62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  display: flex;
  flex-direction: column;
}
.nx-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}
.nx-review-who {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
}
.nx-review-who img,
.nx-review-who .avatar-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(124, 196, 255, .2);
}
.nx-review-who strong {
  display: block;
  font-size: .9rem;
  color: #eef7ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nx-stars {
  color: #ffd166;
  font-size: .82rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.nx-review h3 {
  margin: 0 0 .4rem;
  font-size: .98rem;
}
.nx-review p {
  margin: 0 0 1rem;
  color: #a4b6d4;
  font-size: .9rem;
  line-height: 1.64;
  flex: 1 1 auto;
}
.nx-review-svc {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid rgba(124, 196, 255, .09);
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: .63rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7f93b4;
}
.nx-reviews-empty {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(124, 196, 255, .2);
  border-radius: 20px;
  background: rgba(10, 17, 32, .5);
  color: var(--t-muted);
}

/* ============================================================================
   FAQ
   ========================================================================== */
.nx-faq { max-width: 54rem; margin-inline: auto; }
.nx-faq .accordion-item {
  margin-bottom: .65rem;
  border: 1px solid rgba(124, 196, 255, .13);
  border-radius: 16px !important;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(16, 27, 49, .72), rgba(7, 13, 26, .58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
.nx-faq .accordion-item:last-child { margin-bottom: 0; }
.nx-faq .accordion-button {
  padding: 1.15rem 1.35rem;
  font-family: var(--t-fonthead);
  font-size: .98rem;
  font-weight: 600;
  color: #e9f4ff;
  background: transparent;
  box-shadow: none;
}
.nx-faq .accordion-button:not(.collapsed) {
  color: #9beeff;
  background: rgba(76, 227, 255, .055);
}
.nx-faq .accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
  filter: invert(1) brightness(1.6) hue-rotate(150deg);
  opacity: .65;
}
.nx-faq .accordion-button:focus { box-shadow: var(--t-focus-ring); }
.nx-faq .accordion-body {
  padding: 0 1.35rem 1.25rem;
  color: #9fb2d1;
  font-size: .92rem;
  line-height: 1.68;
}

/* ============================================================================
   CTA
   ========================================================================== */
.nx-cta { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.nx-cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 6vw, 4.8rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(124, 196, 255, .24);
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(640px 320px at 50% -10%, rgba(76, 227, 255, .2), transparent 64%),
    radial-gradient(520px 300px at 92% 110%, rgba(167, 139, 250, .15), transparent 66%),
    linear-gradient(150deg, #071021, #0a1430 55%, #060c19);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 40px 100px rgba(0, 0, 0, .52);
}
.nx-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 196, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 196, 255, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 65% 80% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 65% 80% at 50% 50%, #000, transparent 78%);
  pointer-events: none;
}
.nx-cta-card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 227, 255, .75), transparent);
}
.nx-cta-inner { position: relative; z-index: 1; }
.nx-cta-card h2 {
  margin: 0 auto .9rem;
  max-width: 22ch;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.05;
}
.nx-cta-card p {
  margin: 0 auto 1.9rem;
  max-width: 42rem;
  color: #a9bddc;
  font-size: 1.02rem;
  line-height: 1.65;
}
.nx-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
}
.nx-cta-actions .btn { padding: .8rem 1.5rem; }
.nx-cta-float {
  position: absolute;
  width: 62px;
  opacity: .9;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5));
  animation: nx-bob 8s ease-in-out infinite;
  pointer-events: none;
}
.nx-cta-float img { width: 100%; height: auto; border-radius: 23%; }
.nx-cta-float-a { left: 5%; top: 18%; --nx-r: -8deg; }
.nx-cta-float-b { right: 6%; top: 24%; width: 74px; animation-delay: -2s; }
.nx-cta-float-c { left: 12%; bottom: 12%; width: 48px; animation-delay: -3.4s; }
.nx-cta-float-d { right: 12%; bottom: 9%; width: 44px; animation-delay: -1.3s; }

/* ============================================================================
   AUTH LAYOUT
   ========================================================================== */
.nx-auth {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  overflow: hidden;
  background: var(--t-auth-bg);
}
.nx-auth::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 196, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 196, 255, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 70% 30%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 60% at 70% 30%, #000, transparent 78%);
  pointer-events: none;
}
.nx-auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  max-width: 1040px;
  margin-inline: auto;
  border: 1px solid rgba(124, 196, 255, .2);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(14, 24, 44, .9), rgba(6, 11, 22, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 100px rgba(0, 0, 0, .55);
}
.nx-auth-aside {
  position: relative;
  padding: clamp(2rem, 4vw, 3.2rem);
  border-right: 1px solid rgba(124, 196, 255, .12);
  background:
    radial-gradient(420px 320px at 24% 12%, rgba(76, 227, 255, .14), transparent 64%),
    radial-gradient(360px 280px at 90% 90%, rgba(167, 139, 250, .12), transparent 66%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.nx-auth-title {
  margin: 0 0 .9rem;
  font-family: var(--t-fonthead);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: var(--t-heading-track);
  line-height: 1.08;
  color: var(--t-ink);
}
.nx-auth-aside p {
  margin: 0 0 1.6rem;
  max-width: 28rem;
  color: #a6b9d8;
  font-size: .96rem;
  line-height: 1.68;
}
.nx-auth-art {
  position: relative;
  height: 170px;
  margin: -0.5rem 0 1.4rem;
}
.nx-auth-art img {
  position: absolute;
  width: 64px;
  border-radius: 23%;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5));
  animation: nx-bob 7s ease-in-out infinite;
}
.nx-auth-art img:nth-child(1) { left: 4%; top: 24%; width: 76px; }
.nx-auth-art img:nth-child(2) { left: 36%; top: 2%; animation-delay: -2s; }
.nx-auth-art img:nth-child(3) { right: 8%; top: 34%; width: 56px; animation-delay: -3.2s; }
.nx-auth-art::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 6%;
  height: 46%;
  border-radius: 50%;
  border: 1px solid rgba(124, 196, 255, .16);
  transform: rotateX(66deg);
}
.nx-auth-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.nx-auth-points li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  color: #b6c8e4;
  font-size: .9rem;
  line-height: 1.5;
}
.nx-auth-points .bi {
  margin-top: .1rem;
  color: #5ff0c4;
}
.nx-auth-main {
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nx-auth-main h1 {
  margin: 0 0 .5rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}
.nx-auth-sub {
  margin: 0 0 1.5rem;
  color: var(--t-muted);
  font-size: .94rem;
}
.nx-auth-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  font-size: .85rem;
}
.nx-auth-main .form-control { padding: .7rem .9rem; }
.nx-auth-main .btn-lg { padding: .8rem 1rem; }

/* ============================================================================
   STUDIO BLOCKS - keep injected sections inside the same material
   ========================================================================== */
body[data-theme="nebula-3d"] .tsb { color: var(--t-ink); }
body[data-theme="nebula-3d"] .tsb .tsb-t { font-family: var(--t-fonthead); }
body[data-theme="nebula-3d"] .tsb .tsb-badge {
  border: 1px solid rgba(124, 196, 255, .22);
  background: rgba(76, 227, 255, .08);
  color: #9beeff;
}
body[data-theme="nebula-3d"] .tsb .card,
body[data-theme="nebula-3d"] .tsb .pricing-card {
  border-color: rgba(124, 196, 255, .14);
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
  .nx-stage { max-width: 500px; }
  .nx-h1 { max-width: 16ch; }
}
@media (max-width: 991.98px) {
  .nx-hero { padding-top: 2.5rem; }
  .nx-stage { margin-top: 2.5rem; max-width: 460px; }
  .nx-platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-pricing-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .nx-price.is-featured { transform: none; }
  .nx-price.is-featured:hover { transform: translateY(-6px); }
  .nx-reviews-grid { grid-template-columns: 1fr; }
  .nx-steps { grid-template-columns: 1fr; }
  .nx-step-num { font-size: 2.6rem; margin-bottom: 1rem; }
  .nx-auth-shell { grid-template-columns: 1fr; }
  .nx-auth-aside { border-right: 0; border-bottom: 1px solid rgba(124, 196, 255, .12); }
  .nx-auth-art { display: none; }
}
@media (max-width: 767.98px) {
  .nx-h1 { font-size: clamp(2.35rem, 10vw, 3.2rem); max-width: 100%; }
  .nx-lede { font-size: 1rem; }
  .nx-metrics { gap: .9rem 0; }
  .nx-metric { min-width: 6.4rem; padding-right: 1rem; }
  .nx-metric + .nx-metric { padding-left: 1rem; }
  .nx-stage { max-width: 390px; }
  .nx-f1 { --nx-s: 66px; left: 2%; }
  .nx-f2 { --nx-s: 52px; right: 0; }
  .nx-f3, .nx-f5 { display: none; }
  .nx-f4 { --nx-s: 58px; right: -1%; }
  .nx-f6 { --nx-s: 62px; right: 6%; }
  .nx-platform-grid { gap: .65rem; }
  .nx-platform { padding: .85rem; gap: .7rem; }
  .nx-platform img { width: 42px; height: 42px; }
  .nx-platform-name { font-size: .88rem; }
  .nx-platform-tag { display: none; }
  .nx-platform-go { display: none; }
  .nx-stats-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-stat:nth-child(3)::before { display: none; }
  .nx-stat:nth-child(1)::after,
  .nx-stat:nth-child(2)::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 196, 255, .18), transparent);
  }
  .nx-why-grid { grid-template-columns: 1fr; }
  .nx-services-grid { grid-template-columns: 1fr; }
  .nx-cta-float { display: none; }
  .nx-cta-card { border-radius: 24px; }
  .nx-cta-card p { font-size: .95rem; }
  .nx-faq .accordion-button { font-size: .92rem; padding: 1rem 1.1rem; }
  .nx-faq .accordion-body { padding: 0 1.1rem 1.1rem; }
}
@media (max-width: 575.98px) {
  .nx-hero-actions { flex-direction: column; align-items: stretch; }
  .nx-hero-actions .btn { justify-content: center; }
  .nx-stage { max-width: 320px; }
  .nx-float { --nx-z: 20px; }
  .nx-platform img { width: 36px; height: 36px; }
  .nx-platform-name { font-size: .8rem; }
  .nx-auth { padding-top: 1.5rem; }
  .nx-auth-main, .nx-auth-aside { padding: 1.5rem; }
  .nx-auth-links { flex-direction: column; gap: .5rem; }
}

/* ============================================================================
   MOTION
   ========================================================================== */
@keyframes nx-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes nx-bob {
  0%, 100% { transform: translate3d(0, 0, var(--nx-z, 0px)) rotate(var(--nx-r, 0deg)); }
  50% { transform: translate3d(0, -14px, var(--nx-z, 0px)) rotate(var(--nx-r, 0deg)); }
}
@keyframes nx-core-bob {
  0%, 100% { transform: translate(-50%, -50%) translateZ(70px) rotateY(-14deg) rotateX(7deg); }
  50% { transform: translate(-50%, calc(-50% - 12px)) translateZ(70px) rotateY(-14deg) rotateX(7deg); }
}
@keyframes nx-spin {
  from { transform: rotateX(72deg) rotateZ(0deg); }
  to { transform: rotateX(72deg) rotateZ(360deg); }
}
@keyframes nx-breathe {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes nx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(99, 255, 209, .55); }
  70% { box-shadow: 0 0 0 8px rgba(99, 255, 209, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 255, 209, 0); }
}

@media (prefers-reduced-motion: reduce) {
  body[data-theme="nebula-3d"] *,
  body[data-theme="nebula-3d"] *::before,
  body[data-theme="nebula-3d"] *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .nx-js .nx-reveal { opacity: 1; transform: none; }
  .nx-orbit { animation: none; }
  .nx-stage-halo { animation: none; }
}
