/* ==========================================================================
   ZekaForge design system — light-first, enterprise.
   White background by default; dark available via [data-theme="dark"].
   Real SVG icons (see <x-icon>). Logical properties keep it RTL-correct.
   ========================================================================== */

:root {
    /* Brand */
    --nx-blue: #2563eb;
    --nx-indigo: #4f46e5;
    --nx-violet: #7c3aed;
    --nx-cyan: #0891b2;
    --nx-grad: linear-gradient(135deg, var(--nx-blue), var(--nx-violet));
    --nx-grad-soft: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(124, 58, 237, .10));

    /* Light theme (default) */
    --nx-bg: #ffffff;
    --nx-bg-2: #f6f8fc;
    --nx-bg-3: #eef2f9;
    --nx-surface: #ffffff;
    --nx-surface-2: #ffffff;
    --nx-surface-3: #f4f7fc;
    --nx-border: rgba(15, 23, 42, .09);
    --nx-border-strong: rgba(15, 23, 42, .16);
    --nx-text: #0b1220;
    --nx-heading: #0b1220;
    --nx-muted: #475569;
    --nx-faint: #64748b;
    --nx-success: #16a34a;
    --nx-warning: #d97706;
    --nx-danger: #dc2626;

    --nx-container: 1180px;
    --nx-radius: 14px;
    --nx-radius-lg: 20px;
    --nx-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --nx-shadow: 0 10px 30px rgba(15, 23, 42, .08), 0 2px 8px rgba(15, 23, 42, .05);
    --nx-shadow-lg: 0 30px 60px rgba(15, 23, 42, .12);
    --nx-ring: rgba(37, 99, 235, .25);
    --nx-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --nx-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

[data-theme="dark"] {
    --nx-bg: #05070f;
    --nx-bg-2: #080c18;
    --nx-bg-3: #0b1120;
    --nx-surface: #0b1120;
    --nx-surface-2: #0f1626;
    --nx-surface-3: #131c30;
    --nx-border: rgba(255, 255, 255, .08);
    --nx-border-strong: rgba(255, 255, 255, .16);
    --nx-text: #e9edf7;
    --nx-heading: #ffffff;
    --nx-muted: #9aa6c2;
    --nx-faint: #6b7793;
    --nx-success: #34d399;
    --nx-warning: #fbbf24;
    --nx-danger: #f87171;
    --nx-shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
    --nx-shadow: 0 16px 40px rgba(0, 0, 0, .45);
    --nx-shadow-lg: 0 30px 60px rgba(0, 0, 0, .5);
    --nx-grad-soft: linear-gradient(135deg, rgba(37, 99, 235, .18), rgba(124, 58, 237, .18));
    /* Brighter accents so inner-page links, icons and focus rings pop on deep navy. */
    --nx-blue: #4f7cff;
    --nx-ring: rgba(79, 124, 255, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body.nx-body {
    margin: 0;
    font-family: var(--nx-font);
    color: var(--nx-text);
    background: var(--nx-bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--nx-heading); }
::selection { background: rgba(37, 99, 235, .18); }

.nx-container { width: 100%; max-width: var(--nx-container); margin-inline: auto; padding-inline: 24px; }
.nx-section { padding: 88px 0; position: relative; }
.nx-section--tight { padding: 56px 0; }
.nx-section--muted { background: var(--nx-bg-2); border-block: 1px solid var(--nx-border); }
.nx-center { text-align: center; }
.nx-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border: 1px solid var(--nx-border-strong); border-radius: 999px; color: var(--nx-blue); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--nx-grad-soft); }
.nx-h2 { font-size: clamp(28px, 4vw, 44px); margin: 18px 0 14px; }
.nx-lede { font-size: clamp(16px, 2vw, 19px); color: var(--nx-muted); max-width: 680px; }
.nx-center .nx-lede { margin-inline: auto; }

/* --- Icons --------------------------------------------------------------- */
.nx-ico { width: 22px; height: 22px; display: inline-block; vertical-align: middle; stroke: currentColor; fill: none; flex: none; }
.nx-ico--lg { width: 28px; height: 28px; }

/* --- Navigation ---------------------------------------------------------- */
.nx-nav { position: sticky; top: 0; z-index: 100; backdrop-filter: saturate(140%) blur(12px); background: color-mix(in srgb, var(--nx-bg) 82%, transparent); border-bottom: 1px solid var(--nx-border); }
.nx-nav__inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.nx-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--nx-heading); font-weight: 800; letter-spacing: .14em; font-size: 18px; }
.nx-brand svg { width: 30px; height: 30px; display: block; }
.nx-nav__links { display: flex; gap: 4px; margin-inline-start: 14px; }
.nx-nav__links a { color: var(--nx-muted); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 9px; transition: color .15s, background .15s; }
.nx-nav__links a:hover { color: var(--nx-heading); background: var(--nx-bg-2); }
.nx-nav__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nx-iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--nx-border); background: var(--nx-surface); color: var(--nx-text); cursor: pointer; }
.nx-iconbtn:hover { border-color: var(--nx-border-strong); }

.nx-lang { position: relative; }
.nx-lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--nx-border); border-radius: 999px; font-size: 13px; background: var(--nx-surface); }
.nx-lang summary::-webkit-details-marker { display: none; }
.nx-lang__menu { position: absolute; inset-inline-end: 0; margin-top: 8px; min-width: 196px; list-style: none; padding: 6px; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: 12px; box-shadow: var(--nx-shadow); z-index: 120; }
.nx-lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.nx-lang__menu a:hover { background: var(--nx-bg-2); }
.nx-lang__menu a.is-active { color: var(--nx-blue); font-weight: 600; }

/* --- Buttons ------------------------------------------------------------- */
.nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s, background .15s; white-space: nowrap; }
.nx-btn--lg { padding: 14px 24px; font-size: 15.5px; }
.nx-btn--primary { color: #fff; background: var(--nx-grad); box-shadow: 0 8px 20px rgba(37, 99, 235, .25); }
.nx-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(37, 99, 235, .33); }
.nx-btn--ghost { color: var(--nx-heading); border-color: var(--nx-border-strong); background: var(--nx-surface); }
.nx-btn--ghost:hover { border-color: var(--nx-blue); color: var(--nx-blue); }
.nx-btn--block { width: 100%; }
.nx-btn .nx-ico { width: 18px; height: 18px; }

/* --- Hero ---------------------------------------------------------------- */
.nx-hero { position: relative; padding: 108px 0 84px; overflow: hidden; }
.nx-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(820px 440px at 82% -10%, rgba(124, 58, 237, .14), transparent 60%), radial-gradient(720px 400px at 2% 4%, rgba(37, 99, 235, .12), transparent 58%); }
.nx-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6; background-image: linear-gradient(var(--nx-border) 1px, transparent 1px), linear-gradient(90deg, var(--nx-border) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 72%); }
.nx-hero__inner { position: relative; z-index: 1; max-width: 860px; }
.nx-hero__title { font-size: clamp(38px, 6.4vw, 66px); margin: 22px 0 18px; background: linear-gradient(120deg, #0b1220 15%, #2546b8 55%, #6d28d9); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .nx-hero__title { background: linear-gradient(120deg, #fff 10%, #c9d6ff 55%, #b9a7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-hero__subtitle { font-size: clamp(17px, 2.1vw, 20px); color: var(--nx-muted); max-width: 700px; }
.nx-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 14px; }
.nx-hero__note { font-size: 13px; color: var(--nx-faint); }
.nx-trust { display: flex; flex-wrap: wrap; gap: 14px 28px; list-style: none; padding: 0; margin: 30px 0 0; }
.nx-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--nx-muted); }
.nx-trust li .nx-ico { width: 18px; height: 18px; color: var(--nx-success); }

/* --- Logo strip ---------------------------------------------------------- */
.nx-logos { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: center; }
.nx-logos span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-faint); border: 1px solid var(--nx-border); border-radius: 999px; padding: 7px 14px; background: var(--nx-surface); }
.nx-logos .nx-ico { width: 16px; height: 16px; }

/* --- Cards / grids ------------------------------------------------------- */
.nx-grid { display: grid; gap: 22px; }
.nx-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.nx-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.nx-grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.nx-card { padding: 26px; border-radius: var(--nx-radius-lg); border: 1px solid var(--nx-border); background: var(--nx-surface); box-shadow: var(--nx-shadow-sm); position: relative; overflow: hidden; transition: border-color .18s, transform .18s, box-shadow .18s; }
.nx-card:hover { border-color: var(--nx-border-strong); transform: translateY(-2px); box-shadow: var(--nx-shadow); }
.nx-card__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--nx-grad-soft); border: 1px solid var(--nx-border); color: var(--nx-blue); margin-bottom: 14px; }
.nx-card__icon .nx-ico { width: 24px; height: 24px; }
.nx-card__title { font-size: 19px; margin: 4px 0 8px; }
.nx-card__desc { color: var(--nx-muted); font-size: 14.5px; }
.nx-card__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--nx-faint); font-weight: 600; }
.nx-card--feature::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: var(--nx-grad); }
.nx-product { padding: 32px; }
.nx-product--cyber::before { background: linear-gradient(90deg, var(--nx-violet), var(--nx-cyan)); }
.nx-list { list-style: none; padding: 0; margin: 18px 0 0; }
.nx-list li { position: relative; padding-inline-start: 28px; margin-bottom: 11px; font-size: 14.5px; color: var(--nx-text); }
.nx-list li .nx-ico { position: absolute; inset-inline-start: 0; top: 2px; width: 18px; height: 18px; color: var(--nx-blue); }

/* --- Pricing ------------------------------------------------------------- */
.nx-pricing { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: stretch; }
.nx-plan { display: flex; flex-direction: column; padding: 26px; border-radius: var(--nx-radius-lg); border: 1px solid var(--nx-border); background: var(--nx-surface); box-shadow: var(--nx-shadow-sm); }
.nx-plan--featured { border-color: var(--nx-blue); box-shadow: 0 0 0 1px var(--nx-blue), var(--nx-shadow); }
.nx-plan__name { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--nx-muted); }
.nx-plan__price { font-size: 38px; font-weight: 800; margin: 10px 0 2px; color: var(--nx-heading); }
.nx-plan__price small { font-size: 14px; font-weight: 500; color: var(--nx-faint); }
.nx-plan__features { list-style: none; padding: 0; margin: 18px 0; flex: 1; }
.nx-plan__features li { padding-inline-start: 26px; position: relative; margin-bottom: 9px; font-size: 14px; color: var(--nx-muted); }
.nx-plan__features li .nx-ico { position: absolute; inset-inline-start: 0; top: 2px; width: 17px; height: 17px; color: var(--nx-success); }
.nx-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--nx-grad); color: #fff; }

/* --- CTA band ------------------------------------------------------------ */
.nx-cta-band { border-radius: var(--nx-radius-lg); padding: 48px; text-align: center; background: var(--nx-grad-soft); border: 1px solid var(--nx-border-strong); position: relative; overflow: hidden; }

/* --- Notices ------------------------------------------------------------- */
.nx-notice { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--nx-border-strong); background: var(--nx-surface-3); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.nx-notice .nx-ico { flex: none; width: 20px; height: 20px; color: var(--nx-blue); margin-top: 1px; }
.nx-notice--warn { border-color: rgba(217, 119, 6, .35); background: rgba(217, 119, 6, .07); }
.nx-notice--warn .nx-ico { color: var(--nx-warning); }

/* --- Forms --------------------------------------------------------------- */
.nx-field { margin-bottom: 16px; }
.nx-label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.nx-input, .nx-textarea, .nx-select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--nx-border-strong); background: var(--nx-surface); color: var(--nx-text); font: inherit; }
.nx-input:focus, .nx-textarea:focus, .nx-select:focus { outline: none; border-color: var(--nx-blue); box-shadow: 0 0 0 3px var(--nx-ring); }
.nx-textarea { min-height: 130px; resize: vertical; }
.nx-error { color: var(--nx-danger); font-size: 13px; margin-top: 6px; }
.nx-help { color: var(--nx-faint); font-size: 12.5px; margin-top: 6px; }
.nx-auth { max-width: 440px; margin: 64px auto; padding: 32px; border-radius: var(--nx-radius-lg); border: 1px solid var(--nx-border); background: var(--nx-surface); box-shadow: var(--nx-shadow); }

/* --- Breadcrumbs --------------------------------------------------------- */
.nx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: 13px; color: var(--nx-faint); }
.nx-crumbs a { color: var(--nx-muted); text-decoration: none; }
.nx-crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--nx-faint); }

/* --- Blog ---------------------------------------------------------------- */
.nx-posts { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.nx-post-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.nx-post-card .nx-card__title { font-size: 18px; }
.nx-post-meta { font-size: 12.5px; color: var(--nx-faint); margin-top: auto; padding-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.nx-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--nx-blue); border: 1px solid var(--nx-border); border-radius: 999px; padding: 3px 9px; background: var(--nx-surface); }
.nx-article { max-width: 760px; margin-inline: auto; }
.nx-article__header { margin-bottom: 28px; }
.nx-article__title { font-size: clamp(30px, 4.5vw, 44px); margin: 12px 0; }
.nx-prose { color: var(--nx-text); font-size: 16.5px; line-height: 1.8; }
.nx-prose h2 { font-size: 26px; margin: 38px 0 14px; padding-top: 10px; border-top: 1px solid var(--nx-border); }
.nx-prose h3 { font-size: 20px; margin: 28px 0 10px; }
.nx-prose p { margin: 0 0 18px; color: var(--nx-muted); }
.nx-prose a { color: var(--nx-blue); text-underline-offset: 3px; }
.nx-prose ul, .nx-prose ol { color: var(--nx-muted); padding-inline-start: 22px; margin: 0 0 18px; }
.nx-prose li { margin-bottom: 9px; }
.nx-prose strong { color: var(--nx-text); }
.nx-prose code { font-family: var(--nx-mono); font-size: .9em; background: var(--nx-bg-3); border: 1px solid var(--nx-border); padding: 2px 6px; border-radius: 6px; }
.nx-prose pre { background: var(--nx-bg-3); border: 1px solid var(--nx-border); border-radius: 12px; padding: 16px 18px; overflow-x: auto; margin: 0 0 20px; }
.nx-prose pre code { background: none; border: 0; padding: 0; }
.nx-prose blockquote { margin: 0 0 20px; padding: 10px 18px; border-inline-start: 3px solid var(--nx-blue); background: var(--nx-bg-2); border-radius: 0 10px 10px 0; color: var(--nx-muted); }
.nx-prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
.nx-prose th, .nx-prose td { border: 1px solid var(--nx-border); padding: 9px 12px; text-align: start; }
.nx-prose th { background: var(--nx-bg-2); }

/* --- Stats --------------------------------------------------------------- */
.nx-stat { text-align: center; }
.nx-stat__num { font-size: 34px; font-weight: 800; background: var(--nx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-stat__label { color: var(--nx-muted); font-size: 14px; }

/* ==========================================================================
   Device Cloud — device lab visuals (inspired by cloud device-testing UIs)
   ========================================================================== */
.nx-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.nx-devhero { position: relative; display: flex; justify-content: center; }
.nx-phone { width: 230px; aspect-ratio: 9 / 19; border-radius: 34px; padding: 10px; background: linear-gradient(160deg, #e8edf6, #cdd7e8); box-shadow: var(--nx-shadow-lg); position: relative; }
[data-theme="dark"] .nx-phone { background: linear-gradient(160deg, #1b2440, #0d1427); }
.nx-phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 92px; height: 18px; border-radius: 0 0 14px 14px; background: rgba(0, 0, 0, .35); z-index: 2; }
.nx-phone__screen { width: 100%; height: 100%; border-radius: 26px; background: radial-gradient(130% 90% at 50% 0%, #3157d6, #0b1120 70%); overflow: hidden; position: relative; display: flex; flex-direction: column; }
.nx-phone__bar { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; color: #cdd7f2; font-size: 10px; }
.nx-phone__app { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 20px 18px; align-content: start; }
.nx-phone__app i { aspect-ratio: 1; border-radius: 12px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .1); }
.nx-phone__app i:nth-child(3n) { background: rgba(124, 58, 237, .5); }
.nx-phone__app i:nth-child(4n) { background: rgba(37, 99, 235, .5); }
.nx-phone__live { position: absolute; inset-inline-end: -14px; inset-block-start: 40px; background: var(--nx-surface); border: 1px solid var(--nx-border); box-shadow: var(--nx-shadow); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.nx-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--nx-faint); }
.nx-dot--live { background: var(--nx-success); box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.nx-dot--available { background: var(--nx-success); }
.nx-dot--in_use { background: var(--nx-blue); }
.nx-dot--maintenance { background: var(--nx-warning); }
.nx-dot--offline { background: var(--nx-faint); }

.nx-devicecard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--nx-border); border-radius: 14px; background: var(--nx-surface); box-shadow: var(--nx-shadow-sm); }
.nx-devicecard__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--nx-grad-soft); color: var(--nx-blue); flex: none; }
.nx-devicecard__ico .nx-ico { width: 22px; height: 22px; }
.nx-devicecard__name { font-weight: 600; }
.nx-devicecard__spec { font-size: 12.5px; color: var(--nx-faint); }
.nx-devicecard__status { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--nx-muted); text-transform: capitalize; }

.nx-steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nx-step { position: relative; padding: 22px; border: 1px solid var(--nx-border); border-radius: 16px; background: var(--nx-surface); box-shadow: var(--nx-shadow-sm); }
.nx-step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; inset-inline-start: 20px; width: 30px; height: 30px; border-radius: 9px; background: var(--nx-grad); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }

/* ==========================================================================
   Cyber AI — security visuals (inspired by modern security dashboards)
   ========================================================================== */
.nx-score { --v: 0; --c: var(--nx-blue); width: 148px; height: 148px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--nx-bg-3) 0); display: grid; place-items: center; }
.nx-score__inner { width: 112px; height: 112px; border-radius: 50%; background: var(--nx-surface); display: grid; place-items: center; text-align: center; box-shadow: var(--nx-shadow-sm); }
.nx-score__num { font-size: 34px; font-weight: 800; color: var(--nx-heading); line-height: 1; }
.nx-score__lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--nx-faint); }
.nx-sev { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; text-transform: capitalize; }
.nx-sev--high { color: var(--nx-danger); background: rgba(220, 38, 38, .10); }
.nx-sev--medium { color: var(--nx-warning); background: rgba(217, 119, 6, .12); }
.nx-sev--low { color: var(--nx-success); background: rgba(22, 163, 74, .12); }
.nx-sev--unknown { color: var(--nx-faint); background: var(--nx-bg-3); }
.nx-finding { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--nx-border); border-radius: 14px; background: var(--nx-surface); box-shadow: var(--nx-shadow-sm); margin-bottom: 12px; }
.nx-finding__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--nx-bg-3); color: var(--nx-blue); }
.nx-finding__ico .nx-ico { width: 20px; height: 20px; }
.nx-meter { height: 8px; border-radius: 999px; background: var(--nx-bg-3); overflow: hidden; }
.nx-meter > span { display: block; height: 100%; border-radius: 999px; background: var(--nx-grad); }
.nx-shieldwrap { display: flex; justify-content: center; }
.nx-shield { width: 210px; height: 210px; border-radius: 28px; background: var(--nx-grad-soft); border: 1px solid var(--nx-border); display: grid; place-items: center; box-shadow: var(--nx-shadow); }
.nx-shield .nx-ico { width: 96px; height: 96px; color: var(--nx-violet); stroke-width: 1.4; }

/* --- Footer -------------------------------------------------------------- */
.nx-footer { border-top: 1px solid var(--nx-border); padding: 56px 0 32px; background: var(--nx-bg-2); margin-top: 48px; }
.nx-footer__grid { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(4, 1fr); }
.nx-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--nx-faint); margin: 0 0 14px; }
.nx-footer ul { list-style: none; padding: 0; margin: 0; }
.nx-footer li { margin-bottom: 10px; }
.nx-footer a { color: var(--nx-muted); text-decoration: none; font-size: 14px; }
.nx-footer a:hover { color: var(--nx-heading); }
.nx-footer__tag { color: var(--nx-muted); margin: 14px 0 18px; max-width: 280px; font-size: 14px; }
.nx-news { display: flex; gap: 8px; max-width: 300px; }
.nx-news input { flex: 1; }
.nx-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--nx-border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.nx-footer__rights { color: var(--nx-faint); font-size: 13px; margin: 0; }
.nx-social { display: inline-flex; gap: 10px; }
.nx-social a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--nx-border); color: var(--nx-muted); }
.nx-social a:hover { color: var(--nx-blue); border-color: var(--nx-blue); }
.nx-social .nx-ico { width: 18px; height: 18px; }

/* --- RTL ----------------------------------------------------------------- */
[dir="rtl"] .nx-hero::before { background: radial-gradient(820px 440px at 18% -10%, rgba(124, 58, 237, .14), transparent 60%), radial-gradient(720px 400px at 98% 4%, rgba(37, 99, 235, .12), transparent 58%); }
[dir="rtl"] .nx-prose pre, [dir="rtl"] .nx-prose code { direction: ltr; text-align: start; unicode-bidi: embed; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1000px) { .nx-footer__grid { grid-template-columns: 1fr 1fr; } .nx-split { grid-template-columns: 1fr; } .nx-devhero { order: -1; } }
@media (max-width: 860px) { .nx-nav__links { display: none; } .nx-section { padding: 60px 0; } .nx-hero { padding: 72px 0 52px; } .nx-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .nx-footer__grid { grid-template-columns: 1fr; } }
@media print { .nx-nav, .nx-footer, .nx-hero::after { display: none; } body.nx-body { background: #fff; color: #000; } }

/* ==========================================================================
   Remote Control console mock (Device Cloud) — inspired by cloud device labs
   ========================================================================== */
.nx-console { display: grid; grid-template-columns: 54px 1fr; border-radius: 18px; overflow: hidden; border: 1px solid var(--nx-border); background: var(--nx-surface); box-shadow: var(--nx-shadow-lg); max-width: 760px; width: 100%; }
.nx-console__rail { background: var(--nx-grad); display: flex; flex-direction: column; gap: 20px; padding: 16px 0; align-items: center; color: #fff; }
.nx-console__rail .nx-ico { width: 20px; height: 20px; opacity: .9; }
.nx-console__main { display: flex; flex-direction: column; min-width: 0; }
.nx-console__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--nx-border); }
.nx-console__title { font-weight: 700; font-size: 14px; color: var(--nx-heading); }
.nx-console__nav { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--nx-muted); }
.nx-console__nav b { color: var(--nx-heading); }
.nx-console__pill { background: var(--nx-blue); color: #fff; border-radius: 999px; font-size: 10px; padding: 1px 7px; margin-inline-start: 4px; }
.nx-console__bar { display: flex; align-items: center; justify-content: space-between; padding: 7px 16px; background: var(--nx-bg-2); border-bottom: 1px solid var(--nx-border); font-size: 11.5px; color: var(--nx-faint); }
.nx-console__dots { display: inline-flex; gap: 6px; }
.nx-console__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--nx-border-strong); display: inline-block; }
.nx-console__tabs { display: flex; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--nx-border); flex-wrap: wrap; }
.nx-console__tab { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--nx-muted); padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.nx-console__tab .nx-ico { width: 14px; height: 14px; }
.nx-console__tab.is-active { background: var(--nx-grad-soft); color: var(--nx-blue); font-weight: 600; }
.nx-console__body { display: grid; grid-template-columns: 128px 1fr 188px; gap: 14px; padding: 16px; }
.nx-rc-phone { width: 100%; aspect-ratio: 9 / 18; border-radius: 16px; background: linear-gradient(160deg, #cfd8ea, #aab6cf); padding: 6px; box-shadow: var(--nx-shadow); }
.nx-rc-phone__scr { height: 100%; border-radius: 12px; background: radial-gradient(120% 80% at 50% 10%, #3a63d8, #0b1120 72%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #eaf0ff; }
.nx-rc-phone__time { font-size: 30px; font-weight: 700; letter-spacing: .02em; }
.nx-rc-phone__date { font-size: 10px; opacity: .8; margin-top: 2px; }
.nx-rc-phone__lock { margin-top: 14px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; }
.nx-rc-phone__lock .nx-ico { width: 13px; height: 13px; color: #eaf0ff; }
.nx-map { position: relative; border-radius: 10px; background: var(--nx-bg-2); background-image: radial-gradient(var(--nx-border-strong) 1.1px, transparent 1.3px); background-size: 11px 11px; border: 1px solid var(--nx-border); min-height: 120px; }
.nx-map__pin { position: absolute; left: 40%; top: 42%; width: 12px; height: 12px; border-radius: 50%; background: var(--nx-blue); }
.nx-map__pin::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--nx-blue); opacity: .5; animation: nx-ping 1.8s ease-out infinite; }
@keyframes nx-ping { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
.nx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.nx-chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--nx-muted); border: 1px solid var(--nx-border); border-radius: 7px; padding: 4px 7px; background: var(--nx-surface); }
.nx-chips .nx-ico { width: 12px; height: 12px; color: var(--nx-blue); }
.nx-rc-panel { display: flex; flex-direction: column; gap: 10px; }
.nx-rc-box { border: 1px solid var(--nx-border); border-radius: 9px; padding: 8px 9px; background: var(--nx-surface); }
.nx-rc-box__lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--nx-faint); display: flex; align-items: center; justify-content: space-between; }
.nx-rc-box__lbl .nx-ico { width: 13px; height: 13px; }
.nx-rc-box__in { margin-top: 6px; height: 22px; border-radius: 6px; background: var(--nx-bg-2); border: 1px solid var(--nx-border); display: flex; align-items: center; padding: 0 7px; font-family: var(--nx-mono); font-size: 10px; color: var(--nx-muted); }
.nx-rc-run { margin-inline-start: auto; width: 18px; height: 18px; border-radius: 5px; background: var(--nx-grad); display: grid; place-items: center; }
.nx-rc-run .nx-ico { width: 11px; height: 11px; color: #fff; }
.nx-tray { padding: 4px 16px 16px; }
.nx-tray__title { font-size: 12px; font-weight: 700; color: var(--nx-blue); margin: 0 0 8px; }
.nx-tray__row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.nx-traycard { flex: none; width: 74px; border: 1px solid var(--nx-border); border-radius: 10px; padding: 7px; background: var(--nx-surface); text-align: center; }
.nx-traycard__scr { height: 56px; border-radius: 6px; background: linear-gradient(160deg, #4f7cff, #7c3aed); margin-bottom: 5px; }
.nx-traycard__lbl { font-size: 8.5px; color: var(--nx-faint); }
.nx-traycard__dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--nx-success); margin-inline-start: 4px; }

@media (max-width: 680px) {
    .nx-console__body { grid-template-columns: 1fr; }
    .nx-console__body .nx-rc-phone { max-width: 150px; margin-inline: auto; }
}

/* ==========================================================================
   CrowdStrike-style security sections (Cyber AI) — dark, bold, red accents
   ========================================================================== */
.nx-sec { background: #0a0b12; color: #e8ebf5; --sec-red: #ef3b2d; --sec-red2: #b91c1c; --sec-muted: #9aa3b8; --sec-card: #12131e; --sec-border: rgba(255, 255, 255, .09); }
.nx-sec ::selection { background: rgba(239, 59, 45, .35); }
.nx-sec-hero { position: relative; padding: 104px 0 80px; overflow: hidden; }
.nx-sec-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 420px at 78% 0%, rgba(239, 59, 45, .28), transparent 60%), radial-gradient(640px 420px at 6% 20%, rgba(124, 58, 237, .18), transparent 60%); }
.nx-sec-hero::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(70% 70% at 60% 0%, #000, transparent 72%); }
.nx-sec__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.nx-sec__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border: 1px solid rgba(239, 59, 45, .5); border-radius: 999px; color: #ff6b5e; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(239, 59, 45, .1); }
.nx-sec__title { font-size: clamp(36px, 6vw, 68px); line-height: 1.02; margin: 20px 0 16px; color: #fff; font-weight: 800; letter-spacing: -.02em; }
.nx-sec__title em { font-style: normal; color: var(--sec-red); }
.nx-sec__sub { font-size: clamp(16px, 2vw, 20px); color: var(--sec-muted); max-width: 560px; }
.nx-sec__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.nx-secbtn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.nx-secbtn--red { background: linear-gradient(135deg, var(--sec-red), var(--sec-red2)); color: #fff; box-shadow: 0 10px 30px rgba(239, 59, 45, .35); }
.nx-secbtn--red:hover { transform: translateY(-1px); }
.nx-secbtn--ghost { color: #fff; border-color: var(--sec-border); }
.nx-secbtn--ghost:hover { border-color: #fff; }
.nx-sec__cta .nx-ico { width: 18px; height: 18px; }

/* Threat radar graphic */
.nx-radar { position: relative; width: min(360px, 90%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, rgba(239,59,45,.12), transparent 70%); display: grid; place-items: center; }
.nx-radar::before, .nx-radar::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--sec-border); }
.nx-radar::before { inset: 14%; }
.nx-radar::after { inset: 30%; }
.nx-radar__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--sec-border); }
.nx-radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(239,59,45,.0), rgba(239,59,45,.35) 40deg, transparent 80deg); animation: nx-sweep 4s linear infinite; }
@keyframes nx-sweep { to { transform: rotate(360deg); } }
.nx-radar__core { width: 86px; height: 86px; border-radius: 22px; background: linear-gradient(135deg, var(--sec-red), #7c3aed); display: grid; place-items: center; box-shadow: 0 0 40px rgba(239,59,45,.5); z-index: 1; }
.nx-radar__core .nx-ico { width: 44px; height: 44px; color: #fff; stroke-width: 1.5; }
.nx-blip { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--sec-red); box-shadow: 0 0 0 5px rgba(239,59,45,.18); }
.nx-blip:nth-child(1) { left: 20%; top: 28%; } .nx-blip:nth-child(2) { right: 18%; top: 40%; background: #fbbf24; box-shadow: 0 0 0 5px rgba(251,191,36,.18); } .nx-blip:nth-child(3) { left: 32%; bottom: 20%; background: #22d3ee; box-shadow: 0 0 0 5px rgba(34,211,238,.18); }

.nx-sec-section { padding: 80px 0; position: relative; }
.nx-sec-section--line { border-top: 1px solid var(--sec-border); }
.nx-sec h2.nx-sec__h { font-size: clamp(26px, 4vw, 40px); color: #fff; text-align: center; margin: 0 0 10px; }
.nx-sec__lead { color: var(--sec-muted); text-align: center; max-width: 620px; margin: 0 auto 40px; }
.nx-secgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.nx-secmod { position: relative; padding: 26px; border-radius: 16px; background: var(--sec-card); border: 1px solid var(--sec-border); overflow: hidden; transition: transform .18s, border-color .18s; }
.nx-secmod:hover { transform: translateY(-3px); border-color: rgba(239,59,45,.5); }
.nx-secmod::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--sec-red), #7c3aed); }
.nx-secmod__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(239,59,45,.12); color: #ff6b5e; margin-bottom: 14px; }
.nx-secmod__ico .nx-ico { width: 24px; height: 24px; }
.nx-secmod h3 { color: #fff; font-size: 18px; margin: 0 0 8px; }
.nx-secmod p { color: var(--sec-muted); font-size: 14.5px; margin: 0; }
.nx-seccaps { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nx-seccap { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--sec-border); background: var(--sec-card); color: #e8ebf5; font-size: 14px; font-weight: 600; }
.nx-seccap .nx-ico { width: 18px; height: 18px; color: #ff6b5e; }
.nx-sec-cta { text-align: center; padding: 72px 0; position: relative; }
.nx-sec-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(239,59,45,.2), transparent 60%); }
.nx-sec-cta > * { position: relative; z-index: 1; }

@media (max-width: 900px) { .nx-sec__inner { grid-template-columns: 1fr; } .nx-radar { order: -1; } }

/* ==========================================================================
   Device catalog — phone visuals, browsable cards, detail page
   ========================================================================== */
.nx-devphone { width: 116px; aspect-ratio: 9 / 19; border-radius: 22px; background: #0b1120; padding: 6px; box-shadow: var(--nx-shadow); position: relative; flex: none; }
.nx-devphone__scr { height: 100%; border-radius: 16px; background: linear-gradient(160deg, var(--pf, #4f7cff), var(--pt, #7c3aed)); position: relative; overflow: hidden; }
.nx-devphone__notch { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 34px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .35); }
.nx-devphone__grid { position: absolute; inset: 20px 11px 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; align-content: start; }
.nx-devphone__grid i { aspect-ratio: 1; border-radius: 7px; background: rgba(255, 255, 255, .24); }
.nx-devphone__grid i:nth-child(3n) { background: rgba(255, 255, 255, .4); }
.nx-devphone--sm { width: 58px; border-radius: 13px; padding: 3px; }
.nx-devphone--sm .nx-devphone__scr { border-radius: 10px; }
.nx-devphone--sm .nx-devphone__notch { width: 18px; height: 3px; top: 4px; }
.nx-devphone--sm .nx-devphone__grid { inset: 11px 6px 6px; gap: 4px; }
.nx-devphone--lg { width: 210px; }

.nx-catalog { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.nx-devcard { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--nx-border); border-radius: 16px; background: var(--nx-surface); box-shadow: var(--nx-shadow-sm); text-decoration: none; color: inherit; transition: transform .18s, border-color .18s, box-shadow .18s; }
.nx-devcard:hover { transform: translateY(-3px); border-color: var(--nx-blue); box-shadow: var(--nx-shadow); }
.nx-devcard__body { min-width: 0; display: flex; flex-direction: column; }
.nx-devcard__name { font-size: 18px; font-weight: 700; color: var(--nx-heading); margin: 8px 0 4px; }
.nx-devcard__spec { font-size: 13px; color: var(--nx-faint); }
.nx-devcard__price { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--nx-heading); }
.nx-devcard__price small { font-weight: 500; color: var(--nx-faint); font-size: 12px; }
.nx-devcard__view { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--nx-blue); display: inline-flex; align-items: center; gap: 6px; }
.nx-devcard__view .nx-ico { width: 15px; height: 15px; }

.nx-devdetail { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.nx-devstage { display: flex; justify-content: center; padding: 24px; border: 1px solid var(--nx-border); border-radius: 20px; background: var(--nx-bg-2); }
.nx-spec { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--nx-border); border: 1px solid var(--nx-border); border-radius: 12px; overflow: hidden; }
.nx-spec li { background: var(--nx-surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.nx-spec dt, .nx-spec .k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--nx-faint); }
.nx-spec .v { font-size: 15px; font-weight: 600; color: var(--nx-heading); }
.nx-pricecard { padding: 22px; border: 1px solid var(--nx-border-strong); border-radius: 16px; background: var(--nx-surface); box-shadow: var(--nx-shadow-sm); }
.nx-pricecard__num { font-size: 30px; font-weight: 800; color: var(--nx-heading); }
.nx-pricecard__num small { font-size: 14px; font-weight: 500; color: var(--nx-faint); }

@media (max-width: 720px) { .nx-devdetail { grid-template-columns: 1fr; } .nx-spec { grid-template-columns: 1fr; } }

/* ==========================================================================
   Security console mock + refined dark security sections (Cyber AI)
   ========================================================================== */
.nx-sec { background: linear-gradient(180deg, #0c1020, #0a0b12); }
.nx-secconsole { background: #10131f; border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); overflow: hidden; width: min(440px, 100%); margin-inline: auto; }
.nx-secconsole__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #cbd2e6; }
.nx-secconsole__head .nx-dotrow { display: inline-flex; gap: 6px; }
.nx-secconsole__head .nx-dotrow i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.nx-secconsole__body { padding: 20px; display: grid; gap: 18px; }
.nx-secconsole__top { display: flex; gap: 18px; align-items: center; }
.nx-score--dark { background: conic-gradient(var(--c) calc(var(--v) * 1%), rgba(255, 255, 255, .08) 0); }
.nx-score--dark .nx-score__inner { background: #10131f; box-shadow: none; }
.nx-score--dark .nx-score__num { color: #fff; }
.nx-score--dark .nx-score__lbl { color: #8b93a9; }
.nx-secbars { flex: 1; display: grid; gap: 9px; }
.nx-secbars__row { font-size: 12px; color: #9aa3b8; }
.nx-secbars__row > div { display: flex; justify-content: space-between; margin-bottom: 4px; }
.nx-secbars .nx-meter { background: rgba(255, 255, 255, .09); }
.nx-secfinding { display: flex; gap: 11px; align-items: center; padding: 11px 13px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 11px; background: #171b2b; }
.nx-secfinding__d { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.nx-secfinding__t { font-size: 13.5px; color: #e8ebf5; flex: 1; }
.nx-secfinding__s { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.nx-secai { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #9aa3b8; padding-top: 2px; }
.nx-secai .nx-ico { width: 17px; height: 17px; color: #ff6b5e; flex: none; margin-top: 1px; }

/* dark industries strip + flow */
.nx-seclogos { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: center; }
.nx-seclogos span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8b93a9; border: 1px solid var(--sec-border); border-radius: 999px; padding: 7px 14px; }
.nx-seclogos .nx-ico { width: 16px; height: 16px; color: #ff6b5e; }
.nx-secflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.nx-secflow__step { position: relative; padding: 24px 18px; text-align: center; }
.nx-secflow__step:not(:last-child)::after { content: ""; position: absolute; top: 40px; inset-inline-end: -1px; width: 1px; height: calc(100% - 50px); background: var(--sec-border); }
.nx-secflow__n { counter-increment: s; width: 46px; height: 46px; border-radius: 13px; margin: 0 auto 12px; display: grid; place-items: center; background: rgba(239, 59, 45, .12); color: #ff6b5e; font-weight: 800; }
.nx-secflow__step h3 { color: #fff; font-size: 16px; margin: 0 0 6px; }
.nx-secflow__step p { color: #8b93a9; font-size: 13.5px; margin: 0; }
@media (max-width: 820px) { .nx-secflow { grid-template-columns: 1fr 1fr; } .nx-secflow__step::after { display: none !important; } }
@media (max-width: 460px) { .nx-secflow { grid-template-columns: 1fr; } }

/* ==========================================================================
   Homepage — premium dark enterprise hero (reference-matched)
   Rendered under a locked dark theme; values tuned for deep-navy + glow.
   ========================================================================== */
.nx-home { background:
        radial-gradient(900px 500px at 82% 2%, rgba(124, 58, 237, .20), transparent 60%),
        radial-gradient(760px 480px at 0% 8%, rgba(37, 99, 235, .18), transparent 58%),
        #05070f; }
.nx-home .nx-container { position: relative; z-index: 1; }

/* dotted map backdrop */
.nx-dotmap { background-image: radial-gradient(rgba(79, 124, 255, .35) 1px, transparent 1.4px); background-size: 14px 14px; }

/* --- Hero ---------------------------------------------------------------- */
.nx-hhero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.nx-hhero::after { content: ""; position: absolute; inset: 0 0 0 40%; opacity: .45; pointer-events: none; background-image: radial-gradient(rgba(79, 124, 255, .4) 1px, transparent 1.5px); background-size: 15px 15px; mask-image: radial-gradient(60% 70% at 75% 40%, #000, transparent 75%); }
.nx-hgrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.nx-hbadge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(124, 58, 237, .4); background: rgba(124, 58, 237, .12); color: #c9b8ff; font-size: 12.5px; font-weight: 600; }
.nx-htitle { font-size: clamp(42px, 7vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; color: #fff; margin: 20px 0 18px; }
.nx-htitle .nx-g { background: linear-gradient(90deg, #8b5cf6, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-htitle .nx-b { color: #4f7cff; }
.nx-hsub { font-size: clamp(16px, 1.8vw, 19px); color: #9aa6c2; max-width: 500px; }
.nx-hchecks { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 22px 0 28px; list-style: none; padding: 0; }
.nx-hchecks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #c7d0e4; }
.nx-hchecks .nx-ico { width: 18px; height: 18px; color: #22d3ee; }
.nx-hcta { display: flex; flex-wrap: wrap; gap: 14px; }
.nx-hbtn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.nx-hbtn--grad { background: linear-gradient(135deg, #22d3ee, #4f7cff); color: #04121f; box-shadow: 0 12px 34px rgba(34, 211, 238, .3); }
.nx-hbtn--grad:hover { transform: translateY(-1px); }
.nx-hbtn--outline { color: #fff; border-color: rgba(255, 255, 255, .22); }
.nx-hbtn--outline:hover { border-color: #fff; }
.nx-hbtn .nx-ico { width: 18px; height: 18px; }

/* hero art */
.nx-hart { position: relative; min-height: 400px; display: grid; place-items: center; }
.nx-hstage { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / .86; }
.nx-hbase { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); width: 86%; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 124, 255, .55), transparent); filter: blur(4px); }
.nx-hshield { position: absolute; left: 46%; top: 8%; width: 188px; height: 216px; background: linear-gradient(160deg, #4f7cff, #7c3aed); clip-path: polygon(50% 0, 100% 16%, 100% 56%, 50% 100%, 0 56%, 0 16%); display: grid; place-items: center; box-shadow: 0 0 70px rgba(79, 124, 255, .55); }
.nx-hshield::before { content: ""; position: absolute; inset: 4px; clip-path: inherit; background: linear-gradient(160deg, #1b2a6b, #2a1a5e); }
.nx-hshield .nx-ico { position: relative; width: 70px; height: 70px; color: #bcd0ff; stroke-width: 1.6; }
.nx-hphone { position: absolute; left: 6%; top: 20%; width: 120px; aspect-ratio: 9 / 18.5; border-radius: 20px; background: linear-gradient(160deg, #0f1836, #0a1020); border: 1px solid rgba(120, 150, 255, .25); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); display: grid; place-items: center; }
.nx-hphone .nx-ico { width: 48px; height: 48px; color: #22d3ee; }
.nx-hcard { position: absolute; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(14, 20, 38, .86); backdrop-filter: blur(8px); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); padding: 12px 14px; }
.nx-hcard--a { right: 0; top: 10%; }
.nx-hcard--b { right: 4%; bottom: 10%; }
.nx-hcard__lbl { font-size: 11px; color: #8b93a9; }
.nx-hcard__row { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.nx-hcard__big { font-size: 22px; font-weight: 800; color: #fff; }
.nx-hcheck { width: 26px; height: 26px; border-radius: 50%; background: rgba(22, 163, 74, .18); display: grid; place-items: center; }
.nx-hcheck .nx-ico { width: 15px; height: 15px; color: #34d399; }
.nx-hdelta { color: #34d399; font-size: 12px; font-weight: 700; }
.nx-hspark { width: 72px; height: 26px; }

/* --- Feature cards ------------------------------------------------------- */
.nx-hfeatures { display: grid; gap: 18px; grid-template-columns: repeat(5, 1fr); padding-bottom: 20px; }
.nx-hfcard { padding: 22px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(18, 24, 42, .8), rgba(11, 17, 32, .8)); transition: transform .18s, border-color .18s; }
.nx-hfcard:hover { transform: translateY(-3px); border-color: rgba(79, 124, 255, .5); }
.nx-hfcard__ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(79, 124, 255, .14); color: #6ea0ff; margin-bottom: 14px; }
.nx-hfcard__ico .nx-ico { width: 22px; height: 22px; }
.nx-hfcard h3 { color: #fff; font-size: 16px; margin: 0 0 8px; }
.nx-hfcard p { color: #9aa6c2; font-size: 13.5px; margin: 0 0 14px; }
.nx-hlink { display: inline-flex; align-items: center; gap: 6px; color: #6ea0ff; font-size: 13px; font-weight: 600; text-decoration: none; }
.nx-hlink .nx-ico { width: 14px; height: 14px; }

/* --- Device Cloud section ------------------------------------------------ */
.nx-hsection { padding: 72px 0; position: relative; }
.nx-hdc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.nx-heyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #22d3ee; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .3); border-radius: 999px; padding: 6px 13px; }
.nx-hsection h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 18px 0 14px; letter-spacing: -.02em; }
.nx-hsection p.lead { color: #9aa6c2; font-size: 16.5px; max-width: 520px; }
.nx-hchecks2 { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 11px; }
.nx-hchecks2 li { display: flex; align-items: center; gap: 10px; color: #c7d0e4; font-size: 15px; }
.nx-hchecks2 .nx-ico { width: 18px; height: 18px; color: #34d399; }

/* dashboard mock */
.nx-dash { position: relative; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: #0a0f1e; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); overflow: hidden; display: grid; grid-template-columns: 116px 1fr; }
.nx-dash__side { background: #0c1326; border-inline-end: 1px solid rgba(255, 255, 255, .07); padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.nx-dash__brand { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .08em; margin-bottom: 10px; }
.nx-dash__brand svg { width: 16px; height: 16px; }
.nx-dash__side a { font-size: 10.5px; color: #8b93a9; padding: 6px 8px; border-radius: 7px; text-decoration: none; }
.nx-dash__side a.is-active { background: rgba(79, 124, 255, .16); color: #a9c2ff; }
.nx-dash__main { padding: 14px; }
.nx-dash__title { color: #cfd6ea; font-size: 12px; margin-bottom: 10px; }
.nx-dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.nx-dstat { border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 9px; background: #0d1427; }
.nx-dstat__l { font-size: 9px; color: #8b93a9; }
.nx-dstat__n { font-size: 18px; font-weight: 800; color: #fff; }
.nx-dstat__d { font-size: 9px; color: #34d399; font-weight: 700; }
.nx-dash__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 9px; margin-top: 9px; }
.nx-dash__map { border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; min-height: 92px; background: #0d1427 radial-gradient(rgba(79, 124, 255, .4) 1px, transparent 1.3px); background-size: 10px 10px; }
.nx-dash__chart { border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 8px; background: #0d1427; }
.nx-dash__chart .l { font-size: 9px; color: #8b93a9; }
.nx-dash__chart .d { font-size: 10px; color: #34d399; font-weight: 700; }
.nx-dash__phone { position: absolute; left: -22px; bottom: -14px; width: 92px; aspect-ratio: 9 / 19; border-radius: 16px; background: linear-gradient(160deg, #0f1836, #05070f); border: 1px solid rgba(120, 150, 255, .3); box-shadow: 0 24px 50px rgba(0, 0, 0, .6); display: flex; align-items: flex-start; justify-content: center; padding-top: 14px; color: #cfe0ff; font-weight: 700; font-size: 15px; }

/* --- Cyber AI band ------------------------------------------------------- */
.nx-hcy { background: linear-gradient(180deg, #080a14, #0a0b14); border-block: 1px solid rgba(255, 255, 255, .07); }
.nx-hcygrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; align-items: center; }
.nx-cylist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.nx-cylist li { display: flex; align-items: center; gap: 12px; color: #dfe4f2; font-size: 15px; font-weight: 500; }
.nx-cylist__ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(124, 58, 237, .16); color: #b794ff; flex: none; }
.nx-cylist__ico .nx-ico { width: 20px; height: 20px; }
.nx-hglobe { position: relative; width: min(320px, 86%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(79, 124, 255, .22), transparent 68%); }
.nx-hglobe::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background-image: radial-gradient(rgba(94, 134, 255, .5) 1px, transparent 1.4px); background-size: 12px 12px; -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 70%); mask-image: radial-gradient(circle, #000 60%, transparent 70%); animation: nx-spin 26s linear infinite; }
.nx-hglobe::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(124, 58, 237, .4); box-shadow: inset 0 0 60px rgba(79, 124, 255, .3); }
@keyframes nx-spin { to { transform: rotate(360deg); } }
.nx-hglobe__map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.nx-atk { fill: none; stroke: #f0506a; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 7 93; stroke-dashoffset: 0; filter: drop-shadow(0 0 4px rgba(240, 80, 106, .7)); animation: nx-atkflow 2.6s cubic-bezier(.45, 0, .85, .5) infinite; }
.nx-atk--2 { stroke: #ff7a59; animation-delay: .65s; }
.nx-atk--3 { animation-delay: 1.3s; }
.nx-atk--4 { stroke: #ff7a59; animation-delay: 1.95s; }
@keyframes nx-atkflow { 0% { stroke-dashoffset: 0; opacity: 0; } 10% { opacity: 1; } 68% { stroke-dashoffset: -93; opacity: 1; } 70%, 100% { stroke-dashoffset: -93; opacity: 0; } }
.nx-threat { fill: #f0506a; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 6px rgba(240, 80, 106, .85)); animation: nx-threatpulse 2.6s ease-out infinite; }
.nx-threat--2 { fill: #ff7a59; animation-delay: .65s; }
.nx-threat--3 { animation-delay: 1.3s; }
.nx-threat--4 { fill: #ff7a59; animation-delay: 1.95s; }
@keyframes nx-threatpulse { 0%, 72%, 100% { transform: scale(.7); opacity: .45; } 10% { transform: scale(1.3); opacity: 1; } }
.nx-core-ring { fill: none; stroke: #34d399; stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; animation: nx-coreblock 2.6s ease-out infinite; }
.nx-core-ring--2 { stroke: #22d3ee; animation-delay: 1.3s; }
@keyframes nx-coreblock { 0%, 55% { transform: scale(.45); opacity: 0; } 62% { opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.nx-hglobe__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 19px; display: grid; place-items: center; background: linear-gradient(155deg, #34d399, #0d9488); box-shadow: 0 0 44px rgba(16, 185, 129, .55), inset 0 1px 0 rgba(255, 255, 255, .25); z-index: 2; animation: nx-coreglow 2.6s ease-in-out infinite; }
.nx-hglobe__core .nx-ico { width: 32px; height: 32px; color: #fff; }
@keyframes nx-coreglow { 0%, 55%, 100% { box-shadow: 0 0 36px rgba(16, 185, 129, .45), inset 0 1px 0 rgba(255, 255, 255, .25); } 64% { box-shadow: 0 0 62px rgba(16, 185, 129, .9), inset 0 1px 0 rgba(255, 255, 255, .25); } }
.nx-hglobe__chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .2px; background: rgba(9, 12, 22, .82); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); white-space: nowrap; z-index: 3; }
.nx-hglobe__chip--red { top: 9%; inset-inline-start: 1%; color: #ffb4bf; }
.nx-hglobe__chip--red i { width: 7px; height: 7px; border-radius: 50%; background: #f0506a; box-shadow: 0 0 0 4px rgba(240, 80, 106, .22); animation: nx-livepulse 1.6s infinite; }
.nx-hglobe__chip--green { bottom: 12%; inset-inline-end: 1%; color: #8ef0c6; }
.nx-hglobe__chip--green .nx-ico { width: 13px; height: 13px; color: #34d399; }
.nx-hglobe__note { position: absolute; left: 50%; bottom: -4%; transform: translateX(-50%); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(190, 205, 235, .5); z-index: 3; }

/* --- Stack / trust strip ------------------------------------------------- */
.nx-hstack { padding: 30px 0 46px; border-top: 1px solid rgba(255, 255, 255, .07); }
.nx-hstack__t { text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6b7793; margin-bottom: 20px; }
.nx-hstack__row { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; align-items: center; }
.nx-hstack__row span { color: #aeb8d0; font-weight: 700; letter-spacing: .04em; opacity: .82; font-size: 16px; }

@media (max-width: 1040px) {
    .nx-hfeatures { grid-template-columns: repeat(2, 1fr); }
    .nx-hgrid, .nx-hdc { grid-template-columns: 1fr; }
    .nx-hart { order: -1; min-height: 340px; }
    .nx-hcygrid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .nx-hfeatures { grid-template-columns: 1fr; } }

/* ==========================================================================
   Device Cloud page — premium white & navy (reference-matched)
   ========================================================================== */
.nx-dc-hero { position: relative; overflow: hidden; padding: 60px 0 56px; background:
        radial-gradient(760px 420px at 88% 0%, rgba(79, 124, 255, .12), transparent 60%),
        radial-gradient(620px 420px at 2% 10%, rgba(124, 58, 237, .08), transparent 60%),
        var(--nx-bg); }
.nx-dc-hgrid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 44px; align-items: center; }
.nx-dc-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nx-dc-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(124, 58, 237, .4); background: rgba(124, 58, 237, .14); color: #c9b8ff; font-size: 12.5px; font-weight: 700; }
.nx-dc-badge .nx-ico { width: 15px; height: 15px; }
.nx-dc-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--nx-success); }
.nx-dc-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nx-success); box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.nx-dc-h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; color: var(--nx-heading); margin: 20px 0 16px; }
.nx-dc-h1 .g { background: linear-gradient(90deg, #4f7cff, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-dc-sub { font-size: clamp(16px, 1.8vw, 19px); color: var(--nx-muted); max-width: 500px; }
.nx-dc-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.nx-btn--dark { background: var(--nx-heading); color: #fff; border-color: var(--nx-heading); }
.nx-btn--dark:hover { opacity: .92; }
[data-theme="dark"] .nx-btn--dark { background: #fff; color: #0b1220; }
.nx-dc-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.nx-dc-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--nx-text); }
.nx-dc-checks .nx-ico { width: 18px; height: 18px; color: #6ea0ff; }

/* product dashboard window */
.nx-dcwin { position: relative; border-radius: 18px; border: 1px solid var(--nx-border); background: var(--nx-surface); box-shadow: 0 40px 80px rgba(15, 23, 42, .18); overflow: hidden; display: grid; grid-template-columns: 148px 1fr; }
.nx-dcwin__side { background: linear-gradient(180deg, #0e1630, #0b1226); color: #c7d0ea; padding: 14px 12px; display: flex; flex-direction: column; gap: 3px; }
.nx-dcwin__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; letter-spacing: .1em; font-size: 12px; margin-bottom: 12px; }
.nx-dcwin__brand svg { width: 18px; height: 18px; }
.nx-dcwin__side a { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: #8b98bd; padding: 7px 9px; border-radius: 8px; text-decoration: none; }
.nx-dcwin__side a .nx-ico { width: 14px; height: 14px; }
.nx-dcwin__side a.is-active { background: linear-gradient(135deg, rgba(79, 124, 255, .25), rgba(124, 58, 237, .25)); color: #fff; }
.nx-dcwin__main { padding: 16px 18px; min-width: 0; }
.nx-dcwin__top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.nx-dcwin__search { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--nx-bg-2); border: 1px solid var(--nx-border); border-radius: 9px; padding: 8px 12px; color: var(--nx-faint); font-size: 12.5px; }
.nx-dcwin__search .nx-ico { width: 15px; height: 15px; }
.nx-dcwin__user { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--nx-text); }
.nx-dcwin__ava { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #4f7cff, #7c3aed); }
.nx-dcwin__h { font-size: 17px; font-weight: 800; color: var(--nx-heading); }
.nx-dcwin__hsub { font-size: 12px; color: var(--nx-faint); margin-bottom: 14px; }
.nx-dcstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.nx-dcstat { border: 1px solid var(--nx-border); border-radius: 12px; padding: 11px; background: var(--nx-surface); transition: transform .15s, box-shadow .15s; }
.nx-dcstat:hover { transform: translateY(-2px); box-shadow: var(--nx-shadow-sm); }
.nx-dcstat__ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 8px; }
.nx-dcstat__ico .nx-ico { width: 16px; height: 16px; }
.nx-dcstat__n { font-size: 22px; font-weight: 800; color: var(--nx-heading); line-height: 1; }
.nx-dcstat__l { font-size: 10.5px; color: var(--nx-faint); margin-top: 3px; }
.ic-blue { background: rgba(37, 99, 235, .12); color: #2563eb; }
.ic-violet { background: rgba(124, 58, 237, .12); color: #7c3aed; }
.ic-green { background: rgba(22, 163, 74, .12); color: #16a34a; }
.ic-amber { background: rgba(217, 119, 6, .14); color: #d97706; }
.nx-dcrow { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: 14px; }
.nx-dcpanel { border: 1px solid var(--nx-border); border-radius: 12px; padding: 12px; background: var(--nx-surface); }
.nx-dcpanel__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.nx-dcpanel__h b { font-size: 12.5px; color: var(--nx-heading); }
.nx-dcpanel__h .on { font-size: 10.5px; color: var(--nx-success); font-weight: 700; }
.nx-dcpanel__h a { font-size: 10.5px; color: var(--nx-blue); text-decoration: none; }
.nx-dclab { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.nx-dlp { flex: none; width: 60px; text-align: center; }
.nx-dlp__scr { height: 84px; border-radius: 11px; background: linear-gradient(160deg, var(--pf, #4f7cff), var(--pt, #7c3aed)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; box-shadow: inset 0 -16px 24px rgba(0, 0, 0, .25); position: relative; }
.nx-dlp__scr::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .5); }
.nx-dlp__n { font-size: 9px; color: var(--nx-faint); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-dcact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nx-dcact li { display: flex; gap: 10px; align-items: flex-start; }
.nx-dcact__d { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; flex: none; }
.nx-dcact__d .nx-ico { width: 14px; height: 14px; }
.nx-dcact__t { font-size: 11.5px; color: var(--nx-text); }
.nx-dcact__time { font-size: 10px; color: var(--nx-faint); }
.nx-dcwin__float { position: absolute; top: -14px; inset-inline-end: -14px; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #7c3aed, #4f7cff); display: grid; place-items: center; box-shadow: 0 16px 34px rgba(124, 58, 237, .45); }
.nx-dcwin__float .nx-ico { width: 24px; height: 24px; color: #fff; }

/* feature cards row */
.nx-dcfeatures { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.nx-dcfcard { padding: 20px; border: 1px solid var(--nx-border); border-radius: 15px; background: var(--nx-surface); box-shadow: var(--nx-shadow-sm); transition: transform .16s, box-shadow .16s, border-color .16s; }
.nx-dcfcard:hover { transform: translateY(-3px); box-shadow: var(--nx-shadow); border-color: var(--nx-border-strong); }
.nx-dcfcard__ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 12px; }
.nx-dcfcard__ico .nx-ico { width: 22px; height: 22px; }
.nx-dcfcard h3 { font-size: 15px; color: var(--nx-heading); margin: 0 0 6px; }
.nx-dcfcard p { font-size: 13px; color: var(--nx-muted); margin: 0; }

/* AWS dark band */
.nx-dcaws { border-radius: 22px; background: linear-gradient(135deg, #0a1326, #0b1020 55%, #130a26); border: 1px solid rgba(255, 255, 255, .07); padding: 44px; position: relative; overflow: hidden; }
.nx-dcaws::before { content: ""; position: absolute; inset: 0; background: radial-gradient(540px 300px at 50% 10%, rgba(79, 124, 255, .22), transparent 60%); }
.nx-dcaws__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 34px; align-items: center; }
.nx-dcaws__badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(124, 58, 237, .45); background: rgba(124, 58, 237, .16); color: #c9b8ff; font-size: 12px; font-weight: 700; }
.nx-dcaws h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; margin: 16px 0 12px; letter-spacing: -.02em; }
.nx-dcaws h2 .g { color: #4f93ff; }
.nx-dcaws p { color: #9aa6c2; font-size: 15px; max-width: 420px; }
.nx-dcaws__checks { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.nx-dcaws__checks li { display: inline-flex; align-items: center; gap: 7px; color: #cdd6ea; font-size: 13.5px; }
.nx-dcaws__checks .nx-ico { width: 16px; height: 16px; color: #34d399; }
.nx-awscloud { position: relative; min-height: 180px; display: grid; place-items: center; }
.nx-awscloud__o { width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 124, 255, .35), transparent 70%); display: grid; place-items: center; }
.nx-awscloud__c { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.nx-awscloud__c span { color: #ff9900; }
.nx-awschip { position: absolute; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: grid; place-items: center; color: #8fb3ff; }
.nx-awschip .nx-ico { width: 18px; height: 18px; }
.nx-awschip:nth-child(1) { top: 4%; left: 8%; } .nx-awschip:nth-child(2) { top: 10%; right: 6%; } .nx-awschip:nth-child(3) { bottom: 8%; left: 2%; } .nx-awschip:nth-child(4) { bottom: 4%; right: 10%; }
.nx-dcaws__trust b { color: #fff; font-size: 18px; }
.nx-dcaws__trust p { color: #9aa6c2; font-size: 13.5px; margin: 6px 0 18px; }
.nx-dcaws__stats { display: flex; gap: 18px; flex-wrap: wrap; }
.nx-dcaws__stat { }
.nx-dcaws__stat .n { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 800; font-size: 18px; }
.nx-dcaws__stat .n .nx-ico { width: 18px; height: 18px; color: #4f93ff; }
.nx-dcaws__stat .l { color: #8b93a9; font-size: 12px; margin-top: 2px; }

/* demo modal */
.nx-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 7, 15, .72); backdrop-filter: blur(4px); }
.nx-modal[data-open="1"] { display: flex; }
.nx-modal__box { width: min(820px, 100%); max-height: 90vh; overflow: auto; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: 18px; box-shadow: var(--nx-shadow-lg); padding: 18px; position: relative; }
.nx-modal__close { position: absolute; inset-inline-end: 12px; top: 12px; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--nx-border); background: var(--nx-surface); cursor: pointer; color: var(--nx-text); display: grid; place-items: center; }
.nx-modal__title { font-weight: 700; margin: 2px 0 14px; color: var(--nx-heading); }

@media (max-width: 1040px) {
    .nx-dc-hgrid { grid-template-columns: 1fr; }
    .nx-dcfeatures { grid-template-columns: repeat(2, 1fr); }
    .nx-dcaws__grid { grid-template-columns: 1fr; }
    .nx-dcaws { padding: 32px; }
}
@media (max-width: 680px) {
    .nx-dcstats { grid-template-columns: repeat(2, 1fr); }
    .nx-dcrow { grid-template-columns: 1fr; }
    .nx-dcwin { grid-template-columns: 1fr; }
    .nx-dcwin__side { flex-direction: row; overflow-x: auto; }
    .nx-dcfeatures { grid-template-columns: 1fr; }
}

/* Device Cloud dashboard window — polish: glow backdrop, stacked panels, no clipped badge */
.nx-dcwin-wrap { position: relative; }
.nx-dcwin-wrap::before { content: ""; position: absolute; inset: -38px -30px; border-radius: 44px; z-index: 0; background: radial-gradient(58% 58% at 68% 28%, rgba(79, 124, 255, .22), rgba(124, 58, 237, .12) 46%, transparent 74%); filter: blur(10px); }
.nx-dcwin-wrap > .nx-dcwin { position: relative; z-index: 1; }
.nx-dcrow { grid-template-columns: 1fr; }
.nx-dcwin__float { display: none; }

/* ==========================================================================
   Cyber AI page v2 — premium dark cybersecurity (deep navy + electric accents)
   Rendered under a locked dark theme.
   ========================================================================== */
.nx-cyp { --e-blue: #4f93ff; --e-cyan: #22d3ee; --e-violet: #8b5cf6; --sev-c: #ef4444; --sev-h: #f97316; --sev-m: #f59e0b; --sev-l: #22c55e;
    --panel: #0c1326; --panel-2: #0e1730; --cy-border: rgba(90, 130, 220, .18); --cy-muted: #93a3c7;
    background:
        radial-gradient(900px 520px at 80% -4%, rgba(79, 147, 255, .20), transparent 60%),
        radial-gradient(760px 520px at 4% 6%, rgba(139, 92, 246, .16), transparent 60%),
        linear-gradient(180deg, #060a16, #070b18); }
.nx-cyp .nx-container { position: relative; z-index: 1; }

/* hero */
.nx-cyp-hero { position: relative; overflow: hidden; padding: 64px 0 36px; text-align: center; }
.nx-cyp-hero::after { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: linear-gradient(rgba(79, 147, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 147, 255, .07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 72%); }
.nx-cyp-hero > .nx-container { max-width: 880px; }
.nx-cyp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; border: 1px solid rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .08); color: #7fe6f5; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nx-cyp-h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; letter-spacing: -.03em; line-height: 1.03; margin: 20px 0 16px; color: #fff; background: linear-gradient(120deg, #fff 20%, #a9c6ff 60%, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-cyp-sub { font-size: clamp(16px, 1.9vw, 20px); color: var(--cy-muted); max-width: 640px; margin: 0 auto; }
.nx-cyp-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 28px 0 18px; }
.nx-cybtn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.nx-cybtn--grad { background: linear-gradient(135deg, var(--e-cyan), var(--e-blue)); color: #04121f; box-shadow: 0 12px 34px rgba(34, 211, 238, .3); }
.nx-cybtn--grad:hover { transform: translateY(-1px); }
.nx-cybtn--outline { color: #fff; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .02); }
.nx-cybtn--outline:hover { border-color: #fff; }
.nx-cybtn .nx-ico { width: 18px; height: 18px; }
.nx-cyp-ind { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; list-style: none; padding: 0; margin: 10px 0 0; }
.nx-cyp-ind li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #c7d3ee; border: 1px solid var(--cy-border); background: rgba(14, 23, 48, .6); border-radius: 999px; padding: 8px 14px; }
.nx-cyp-ind .nx-ico { width: 15px; height: 15px; color: var(--e-cyan); }

/* dashboard mock */
.nx-cyd-wrap { position: relative; margin-top: 36px; }
.nx-cyd-wrap::before { content: ""; position: absolute; inset: -30px -10px; border-radius: 40px; background: radial-gradient(60% 70% at 50% 20%, rgba(79, 147, 255, .22), transparent 72%); filter: blur(10px); }
.nx-cyd { position: relative; z-index: 1; border: 1px solid var(--cy-border); border-radius: 18px; background: linear-gradient(180deg, #0a1124, #080d1c); box-shadow: 0 50px 90px rgba(0, 0, 0, .6); overflow: hidden; }
.nx-cyd__bar { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--cy-border); }
.nx-cyd__ttl { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 14px; }
.nx-cyd__ttl .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sev-l); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.nx-cyd__demo { font-size: 11px; color: #8ea0c4; border: 1px dashed rgba(34, 211, 238, .4); border-radius: 999px; padding: 4px 10px; }
.nx-cyd__grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 14px; padding: 16px; }
.nx-cyd-col { display: grid; gap: 14px; align-content: start; }
.nx-cyd-panel { border: 1px solid var(--cy-border); border-radius: 13px; background: var(--panel); padding: 14px; }
.nx-cyd-panel__h { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: #8ea0c4; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.nx-cyd-posture { display: flex; align-items: center; gap: 14px; }
.nx-cyd-stat { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: #c7d3ee; padding: 5px 0; }
.nx-cyd-stat b { color: #fff; }
.nx-cyd-stat .d { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-inline-end: 7px; }
.nx-cyd-center { position: relative; min-height: 260px; border: 1px solid var(--cy-border); border-radius: 13px; background: #090f20 radial-gradient(rgba(79, 147, 255, .35) 1px, transparent 1.4px); background-size: 15px 15px; display: grid; place-items: center; overflow: hidden; }
.nx-cyd-center::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 50% 50%, rgba(79, 147, 255, .18), transparent 70%); }
.nx-cyd-shield { position: relative; width: 108px; height: 124px; background: linear-gradient(160deg, var(--e-blue), var(--e-violet)); clip-path: polygon(50% 0, 100% 16%, 100% 56%, 50% 100%, 0 56%, 0 16%); display: grid; place-items: center; box-shadow: 0 0 50px rgba(79, 147, 255, .6); z-index: 1; }
.nx-cyd-shield .nx-ico { width: 44px; height: 44px; color: #fff; }
.nx-cyd-prot { position: relative; z-index: 1; text-align: center; margin-top: 16px; }
.nx-cyd-prot b { color: #7fffb0; font-size: 14px; }
.nx-cyd-prot span { display: block; color: #8ea0c4; font-size: 11px; }
.nx-cyd-threat { position: absolute; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(239, 68, 68, .15); color: #ff6b6b; }
.nx-cyd-threat .nx-ico { width: 13px; height: 13px; }
.nx-cyd-threat:nth-child(3) { top: 14%; left: 12%; } .nx-cyd-threat:nth-child(4) { top: 22%; right: 14%; } .nx-cyd-threat:nth-child(5) { bottom: 26%; left: 16%; } .nx-cyd-threat:nth-child(6) { bottom: 18%; right: 12%; }
.nx-cyd-vec { margin-bottom: 9px; }
.nx-cyd-vec__r { display: flex; justify-content: space-between; font-size: 11.5px; color: #c7d3ee; margin-bottom: 4px; }
.nx-cyd-meter { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.nx-cyd-meter > span { display: block; height: 100%; border-radius: 999px; }
.nx-cyd-ev { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nx-cyd-ev li { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: #c7d3ee; }
.nx-cyd-ev .tag { font-size: 8.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 6px; border-radius: 5px; flex: none; }
.nx-cyd-ai { display: flex; gap: 10px; align-items: flex-start; border: 1px solid rgba(139, 92, 246, .35); background: rgba(139, 92, 246, .1); border-radius: 11px; padding: 11px; }
.nx-cyd-ai .nx-ico { width: 18px; height: 18px; color: var(--e-violet); flex: none; margin-top: 1px; }
.nx-cyd-ai p { margin: 0; font-size: 12px; color: #d6ddf0; }
.nx-cyd-ai b { color: #c6b4ff; display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }

/* sections */
.nx-cyp-sec { padding: 64px 0; border-top: 1px solid var(--cy-border); }
.nx-cyp-sec--center { text-align: center; }
.nx-cyp-h2 { font-size: clamp(28px, 4vw, 42px); color: #fff; letter-spacing: -.02em; margin: 0 0 12px; }
.nx-cyp-lead { color: var(--cy-muted); font-size: 16.5px; max-width: 640px; }
.nx-cyp-sec--center .nx-cyp-lead { margin-inline: auto; }
.nx-cyp-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.nx-cyp-card { padding: 24px; border-radius: 16px; border: 1px solid var(--cy-border); background: linear-gradient(180deg, var(--panel-2), var(--panel)); position: relative; overflow: hidden; transition: transform .18s, border-color .18s; }
.nx-cyp-card:hover { transform: translateY(-3px); border-color: rgba(79, 147, 255, .5); }
.nx-cyp-card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--e-cyan), var(--e-violet)); }
.nx-cyp-card__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(79, 147, 255, .14); color: #8fb8ff; margin-bottom: 14px; }
.nx-cyp-card__ico .nx-ico { width: 24px; height: 24px; }
.nx-cyp-card h3 { color: #fff; font-size: 17px; margin: 0 0 8px; }
.nx-cyp-card p { color: var(--cy-muted); font-size: 14px; margin: 0; }

/* secondary split */
.nx-cyp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.nx-cyp-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.nx-cyp-list li { display: flex; align-items: center; gap: 12px; color: #d6ddf0; font-size: 15.5px; }
.nx-cyp-list .nx-ico { width: 20px; height: 20px; color: var(--e-cyan); flex: none; }

/* how it works */
.nx-cyp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; counter-reset: s; }
.nx-cyp-step { position: relative; padding: 24px 18px; text-align: center; }
.nx-cyp-step:not(:last-child)::after { content: ""; position: absolute; top: 42px; inset-inline-end: -1px; width: 1px; height: calc(100% - 52px); background: var(--cy-border); }
.nx-cyp-step__n { counter-increment: s; width: 48px; height: 48px; border-radius: 14px; margin: 0 auto 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--e-cyan), var(--e-blue)); color: #04121f; font-weight: 800; font-size: 17px; }
.nx-cyp-step h3 { color: #fff; font-size: 16px; margin: 0 0 6px; }
.nx-cyp-step p { color: var(--cy-muted); font-size: 13.5px; margin: 0; }

/* capabilities */
.nx-cyp-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }

/* faq */
.nx-cyp-faq { max-width: 820px; margin: 36px auto 0; display: grid; gap: 12px; }
.nx-faq { border: 1px solid var(--cy-border); border-radius: 13px; background: var(--panel); overflow: hidden; }
.nx-faq summary { list-style: none; cursor: pointer; padding: 16px 18px; color: #fff; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary .nx-ico { width: 18px; height: 18px; color: var(--e-cyan); transition: transform .2s; flex: none; }
.nx-faq[open] summary .nx-ico { transform: rotate(45deg); }
.nx-faq__a { padding: 0 18px 16px; color: var(--cy-muted); font-size: 14.5px; line-height: 1.7; }

/* final cta */
.nx-cyp-final { text-align: center; padding: 80px 0; position: relative; }
.nx-cyp-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 300px at 50% 0%, rgba(79, 147, 255, .22), transparent 62%); }
.nx-cyp-final > .nx-container { position: relative; z-index: 1; }
.nx-cyp-chips { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.nx-cyp-chip { font-size: 12.5px; color: #c7d3ee; border: 1px solid var(--cy-border); border-radius: 999px; padding: 6px 13px; }

@media (max-width: 1040px) {
    .nx-cyd__grid { grid-template-columns: 1fr; }
    .nx-cyp-grid4 { grid-template-columns: repeat(2, 1fr); }
    .nx-cyp-caps { grid-template-columns: repeat(2, 1fr); }
    .nx-cyp-split { grid-template-columns: 1fr; }
    .nx-cyp-steps { grid-template-columns: 1fr 1fr; }
    .nx-cyp-step::after { display: none !important; }
}
@media (max-width: 600px) {
    .nx-cyp-grid4, .nx-cyp-caps, .nx-cyp-steps { grid-template-columns: 1fr; }
}

/* Cyber AI posture ring — compact for its panel */
.nx-cyd-posture .nx-score { width: 92px; height: 92px; flex: none; }
.nx-cyd-posture .nx-score__inner { width: 70px; height: 70px; }
.nx-cyd-posture .nx-score__num { font-size: 22px; }
.nx-cyd-posture .nx-score__lbl { font-size: 9px; }

/* How-it-works step badges now hold an icon */
.nx-cyp-step__n .nx-ico { width: 24px; height: 24px; color: #04121f; }

/* System Protected emblem — bold check inside the shield */
.nx-cyd-shield .nx-ico { width: 56px; height: 56px; stroke-width: 2.4; }

/* ==========================================================================
   Cyber AI — live global threat map (original stylized world + attack flows)
   ========================================================================== */
.nx-threatmap { display: flex; flex-direction: column; }
.nx-live { display: inline-flex; align-items: center; gap: 6px; color: #ff6b6b; font-weight: 800; font-size: 10px; letter-spacing: .09em; }
.nx-live i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: nx-livepulse 1.6s infinite; }
@keyframes nx-livepulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .5); } 70% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.nx-tmap { position: relative; flex: 1; min-height: 210px; border-radius: 10px; overflow: hidden; background: radial-gradient(62% 80% at 50% 42%, rgba(79, 147, 255, .12), transparent 70%), #080e1e; }
.nx-tmap svg { width: 100%; height: 100%; display: block; }
.nx-tmap .land { fill: rgba(96, 140, 230, .12); stroke: rgba(120, 170, 255, .22); stroke-width: 1.2; }
.nx-tmap .arc-base { fill: none; stroke: rgba(120, 170, 255, .14); stroke-width: 1; }
.nx-tmap .arc { fill: none; stroke-width: 1.8; stroke-linecap: round; }
.nx-tmap .flow { animation: nx-flow 2.8s linear infinite; }
@keyframes nx-flow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.nx-tmap .r1 { animation: nx-hot 2.4s ease-out infinite; }
@keyframes nx-hot { 0% { r: 3; opacity: .85; } 100% { r: 15; opacity: 0; } }
.nx-tmap__legend { display: flex; gap: 14px; align-items: center; margin-top: 8px; font-size: 10.5px; color: #8ea0c4; }
.nx-tmap__legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-inline-end: 5px; vertical-align: middle; }
.nx-tmap__legend .atk { background: #ef4444; }
.nx-tmap__legend .blk { background: #22d3ee; }
.nx-tmap__count { margin-inline-start: auto; color: #c7d3ee; }
.nx-tmap__count b { color: #fff; }

/* Homepage hero — AI protection radar inside the shield */
.nx-hshield { animation: nx-shieldglow 3.6s ease-in-out infinite; }
@keyframes nx-shieldglow { 0%, 100% { box-shadow: 0 0 50px rgba(79, 124, 255, .45); } 50% { box-shadow: 0 0 84px rgba(124, 108, 246, .6); } }
.nx-hs-radar { position: relative; width: 100px; height: 100px; display: grid; place-items: center; }
.nx-hs-radar .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(190, 215, 255, .35); }
.nx-hs-radar .ring.r2 { inset: 24%; border-color: rgba(190, 215, 255, .24); }
.nx-hs-radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, .5) 55deg, transparent 120deg); animation: nx-sweep 3s linear infinite; }
.nx-hs-radar .blip { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 4px rgba(34, 211, 238, .22); animation: nx-livepulse 1.8s infinite; }
.nx-hs-radar .b1 { top: 18%; right: 22%; }
.nx-hs-radar .b2 { bottom: 22%; left: 20%; background: #a78bfa; box-shadow: 0 0 0 4px rgba(167, 139, 250, .22); animation-delay: .6s; }
.nx-hs-radar .nx-ico { position: relative; z-index: 1; width: 42px; height: 42px; color: #fff; }

/* ==========================================================================
   Blog / knowledge base — enriched reading experience
   ========================================================================== */
.nx-readbar { position: fixed; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 200; background: transparent; pointer-events: none; }
.nx-readbar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22d3ee, #4f7cff, #7c3aed); box-shadow: 0 0 12px rgba(79, 124, 255, .6); transition: width .08s linear; }

.nx-blogfilter { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin: 0 auto 30px; max-width: 760px; }
.nx-blogfilter__chip { text-decoration: none; font-size: 13px; font-weight: 600; color: var(--nx-muted); border: 1px solid var(--nx-border); background: var(--nx-surface); border-radius: 999px; padding: 7px 15px; transition: color .15s, border-color .15s, background .15s; }
.nx-blogfilter__chip:hover { color: var(--nx-heading); border-color: var(--nx-border-strong); }
.nx-blogfilter__chip.is-active { color: #fff; background: var(--nx-grad); border-color: transparent; }
.nx-blogfilter__note { text-align: center; color: var(--nx-faint); font-size: 14px; margin: -16px 0 26px; }

.nx-featured { display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1px solid var(--nx-border); border-radius: var(--nx-radius-lg); overflow: hidden; background: var(--nx-surface); box-shadow: var(--nx-shadow); text-decoration: none; color: inherit; margin-bottom: 36px; transition: transform .18s, border-color .18s, box-shadow .18s; }
.nx-featured:hover { transform: translateY(-3px); border-color: var(--nx-border-strong); box-shadow: var(--nx-shadow-lg); }
.nx-featured__art { position: relative; display: grid; place-items: center; background: radial-gradient(130% 100% at 20% 0%, rgba(79, 124, 255, .35), transparent 60%), linear-gradient(160deg, #10183a, #0a0f22); overflow: hidden; }
.nx-featured__art .nx-ico { width: 72px; height: 72px; color: #8ab0ff; position: relative; z-index: 1; }
.nx-featured__glow { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .5), transparent 70%); filter: blur(10px); animation: nx-coreglow 4s ease-in-out infinite; }
.nx-featured__body { padding: 30px 32px; display: flex; flex-direction: column; gap: 10px; }
.nx-featured__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.nx-chip--soft { color: var(--nx-faint); background: var(--nx-bg-3); }
.nx-featured__title { font-size: clamp(22px, 3vw, 30px); color: var(--nx-heading); margin: 2px 0; line-height: 1.15; }
.nx-featured__excerpt { color: var(--nx-muted); font-size: 15.5px; margin: 0; }
.nx-featured__cta { display: inline-flex; align-items: center; gap: 7px; color: var(--nx-blue); font-weight: 700; font-size: 14px; margin-top: 4px; }
.nx-featured__cta .nx-ico { width: 16px; height: 16px; }

.nx-meta-ico { display: inline-flex; align-items: center; gap: 5px; }
.nx-meta-ico .nx-ico { width: 14px; height: 14px; opacity: .8; }
.nx-article__lede { font-size: 18px; color: var(--nx-muted); margin: 10px 0 14px; line-height: 1.6; }

.nx-toc { border: 1px solid var(--nx-border); border-radius: 14px; background: var(--nx-surface-2); padding: 18px 22px; margin-bottom: 30px; }
.nx-toc__h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nx-faint); margin: 0 0 10px; }
.nx-toc__h .nx-ico { width: 16px; height: 16px; }
.nx-toc ol { margin: 0; padding-inline-start: 18px; display: grid; gap: 7px; }
.nx-toc li { color: var(--nx-muted); font-size: 14.5px; }
.nx-toc li.nx-toc__sub { margin-inline-start: 16px; list-style: circle; font-size: 13.5px; }
.nx-toc a { color: var(--nx-muted); text-decoration: none; }
.nx-toc a:hover { color: var(--nx-blue); }
.nx-prose :is(h2, h3) { scroll-margin-top: 90px; }

.nx-share { display: flex; align-items: center; gap: 10px; margin: 34px 0 10px; padding-top: 22px; border-top: 1px solid var(--nx-border); }
.nx-share__lbl { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--nx-faint); margin-inline-end: 4px; }
.nx-share__lbl .nx-ico { width: 15px; height: 15px; }
.nx-share__btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--nx-border); background: var(--nx-surface); color: var(--nx-muted); cursor: pointer; text-decoration: none; transition: color .15s, border-color .15s, transform .15s; position: relative; }
.nx-share__btn:hover { color: var(--nx-blue); border-color: var(--nx-blue); transform: translateY(-2px); }
.nx-share__btn .nx-ico { width: 17px; height: 17px; }
.nx-share__btn.is-copied::after { content: "✓"; position: absolute; inset-block-start: -26px; inset-inline-end: 0; font-size: 11px; font-weight: 700; color: #04121f; background: var(--nx-success); padding: 2px 8px; border-radius: 6px; }

.nx-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0 10px; }
.nx-pager__card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--nx-border); border-radius: 14px; background: var(--nx-surface); text-decoration: none; transition: border-color .15s, transform .15s; }
.nx-pager__card:hover { border-color: var(--nx-blue); transform: translateY(-2px); }
.nx-pager__card--next { text-align: end; align-items: flex-end; }
.nx-pager__dir { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--nx-faint); }
.nx-pager__dir .nx-ico { width: 14px; height: 14px; }
.nx-pager__title { color: var(--nx-heading); font-weight: 600; font-size: 14.5px; }

.nx-blogcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 52px; padding: 30px 32px; border-radius: var(--nx-radius-lg); background: linear-gradient(135deg, rgba(79, 124, 255, .16), rgba(124, 58, 237, .16)); border: 1px solid var(--nx-border-strong); }
.nx-blogcta h2 { font-size: 22px; color: var(--nx-heading); margin: 0 0 6px; }
.nx-blogcta p { color: var(--nx-muted); margin: 0; max-width: 460px; }
.nx-blogcta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 680px) {
    .nx-featured { grid-template-columns: 1fr; }
    .nx-featured__art { min-height: 150px; }
    .nx-pager { grid-template-columns: 1fr; }
}

/* Honeypot anti-spam field — hidden from humans and assistive tech. */
.nx-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
