/* ════════════════════════════════════════════════════════════
   Nexus Multisite Theme — main.css
   Dark futuristic editorial aesthetic
   ════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
    --bg:         #050510;
    --bg2:        #0a0a1a;
    --bg3:        #0f0f22;
    --surface:    rgba(255,255,255,0.04);
    --surface2:   rgba(255,255,255,0.07);
    --border:     rgba(255,255,255,0.08);
    --border2:    rgba(255,255,255,0.14);
    --text:       #f0f0ff;
    --text2:      #9494b8;
    --text3:      #5a5a7a;
    --cyan:       #00d4ff;
    --gold:       #f5c842;
    --green:      #00ff88;
    --nav-h:      72px;
    --r:          12px;
    --r-lg:       20px;
    --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
    font-family: 'Cabinet Grotesk', 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.3); border-radius: 3px; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.nx-accent  { color: var(--cyan); }
.nx-accent2 { color: var(--gold); }
.nx-title-line { display: block; }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.nx-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.nx-reveal--right { transform: translateX(40px); }
.nx-reveal--d1 { transition-delay: 0.1s; }
.nx-reveal--d2 { transition-delay: 0.2s; }
.nx-reveal--d3 { transition-delay: 0.3s; }
.nx-reveal--d4 { transition-delay: 0.4s; }
.nx-reveal.visible { opacity: 1; transform: translate(0); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.nx-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border: none;
    white-space: nowrap;
}
.nx-btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s; }
.nx-btn:hover svg { transform: translateX(3px); }

.nx-btn--sm  { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.nx-btn--lg  { padding: 0.9rem 2rem;   font-size: 1rem; }
.nx-btn--xl  { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

.nx-btn--primary {
    background: var(--cyan);
    color: #050510;
    box-shadow: 0 0 30px rgba(0,212,255,0.3);
}
.nx-btn--primary:hover {
    background: #33ddff;
    box-shadow: 0 0 50px rgba(0,212,255,0.5);
    transform: translateY(-2px);
}

.nx-btn--outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border2);
}
.nx-btn--outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(0,212,255,0.1);
}

.nx-btn--ghost {
    background: var(--surface);
    color: var(--text2);
    border: 1px solid var(--border);
}
.nx-btn--ghost:hover {
    background: var(--surface2);
    color: var(--text);
    border-color: var(--border2);
}

/* ── SECTION COMMON ──────────────────────────────────────── */
.nx-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1.2rem;
}
.nx-eyebrow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: nxBlink 2s ease-in-out infinite;
}
.nx-eyebrow-dot--gold {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}
@keyframes nxBlink {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

.nx-section-title {
    font-family: 'Clash Display', 'Cabinet Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.nx-section-sub {
    font-size: 1.05rem;
    color: var(--text2);
    max-width: 600px;
    line-height: 1.7;
}

.nx-section-header { text-align: center; margin-bottom: 3.5rem; }
.nx-section-header .nx-section-eyebrow { margin: 0 auto 1.2rem; }
.nx-section-header .nx-section-sub { margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.nx-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    transition: all 0.3s var(--ease);
}
.nx-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5,5,16,0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transition: opacity 0.3s;
}
.nx-header.scrolled::before { opacity: 1; }

.nx-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Logo */
.nx-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nx-header__logo-mark {
    width: 32px; height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nx-logo-cube {
    width: 20px; height: 20px;
    background: linear-gradient(135deg, var(--cyan) 0%, transparent 100%);
    border: 1.5px solid var(--cyan);
    border-radius: 4px;
    transform: rotate(45deg);
    box-shadow: 0 0 15px rgba(0,212,255,0.4);
    animation: nxCubeSpin 8s linear infinite;
}
@keyframes nxCubeSpin {
    0%   { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}
.nx-header__logo-text {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

/* Nav */
.nx-header__nav { display: flex; align-items: center; }
.nx-nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nx-nav__list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text2);
    transition: color 0.2s;
    position: relative;
}
.nx-nav__list a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease);
}
.nx-nav__list a:hover { color: var(--text); }
.nx-nav__list a:hover::after { transform: scaleX(1); }

/* Header actions */
.nx-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Hamburger */
.nx-header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nx-header__hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nx-header__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nx-header__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nx-header__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.nx-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-h) + 5rem) 2rem 5rem;
    position: relative;
    overflow: hidden;
}

/* Dot grid background */
.nx-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(0,212,255,0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    animation: nxGridDrift 20s ease-in-out infinite alternate;
}
@keyframes nxGridDrift {
    from { transform: translate(0, 0); }
    to   { transform: translate(10px, 10px); }
}

/* Glowing orbs */
.nx-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: nxOrbFloat 8s ease-in-out infinite alternate;
}
.nx-orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
    top: 0; left: -100px;
}
.nx-orb--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,200,66,0.08) 0%, transparent 70%);
    bottom: 0; right: -50px;
    animation-delay: -4s;
}
.nx-orb--3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,255,136,0.06) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation-delay: -2s;
}
@keyframes nxOrbFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(20px, -20px) scale(1.1); }
}

.nx-hero__inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero eyebrow */
.nx-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Hero title */
.nx-hero__title {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.nx-hero__sub {
    font-size: 1.1rem;
    color: var(--text2);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.nx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

/* Stats */
.nx-hero__stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.nx-stat__num {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    background: linear-gradient(135deg, var(--text) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nx-stat__label {
    font-size: 0.75rem;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
    font-weight: 500;
}
.nx-stat__sep {
    width: 1px; height: 40px;
    background: var(--border);
}

/* ── HERO VISUAL / MOCKUP ─────────────────────────────────── */
.nx-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nx-hero__mockup {
    position: relative;
    width: 100%;
    max-width: 540px;
}

.nx-mockup__browser {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0,212,255,0.1),
        0 40px 100px rgba(0,0,0,0.6),
        0 0 80px rgba(0,212,255,0.05);
    animation: nxFloat 6s ease-in-out infinite;
}
@keyframes nxFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.nx-mockup__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}
.nx-mockup__dots { display: flex; gap: 6px; flex-shrink: 0; }
.nx-mockup__dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c840; }

.nx-mockup__url {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text3);
}

.nx-mockup__screen {
    height: 300px;
    overflow: hidden;
    position: relative;
}
.nx-mockup__preview {
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(180deg, #0a0a1a 0%, #050510 100%);
}

.nx-mockup__nav-bar {
    height: 24px;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    flex-shrink: 0;
}
.nx-mockup__hero-area {
    flex: 1;
    background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(245,200,66,0.04) 100%);
    border-radius: 10px;
    border: 1px solid rgba(0,212,255,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    gap: 10px;
}
.nx-mockup__hero-line {
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
}
.nx-mockup__hero-line--h { height: 12px; width: 70%; background: rgba(255,255,255,0.6); }
.nx-mockup__hero-line--s { height: 8px;  width: 50%; }
.nx-mockup__hero-btn {
    height: 20px; width: 80px;
    background: var(--cyan);
    border-radius: 100px;
    opacity: 0.8;
    margin-top: 4px;
}
.nx-mockup__cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    flex-shrink: 0;
}
.nx-mockup__card {
    height: 50px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.nx-mockup__card--1 { background: linear-gradient(135deg, rgba(0,212,255,0.15) 0%, transparent 100%); }
.nx-mockup__card--2 { background: linear-gradient(135deg, rgba(245,200,66,0.1) 0%, transparent 100%); }
.nx-mockup__card--3 { background: linear-gradient(135deg, rgba(0,255,136,0.1) 0%, transparent 100%); }

/* Floating badges */
.nx-float {
    position: absolute;
    background: rgba(10,10,26,0.95);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.nx-float--1 {
    bottom: -20px; left: -30px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: nxFloat 6s ease-in-out infinite;
    animation-delay: -2s;
}
.nx-float--2 {
    top: 20px; right: -30px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: nxFloat 6s ease-in-out infinite;
    animation-delay: -4s;
}
.nx-float--3 {
    top: -16px; left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nx-float__icon { font-size: 1.5rem; }
.nx-float__text strong { display: block; font-size: 0.82rem; color: var(--text); font-weight: 700; }
.nx-float__text span   { font-size: 0.72rem; color: var(--text3); }
.nx-float__live {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--green);
    letter-spacing: 0.05em;
    animation: nxBlink 1.5s ease-in-out infinite;
}
.nx-pulse-ring {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(0,255,136,0.4);
    animation: nxPulse 2s ease-out infinite;
}
@keyframes nxPulse {
    0%   { box-shadow: 0 0 0 0 rgba(0,255,136,0.4); }
    70%  { box-shadow: 0 0 0 8px rgba(0,255,136,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,255,136,0); }
}

/* Scroll indicator */
.nx-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text3);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.nx-scroll-mouse {
    width: 24px; height: 36px;
    border: 1.5px solid var(--border2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.nx-scroll-dot {
    width: 3px; height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    animation: nxScrollDot 2s ease-in-out infinite;
}
@keyframes nxScrollDot {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════════════ */
.nx-marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(0,212,255,0.02);
    padding: 1rem 0;
}
.nx-marquee__track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: nxMarquee 30s linear infinite;
}
@keyframes nxMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-33.33%); }
}
.nx-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.nx-marquee__dot {
    font-size: 0.5rem;
    color: var(--cyan);
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════
   DEMO GRID
═══════════════════════════════════════════════════════════ */
.nx-demos {
    padding: 7rem 2rem;
}
.nx-demos__inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Filters */
.nx-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3.5rem;
}
.nx-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text2);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Cabinet Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.nx-filter:hover {
    border-color: var(--border2);
    color: var(--text);
    background: var(--surface);
}
.nx-filter.active {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #050510;
    box-shadow: 0 0 20px rgba(0,212,255,0.3);
}
.nx-filter__count {
    background: rgba(0,0,0,0.2);
    border-radius: 100px;
    padding: 1px 7px;
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
}
.nx-filter.active .nx-filter__count { background: rgba(0,0,0,0.25); }

/* Grid */
.nx-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Card */
.nx-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
    display: block;
    color: inherit;
}
.nx-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,212,255,0.3);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.5),
        0 0 0 1px rgba(0,212,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Card glow */
.nx-card__glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,212,255,0.06), transparent 40%);
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}
.nx-card:hover .nx-card__glow { opacity: 1; }

/* Card thumbnail */
.nx-card__thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg3);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* Browser bar */
.nx-card__browser {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    height: 34px;
}
.nx-card__browser-dots { display: flex; gap: 5px; flex-shrink: 0; }
.nx-card__browser-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}
.nx-card__browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.04);
    border-radius: 4px;
    padding: 0 8px;
    height: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: var(--text3);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.nx-card__browser-url svg { width: 10px; height: 10px; flex-shrink: 0; opacity: 0.5; }
.nx-card__browser-live {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    color: var(--green);
    font-family: 'JetBrains Mono', monospace;
    flex-shrink: 0;
}
.nx-live-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--green);
    animation: nxPulse 2s ease-out infinite;
}

/* Preview area */
.nx-card__preview {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* CSS Mockups */
.nx-card__mockup {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.nx-card__mock-nav {
    height: 20px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid var(--border);
}
.nx-card__mock-hero {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}
.nx-card__mock-h {
    height: 9px; width: 65%;
    border-radius: 3px;
    background: rgba(255,255,255,0.5);
}
.nx-card__mock-s {
    height: 6px; width: 45%;
    border-radius: 2px;
    background: rgba(255,255,255,0.2);
}
.nx-card__mock-btn {
    height: 16px; width: 70px;
    border-radius: 100px;
    margin-top: 4px;
}
.nx-card__mock-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 6px;
    padding: 8px;
    flex-shrink: 0;
}
.nx-card__mock-grid div {
    height: 32px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
}

/* Category-specific mock colours */
.nx-card__mockup--business   .nx-card__mock-hero { background: linear-gradient(135deg, #0d1e3d 0%, #1a4080 100%); }
.nx-card__mockup--business   .nx-card__mock-btn  { background: #3b82f6; }
.nx-card__mockup--portfolio  .nx-card__mock-hero { background: linear-gradient(135deg, #1a0a2e 0%, #2d1060 100%); }
.nx-card__mockup--portfolio  .nx-card__mock-btn  { background: #8b5cf6; }
.nx-card__mockup--e-commerce .nx-card__mock-hero { background: linear-gradient(135deg, #1a0a0a 0%, #501010 100%); }
.nx-card__mockup--e-commerce .nx-card__mock-btn  { background: #ef4444; }
.nx-card__mockup--blog       .nx-card__mock-hero { background: linear-gradient(135deg, #0a1a0a 0%, #103010 100%); }
.nx-card__mockup--blog       .nx-card__mock-btn  { background: #22c55e; }
.nx-card__mockup--education  .nx-card__mock-hero { background: linear-gradient(135deg, #0a1a2a 0%, #0f3050 100%); }
.nx-card__mockup--education  .nx-card__mock-btn  { background: #0ea5e9; }
.nx-card__mockup--real-estate .nx-card__mock-hero{ background: linear-gradient(135deg, #1a150a 0%, #403010 100%); }
.nx-card__mockup--real-estate .nx-card__mock-btn { background: #f59e0b; }
.nx-card__mockup--healthcare .nx-card__mock-hero { background: linear-gradient(135deg, #0a1a1a 0%, #0f3535 100%); }
.nx-card__mockup--healthcare .nx-card__mock-btn  { background: #14b8a6; }
.nx-card__mockup--restaurant .nx-card__mock-hero { background: linear-gradient(135deg, #1a0f0a 0%, #402010 100%); }
.nx-card__mockup--restaurant .nx-card__mock-btn  { background: #f97316; }
.nx-card__mockup--nonprofit  .nx-card__mock-hero { background: linear-gradient(135deg, #0a1a0f 0%, #103520 100%); }
.nx-card__mockup--nonprofit  .nx-card__mock-btn  { background: #10b981; }

/* Hover overlay */
.nx-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,5,16,0.85);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.nx-card:hover .nx-card__overlay { opacity: 1; }
.nx-card__overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateY(8px);
    transition: transform 0.3s var(--ease);
}
.nx-card:hover .nx-card__overlay-inner { transform: translateY(0); }
.nx-card__open-icon {
    width: 48px; height: 48px;
    background: var(--cyan);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #050510;
    box-shadow: 0 0 30px rgba(0,212,255,0.4);
}
.nx-card__open-icon svg { width: 22px; height: 22px; }

/* Badge */
.nx-card__badge {
    position: absolute;
    top: 40px; left: 10px;
    background: var(--gold);
    color: #050510;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 2;
    box-shadow: 0 0 15px rgba(245,200,66,0.4);
}

/* Card body */
.nx-card__body {
    padding: 1.3rem 1.4rem 1.5rem;
    position: relative;
    z-index: 1;
}
.nx-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}
.nx-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
}
.nx-tag--business    { background: rgba(59,130,246,0.15);  color: #93c5fd; }
.nx-tag--portfolio   { background: rgba(139,92,246,0.15);  color: #c4b5fd; }
.nx-tag--e-commerce  { background: rgba(239,68,68,0.15);   color: #fca5a5; }
.nx-tag--blog        { background: rgba(34,197,94,0.15);   color: #86efac; }
.nx-tag--education   { background: rgba(14,165,233,0.15);  color: #7dd3fc; }
.nx-tag--real-estate { background: rgba(245,158,11,0.15);  color: #fcd34d; }
.nx-tag--healthcare  { background: rgba(20,184,166,0.15);  color: #5eead4; }
.nx-tag--restaurant  { background: rgba(249,115,22,0.15);  color: #fdba74; }
.nx-tag--nonprofit   { background: rgba(16,185,129,0.15);  color: #6ee7b7; }
.nx-tag--general     { background: rgba(255,255,255,0.06); color: var(--text3); }

.nx-card__arrow {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--text3);
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}
.nx-card__arrow svg { width: 14px; height: 14px; }
.nx-card:hover .nx-card__arrow {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #050510;
    transform: rotate(-45deg);
}

.nx-card__title {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.45rem;
}

.nx-card__desc {
    font-size: 0.83rem;
    color: var(--text2);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.nx-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
}
.nx-card__domain {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: var(--text3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nx-card__domain svg { width: 10px; height: 10px; flex-shrink: 0; opacity: 0.5; }
.nx-card__visit {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan);
    opacity: 0;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.nx-card:hover .nx-card__visit { opacity: 1; }

/* Empty states */
.nx-empty, .nx-grid__empty {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text3);
}
.nx-empty__icon { font-size: 3rem; margin-bottom: 1rem; }
.nx-empty h3 { font-family: 'Clash Display', sans-serif; font-size: 1.4rem; color: var(--text2); margin-bottom: 0.5rem; }
.nx-empty p  { font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════════ */
.nx-features {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,212,255,0.02) 50%, transparent 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.nx-features__inner { max-width: 1400px; margin: 0 auto; }

.nx-features__grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.nx-feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.nx-feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.nx-feature:hover {
    border-color: var(--border2);
    transform: translateY(-3px);
}
.nx-feature:hover::before { opacity: 1; }

.nx-feature__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    flex-shrink: 0;
}
.nx-feature__icon--cyan  { background: rgba(0,212,255,0.1);  box-shadow: 0 0 20px rgba(0,212,255,0.1); }
.nx-feature__icon--gold  { background: rgba(245,200,66,0.1); box-shadow: 0 0 20px rgba(245,200,66,0.1); }
.nx-feature__icon--green { background: rgba(0,255,136,0.1);  box-shadow: 0 0 20px rgba(0,255,136,0.1); }

.nx-feature h3 {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.nx-feature p {
    font-size: 0.87rem;
    color: var(--text2);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════ */
.nx-cta {
    padding: 7rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.nx-cta__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.nx-cta__glow--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
    top: -100px; left: 50%;
    transform: translateX(-50%);
}
.nx-cta__glow--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,200,66,0.06) 0%, transparent 70%);
    bottom: -100px; left: 30%;
}

.nx-cta__inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.nx-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245,200,66,0.1);
    border: 1px solid rgba(245,200,66,0.25);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.nx-cta__title {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.nx-cta__sub {
    font-size: 1.1rem;
    color: var(--text2);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.nx-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.nx-cta__note {
    font-size: 0.82rem;
    color: var(--text3);
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.nx-footer {
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    background: var(--bg2);
}
.nx-footer__glow {
    position: absolute;
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(0,212,255,0.04) 0%, transparent 70%);
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.nx-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
.nx-footer__top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}
.nx-footer__brand p {
    font-size: 0.88rem;
    color: var(--text2);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}
.nx-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.nx-social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--text3);
    transition: all 0.25s;
}
.nx-social-btn svg { width: 16px; height: 16px; }
.nx-social-btn:hover {
    background: var(--surface2);
    border-color: var(--border2);
    color: var(--cyan);
}
.nx-footer__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.nx-footer__col h4 {
    font-family: 'Clash Display', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 1rem;
}
.nx-footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.nx-footer__col ul a {
    font-size: 0.87rem;
    color: var(--text2);
    transition: color 0.2s;
}
.nx-footer__col ul a:hover { color: var(--cyan); }
.nx-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 0.82rem;
    color: var(--text3);
    flex-wrap: wrap;
    gap: 1rem;
}
.nx-footer__powered span {
    color: var(--cyan);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .nx-grid { grid-template-columns: repeat(2,1fr); }
    .nx-hero__inner { gap: 3rem; }
    .nx-features__grid { grid-template-columns: repeat(2,1fr); }
    .nx-footer__top { grid-template-columns: 1fr; gap: 2rem; }
    .nx-footer__links { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
    .nx-header__nav { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(5,5,16,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; }
    .nx-header__nav.open { display: flex; }
    .nx-nav__list { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .nx-header__hamburger { display: flex; }
    .nx-hero__inner { grid-template-columns: 1fr; text-align: center; }
    .nx-hero__visual { display: none; }
    .nx-hero__sub { margin: 0 auto 2.5rem; }
    .nx-hero__actions { justify-content: center; }
    .nx-hero__stats { justify-content: center; }
    .nx-features__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .nx-grid { grid-template-columns: 1fr; }
    .nx-stat__sep { display: none; }
    .nx-footer__links { grid-template-columns: 1fr 1fr; }
    .nx-footer__bottom { flex-direction: column; text-align: center; }
    .nx-cta__actions { flex-direction: column; align-items: center; }
}

/* Admin bar */
.admin-bar .nx-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .nx-header { top: 46px; } }
