/* ==========================================================================
   NXTLIFT — Premium design system v2 (home + contact)
   Self-contained: does NOT depend on Bootstrap / styles.css.
   ========================================================================== */

:root {
    --bg: #05070f;
    --bg-2: #080c18;
    --ink: #eef1f9;
    --text: #c3cbe0;
    --muted: #8590ab;
    --faint: #5c6785;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --glass: rgba(255, 255, 255, 0.035);
    --glass-2: rgba(255, 255, 255, 0.06);
    --blue: #5b86ff;
    --blue-deep: #2f5fe8;
    --amber: #f5a623;
    --mint: #4ade80;
    --violet: #9a86ff;
    --rose: #ff6b81;
    --f-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --wrap: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.nx-body {
    margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65; color: var(--text);
    background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
:where(.nx-body) :is(h1, h2, h3, h4, h5, h6) {
    margin: 0; font-family: var(--f-display); font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1.08;
}
:where(.nx-body) p { margin: 0; }
:where(.nx-body) a { color: inherit; text-decoration: none; }
:where(.nx-body) ul { list-style: none; margin: 0; padding: 0; }
.nx-body button, .nx-body input, .nx-body textarea { font: inherit; }
.nx-body button { cursor: pointer; }
.nx-body img, .nx-body svg { display: block; max-width: 100%; }
.nx-body ::selection { background: rgba(91, 134, 255, 0.4); color: #fff; }
.nx-body :focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.i { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }
.mono { font-family: var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }

/* Subtle film grain over the whole page for depth */
body.nx-body::after {
    content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Reveal on scroll ---------- */
.js .nx-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .nx-reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   NAVBAR (floating glass pill)
   ========================================================================== */
.nx-nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 1030; transition: top 0.35s var(--ease); }
.nx-nav .bar {
    display: flex; align-items: center; justify-content: space-between; position: relative;
    padding: 10px 10px 10px 22px; border-radius: 18px; border: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nx-nav.scrolled .bar {
    background: rgba(8, 12, 24, 0.72); border-color: var(--line);
    -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}
.nx-brand { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.04em; color: #fff; display: inline-flex; align-items: center; }
.nx-brand b { color: var(--amber); font-weight: 800; }
.nx-menu { display: flex; align-items: center; }
.nx-links { display: flex; align-items: center; gap: 2px; }
.nx-links a {
    font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9aa6c0;
    padding: 11px 16px; border-radius: 12px; display: inline-block; transition: color 0.2s ease, background 0.2s ease;
}
.nx-links a:hover, .nx-links a.active { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nx-links a.nx-nav-cta {
    color: #130d00; background: linear-gradient(135deg, #ffc15a, #f5a623); font-weight: 700; margin-left: 8px;
    box-shadow: 0 10px 28px -10px rgba(245, 166, 35, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.nx-links a.nx-nav-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.nx-links a.nx-nav-cta.active { color: #130d00; background: linear-gradient(135deg, #ffc15a, #f5a623); box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.35), 0 10px 28px -10px rgba(245, 166, 35, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.nx-links a.active:not(.nx-nav-cta) { color: #fff; background: rgba(91, 134, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(91, 134, 255, 0.4); }
.nx-toggle {
    display: none; width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--glass);
    align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0;
}
.nx-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nx-nav.open .nx-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nx-nav.open .nx-toggle span:nth-child(2) { opacity: 0; }
.nx-nav.open .nx-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899.98px) {
    .nx-toggle { display: flex; }
    .nx-nav .bar { padding-left: 18px; }
    .nx-nav.open .bar { background: rgba(8, 12, 24, 0.92); border-color: var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
    .nx-menu {
        position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: none; padding: 10px; border-radius: 18px;
        background: rgba(8, 12, 24, 0.97); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    }
    .nx-nav.open .nx-menu { display: block; }
    .nx-links { flex-direction: column; align-items: stretch; }
    .nx-links a { display: block; padding: 15px 16px; }
    .nx-links a.nx-nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.nx-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden;
    font-family: var(--f-body); font-weight: 600; font-size: 0.96rem; line-height: 1; padding: 17px 28px; border-radius: 14px;
    border: 1px solid transparent; transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.nx-btn .i { transition: transform 0.3s var(--ease); font-size: 1.05em; }
.nx-btn:hover .i.arr { transform: translateX(4px); }
.nx-btn-primary {
    color: #fff; background: linear-gradient(135deg, #6f96ff 0%, #2f5fe8 100%);
    box-shadow: 0 18px 36px -14px rgba(47, 95, 232, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.nx-btn-primary::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 60%; left: -80%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent); transition: left 0.7s var(--ease);
}
.nx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -14px rgba(47, 95, 232, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.nx-btn-primary:hover::after { left: 130%; }
.nx-btn-ghost { color: #fff; background: var(--glass); border-color: var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nx-btn-ghost:hover { background: var(--glass-2); border-color: rgba(255, 255, 255, 0.35); transform: translateY(-2px); }
.nx-btn-light { color: #0a1020; background: #fff; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.6); }
.nx-btn-light:hover { transform: translateY(-2px); }
.nx-btn-block { width: 100%; }

/* ==========================================================================
   AURORA BACKGROUNDS
   ========================================================================== */
.nx-aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.nx-aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.6; will-change: transform; }
.nx-aurora i:nth-child(1) { width: 640px; height: 640px; left: -160px; top: -240px; background: radial-gradient(circle, rgba(79, 124, 255, 0.55), transparent 65%); animation: nxDrift 18s ease-in-out infinite alternate; }
.nx-aurora i:nth-child(2) { width: 520px; height: 520px; right: -120px; top: 10%; background: radial-gradient(circle, rgba(245, 166, 35, 0.28), transparent 65%); animation: nxDrift 22s ease-in-out infinite alternate-reverse; }
.nx-aurora i:nth-child(3) { width: 700px; height: 500px; left: 30%; bottom: -260px; background: radial-gradient(circle, rgba(154, 134, 255, 0.28), transparent 65%); animation: nxDrift 26s ease-in-out infinite alternate; }
@keyframes nxDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.nx-gridbg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.nx-hero { position: relative; isolation: isolate; overflow: hidden; padding: 176px 0 96px; }
.nx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 72px; align-items: center; }
.nx-pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
    font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: #ffd48a; background: rgba(245, 166, 35, 0.08); border: 1px solid rgba(245, 166, 35, 0.28);
}
.nx-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.2); animation: nxPulseA 2.4s infinite; }
@keyframes nxPulseA { 0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.5); } 70% { box-shadow: 0 0 0 9px rgba(245, 166, 35, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); } }
.nx-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); margin: 28px 0 28px; font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }
.nx-grad {
    background: linear-gradient(95deg, #a9c0ff 0%, #6f96ff 40%, #f5a623 100%); background-size: 140% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.nx-hero .nx-lead { font-size: 1.15rem; color: var(--muted); max-width: 590px; line-height: 1.8; margin-bottom: 40px; }
.nx-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.nx-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 600px; }
.nx-stat .n { font-family: var(--f-display); font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.nx-stat .l { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }

/* Recharge / meter card */
.nx-meter-wrap { position: relative; max-width: 460px; margin-left: auto; width: 100%; animation: nxFloat 8s ease-in-out infinite; }
.nx-meter-wrap::before {
    content: ""; position: absolute; inset: 6% 2% -8%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(79, 124, 255, 0.5), transparent); filter: blur(46px);
}
@keyframes nxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.nx-meter {
    position: relative; border-radius: 28px; padding: 30px 28px 26px; border: 1px solid transparent; font-family: var(--f-mono);
    background:
        linear-gradient(165deg, rgba(20, 31, 58, 0.96) 0%, rgba(9, 14, 29, 0.98) 100%) padding-box,
        linear-gradient(140deg, rgba(111, 150, 255, 0.85), rgba(255, 255, 255, 0.07) 40%, rgba(245, 166, 35, 0.6)) border-box;
    box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nx-meter .top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.66rem; letter-spacing: 0.12em; margin-bottom: 26px; }
.nx-meter .status { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); padding: 5px 11px; border-radius: 999px; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.25); }
.nx-meter .status i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: nxPulse 2s infinite; }
@keyframes nxPulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.nx-meter .label { color: var(--faint); font-size: 0.66rem; letter-spacing: 0.14em; margin-bottom: 8px; }
.nx-meter .readout { color: #fff; font-size: 2.9rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.nx-meter .readout small { font-size: 1.2rem; color: var(--muted); font-weight: 400; }
.nx-meter .spark { margin: 22px -4px 6px; height: 64px; width: calc(100% + 8px); }
.nx-meter .spark .ln { stroke-dasharray: 600; stroke-dashoffset: 600; animation: nxDraw 2.2s 0.4s var(--ease) forwards; }
.nx-meter .spark .ar { opacity: 0; animation: nxFade 1.2s 1.2s ease forwards; }
@keyframes nxFade { to { opacity: 1; } }
.nx-mods { margin-top: 14px; padding-top: 18px; border-top: 1px dashed var(--line-2); display: grid; gap: 11px; }
.nx-mods li { display: flex; align-items: center; justify-content: space-between; font-size: 0.74rem; letter-spacing: 0.04em; color: #d5dcee; }
.nx-mods li span.n { display: inline-flex; align-items: center; gap: 10px; }
.nx-mods li span.n::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--c, var(--blue)); box-shadow: 0 0 10px var(--c, var(--blue)); }
.nx-switch { width: 34px; height: 19px; border-radius: 999px; background: linear-gradient(135deg, #6f96ff, #2f5fe8); position: relative; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3); }
.nx-switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.nx-meter .foot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.nx-meter .k { color: var(--faint); font-size: 0.6rem; letter-spacing: 0.14em; margin-bottom: 4px; }
.nx-meter .v { color: #e8ecf5; font-size: 0.82rem; }
.nx-float {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; font-family: var(--f-mono);
    font-size: 0.68rem; letter-spacing: 0.08em; color: #fff; background: rgba(13, 20, 40, 0.85); border: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.8);
}
.nx-float .i { color: var(--amber); font-size: 1rem; }
.nx-float.a { top: -20px; right: -22px; animation: nxFloat 6s ease-in-out infinite reverse; }
.nx-float.b { bottom: -20px; left: -34px; animation: nxFloat 7s ease-in-out infinite; }
.nx-float.b .i { color: var(--mint); }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.nx-marquee { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); overflow: hidden; padding: 22px 0; }
.nx-marquee::before, .nx-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.nx-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.nx-marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.nx-track { display: flex; width: max-content; gap: 56px; animation: nxMarquee 38s linear infinite; }
.nx-track span { display: inline-flex; align-items: center; gap: 56px; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.nx-track span::after { content: "✦"; color: var(--amber); font-size: 0.7rem; opacity: 0.8; }
@keyframes nxMarquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.nx-section { position: relative; padding: 130px 0; }
.nx-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: #a9c0ff; margin-bottom: 22px;
}
.nx-eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue)); }
.nx-title { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: 22px; font-weight: 800; letter-spacing: -0.035em; }
.nx-sub { color: var(--muted); font-size: 1.08rem; max-width: 640px; line-height: 1.8; }
.nx-center { text-align: center; }
.nx-center .nx-sub { margin-left: auto; margin-right: auto; }
.nx-center .nx-eyebrow::after { content: ""; width: 26px; height: 1px; background: linear-gradient(-90deg, transparent, var(--blue)); }

/* About / steps */
.nx-about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.nx-about-grid .sticky { position: sticky; top: 130px; }
.nx-steps { position: relative; display: grid; gap: 20px; }
.nx-steps::before { content: ""; position: absolute; left: 31px; top: 40px; bottom: 40px; width: 1px; background: linear-gradient(180deg, var(--blue), rgba(91, 134, 255, 0.1) 60%, var(--amber)); opacity: 0.5; }
.nx-step {
    position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 28px 30px 28px 0; border-radius: 22px;
    transition: transform 0.4s var(--ease);
}
.nx-step .badge {
    position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    color: #bcd0ff; background: linear-gradient(145deg, rgba(91, 134, 255, 0.22), rgba(91, 134, 255, 0.05)); border: 1px solid rgba(91, 134, 255, 0.35);
    box-shadow: 0 0 0 8px var(--bg), 0 16px 34px -14px rgba(47, 95, 232, 0.7);
}
.nx-step:nth-child(3) .badge { color: #ffd48a; background: linear-gradient(145deg, rgba(245, 166, 35, 0.22), rgba(245, 166, 35, 0.04)); border-color: rgba(245, 166, 35, 0.4); box-shadow: 0 0 0 8px var(--bg), 0 16px 34px -14px rgba(245, 166, 35, 0.5); }
.nx-step .body { padding-top: 4px; }
.nx-step .tag { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--amber); display: block; margin-bottom: 8px; }
.nx-step h3 { font-size: 1.45rem; margin-bottom: 10px; }
.nx-step p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.nx-step .num {
    position: absolute; right: 0; top: 14px; font-family: var(--f-display); font-weight: 800; font-size: 4.6rem; line-height: 1; letter-spacing: -0.05em;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
}
.nx-step:hover { transform: translateX(6px); }

/* Module cards */
.nx-products { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 20%, rgba(255, 255, 255, 0.018) 80%, transparent); }
.nx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 72px; }
.nx-card {
    --acc: var(--blue); --mx: 50%; --my: 0%;
    position: relative; display: flex; flex-direction: column; padding: 36px 36px 32px; border-radius: 28px; overflow: hidden; isolation: isolate;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line);
    transition: transform 0.5s var(--ease), border-color 0.4s ease, box-shadow 0.5s ease;
}
.nx-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--acc) 22%, transparent), transparent 55%);
}
.nx-card::after {
    content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; z-index: -1; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, color-mix(in srgb, var(--acc) 26%, transparent), transparent 65%); filter: blur(10px); opacity: 0.7; transition: opacity 0.4s ease, transform 0.6s var(--ease);
}
.nx-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--acc) 45%, transparent); box-shadow: 0 50px 80px -40px color-mix(in srgb, var(--acc) 55%, transparent); }
.nx-card:hover::before { opacity: 1; }
.nx-card:hover::after { transform: scale(1.25); opacity: 1; }
.nx-card .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.nx-card .code { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.14em; color: var(--muted); padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.nx-card .live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--mint); }
.nx-card .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: nxPulse 2s infinite; }
.nx-icon-tile {
    width: 60px; height: 60px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.55rem; margin-bottom: 26px;
    color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 38%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); transition: transform 0.5s var(--ease), background 0.4s ease, color 0.4s ease;
}
.nx-card:hover .nx-icon-tile { transform: scale(1.08) rotate(-4deg); background: var(--acc); color: #060a14; }
.nx-card h3 { font-size: 1.65rem; margin-bottom: 14px; }
.nx-card p { color: var(--muted); font-size: 0.99rem; line-height: 1.75; flex: 1; }
.nx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.nx-chips li { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: #cfd7ea; padding: 6px 11px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.nx-btn-portal {
    margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-radius: 15px;
    font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; font-weight: 600; text-transform: uppercase; color: #fff;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); transition: all 0.35s var(--ease);
}
.nx-btn-portal .i { font-size: 1.1rem; transition: transform 0.35s var(--ease); }
.nx-card:hover .nx-btn-portal, .nx-btn-portal:hover { background: var(--acc); color: #060a14; border-color: var(--acc); }
.nx-btn-portal:hover .i { transform: translate(3px, -3px); }

/* Free tools */
.nx-free {
    position: relative; isolation: isolate; overflow: hidden; border-radius: 36px; padding: 96px 48px; text-align: center;
    background: linear-gradient(160deg, #0a1124, #070b17); border: 1px solid var(--line); box-shadow: 0 60px 100px -50px rgba(0, 0, 0, 0.9);
}
.nx-free::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(ellipse 560px 340px at 85% 0%, rgba(74, 222, 128, 0.16), transparent 60%), radial-gradient(ellipse 560px 340px at 8% 100%, rgba(79, 124, 255, 0.22), transparent 60%);
}
.nx-free::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
}
.nx-free-badge {
    display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--mint); background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.28); padding: 8px 16px; border-radius: 999px; margin-bottom: 24px;
}
.nx-free h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); margin-bottom: 18px; font-weight: 800; }
.nx-free .lead-text { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0 auto 56px; line-height: 1.8; }
.nx-free-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto; }
.nx-glass {
    padding: 38px 30px; text-align: center; border-radius: 24px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
}
.nx-glass:hover { transform: translateY(-6px); border-color: rgba(74, 222, 128, 0.4); background: rgba(255, 255, 255, 0.065); }
.nx-glass .ico {
    width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
    color: var(--mint); background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.28);
}
.nx-glass h3 { font-size: 1.3rem; margin-bottom: 8px; }
.nx-glass p { color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.nx-cta-section { padding: 20px 0 130px; }
.nx-cta-band {
    position: relative; isolation: isolate; overflow: hidden; border-radius: 36px; padding: 96px 40px; text-align: center; color: #fff;
    background: linear-gradient(135deg, #3568f0 0%, #1d41ac 55%, #0d1f5c 100%); box-shadow: 0 60px 100px -50px rgba(47, 95, 232, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.nx-cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 520px 320px at 100% 0%, rgba(245, 166, 35, 0.4), transparent 65%), radial-gradient(ellipse 520px 320px at 0% 100%, rgba(255, 255, 255, 0.16), transparent 65%); }
.nx-cta-band::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 5%, transparent 68%); mask-image: radial-gradient(ellipse at center, #000 5%, transparent 68%);
}
.nx-cta-band .nx-pill { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); margin-bottom: 28px; }
.nx-cta-band .nx-pill .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); animation: none; }
.nx-cta-band h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0 auto 18px; max-width: 760px; font-weight: 800; color: #fff; }
.nx-cta-band p { color: #d3defc; font-size: 1.12rem; max-width: 560px; margin: 0 auto 40px; }
.nx-cta-band .nx-actions { justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.nx-footer { position: relative; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); padding: 88px 0 0; color: var(--muted); }
.nx-footer .cols { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 56px; }
.nx-footer .nx-brand { margin-bottom: 20px; font-size: 1.6rem; }
.nx-footer p.about { max-width: 350px; font-size: 0.96rem; line-height: 1.8; }
.nx-footer h6 { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 24px; font-weight: 500; }
.nx-footer li { margin-bottom: 14px; font-size: 0.95rem; display: flex; align-items: center; gap: 12px; }
.nx-footer li .i { color: var(--amber); font-size: 1.05rem; }
.nx-footer a { transition: color 0.2s ease; }
.nx-footer a:hover { color: #fff; }
.nx-footer .bottom { position: relative; z-index: 1; margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); font-size: 0.86rem; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
.nx-footer .bottom a { margin-left: 24px; }
.nx-footer .mark {
    font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 19vw, 17rem); line-height: 0.8; letter-spacing: -0.05em; text-align: center; white-space: nowrap;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11); margin: 30px 0 -0.12em; user-select: none; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.nx-page-hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 176px 0 72px; }
.nx-page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 28px 0 24px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.nx-page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 580px; margin: 0 auto; line-height: 1.8; }

.nx-contact-wrap { position: relative; z-index: 2; padding: 24px 0 130px; }
.nx-contact-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.nx-info, .nx-form-side {
    position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; border: 1px solid var(--line);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
}
.nx-info { padding: 48px 42px; }
.nx-info::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 420px 320px at 0% 0%, rgba(79, 124, 255, 0.26), transparent 65%), radial-gradient(ellipse 380px 300px at 100% 100%, rgba(245, 166, 35, 0.14), transparent 65%); }
.nx-info h2 { font-size: 2rem; margin-bottom: 12px; font-weight: 800; }
.nx-info .intro { color: var(--muted); font-size: 0.98rem; line-height: 1.75; margin-bottom: 34px; }
.nx-info-row { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.nx-info-row .ic {
    flex: 0 0 50px; height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    color: var(--amber); background: rgba(245, 166, 35, 0.1); border: 1px solid rgba(245, 166, 35, 0.28);
}
.nx-info-row .k { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.nx-info-row .v { color: #f1f4fb; font-size: 1.02rem; font-weight: 500; display: block; }
.nx-info-row a.v:hover { color: var(--amber); }
.nx-next { margin-top: 30px; padding: 26px; border-radius: 22px; background: rgba(5, 8, 18, 0.55); border: 1px solid var(--line); }
.nx-next h6 { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 500; }
.nx-next li { display: flex; gap: 14px; font-size: 0.93rem; color: #aab5cc; margin-bottom: 14px; position: relative; }
.nx-next li:last-child { margin-bottom: 0; }
.nx-next li b {
    flex: 0 0 26px; height: 26px; border-radius: 50%; background: rgba(91, 134, 255, 0.18); border: 1px solid rgba(91, 134, 255, 0.4); color: #b6caff;
    font-size: 0.7rem; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-weight: 600;
}

.nx-form-side { padding: 48px 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.nx-form-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 480px 320px at 100% 0%, rgba(91, 134, 255, 0.16), transparent 65%); }
.nx-form-side h2 { font-size: 2rem; margin-bottom: 10px; font-weight: 800; }
.nx-form-side .intro { color: var(--muted); font-size: 0.98rem; margin-bottom: 32px; }
.nx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nx-field { margin-bottom: 22px; }
.nx-field label { display: block; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #cdd5e8; margin-bottom: 10px; font-weight: 500; }
.nx-field label span { color: var(--rose); }
.nx-input { position: relative; }
.nx-input > .i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 1.05rem; pointer-events: none; transition: color 0.2s ease; }
.nx-input input, .nx-input textarea {
    width: 100%; font-family: var(--f-body); font-size: 1rem; color: #fff; background: rgba(5, 8, 18, 0.6); border: 1px solid var(--line-2); border-radius: 15px;
    padding: 16px 16px 16px 48px; transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.nx-input textarea { padding: 17px 18px; resize: vertical; min-height: 160px; line-height: 1.65; }
.nx-input input::placeholder, .nx-input textarea::placeholder { color: #55607e; }
.nx-input input:hover, .nx-input textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.nx-input input:focus, .nx-input textarea:focus { outline: none; background: rgba(9, 14, 30, 0.9); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(91, 134, 255, 0.18), 0 10px 30px -12px rgba(47, 95, 232, 0.6); }
.nx-input:focus-within > .i { color: var(--blue); }
.nx-input.invalid input, .nx-input.invalid textarea { border-color: var(--rose); background: rgba(255, 107, 129, 0.06); box-shadow: 0 0 0 4px rgba(255, 107, 129, 0.12); }
.nx-input input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 100px #0b1224 inset; }
.nx-err { display: none; color: var(--rose); font-size: 0.85rem; margin-top: 8px; }
.nx-field.has-error .nx-err { display: block; }
.nx-meta { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.nx-count { margin-left: auto; margin-top: 9px; font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.14em; color: var(--faint); white-space: nowrap; }
.nx-count.ok { color: var(--mint); }
.nx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.nx-alert { display: none; border-radius: 14px; padding: 14px 18px; font-size: 0.94rem; margin-bottom: 20px; background: rgba(255, 107, 129, 0.1); color: #ffb3bf; border: 1px solid rgba(255, 107, 129, 0.35); }
.nx-alert.show { display: block; }
.nx-secure { display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--faint); font-size: 0.85rem; margin-top: 20px; }
.nx-secure .i { color: var(--mint); }
.nx-submit { padding: 19px 28px; font-size: 1.02rem; }
.nx-submit .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: nxSpin 0.7s linear infinite; }
.nx-submit.loading { pointer-events: none; opacity: 0.9; }
.nx-submit.loading .spin { display: inline-block; }
.nx-submit.loading .lbl-icon { display: none; }
@keyframes nxSpin { to { transform: rotate(360deg); } }

/* Success state */
.nx-success { display: none; text-align: center; padding: 34px 6px; animation: nxIn 0.7s var(--ease) both; }
.nx-success.show { display: block; }
@keyframes nxIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.nx-check { width: 100px; height: 100px; margin: 0 auto 28px; }
.nx-check circle { stroke: var(--mint); stroke-width: 3; fill: rgba(74, 222, 128, 0.08); stroke-dasharray: 260; stroke-dashoffset: 260; animation: nxDraw 0.9s 0.1s ease forwards; }
.nx-check path { stroke: var(--mint); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: nxDraw 0.6s 0.8s ease forwards; }
@keyframes nxDraw { to { stroke-dashoffset: 0; } }
.nx-success h3 { font-size: 2rem; margin-bottom: 14px; }
.nx-success p { color: var(--muted); max-width: 450px; margin: 0 auto; line-height: 1.8; }
.nx-success p b { color: #fff; font-weight: 600; }
.nx-ref { display: inline-flex; flex-direction: column; gap: 4px; margin: 28px 0 30px; padding: 16px 30px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px dashed var(--line-2); }
.nx-ref .k { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--faint); text-transform: uppercase; }
.nx-ref .v { font-family: var(--f-mono); font-size: 1.1rem; color: #fff; font-weight: 600; letter-spacing: 0.08em; }
.nx-success .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1099.98px) {
    .nx-hero-grid { gap: 48px; }
    .nx-about-grid { gap: 56px; }
}
@media (max-width: 991.98px) {
    .nx-hero { padding: 140px 0 72px; }
    .nx-hero-grid { grid-template-columns: 1fr; }
    .nx-meter-wrap { margin: 24px auto 0; }
    .nx-float.a { right: -8px; } .nx-float.b { left: -8px; }
    .nx-section { padding: 90px 0; }
    .nx-about-grid { grid-template-columns: 1fr; }
    .nx-about-grid .sticky { position: static; }
    .nx-contact-card { grid-template-columns: 1fr; }
    .nx-footer .cols { grid-template-columns: 1fr 1fr; }
    .nx-footer .cols > :first-child { grid-column: 1 / -1; }
    .nx-free, .nx-cta-band { padding: 68px 26px; }
}
@media (max-width: 767.98px) {
    .nx-cards { grid-template-columns: 1fr; margin-top: 52px; }
    .nx-free-grid { grid-template-columns: 1fr; }
    .nx-stats { gap: 28px; grid-template-columns: repeat(3, auto); }
    .nx-form-row { grid-template-columns: 1fr; gap: 0; }
    .nx-form-side { padding: 36px 24px; } .nx-info { padding: 38px 26px; }
    .nx-card { padding: 30px 26px 26px; }
    .nx-step .num { display: none; }
    .nx-page-hero { padding: 140px 0 48px; }
    .nx-contact-wrap { padding-bottom: 90px; }
}
@media (max-width: 575.98px) {
    .wrap { padding: 0 18px; }
    .nx-stats { gap: 20px; }
    .nx-stat .n { font-size: 1.5rem; }
    .nx-footer .cols { grid-template-columns: 1fr; gap: 40px; }
    .nx-footer .bottom a { margin: 0 18px 0 0; }
    .nx-actions .nx-btn { width: 100%; }
    .nx-float { display: none; }
    .nx-meter { padding: 26px 22px 22px; }
    .nx-step { grid-template-columns: 52px 1fr; gap: 16px; padding-right: 0; }
    .nx-step .badge { width: 52px; height: 52px; font-size: 1.25rem; border-radius: 16px; }
    .nx-steps::before { left: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .nx-aurora i, .nx-meter-wrap, .nx-float, .nx-track, .nx-pill .dot, .nx-meter .status i, .nx-card .live i { animation: none !important; }
    .nx-meter .spark .ln { stroke-dashoffset: 0; animation: none; } .nx-meter .spark .ar { opacity: 1; animation: none; }
    .js .nx-reveal { opacity: 1; transform: none; transition: none; }
    .nx-card, .nx-step, .nx-glass, .nx-btn { transition: none; }
}