/* ==========================================================================
   NUBIARX. Alternative Clean Editorial Design System ("Nordic Clarity")
   Zero CSS collisions with Tailwind interactive simulators (header/footer use
   dedicated .nxc-* classes). Large 18px editorial type, generous whitespace,
   atmospheric photo heroes on every page, mobile-first smartphone layout.
   ========================================================================== */

:root {
  --void: #060C14;
  --alt: #0B1523;
  --card: #0F1A2A;
  --card-2: #132236;
  --cyan: #6BE4FF;
  --ice: #33C9FF;
  --emerald: #34D399;
  --crisp: #F4F8FB;
  --body: #CBD6E2;
  --muted: #93A6BC;
  --border: rgba(107, 228, 255, 0.18);
  --border-soft: rgba(255, 255, 255, 0.09);
  --radius-card: 20px;
  --radius-shell: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--void);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--body);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nxc-editorial {
  font-size: 18px;
  line-height: 1.65;
}

h1, h2, h3, h4,
.nx-h1, .nx-h2, .nx-cta-box h2, .nx-card h3, .nx-step-card h3 {
  text-wrap: balance;
}

.nxc-editorial h1,
.nxc-editorial h2,
.nxc-editorial h3,
.nxc-editorial h4,
.font-display {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: -0.025em;
}

.nxc-editorial h1,
.nxc-editorial h2,
.nxc-editorial h3,
.nxc-editorial h4 {
  margin: 0;
}

.font-mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.brand-dot { color: var(--cyan); }

/* Layout Containers */
.nx-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.nx-wrap-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
}

.nx-section {
  padding: 92px 0;
  background: var(--void);
}

.nx-section.alt {
  background: var(--alt);
  border-top: 1px solid rgba(107, 228, 255, 0.08);
  border-bottom: 1px solid rgba(107, 228, 255, 0.08);
}

/* ==========================================================================
   DEDICATED COLLISION-FREE CLEAN HEADER (.nxc-*)
   Works identically on editorial pages AND Tailwind interactive simulators!
   ========================================================================== */
.nxc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 12, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(107, 228, 255, 0.14);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.nxc-header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nxc-logo {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: #F4F8FB;
  text-decoration: none;
  white-space: nowrap;
}

.nxc-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nxc-nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #CBD6E2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: color 0.16s ease;
  white-space: nowrap;
}

.nxc-nav-link:hover,
.nxc-nav-link.is-active {
  color: #6BE4FF;
}

.nxc-dd {
  position: relative;
}

.nxc-dd::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 18px;
}

.nxc-dd-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 340px;
  background: #0F1A2A;
  border: 1px solid rgba(107, 228, 255, 0.26);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.82);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 140;
}

.nxc-dd-panel.wide {
  width: 600px;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.nxc-dd:hover .nxc-dd-panel,
.nxc-dd:focus-within .nxc-dd-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nxc-dd-col-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(107, 228, 255, 0.85);
  padding: 6px 12px 4px;
}

.nxc-dd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nxc-dd-item:hover {
  background: rgba(107, 228, 255, 0.10);
}

.nxc-dd-item i {
  font-size: 20px;
  color: #6BE4FF;
  margin-top: 2px;
  flex-shrink: 0;
}

.nxc-dd-title {
  font-weight: 700;
  font-size: 14.5px;
  color: #F4F8FB;
  line-height: 1.25;
}

.nxc-dd-sub {
  font-size: 12.5px;
  color: #93A6BC;
  margin-top: 2px;
  line-height: 1.35;
}

.nxc-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nxc-portal-link {
  font-size: 14.5px;
  font-weight: 600;
  color: #CBD6E2;
  text-decoration: none;
  white-space: nowrap;
}

.nxc-portal-link:hover,
.nxc-portal-link.is-active { color: #6BE4FF; }

.nx-btn-cta,
.nxc-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  background: #6BE4FF;
  color: #060C14;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid #6BE4FF;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.nx-btn-cta:hover,
.nxc-btn-cta:hover {
  background: #33C9FF;
  border-color: #33C9FF;
}

.nx-btn-cta i.ph-arrow-right,
.nxc-btn-cta i.ph-arrow-right,
.nx-card-link i.ph-arrow-right {
  display: inline-block;
  transition: transform 0.2s ease;
}

.nx-btn-cta:hover i.ph-arrow-right,
.nxc-btn-cta:hover i.ph-arrow-right,
.nx-card-link:hover i.ph-arrow-right,
.nx-card.link-card:hover .nx-card-link i.ph-arrow-right,
a.nx-card:hover .nx-card-link i.ph-arrow-right {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .nx-btn-cta:hover i.ph-arrow-right,
  .nxc-btn-cta:hover i.ph-arrow-right,
  .nx-card-link:hover i.ph-arrow-right,
  .nx-card.link-card:hover .nx-card-link i.ph-arrow-right,
  a.nx-card:hover .nx-card-link i.ph-arrow-right {
    transform: none;
  }
}

.nx-btn-cta.lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: 16.5px;
}

.nx-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 10px;
  background: rgba(15, 26, 42, 0.82);
  color: #F4F8FB;
  font-weight: 600;
  font-size: 16.5px;
  text-decoration: none;
  border: 1.5px solid rgba(107, 228, 255, 0.38);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.nx-btn-ghost:hover {
  border-color: #6BE4FF;
  color: #6BE4FF;
  background: rgba(19, 34, 54, 0.96);
}

.nxc-mobile-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #0F1A2A;
  border: 1px solid rgba(107, 228, 255, 0.34);
  color: #F4F8FB;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nxc-mobile-drawer {
  display: none;
  padding: 16px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  background: #0B1523;
  border-top: 1px solid rgba(107, 228, 255, 0.15);
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
}

.nxc-mobile-drawer.is-open { display: block; }

.nxc-mob-group {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6BE4FF;
  margin: 18px 0 8px;
}

.nxc-mob-group:first-child { margin-top: 4px; }

.nxc-mob-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 0;
  font-size: 16.5px;
  font-weight: 600;
  color: #F4F8FB;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nxc-mob-link:hover { color: #6BE4FF; }

/* ==========================================================================
   ATMOSPHERIC PHOTO HEROES (Consistent Visual Depth Across All Pages)
   ========================================================================== */
.nx-photo-hero {
  position: relative;
  min-height: min(56vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--void);
}

.nx-photo-hero.tall { min-height: min(72vh, 700px); }

.nx-photo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nx-photo-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nx-photo-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #060C14 0%, rgba(6, 12, 20, 0.88) 50%, rgba(6, 12, 20, 0.36) 100%),
    linear-gradient(0deg, #060C14 0%, rgba(6, 12, 20, 0.28) 38%, transparent 100%);
}

.nx-photo-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 84px 0;
}

.nx-eyebrow {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(107, 228, 255, 0.92);
  margin: 0 0 18px;
}

.nx-h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.45rem);
  font-weight: 800;
  line-height: 1.12;
  color: #F4F8FB;
  max-width: 960px;
  margin: 0 0 22px;
  text-wrap: balance;
}

.nx-lead {
  font-size: clamp(1.12rem, 2.1vw, 1.32rem);
  line-height: 1.62;
  color: #CBD6E2;
  max-width: 700px;
  margin: 0;
}

.nx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

/* ==========================================================================
   EDITORIAL 2-COLUMN INTRO, 2x2 CARDS & MODEL SHELL
   ========================================================================== */
.nx-editorial-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

.nx-h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.16;
  color: #6BE4FF;
}

.nx-h2.white { color: #F4F8FB; }

.nx-editorial-body {
  font-size: 1.14rem;
  line-height: 1.7;
  color: #CBD6E2;
  display: grid;
  gap: 18px;
}

.nx-editorial-body p { margin: 0; }

.nx-editorial-split > *,
.nx-grid-2 > *,
.nx-grid-3 > *,
.nx-4step > * {
  min-width: 0;
}

@media (max-width: 768px) {
  .nx-btn-cta,
  .nx-btn-ghost {
    white-space: normal;
    text-align: center;
    padding: 12px 20px;
    line-height: 1.3;
  }
}

.nx-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 52px;
}

.nx-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.nx-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s ease;
}

.nx-card:hover { border-color: rgba(107, 228, 255, 0.45); }
.nx-card.link-card { text-decoration: none; color: inherit; }

.nx-card-media {
  margin: -36px -36px 8px;
  height: 190px;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  border-bottom: 1px solid rgba(107, 228, 255, 0.14);
  background: var(--alt);
}

/*
  Image zoom only — card itself stays still (no translateY lift).
  Micro-blur + translate3d keep Chrome on one resample path mid-zoom.
*/
.nx-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(0.2px);
  transform: translate3d(0, 0, 0.01px) scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.nx-card:hover .nx-card-media img {
  filter: blur(0.2px);
  transform: translate3d(0, 0, 0.01px) scale(1.035);
}

.nx-card.link-card:hover,
.nx-card:hover {
  transform: none;
}

@media (max-width: 768px) {
  .nx-card-media {
    margin: -26px -22px 8px;
    height: 170px;
  }
}

.nx-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--alt);
  border: 1px solid rgba(107, 228, 255, 0.24);
  color: #6BE4FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.nx-card h3 {
  font-size: 1.42rem;
  font-weight: 700;
  color: #6BE4FF;
  line-height: 1.25;
}

.nx-card h3.white { color: #F4F8FB; }

.nx-card p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.65;
  color: #CBD6E2;
}

.nx-card-link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  color: #6BE4FF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nx-shell {
  background: linear-gradient(180deg, rgba(15, 26, 42, 0.94) 0%, rgba(11, 21, 35, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-shell);
  padding: 40px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.nx-shell-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 28px;
}

.nx-shell-head h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #F4F8FB;
}

.nx-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: #6BE4FF;
  background: rgba(6, 12, 20, 0.85);
  border: 1px solid rgba(107, 228, 255, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
}

.nx-pill.em { color: #34D399; border-color: rgba(52, 211, 153, 0.45); }

.nx-table-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 34px;
}

.nx-table { width: 100%; border-collapse: collapse; }
.nx-table th {
  text-align: left;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6BE4FF;
  padding: 18px 22px;
  background: rgba(6, 12, 20, 0.55);
  border-bottom: 1px solid rgba(107, 228, 255, 0.18);
}
.nx-table td {
  padding: 20px 22px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #CBD6E2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: top;
}
.nx-table tr:last-child td { border-bottom: none; }
.nx-table td:first-child { font-weight: 700; color: #F4F8FB; }

.nx-cta-box {
  background: var(--card);
  border: 1px solid rgba(107, 228, 255, 0.28);
  border-radius: 26px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

.nx-cta-box h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: #6BE4FF; margin-bottom: 12px; }
.nx-cta-box p { margin: 0; font-size: 1.1rem; line-height: 1.65; color: #CBD6E2; max-width: 600px; }
.nx-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

.nx-faq-list { display: grid; gap: 14px; margin-top: 32px; }
.nx-faq details { background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.nx-faq summary {
  list-style: none;
  padding: 22px 26px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: #F4F8FB;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary::after { content: "+"; font-family: "JetBrains Mono", monospace; font-size: 22px; color: #6BE4FF; flex-shrink: 0; }
.nx-faq details[open] summary::after { content: "-"; }
.nx-faq-body { padding: 0 26px 22px; font-size: 1.04rem; line-height: 1.68; color: #CBD6E2; }

.nx-label { display: block; font-size: 0.95rem; font-weight: 600; color: #F4F8FB; margin-bottom: 8px; }
.nx-input, .nx-select, .nx-textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--void);
  border: 1px solid rgba(107, 228, 255, 0.24);
  color: #F4F8FB;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  outline: none;
}
.nx-input:focus, .nx-select:focus, .nx-textarea:focus { border-color: #6BE4FF; }

/* ==========================================================================
   DEDICATED COLLISION-FREE MINIMAL FOOTER (.nxc-footer*)
   ========================================================================== */
.nxc-footer {
  background: #04080F;
  border-top: 1px solid rgba(107, 228, 255, 0.14);
  padding: 64px 0 40px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #CBD6E2;
}

.nxc-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2.4fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(107, 228, 255, 0.12);
}

.nxc-footer-navs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.nxc-footer-title {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: #6BE4FF;
  margin-bottom: 14px;
}

.nxc-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.nxc-footer-list a {
  font-size: 15px;
  color: #CBD6E2;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nxc-footer-list a:hover { color: #6BE4FF; }

.nxc-footer-bottom {
  padding-top: 26px;
  font-size: 14px;
  color: #93A6BC;
}

@media screen and (max-width: 1024px) {
  .nxc-nav, .nxc-portal-link { display: none; }
  .nxc-mobile-btn { display: inline-flex; }
  .nx-editorial-split { grid-template-columns: 1fr; gap: 24px; }
  .nx-grid-3 { grid-template-columns: 1fr; }
  .nx-cta-box { flex-direction: column; align-items: flex-start; padding: 34px 26px; }
  .nxc-footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media screen and (max-width: 768px) {
  body.nxc-editorial { font-size: 16.5px; }
  .nx-wrap, .nx-wrap-narrow, .nxc-header-inner { padding: 0 20px; }
  .nx-section { padding: 58px 0; }
  .nx-grid-2 { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .nx-card { padding: 26px 22px; }
  .nx-shell { padding: 24px 20px; border-radius: 18px; }
  .nx-photo-hero-content { padding: 60px 0; }
  .nx-hero-actions { flex-direction: column; }
  .nx-hero-actions a, .nx-hero-actions button, .nx-cta-actions a, .nx-cta-actions button { width: 100%; }
  .nxc-footer-navs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nx-table-box { background: transparent; border: 0; }
  .nx-table { display: block; width: 100%; }
  .nx-table thead { display: none; }
  .nx-table tbody { display: grid; gap: 14px; }
  .nx-table tr {
    display: grid;
    gap: 8px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
  }
  .nx-table td { display: block; padding: 0; border: 0; font-size: 0.98rem; }
  .nx-table td[data-label]::before {
    content: attr(data-label) ": ";
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6BE4FF;
    display: block;
    margin-bottom: 2px;
  }
  .nx-table td:first-child { font-size: 1.15rem; color: #6BE4FF; }
  .nx-table td:first-child::before { display: none; }
  input, select, textarea { font-size: 16px !important; }
}

/* ==========================================================================
   EMBED MODE (?embed=1 inside explore-firewalls.html) & LAB MODE (?lab=1 inside firewalls.html)
   ========================================================================== */
html.nx-embed-mode .nxc-header,
html.nx-embed-mode .nxc-footer,
html.nx-embed-mode #nx-clean-header,
html.nx-embed-mode #nx-clean-footer,
html.nx-embed-mode #nx-fw-subnav,
html.nx-embed-mode #nxBotRoot,
html.nx-embed-mode .nx-bot-launcher,
html.nx-embed-mode .nx-bot-window,
html.nx-lab-mode .nxc-header,
html.nx-lab-mode .nxc-footer,
html.nx-lab-mode #nx-clean-header,
html.nx-lab-mode #nx-clean-footer,
html.nx-lab-mode #nx-fw-subnav,
html.nx-lab-mode #nx-header,
html.nx-lab-mode #nx-footer,
html.nx-lab-mode #executive-modal,
html.nx-lab-mode #nxBotRoot,
html.nx-lab-mode .nx-bot-launcher,
html.nx-lab-mode .nx-bot-window {
  display: none !important;
}

html.nx-lab-mode,
html.nx-lab-mode body {
  background: #060C14 !important;
  background-image: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
}

html.nx-lab-mode main {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 12px 24px !important;
}

html.nx-lab-mode .cell-stage-frame,
html.nx-lab-mode .appliance-stage,
html.nx-lab-mode .rack-cabinet-frame,
html.nx-lab-mode .ot-cabinet-stage,
html.nx-lab-mode .cockpit-bezel {
  padding: 18px 16px !important;
}

html.nx-lab-mode #virtual-blade,
html.nx-lab-mode #hardware-assembly,
html.nx-lab-mode #rack-appliance {
  transform-origin: top center;
  max-width: 100%;
}

html.nx-lab-mode main > header,
html.nx-lab-mode main > section:nth-last-child(-n+2) {
  display: none !important;
}

/* ==========================================================================
   PEDAGOGICAL 4-STEP CLARITY STRIP + ROLE TABS + LIVE FIREWALL LAB
   ========================================================================== */
.nx-4step {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.nx-step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nx-step-card.is-deliver {
  border-color: rgba(52, 211, 153, 0.55);
  background: linear-gradient(180deg, rgba(13, 35, 42, 0.92) 0%, rgba(11, 21, 35, 0.98) 100%);
}

.nx-step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6BE4FF;
}

.nx-step-card.is-deliver .nx-step-num { color: #34D399; }

.nx-step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F4F8FB;
  margin: 0;
  line-height: 1.25;
}

.nx-step-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.58;
  color: #CBD6E2;
}

.nx-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.nx-tab-btn {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(6, 12, 20, 0.85);
  border: 1px solid rgba(107, 228, 255, 0.28);
  color: #CBD6E2;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nx-tab-btn:hover { border-color: #6BE4FF; color: #F4F8FB; }
.nx-tab-btn.active { background: #6BE4FF; color: #060C14; border-color: #6BE4FF; }

.nx-sim-frame-box {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(107, 228, 255, 0.28);
  background: #060C14;
}

.nx-sim-iframe {
  width: 100%;
  min-height: 540px;
  border: 0;
  display: block;
  background: #060C14;
}

/* Credibility Proof Bar & KPI Grid */
.nx-proof-bar {
  background: #0B1523;
  border-top: 1px solid rgba(107, 228, 255, 0.14);
  border-bottom: 1px solid rgba(107, 228, 255, 0.14);
  padding: 26px 0;
}

.nx-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
}

.nx-proof-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 0;
  border-left: 0;
}

.nx-proof-item:not(:first-child) {
  border-left: 2px solid rgba(107, 228, 255, 0.28);
  padding-left: 18px;
}

@media (max-width: 1024px) {
  .nx-proof-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .nx-proof-item:nth-child(even) {
    border-left: 2px solid rgba(107, 228, 255, 0.28);
    padding-left: 18px;
  }
}

@media (max-width: 640px) {
  .nx-proof-item:not(:first-child) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(107, 228, 255, 0.16);
    padding-top: 14px;
  }
}

.nx-proof-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #060C14;
  border: 1px solid rgba(107, 228, 255, 0.24);
  color: #6BE4FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.nx-proof-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.nx-proof-val {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 750;
  color: #6BE4FF;
  line-height: 1.2;
}

.nx-proof-lbl {
  font-size: 0.9rem;
  color: #CBD6E2;
  line-height: 1.35;
}

.nx-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.nx-kpi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.nx-kpi-big {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #6BE4FF;
  line-height: 1.1;
}

.nx-kpi-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #F4F8FB;
  margin: 0;
}

.nx-kpi-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #CBD6E2;
}

.nx-badge-em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #34D399;
  background: rgba(52, 211, 153, 0.10);
  border: 1px solid rgba(52, 211, 153, 0.35);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .nx-4step, .nx-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nx-4step, .nx-kpi-grid, .nx-proof-grid { grid-template-columns: 1fr; }
  .nx-tab-btn { flex: 1 1 100%; text-align: left; }
}

