/* ============================================================
   Neurom marketing chrome (2026-09-29 rebrand) — shared by the
   public pages (Home, Pricing, ModuleDetail, Register, Find
   workspace). Tokens extracted from the Neurom Webflow template:
   deep-navy surfaces, electric blue, cyan glow, Inter Tight.
   These pages force the dark palette (BlankLayout), so MudBlazor
   components render dark-correct automatically; this sheet styles
   the page chrome around them.
   ============================================================ */

.nm-page {
    background: #030614;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #f8fafc;
}

.nm-container {
    max-width: 1350px;
    margin: 0 auto;
    width: 100%;
    padding: 24px 20px;
    flex: 1;
}

/* ---- Brand bar ---- */
.nm-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; gap: 12px; }
.nm-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nm-brand-icon { color: #0b3bf0; filter: drop-shadow(0 0 12px rgba(11, 59, 240, 0.8)); }
.nm-brand-name { font-weight: 700; font-size: 1.25rem; color: #fff; letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap; }
.nm-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nm-link { color: #9b9da7; text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 12px; transition: color 0.3s; }
.nm-link:hover { color: #fff; }

/* ---- Buttons (Neurom primary-button-link = white pill) ---- */
.nm-btn-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: #030614;
    border-radius: 14px; padding: 15px 22px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    border: none; cursor: pointer;
    transition: transform 0.4s, box-shadow 0.4s;
}
.nm-btn-pill:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255, 255, 255, 0.25); color: #030614; }

.nm-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px; padding: 14px 22px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
    transition: border-color 0.4s, transform 0.4s;
}
.nm-btn-ghost:hover { border-color: #7afbfc; transform: translateY(-2px); color: #fff; }

.nm-btn-blue {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #0b3bf0; color: #fff;
    border-radius: 14px; padding: 15px 22px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer;
    transition: transform 0.4s, box-shadow 0.4s;
}
.nm-btn-blue:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(11, 59, 240, 0.55); color: #fff; }

/* ---- Hero ---- */
.nm-hero { position: relative; text-align: center; padding: 72px 0 96px; overflow: hidden; }
.nm-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 300px at 30% 0%, rgba(11, 59, 240, 0.30), transparent 70%),
        radial-gradient(500px 260px at 72% 12%, rgba(39, 187, 255, 0.15), transparent 70%);
}
.nm-hero-content { position: relative; z-index: 1; }
.nm-kicker { color: #7afbfc; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 18px; }
.nm-hero-title {
    font-size: clamp(2.75rem, 6vw, 5.25rem);
    font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; color: #fff;
    text-shadow: 0 0 42px rgba(11, 59, 240, 0.55);
}
.nm-accent { color: #7afbfc; }
.nm-hero-sub { font-size: 1.125rem; line-height: 1.6; color: #9b9da7; max-width: 680px; margin: 28px auto 40px; }
.nm-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.nm-hero-burners { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 0; display: flex; justify-content: space-between; pointer-events: none; }

/* ---- Cards (Neurom panels + glow hover) ---- */
.nm-card {
    background: #13172a;
    border: 1px solid #373b4b;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}
.nm-card:hover {
    box-shadow: 0 0 34px rgba(39, 187, 255, 0.20), 0 8px 28px rgba(0, 0, 0, 0.45);
    transform: translateY(-3px);
    border-color: rgba(39, 187, 255, 0.45);
}

/* ---- Section headers ---- */
.nm-section-title { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; text-align: center; }
.nm-section-sub { color: #9b9da7; text-align: center; margin-top: 16px; margin-bottom: 40px; font-size: 1.06rem; }

/* ---- CTA panel (Neurom gradient-border card, not a bare blue slab) ---- */
.nm-cta {
    position: relative; overflow: hidden;
    background:
        linear-gradient(#13172a, #13172a) padding-box,
        linear-gradient(135deg, #0b3bf0, #7afbfc) border-box;
    border: 1px solid transparent;
    border-radius: 24px; padding: 64px 40px; text-align: center;
    box-shadow: 0 18px 60px rgba(11, 59, 240, 0.22);
    margin: 0 0 64px;
}
.nm-cta::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(560px 280px at 30% 0%, rgba(11, 59, 240, 0.30), transparent 70%),
        radial-gradient(420px 220px at 74% 100%, rgba(122, 251, 252, 0.12), transparent 70%);
}
.nm-cta > * { position: relative; z-index: 1; }
.nm-cta-title { color: #fff; font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.02em; margin-bottom: 28px; }

/* ---- Footer ---- */
.nm-footer { border-top: 1px solid #373b4b; margin-top: auto; }
.nm-footer-inner { max-width: 1350px; margin: 0 auto; padding: 40px 20px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.nm-footer-inner a { color: #9b9da7; text-decoration: none; font-weight: 600; }
.nm-footer-inner a:hover { color: #fff; }

/* ============================================================
   Home showcase v2 (2026-09-29): auto-crossfading slideshow,
   Neurom-style industry packages, module grid, how-it-works,
   borderless features.
   ============================================================ */

/* ---- Horizontal carousels (scroll-snap, no JS library) ---- */
.nm-carousel { position: relative; }
.nm-carousel-track {
    display: flex; gap: 24px;
    overflow-x: auto; scroll-snap-type: x proximity;
    padding: 16px 4px 28px;
    scrollbar-width: none;
}
.nm-carousel-track::-webkit-scrollbar { display: none; }
.nm-arrow {
    position: absolute; top: 42%; z-index: 2;
    width: 44px; height: 44px; border-radius: 50%;
    background: #13172a; border: 1px solid #373b4b; color: #f8fafc;
    font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.nm-arrow:hover { border-color: rgba(39, 187, 255, 0.6); box-shadow: 0 0 22px rgba(39, 187, 255, 0.35); }
.nm-arrow-prev { left: -16px; }
.nm-arrow-next { right: -16px; }

/* ---- Platform slideshow (large crossfading frame, auto-advance) ---- */
.nm-slideshow {
    max-width: 1080px; margin: 0 auto;
    background: #13172a; border: 1px solid #373b4b; border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(11, 59, 240, 0.16);
}
.nm-slideshow-bar { display: flex; gap: 6px; padding: 13px 16px; border-bottom: 1px solid #373b4b; }
.nm-slideshow-bar span { width: 10px; height: 10px; border-radius: 50%; background: #373b4b; }
.nm-slideshow-stage { position: relative; aspect-ratio: 16 / 9; background: #0d1020; }
.nm-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1s ease;
    pointer-events: none;
}
.nm-slide.active { opacity: 1; z-index: 1; pointer-events: auto; }
.nm-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.nm-slide-caption {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 44px 24px 18px;
    background: linear-gradient(to top, rgba(3, 6, 20, 0.94), rgba(3, 6, 20, 0.55) 55%, transparent);
}
.nm-slide-caption span { color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); }
.nm-slide-caption a { color: #7afbfc; text-decoration: none; font-weight: 600; font-size: 0.88rem; flex-shrink: 0; }
.nm-slide-caption a:hover { text-decoration: underline; text-shadow: 0 0 14px rgba(122, 251, 252, 0.6); }
.nm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.nm-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
    background: #373b4b; cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nm-dot:hover { background: #565b70; }
.nm-dot.active { background: #7afbfc; box-shadow: 0 0 12px rgba(122, 251, 252, 0.7); transform: scale(1.25); }

/* ---- Industry package cards (Neurom pricing-card anatomy) ---- */
.nm-package {
    position: relative;
    flex: 0 0 auto; width: min(380px, 82vw);
    scroll-snap-align: start;
    background: #13172a; border: 1px solid #373b4b; border-radius: 20px;
    padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 10px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nm-package:hover { border-color: rgba(39, 187, 255, 0.45); box-shadow: 0 18px 44px rgba(11, 59, 240, 0.25); transform: translateY(-3px); }
/* The popular card's snap position is its CENTER, so the on-load centering
   lands exactly on a snap point instead of being dragged back to a start. */
.nm-package.popular { scroll-snap-align: center; }
.nm-package-kicker { color: #fff; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; }
.nm-package-name { color: #fff; font-weight: 600; font-size: 1.55rem; letter-spacing: -0.02em; margin: 2px 0 0; }
.nm-package-blurb { color: #9b9da7; font-size: 0.9rem; line-height: 1.6; margin: 0; min-height: 4.6em; }
.nm-package-price { display: flex; align-items: baseline; gap: 7px; margin: 8px 0 2px; }
.nm-package-price strong { color: #fff; font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.nm-package-price span { color: #9b9da7; font-size: 0.85rem; font-weight: 600; }
.nm-package .nm-btn-pill { display: flex; justify-content: center; margin: 10px 0 8px; padding: 13px 22px; }
.nm-package-list { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.nm-package-list-label { color: #5f6473; text-transform: uppercase; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; }
.nm-package-row { display: flex; align-items: center; gap: 10px; color: #c9ccd6; font-size: 0.9rem; font-weight: 500; }
.nm-package-more { color: #7afbfc; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em; }
.nm-check { color: #7afbfc; flex-shrink: 0; }
.nm-package.popular {
    background: linear-gradient(#13172a, #13172a) padding-box, linear-gradient(135deg, #0b3bf0, #7afbfc) border-box;
    border: 1px solid transparent;
    box-shadow: 0 18px 50px rgba(11, 59, 240, 0.30);
}
.nm-package.popular:hover { box-shadow: 0 18px 70px rgba(11, 59, 240, 0.42); }
.nm-package-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #0b0e1f; border: 1px solid rgba(122, 251, 252, 0.55); color: #7afbfc;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 999px; white-space: nowrap;
    box-shadow: 0 0 18px rgba(122, 251, 252, 0.25);
}

/* ---- How it works ---- */
.nm-steps { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 4px; }
.nm-step { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.nm-step-num {
    width: 54px; height: 54px; border-radius: 16px;
    background: linear-gradient(135deg, #0b3bf0 0%, #092fc0 100%);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.3rem; color: #fff;
    box-shadow: 0 0 26px rgba(11, 59, 240, 0.5);
}
.nm-step-title { color: #fff; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.nm-step-text { color: #9b9da7; line-height: 1.65; font-size: 0.95rem; margin: 0; }

/* ---- Module cards (home grid) ---- */
.nm-module-card {
    position: relative;
    height: 100%; padding: 26px;
    display: flex; flex-direction: column; gap: 12px;
}
.nm-module-card::before {
    content: ''; position: absolute; top: -55px; right: -55px;
    width: 190px; height: 190px; border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 59, 240, 0.35), transparent 70%);
    pointer-events: none;
}
.nm-module-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 4%, #0b3bf0 32%, #7afbfc 68%, transparent 96%);
    opacity: 0.25; transition: opacity 0.35s;
}
.nm-module-card:hover::after { opacity: 1; }
.nm-module-icon {
    width: 50px; height: 50px; border-radius: 14px;
    background: linear-gradient(135deg, #0b3bf0 0%, #092fc0 100%);
    display: flex; align-items: center; justify-content: center; color: #fff;
    box-shadow: 0 0 22px rgba(11, 59, 240, 0.45);
    border: 1px solid rgba(122, 251, 252, 0.22);
    transition: transform 0.3s, box-shadow 0.3s;
}
.nm-module-card:hover .nm-module-icon { transform: scale(1.08); box-shadow: 0 0 34px rgba(11, 59, 240, 0.65); }
.nm-module-foot {
    margin-top: auto; padding-top: 14px;
    border-top: 1px solid #373b4b;
    display: flex; justify-content: space-between; align-items: center;
}
.nm-module-price { color: #7afbfc; font-size: 0.88rem; font-weight: 600; }
.nm-module-link { color: #7afbfc; text-decoration: none; font-size: 0.88rem; font-weight: 600; transition: text-shadow 0.3s; }
.nm-module-link:hover { text-decoration: underline; text-shadow: 0 0 14px rgba(122, 251, 252, 0.55); }

/* ---- Module marquee (Neurom testimonial treatment: two rows, opposite scroll).
       Cards ride a duplicated track; margin-right (not flex gap) keeps the
       -50% translate exactly one copy wide, so the loop is seamless. ---- */
.nm-marquee {
    overflow: hidden;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.nm-marquee-track {
    display: flex;
    width: max-content;
    animation: nm-marquee-left 48s linear infinite;
}
.nm-marquee-reverse { animation-name: nm-marquee-right; animation-duration: 58s; }
.nm-marquee:hover .nm-marquee-track { animation-play-state: paused; }
.nm-marquee-copy { display: contents; }
/* height:auto beats nm-module-card's 100% so flex stretch equalizes every
   marquee card to the row's tallest (100% resolves against an indefinite
   track height and skips stretch alignment). */
.nm-marquee-card { width: 300px; margin-right: 22px; flex-shrink: 0; height: auto; }
@keyframes nm-marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nm-marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
    .nm-marquee-track { animation: none; }
    .nm-marquee { overflow-x: auto; }
}

/* ---- Feature rows (borderless) ---- */
.nm-feature {
    display: flex; align-items: flex-start; gap: 18px;
    padding: 10px 8px;
}
.nm-feature-icon { color: #7afbfc; font-size: 1.9rem; flex-shrink: 0; margin-top: 2px; }
.nm-feature-body { display: flex; flex-direction: column; gap: 6px; }
.nm-feature-title { color: #fff; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.nm-feature-text { color: #9b9da7; font-size: 0.92rem; line-height: 1.65; margin: 0; }

/* ---- Pricing page ---- */
.nm-toggle-row {
    display: flex; align-items: center; justify-content: center;
    gap: 18px; flex-wrap: wrap;
}
.nm-save-note {
    color: #7afbfc; font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em;
}
/* Packages as a cascading grid (Pricing) — explicit columns per breakpoint keep
   the staircase offsets deterministic at every width (Home keeps its carousel). */
.nm-packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-top: 14px;   /* clearance for the popular badge at top -12px */
    padding-bottom: 56px; /* staircase head-room */
    align-items: stretch; /* staircase tops stay, bottoms share one clean line */
}
.nm-packages-grid .nm-package { width: auto; max-width: none; }
.nm-packages-grid .nm-package:nth-child(even) { margin-top: 28px; }
@media (min-width: 1200px) {
    .nm-packages-grid { grid-template-columns: repeat(4, 1fr); }
    .nm-packages-grid .nm-package:nth-child(even) { margin-top: 0; }
    .nm-packages-grid .nm-package:nth-child(4n+2) { margin-top: 28px; }
    .nm-packages-grid .nm-package:nth-child(4n+3) { margin-top: 56px; }
    .nm-packages-grid .nm-package:nth-child(4n+4) { margin-top: 84px; }
}

/* Equal card rows on the Pricing module grid. MudGrid renders display:flex,
   so grid-auto-rows alone is inert — flip the container to a real grid with
   auto-fill columns (same 3/2/1 breakpoints as xs12/sm6/md4) and neutralise
   MudItem margins. Every row shares the tallest row's height, so all module
   cards are the same size. */
.nm-price-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    grid-auto-rows: 1fr;
    gap: 16px;
    margin: 0 !important;
}
.nm-price-grid > .mud-grid-item {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* Rich module card (Pricing): banner head + bling, Neurom panel anatomy. */
.nm-price-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; height: 100%;
    background: #13172a; border: 1px solid #373b4b; border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.nm-price-card::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, #0b3bf0, #7afbfc, transparent);
    opacity: 0.3; transition: opacity 0.3s; z-index: 2;
}
.nm-price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(122, 251, 252, 0.35);
    box-shadow: 0 18px 44px rgba(11, 59, 240, 0.22);
}
.nm-price-card:hover::after { opacity: 1; }
.nm-price-banner {
    background: linear-gradient(135deg, #0b3bf0 0%, #092fc0 100%);
    position: relative; overflow: hidden;
}
.nm-price-banner img { width: 100%; display: block; }
.nm-beta-chip {
    position: absolute; top: 12px; right: 12px;
    background: #f59e0b; color: #030614;
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
    padding: 4px 10px; border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.nm-price-body {
    padding: 20px 22px 22px;
    display: flex; flex-direction: column; flex-grow: 1; gap: 8px;
}
.nm-price-points { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.nm-save-chip {
    background: rgba(122, 251, 252, 0.1); border: 1px solid rgba(122, 251, 252, 0.35);
    color: #7afbfc; font-size: 0.72rem; font-weight: 700;
    padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.nm-price-details { display: inline-block; }
.nm-price-cta { margin-top: 10px; display: flex; justify-content: center; padding: 12px 22px; }
/* ================================================================
   HERO SHOWCASE — browser-chrome product frame (Neurom treatment)
   ================================================================ */
.nm-showcase { position: relative; max-width: 1040px; margin: 26px auto 0; perspective: 1500px; }
.nm-showcase-glow-a { position: absolute; top: -34px; left: -42px; width: 260px; height: 200px;
    background: radial-gradient(closest-side, rgba(122, 251, 252, 0.16), transparent 70%);
    filter: blur(40px); pointer-events: none; }
.nm-showcase-glow-b { position: absolute; bottom: -28px; right: -38px; width: 280px; height: 190px;
    background: radial-gradient(closest-side, rgba(11, 59, 240, 0.30), transparent 70%);
    filter: blur(44px); pointer-events: none; }
.nm-showcase-frame { position: relative; border: 1px solid #373b4b; border-radius: 16px; overflow: hidden;
    background: #0d1020; box-shadow: 0 30px 70px rgba(3, 6, 20, 0.72);
    transform-origin: center bottom;
    transition: transform 0.5s ease, border-color 0.35s, box-shadow 0.45s; }
.nm-showcase-frame:hover { border-color: rgba(122, 251, 252, 0.4); box-shadow: 0 30px 84px rgba(11, 59, 240, 0.35); }
.nm-showcase-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px;
    border-bottom: 1px solid #373b4b; background: #13172a; }
.nm-showcase-bar .sd { width: 10px; height: 10px; border-radius: 50%; }
.nm-showcase-bar .sd-r { background: #f3625a; }
.nm-showcase-bar .sd-a { background: #f5b95f; }
.nm-showcase-bar .sd-g { background: #b3f1a4; }
.nm-showcase-url { margin-left: 10px; font-size: 0.76rem; color: #9b9da7; background: #0a0e24;
    border: 1px solid #262b40; padding: 3px 14px; border-radius: 999px; letter-spacing: 0.02em; }
.nm-showcase-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; display: block; }
.nm-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: rgba(19, 23, 42, 0.74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid #373b4b; border-radius: 14px; box-shadow: 0 14px 34px rgba(3, 6, 20, 0.55);
    animation: nm-float 7s ease-in-out infinite; }
.nm-chip strong { display: block; color: #fff; font-size: 0.82rem; font-weight: 600; letter-spacing: -0.01em; }
.nm-chip-up { color: #b3f1a4; font-size: 0.76rem; font-weight: 600; }
.nm-chip-a { top: 16px; right: -16px; }
.nm-chip-b { bottom: 24px; left: -16px; animation-delay: 3.5s; }
@keyframes nm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- iPhone mockup leaning on the showcase frame — the Zenko mobile app ---- */
.nm-phone {
    position: absolute; right: -14px; bottom: -30px; width: 188px; z-index: 6;
    border-radius: 32px; padding: 9px;
    background: linear-gradient(150deg, #454a5e 0%, #14172b 45%, #3a3f52 100%);
    border: 1px solid #565c73;
    box-shadow: 0 26px 64px rgba(3, 6, 20, 0.66);
    transform: rotate(5deg); transform-origin: bottom center;
    transition: transform 0.5s ease, box-shadow 0.45s ease;
}
.nm-phone-screen { position: relative; border-radius: 24px; overflow: hidden; background: #030614; }
.nm-phone-screen img { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top center; display: block; }
.nm-phone-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
    width: 58px; height: 15px; border-radius: 999px; background: #030614; z-index: 2; }
.nm-phone-badge { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2;
    white-space: nowrap; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    color: #fff; background: rgba(19, 23, 42, 0.78); border: 1px solid rgba(122, 251, 252, 0.35);
    padding: 4px 10px; border-radius: 999px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* Hover over the showcase (either device) — both tilt diagonally:
   the tablet tips back-right, the phone lifts the opposite way. */
.nm-showcase:hover .nm-showcase-frame { transform: rotateX(3.5deg) rotateY(-4.5deg); }
.nm-showcase:hover .nm-phone {
    transform: rotate(5deg) translate(5px, -10px) rotateX(2.5deg) rotateY(5deg);
    box-shadow: 0 34px 74px rgba(3, 6, 20, 0.72), 0 0 0 1px rgba(122, 251, 252, 0.28);
}
@media (max-width: 900px) {
    .nm-phone { width: 138px; right: -4px; bottom: -22px; border-radius: 24px; padding: 6px; }
    .nm-phone-screen { border-radius: 17px; }
    .nm-phone-island { width: 42px; height: 11px; top: 6px; }
    .nm-phone-badge { display: none; }
}
@media (max-width: 640px) {
    .nm-phone { display: none; }
}

/* ================================================================
   REGISTER — marketing restyle: module pick-cards + stack summary bar
   ================================================================ */
.nm-pick-card { position: relative; cursor: pointer; transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s; }
.nm-pick-card:hover { transform: translateY(-3px); }
.nm-pick-card:focus-visible { outline: 2px solid rgba(122, 251, 252, 0.6); outline-offset: 3px; }
.nm-pick-card.selected { border-color: rgba(122, 251, 252, 0.65);
    box-shadow: 0 0 0 1px rgba(122, 251, 252, 0.45), 0 18px 48px rgba(11, 59, 240, 0.30); }
.nm-pick-check { position: absolute; top: 10px; right: 10px; z-index: 3;
    width: 26px; height: 26px; border-radius: 50%;
    border: 1px solid #565c73; background: rgba(19, 23, 42, 0.85);
    display: flex; align-items: center; justify-content: center; color: transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s; }
.nm-pick-card.selected .nm-pick-check { background: #0b3bf0; border-color: #0b3bf0; color: #fff; }
.nm-stack-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    margin-top: 30px; padding: 18px 24px; border-radius: 18px;
    border: 1px solid #373b4b; background: rgba(19, 23, 42, 0.74);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 48px rgba(3, 6, 20, 0.55); }
.nm-stack-total { font-size: 1.05rem; letter-spacing: -0.01em; }
.nm-stack-total strong { color: #fff; font-weight: 700; }
.nm-stack-note { color: #9b9da7; font-size: 0.9rem; margin-top: 2px; }

/* ---- Slideshow bar as browser chrome (traffic dots + URL pill) ---- */
.nm-slideshow-bar .nm-bar-r { background: #f3625a; }
.nm-slideshow-bar .nm-bar-a { background: #f5b95f; }
.nm-slideshow-bar .nm-bar-g { background: #b3f1a4; }
.nm-slideshow-bar .nm-bar-url { width: auto; height: auto; border-radius: 999px; background: #0a0e24;
    border: 1px solid #262b40; color: #9b9da7; font-size: 0.76rem; padding: 3px 14px; margin-left: 8px;
    letter-spacing: 0.02em; }

/* ================================================================
   MOBILE — tighter type, single-column grids, capped dialogs
   ================================================================ */
@media (max-width: 700px) {
    .nm-chip-a, .nm-chip-b { display: none; }
}
@media (max-width: 640px) {
    .nm-container { padding-left: 16px; padding-right: 16px; }
    .nm-header { margin: 20px 0 18px; }
    /* Phone headers: brand + Log in + Get started only — the other
       nav links wrap into a mess on small screens. */
    .nm-nav { flex-wrap: nowrap; gap: 2px; }
    .nm-nav .nm-link { display: none; }
    .nm-nav a[href="/login"] { display: inline-block; padding: 10px 10px; }
    .nm-nav .nm-btn-pill { padding: 10px 14px; font-size: 0.85rem; white-space: nowrap; }
    .nm-hero { padding: 46px 0 54px; }
    .nm-hero-title { font-size: clamp(2.1rem, 10vw, 2.6rem); }
    .nm-hero-sub { font-size: 1rem; margin: 20px auto 28px; }
    .nm-btn-pill, .nm-btn-ghost, .nm-btn-blue { padding: 12px 18px; font-size: 0.9rem; }
    .nm-hero-actions { gap: 10px; }
    .nm-section-sub { margin-bottom: 28px; }
    .nm-showcase { margin-top: 18px; }
    .nm-package { width: 86vw; }
    .nm-packages-grid { grid-template-columns: 1fr; padding-bottom: 14px; }
    .nm-packages-grid .nm-package { width: 100%; margin-top: 0 !important; }
    .nm-price-grid { grid-template-columns: 1fr !important; }
    .nm-steps { gap: 18px; }
    .nm-cta { padding: 40px 20px; border-radius: 18px; }
}
@media (max-width: 640px) {
    /* MudBlazor dialogs must never overflow a phone screen */
    .mud-dialog { width: calc(100vw - 24px) !important; max-width: calc(100vw - 24px) !important; }
}
