:root {
  /* Ink & surfaces */
  --nx-ink: #0a0a12;
  --nx-ink-2: #10101d;
  --nx-ink-3: #17172a;
  --nx-line-dark: rgba(255, 255, 255, 0.08);

  /* Light surfaces */
  --nx-bg: #f6f7fb;
  --nx-surface: #ffffff;
  --nx-surface-2: #eef0f7;
  --nx-line: #e4e6ef;

  /* Text */
  --nx-text: #14141f;
  --nx-muted: #5c5f74;
  --nx-text-inv: #f4f5fb;
  --nx-muted-inv: #a2a5be;

  /* Accents */
  --nx-blue: #1c35ea;
  --nx-blue-600: #1428c4;
  --nx-blue-300: #7f93ff;
  --nx-cyan: #2ee6d6;
  --nx-cyan-600: #17c9bd;

  /* Gradients */
  --nx-grad: linear-gradient(120deg, #1c35ea 0%, #3d63ff 50%, #2ec4e6 100%);
  --nx-grad-text: linear-gradient(120deg, #6a82ff 0%, #8fa2ff 40%, #2ee6d6 100%);
  --nx-grad-soft: linear-gradient(120deg, rgba(28, 53, 234, 0.16), rgba(46, 230, 214, 0.16));

  /* Shape */
  --nx-radius: 18px;
  --nx-radius-sm: 12px;
  --nx-radius-lg: 26px;
  --nx-shadow: 0 24px 60px -28px rgba(20, 20, 40, 0.35);
  --nx-shadow-sm: 0 10px 30px -18px rgba(20, 20, 40, 0.3);
  --nx-ring: 0 0 0 1px var(--nx-line);

  /* Type */
  --nx-font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --nx-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --nx-nav-h: 76px;
}

/* Base */
* { -webkit-font-smoothing: antialiased; }

/* Container gutter */
.container { --bs-gutter-x: 2.5rem; }
@media (min-width: 992px) { .container { --bs-gutter-x: 3rem; } }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--nx-font-body);
  color: var(--nx-text);
  background: var(--nx-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .nx-display {
  font-family: var(--nx-font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--nx-text);
}

a { color: var(--nx-blue-600); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--nx-blue); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; }

::selection { background: rgba(28, 53, 234, 0.24); }

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--nx-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.nx-skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 2000;
  background: var(--nx-ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.nx-skip:focus { top: 16px; color: #fff; }

/* Section rhythm & shared type utilities */
.nx-section { padding: clamp(64px, 8vw, 120px) 0; }
.nx-section-tight { padding: clamp(48px, 6vw, 80px) 0; }

.nx-ink-section { background: var(--nx-ink); color: var(--nx-text-inv); }
.nx-ink-section h1, .nx-ink-section h2, .nx-ink-section h3,
.nx-ink-section h4, .nx-ink-section h5 { color: var(--nx-text-inv); }

.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nx-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-blue-600);
  margin-bottom: 18px;
}
.nx-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--nx-grad);
}
.nx-ink-section .nx-eyebrow { color: var(--nx-cyan); }

.nx-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.nx-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--nx-muted); }
.nx-ink-section .nx-lead { color: var(--nx-muted-inv); }

.nx-grad-text {
  background: var(--nx-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-muted-nx { color: var(--nx-muted) !important; }

/* Buttons */
.nx-btn {
  --_bg: var(--nx-ink);
  --_fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--nx-font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--_bg);
  color: var(--_fg);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.nx-btn:hover { transform: translateY(-2px); color: var(--_fg); }
.nx-btn:active { transform: translateY(0); }

.nx-btn--primary {
  --_bg: var(--nx-blue);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(28, 53, 234, 0.7);
}
.nx-btn--primary:hover { --_bg: var(--nx-blue-600); box-shadow: 0 18px 40px -12px rgba(28, 53, 234, 0.8); }

.nx-btn--grad {
  background: var(--nx-grad);
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(28, 53, 234, 0.75);
}
.nx-btn--grad:hover { color: #fff; filter: brightness(1.12); }

.nx-btn--dark { --_bg: var(--nx-ink); color: #fff; }
.nx-btn--dark:hover { --_bg: #000; color: #fff; }

.nx-btn--ghost {
  background: transparent;
  color: var(--nx-text);
  border-color: var(--nx-line);
}
.nx-btn--ghost:hover { border-color: var(--nx-ink); color: var(--nx-text); background: transparent; }

.nx-btn--ghost-inv {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.nx-btn--ghost-inv:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

.nx-btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.nx-btn--block { width: 100%; }

.nx-arrow { transition: transform 0.2s ease; }
.nx-btn:hover .nx-arrow { transform: translateX(4px); }

/* Navbar */
.nx-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: var(--nx-nav-h);
  background: linear-gradient(100deg, #081046 0%, #1425a4 42%, #1c35ea 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: box-shadow 0.25s ease;
}
.nx-nav.is-stuck { box-shadow: 0 12px 34px -14px rgba(20, 37, 164, 0.75); }
.nx-nav__inner {
  height: var(--nx-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nx-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--nx-font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  color: #fff;
}
.nx-brand:hover { color: #fff; }
.nx-brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
}

.nx-brand__mark img {
  object-fit: contain;
  display: block;
}

.nx-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nx-nav__links a {
  display: block;
  padding: 9px 15px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  font-size: 0.96rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.nx-nav__links a:hover,
.nx-nav__links a.is-active { background: rgba(255, 255, 255, 0.16); color: #fff; }

.nx-nav__cta { display: flex; align-items: center; gap: 12px; }
.nx-nav .nx-btn--primary { --_bg: #fff; color: var(--nx-blue-600); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.5); }
.nx-nav .nx-btn--primary:hover { --_bg: #e8ebfd; color: var(--nx-blue-600); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.55); }

.nx-nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nx-nav__toggle span,
.nx-nav__toggle span::before,
.nx-nav__toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  position: relative;
}
.nx-nav__toggle span::before { position: absolute; top: -6px; }
.nx-nav__toggle span::after { position: absolute; top: 6px; }
.nx-nav__toggle[aria-expanded="true"] span { background: transparent; }
.nx-nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nx-nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nx-drawer {
  position: fixed;
  inset: var(--nx-nav-h) 0 0 0;
  z-index: 1020;
  background: #0b1250;
  padding: 24px 20px 40px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  visibility: hidden;
}
.nx-drawer.is-open { transform: translateX(0); visibility: visible; }
.nx-drawer ul { list-style: none; margin: 0 0 24px; padding: 0; }
.nx-drawer a {
  display: block;
  padding: 16px 8px;
  font-family: var(--nx-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.nx-drawer .nx-btn { width: 100%; justify-content: center; text-align: center; border-bottom: 0; }
.nx-drawer .nx-btn--primary { --_bg: #fff; color: var(--nx-blue-600); }

@media (max-width: 991.98px) {
  .nx-nav__links, .nx-nav__cta .nx-btn { display: none; }
  .nx-nav__toggle { display: inline-flex; }
}

/* Hero */
.nx-hero {
  position: relative;
  background: var(--nx-ink);
  color: var(--nx-text-inv);
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 120px);
}
.nx-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 55% at 15% 8%, rgba(28, 53, 234, 0.55), transparent 60%),
    radial-gradient(45% 50% at 92% 20%, rgba(46, 230, 214, 0.4), transparent 60%),
    radial-gradient(60% 60% at 80% 100%, rgba(34, 71, 238, 0.35), transparent 62%);
  filter: saturate(120%);
}
.nx-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}
.nx-hero .container { position: relative; z-index: 2; }

.nx-hero h1, .nx-pagehero h1 { color: var(--nx-text-inv); }
.nx-hero h1 { font-size: clamp(1.5rem, 6vw, 4.3rem); margin-bottom: 22px; }
.nx-hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--nx-muted-inv); max-width: 40ch; }

.nx-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 26px;
}
.nx-pill__dot {
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--nx-grad);
  display: grid; place-items: center;
  color: #0a0a12; font-size: 11px; font-weight: 700;
}

/* Live hero */
.nx-hero--live {
  display: flex;
  align-items: center;
  isolation: isolate;
  min-height: clamp(620px, calc(100vh - var(--nx-nav-h)), 920px);
  min-height: clamp(620px, calc(100svh - var(--nx-nav-h)), 920px);
  padding: clamp(40px, 7vw, 96px) 0 clamp(96px, 13vw, 220px);
}
.nx-hero--live > .container { width: 100%; }
.nx-hero--live h1 { font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.55rem); line-height: 1.08; }
.nx-hero--live .nx-hero__sub { max-width: 34ch; }
.nx-hero__ambient {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 55% at 70% 45%, rgba(34, 211, 238, 0.12), transparent 70%),
    radial-gradient(60% 38% at 62% 100%, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(40% 28% at 30% 100%, rgba(14, 116, 144, 0.14), transparent 70%);
}

/* Wave bars (canvas) */
.nx-wave {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: clamp(300px, 62%, 580px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, #000 70%, transparent 100%);
}
.nx-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nx-wave__glow { filter: blur(20px) saturate(1.35); opacity: 0.95; mix-blend-mode: screen; }

/* Frosted glass frame */
.nx-glass { position: relative; width: 100%; max-width: 720px; margin-left: auto; padding: 36px 28px; }

.nx-glass__orb { position: absolute; border-radius: 50%; will-change: transform; }
.nx-glass__orb--a {                                   /* big cyan orb, top right */
  width: clamp(150px, 36%, 260px); aspect-ratio: 1; right: -2%; top: -2%;
  background: radial-gradient(circle at 30% 28%, #aba5fc 0%, #2225ee 38%, #0b08b2 72%, #0e2190 100%);
  box-shadow: 0 0 90px rgba(65, 34, 238, 0.45);
  animation: nx-drift-a 11s ease-in-out infinite alternate;
}
.nx-glass__orb--b {                                   /* deep blue orb, bottom left */
  width: clamp(90px, 22%, 160px); aspect-ratio: 1; left: -1%; bottom: 0;
  background: radial-gradient(circle at 32% 30%, #7d7ffc 0%, #0e41e9 45%, #260c6e 100%);
  box-shadow: 0 0 70px rgba(14, 54, 233, 0.4);
  animation: nx-drift-b 13s ease-in-out infinite alternate;
}
.nx-glass__orb--c {                                   /* small bright orb, top left */
  width: clamp(36px, 8%, 60px); aspect-ratio: 1; left: 9%; top: 2%;
  background: radial-gradient(circle at 35% 30%, #eeecff, #6771f9 55%, #0830b2);
  animation: nx-drift-c 9s ease-in-out infinite alternate;
}
@keyframes nx-drift-a { from { transform: translate(0, 0); }       to { transform: translate(-26px, 34px); } }
@keyframes nx-drift-b { from { transform: translate(0, 0); }       to { transform: translate(30px, -26px); } }
@keyframes nx-drift-c { from { transform: translate(0, 0); }       to { transform: translate(18px, 22px); } }

.nx-glass__float { position: relative; z-index: 1; perspective: 1600px; animation: nx-bob 8s ease-in-out infinite; }
@keyframes nx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.nx-glass__frame {
  --rx: 3deg; --ry: -7deg;
  position: relative; padding: clamp(4px, 2.2%, 8px);
  border-radius: 26px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(140deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, 0.06) 55%, rgba(255, 255, 255, 0.1));
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
          backdrop-filter: blur(26px) saturate(1.5);
  box-shadow:
    0 30px 70px -10px rgba(0, 0, 0, .75),
    0 0 70px rgba(48, 34, 238, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px rgba(255, 255, 255, 0.06);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.nx-glass__frame::before {                           /* bright rim light along the glass edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1) 32%, rgba(255, 255, 255, 0.04) 62%, rgba(125, 155, 255, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.nx-glass__frame::after {                            /* slow specular sweep */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.13) 46%, rgba(255,255,255,.03) 54%, transparent 68%);
  background-size: 260% 100%; background-position: 130% 0;
  animation: nx-sheen 9s ease-in-out infinite;
}
@keyframes nx-sheen { 0% { background-position: 130% 0; } 55%, 100% { background-position: -40% 0; } }

/* Screen inside the glass */
.nx-glass__screen {
  container-type: inline-size;
  aspect-ratio: 16 / 10;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 12, 16, .72), rgba(8, 10, 14, .82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 14px rgba(0, 0, 0, .35);
}
.nx-glass__chrome {
  position: relative; flex: none; height: 4.6cqw;
  display: flex; align-items: center; gap: 1cqw; padding: 0 2cqw;
  background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nx-glass__chrome .nx-glass__dot { width: 1cqw; height: 1cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.nx-glass__addr {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 38cqw; height: 2.6cqw; border-radius: 1.4cqw; background: rgba(255, 255, 255, 0.07);
  display: flex; align-items: center; justify-content: center; gap: .8cqw;
  font-size: max(7px, 1.25cqw); color: rgba(255, 255, 255, 0.6); letter-spacing: .01em;
}
.nx-glass__addr::before { content: ""; width: .9cqw; height: .9cqw; border-radius: 50%; background: var(--nx-blue); opacity: .85; }
.nx-glass__url { transition: opacity .18s ease; }
.nx-glass__url.is-swap { opacity: 0; }
.nx-glass__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, #2708b2, #2247ee, #a5b5fc); box-shadow: 0 0 8px var(--nx-blue); opacity: 0;
}
.nx-glass__progress.is-run { animation: nx-load 4.4s cubic-bezier(.3, .6, .4, 1) forwards; }
@keyframes nx-load { 0% { width: 0; opacity: 1; } 88% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
.nx-glass__viewport { position: relative; flex: 1; overflow: hidden; }

/* Skeleton primitives */
.nx-sk-page { position: absolute; inset: 0; padding: 3cqw; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }
.nx-sk-page.is-on { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.nx-sk {
  display: block; border-radius: .8cqw;
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.06) 70%);
  background-size: 200% 100%; animation: nx-shimmer 1.8s ease-in-out infinite;
  opacity: 0; transform: translateY(.8cqw);
}
.nx-sk.nx-sk--acc { background-image: linear-gradient(100deg, rgba(34, 54, 238, 0.12) 30%, rgba(125, 127, 255, 0.4) 50%, rgba(34, 37, 238, 0.12) 70%); }
.nx-sk.nx-sk--c { border-radius: 50%; } .nx-sk.nx-sk--pill { border-radius: 99px; }
.nx-sk-page.is-on .nx-sk {
  opacity: 1; transform: none;
  transition: opacity .5s ease calc(var(--i, 0) * 40ms), transform .5s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 40ms);
}
@keyframes nx-shimmer { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.nx-sk-row { display: flex; align-items: center; gap: 1.4cqw; }
.nx-sk-col { display: flex; flex-direction: column; gap: 1.1cqw; }
.nx-sk-grow { flex: 1; }
.nx-sk-panel { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 1.2cqw; }

/* Tablet & phone */
@media (max-width: 991.98px) {
  .nx-hero--live { min-height: 0; }
  .nx-hero--live .row { --bs-gutter-y: 2.25rem; }
  .nx-hero--live .nx-hero__sub { max-width: 46ch; }
  .nx-glass { max-width: 600px; margin: 0 auto; padding: 26px 16px; }
  .nx-glass__frame {
    border-radius: 20px;
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
            backdrop-filter: blur(16px) saturate(1.4);
  }
  .nx-glass__screen { border-radius: 12px; }
  .nx-wave__glow { filter: blur(12px) saturate(1.35); }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nx-glass { padding: 28px 18px; }
}
/* Small phones */
@media (max-width: 575.98px) {
  .nx-hero--live { padding-top: 32px; padding-bottom: 80px; }
  .nx-hero--live .nx-pill { margin-bottom: 20px; font-size: 0.8rem; }
  .nx-hero--live .nx-btn { width: 100%; justify-content: center; }
  .nx-glass { padding: 22px 8px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .nx-hero--live { padding-top: 28px; padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-glass__float, .nx-glass__orb, .nx-glass__frame::after { animation: none; }
  .nx-sk { animation: none; }
  .nx-sk-page.is-on .nx-sk { transition: none; }
  .nx-glass__frame { transition: none; }
  .nx-glass__progress { animation: none !important; width: 100%; opacity: .6; }
}

/* Trusted-by strip */
.nx-trust { padding: 34px 0; border-bottom: 1px solid var(--nx-line); background: var(--nx-surface); }
.nx-trust__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-muted);
  font-weight: 600;
}
.nx-trust__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}
.nx-chip-logo {
  font-family: var(--nx-font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: #43465c;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--nx-line);
  background: var(--nx-bg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nx-chip-logo::before {
  content: "";
  width: 9px; height: 9px; border-radius: 3px;
  background: var(--nx-grad);
  opacity: 0.85;
}

/* Services grid */
.nx-card {
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  padding: 30px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.nx-card:hover { transform: translateY(-5px); box-shadow: var(--nx-shadow); border-color: transparent; }

.nx-svc__ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--nx-grad-soft);
  color: var(--nx-blue-600);
  margin-bottom: 20px;
}
.nx-svc__ico svg { width: 26px; height: 26px; }
.nx-svc h3 { font-size: 1.24rem; margin-bottom: 10px; }
.nx-svc p { color: var(--nx-muted); font-size: 0.96rem; margin-bottom: 16px; }
.nx-svc__link {
  font-family: var(--nx-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nx-svc__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.nx-svc__tags li {
  font-size: 0.78rem;
  color: var(--nx-muted);
  background: var(--nx-surface-2);
  padding: 5px 11px;
  border-radius: 8px;
}

/* How we work — process */
.nx-step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--nx-radius);
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  height: 100%;
}
.nx-step__num {
  font-family: var(--nx-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--nx-ink);
  color: #fff;
  margin-bottom: 20px;
}
.nx-step h3 { font-size: 1.16rem; margin-bottom: 9px; }
.nx-step p { color: var(--nx-muted); font-size: 0.94rem; margin: 0; }
.nx-step__time {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nx-blue-600);
  background: rgba(28, 53, 234, 0.09);
  padding: 4px 11px;
  border-radius: 8px;
}
.nx-step__arrow {
  position: absolute;
  top: 46px;
  right: -13px;
  z-index: 3;
  color: var(--nx-line);
}
@media (max-width: 991.98px) { .nx-step__arrow { display: none; } }

/* Feature split + inline mockup */
.nx-feature__list { list-style: none; margin: 26px 0 0; padding: 0; }
.nx-feature__list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--nx-line);
}
.nx-feature__list li:first-child { border-top: 0; }
.nx-feature__check {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(46, 230, 214, 0.14);
  color: var(--nx-cyan-600);
  display: grid; place-items: center;
}
.nx-feature__list b { font-family: var(--nx-font-display); display: block; font-size: 1.02rem; margin-bottom: 2px; }
.nx-feature__list span { color: var(--nx-muted); font-size: 0.92rem; }

.nx-panel {
  border-radius: var(--nx-radius-lg);
  background: var(--nx-ink);
  border: 1px solid var(--nx-line-dark);
  padding: 26px;
  color: #fff;
  box-shadow: var(--nx-shadow);
}
.nx-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.nx-panel__head b { font-family: var(--nx-font-display); font-size: 1.05rem; }
.nx-panel__pipe { display: grid; gap: 10px; }
.nx-pipe-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}
.nx-pipe-row .st {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.st--ok { background: rgba(46, 230, 214, 0.16); color: var(--nx-cyan); }
.st--run { background: rgba(28, 53, 234, 0.22); color: #b3c0ff; }
.st--wait { background: rgba(255, 255, 255, 0.08); color: var(--nx-muted-inv); }
.nx-pipe-row .ic {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: rgba(255, 255, 255, 0.06);
  display: grid; place-items: center; color: #fff;
}

/* Metrics band  */
.nx-metrics { text-align: center; }
.nx-metric b {
  font-family: var(--nx-font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  display: block;
  color: #fff;
}
.nx-metric .nx-grad-text { -webkit-text-fill-color: transparent; }
.nx-metric span { color: var(--nx-muted-inv); font-size: 0.94rem; margin-top: 8px; display: block; }
.nx-metrics .col { border-left: 1px solid var(--nx-line-dark); }
.nx-metrics .col:first-child { border-left: 0; }
@media (max-width: 767.98px) {
  .nx-metrics .col:nth-child(odd) { border-left: 0; }
  .nx-metric b { font-size: 2.6rem; }
}

/* Case studies */
.nx-case {
  display: block;
  border-radius: var(--nx-radius);
  overflow: hidden;
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  color: var(--nx-text);
}
.nx-case:hover { transform: translateY(-5px); box-shadow: var(--nx-shadow); border-color: transparent; color: var(--nx-text); }
.nx-case__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nx-surface-2); }
.nx-case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.nx-case:hover .nx-case__media img { transform: scale(1.05); }
.nx-case__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(10, 10, 18, 0.82);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.nx-case__body { padding: 24px; }
.nx-case__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.nx-case__body p { color: var(--nx-muted); font-size: 0.92rem; margin-bottom: 16px; }
.nx-case__result {
  display: flex;
  gap: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--nx-line);
}
.nx-case__result b { font-family: var(--nx-font-display); font-size: 1.24rem; display: block; color: var(--nx-blue-600); }
.nx-case__result span { font-size: 0.78rem; color: var(--nx-muted); }

/* Tech stack chips */
.nx-stack { display: flex; flex-wrap: wrap; gap: 10px; }
.nx-stack__chip {
  font-family: var(--nx-font-display);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--nx-text);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--nx-line);
  background: var(--nx-surface);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nx-stack__chip:hover { border-color: var(--nx-blue); color: var(--nx-blue-600); transform: translateY(-2px); }

/* Team */
.nx-team__card { text-align: center; }
.nx-team__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--nx-radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--nx-surface-2);
  border: 1px solid var(--nx-line);
}
.nx-team__photo img { width: 100%; height: 100%; object-fit: cover; }
.nx-team__card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.nx-team__card p { color: var(--nx-muted); font-size: 0.88rem; margin: 0; }
.nx-team__social {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, transparent, rgba(10,10,18,0.72));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nx-team__photo:hover .nx-team__social,
.nx-team__photo:focus-within .nx-team__social { opacity: 1; }
.nx-team__social a {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,0.92);
  display: grid; place-items: center;
  color: var(--nx-ink);
}
.nx-team__social a:hover { background: #fff; }

/* Pricing */
.nx-price {
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius-lg);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nx-price:hover { transform: translateY(-4px); box-shadow: var(--nx-shadow); }
.nx-price--featured {
  background: var(--nx-ink);
  color: #fff;
  border-color: transparent;
  position: relative;
  box-shadow: var(--nx-shadow);
}
.nx-price--featured h3, .nx-price--featured .nx-price__amt { color: #fff; }
.nx-price__badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--nx-grad);
  color: #0a0a12;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.nx-price h3 { font-size: 1.2rem; margin-bottom: 6px; }
.nx-price__desc { font-size: 0.88rem; color: var(--nx-muted); margin-bottom: 22px; }
.nx-price--featured .nx-price__desc { color: var(--nx-muted-inv); }
.nx-price__amt { font-family: var(--nx-font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; }
.nx-price__amt sup { font-size: 1rem; font-weight: 600; top: -0.9em; }
.nx-price__per { font-size: 0.86rem; color: var(--nx-muted); }
.nx-price--featured .nx-price__per { color: var(--nx-muted-inv); }
.nx-price__list { list-style: none; margin: 24px 0; padding: 0; flex: 1; }
.nx-price__list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.92rem;
}
.nx-price__list svg { flex: none; margin-top: 3px; color: var(--nx-cyan-600); }
.nx-price--featured .nx-price__list svg { color: var(--nx-cyan); }

/* Testimonials slider */
.nx-quotes { position: relative; }
.nx-quote {
  display: none;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.nx-quote.is-active { display: block; animation: nxFade 0.5s ease; }
@keyframes nxFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.nx-quote__stars { color: var(--nx-cyan); margin-bottom: 22px; letter-spacing: 3px; }
.nx-quote blockquote {
  font-family: var(--nx-font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 30px;
  color: var(--nx-text-inv);
}
.nx-ink-section .nx-quote blockquote { color: var(--nx-text-inv); }
.nx-quote__author { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.nx-quote__author img { width: 54px; height: 54px; border-radius: 999px; object-fit: cover; border: 2px solid rgba(255,255,255,0.14); }
.nx-quote__author b { font-family: var(--nx-font-display); display: block; color: #fff; }
.nx-quote__author span { font-size: 0.86rem; color: var(--nx-muted-inv); }
.nx-quotes__nav { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.nx-quotes__dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: rgba(255,255,255,0.24);
  border: 0; padding: 0; cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.nx-quotes__dot.is-active { width: 26px; background: var(--nx-cyan); }

/* Contact / CTA band + form */
.nx-cta { position: relative; overflow: hidden; }
.nx-cta__mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 88% 10%, rgba(46, 230, 205, 0.35), transparent 60%),
    radial-gradient(45% 70% at 6% 100%, rgba(28, 53, 234, 0.4), transparent 62%);
}
.nx-cta .container { position: relative; z-index: 2; }
.nx-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--nx-line-dark);
  border-radius: var(--nx-radius-lg);
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(8px);
}
.nx-field { margin-bottom: 16px; }
.nx-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--nx-muted-inv);
}
.nx-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 13px 16px;
  color: #fff;
  font-family: var(--nx-font-body);
  font-size: 0.96rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nx-input::placeholder { color: rgba(255,255,255,0.4); }
.nx-input:focus {
  outline: none;
  border-color: var(--nx-blue);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(28, 53, 234, 0.18);
}
textarea.nx-input { min-height: 120px; resize: vertical; }
.nx-form__note { font-size: 0.8rem; color: var(--nx-muted-inv); margin: 8px 0 0; }
.nx-form__ok {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(46, 230, 214, 0.14);
  border: 1px solid rgba(46, 230, 214, 0.4);
  color: var(--nx-cyan);
  font-size: 0.9rem;
  font-weight: 600;
}
.nx-form__ok.is-visible { display: block; }

.nx-contact__list { list-style: none; margin: 28px 0 0; padding: 0; }
.nx-contact__list li { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 22px; }
.nx-contact__ico {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--nx-line-dark);
  display: grid; place-items: center;
  color: var(--nx-cyan);
}
.nx-contact__list small { display: block; color: var(--nx-muted-inv); font-size: 0.8rem; margin-bottom: 2px; }
.nx-contact__list b { font-family: var(--nx-font-display); color: #fff; font-weight: 500; }

/* Page hero (services) */
.nx-pagehero {
  position: relative;
  background: var(--nx-ink);
  color: #fff;
  overflow: hidden;
  padding: clamp(80px, 11vw, 130px) 0 clamp(60px, 8vw, 96px);
}
.nx-pagehero .container { position: relative; z-index: 2; }
.nx-pagehero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 18px; }
.nx-pagehero .nx-lead { color: var(--nx-muted-inv); }
.nx-breadcrumb { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 22px; font-size: 0.86rem; }
.nx-breadcrumb a { color: var(--nx-muted-inv); }
.nx-breadcrumb a:hover { color: #fff; }
.nx-breadcrumb li[aria-current] { color: var(--nx-cyan); }
.nx-breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,0.3); margin-right: 10px; }

/* Detailed service block */
.nx-svc-detail {
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius-lg);
  padding: clamp(26px, 4vw, 42px);
  height: 100%;
}
.nx-svc-detail__ico {
  width: 58px; height: 58px; border-radius: 15px;
  background: var(--nx-grad-soft); color: var(--nx-blue-600);
  display: grid; place-items: center; margin-bottom: 22px;
}
.nx-svc-detail h2 { font-size: 1.5rem; margin-bottom: 12px; }
.nx-svc-detail > p { color: var(--nx-muted); margin-bottom: 22px; }
.nx-deliver { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nx-deliver li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.94rem; }
.nx-deliver svg { flex: none; margin-top: 3px; color: var(--nx-cyan-600); }
.nx-svc-detail__meta {
  display: flex; flex-wrap: wrap; gap: 20px 32px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--nx-line);
}
.nx-svc-detail__meta small { color: var(--nx-muted); font-size: 0.78rem; display: block; }
.nx-svc-detail__meta b { font-family: var(--nx-font-display); font-size: 1.05rem; }

/* Timeline process (services page) */
.nx-timeline { position: relative; max-width: 820px; margin: 0 auto; }
.nx-timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--nx-blue), var(--nx-cyan));
}
.nx-tl {
  position: relative;
  padding: 0 0 34px 76px;
}
.nx-tl:last-child { padding-bottom: 0; }
.nx-tl__dot {
  position: absolute; left: 12px; top: 0;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--nx-surface);
  border: 2px solid var(--nx-blue);
  display: grid; place-items: center;
  font-family: var(--nx-font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--nx-blue-600);
  z-index: 2;
}
.nx-tl h3 { font-size: 1.16rem; margin-bottom: 6px; }
.nx-tl__time { font-size: 0.8rem; font-weight: 600; color: var(--nx-cyan-600); }
.nx-tl p { color: var(--nx-muted); font-size: 0.95rem; margin: 6px 0 0; }

/* FAQ */
.nx-faq { border-top: 1px solid var(--nx-line); }
.nx-faq details { border-bottom: 1px solid var(--nx-line); }
.nx-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-family: var(--nx-font-display);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--nx-blue-600);
  transition: transform 0.2s ease;
  line-height: 1;
}
.nx-faq details[open] summary::after { transform: rotate(45deg); }
.nx-faq p { color: var(--nx-muted); padding: 0 4px 22px; margin: 0; max-width: 74ch; }

/* Footer */
.nx-footer { background: var(--nx-ink); color: var(--nx-muted-inv); padding: 72px 0 34px; }
.nx-footer .nx-brand { color: #fff; }
.nx-footer p { font-size: 0.94rem; max-width: 34ch; }
.nx-footer h4 {
  font-family: var(--nx-font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.nx-footer ul { list-style: none; padding: 0; margin: 0; }
.nx-footer ul li { margin-bottom: 11px; }
.nx-footer ul a { color: var(--nx-muted-inv); font-size: 0.94rem; }
.nx-footer ul a:hover { color: #fff; }
.nx-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.nx-footer__social a {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--nx-line-dark);
  display: grid; place-items: center;
  color: var(--nx-muted-inv);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.nx-footer__social a:hover { color: #fff; border-color: var(--nx-blue); background: rgba(28,53,234,0.14); }
.nx-footer__bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--nx-line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
}
.nx-footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nx-footer__bottom a { color: var(--nx-muted-inv); }
.nx-footer__bottom a:hover { color: #fff; }

/*  Reveal on scroll */
.nx-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.nx-reveal.is-in { opacity: 1; transform: none; }
.nx-reveal[data-delay="1"] { transition-delay: 0.08s; }
.nx-reveal[data-delay="2"] { transition-delay: 0.16s; }
.nx-reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .nx-reveal { opacity: 1; transform: none; }
}

/* Utility spacers */
.nx-mt-neg { margin-top: -1px; }
