/**
 * RMG–NexGN Software - Nominal.so Comprehensive Visual & Motion System (Index2)
 * Full B2B Editorial Architecture with Micro-Interactions, Hover-Dimming, Mega-Menus,
 * Page-Load Transitions, and Alternating Pill-Stacked Panels.
 */

:root {
  /* Dynamic Header & Layout Safe Zone */
  --nom-header-height: 72px;

  /* Canvas Colors */
  --nom-bg-primary: #FAFAF5;
  /* Warm off-white/cream */
  --nom-bg-secondary: #F4F4EB;
  --nom-bg-sage: #EDF3EE;
  /* Pale sage-green for outcomes/alternating panels */
  --nom-bg-sage-dark: #E2ECE4;
  --nom-bg-dark: #0A0A0A;
  /* Near-black for loader & signature storytelling */
  --nom-bg-dark-surface: #141414;

  /* Inks */
  --nom-ink-primary: #111111;
  --nom-ink-secondary: #4A4A4A;
  --nom-ink-muted: #737373;
  --nom-ink-light: #EDEDED;
  --nom-ink-light-muted: #A3A3A3;

  /* Hairline Borders */
  --nom-border: rgba(0, 0, 0, 0.08);
  --nom-border-strong: rgba(0, 0, 0, 0.15);
  --nom-border-dark: rgba(255, 255, 255, 0.12);

  /* Saturated Brand Accents */
  --nom-accent-teal: #0D9488;
  --nom-accent-blue: #0B63E5;
  --nom-accent-gold: #D97706;

  /* 5-6 Soft Pastel Pill Colors */
  --nom-pill-mint-bg: #E7F6EC;
  --nom-pill-mint-txt: #157339;
  --nom-pill-mint-dot: #10B981;

  --nom-pill-cyan-bg: #E2F3FD;
  --nom-pill-cyan-txt: #0277BD;
  --nom-pill-cyan-dot: #0284C7;

  --nom-pill-gold-bg: #FEF6DF;
  --nom-pill-gold-txt: #B45309;
  --nom-pill-gold-dot: #F59E0B;

  --nom-pill-coral-bg: #FFEFEA;
  --nom-pill-coral-txt: #C2410C;
  --nom-pill-coral-dot: #EA580C;

  --nom-pill-lav-bg: #F3ECFA;
  --nom-pill-lav-txt: #6B21A8;
  --nom-pill-lav-dot: #8B5CF6;

  --nom-pill-rose-bg: #FFE4E8;
  --nom-pill-rose-txt: #9F1239;
  --nom-pill-rose-dot: #F43F5E;

  /* Typography */
  --font-serif: 'Newsreader', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Phase 6.5: Centralized Glass Design Tokens */
  --nx-glass-bg: rgba(255, 255, 255, 0.16);
  --nx-glass-bg-strong: rgba(255, 255, 255, 0.24);
  --nx-glass-border: rgba(255, 255, 255, 0.42);
  --nx-glass-border-light: rgba(255, 255, 255, 0.25);
  --nx-glass-shadow: 0 20px 50px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  --nx-glass-blur: blur(18px) saturate(145%);
  --nx-glass-radius: 18px;
}

/* Page Reset for Nominal Editorial Theme */
html,
body.nominal-page,
body.editorial-theme {
  background-color: var(--nom-bg-primary) !important;
  color: var(--nom-ink-secondary) !important;
  font-family: var(--font-sans);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body.nominal-page::before,
body.editorial-theme::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

body.nominal-page h1,
body.nominal-page h2,
body.nominal-page h3,
body.nominal-page .serif-heading {
  font-family: var(--font-serif);
  color: var(--nom-ink-primary);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

body.nominal-page h1 {
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
}

body.nominal-page h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}

/* Single-Word or Two-Line Underline Emphasis */
.nom-underline {
  text-decoration: underline;
  text-decoration-color: var(--nom-accent-teal);
  text-decoration-thickness: 2.5px;
  text-underline-offset: 6px;
}

/* Buttons - Sharp Corners (~4px radius) & Editorial Precision */
.btn-nom-black {
  background-color: #0A0A0A;
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 4px;
  /* Sharp corners ~4px radius per Nominal design spec */
  border: 1px solid #0A0A0A;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-nom-black:hover {
  background-color: #262626;
  border-color: #262626;
  transform: translateY(-1px);
}

.btn-nom-outline {
  background-color: #FFFFFF;
  color: #0A0A0A !important;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 4px;
  /* Sharp corners ~4px radius per Nominal design spec */
  border: 1px solid #0A0A0A;
  /* Black border */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-nom-outline:hover {
  background-color: #0A0A0A;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   01. Page-Load Transition (Signature Moment)
   ========================================================================== */
.nom-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--nom-bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nom-loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  display: none !important;
}

.nom-loader-brandmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #FFFFFF;
  text-align: center;
  z-index: 2;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.nom-loader-brandmark.fade-out {
  transform: scale(0.95);
  opacity: 0;
}

.nom-loader-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.25));
  animation: pulse-loader 1.4s ease-in-out infinite;
}

@keyframes pulse-loader {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.45));
  }
}

/* Mosaic of Cream Blocks Wiping Away */
.nom-loader-mosaic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
  pointer-events: none;
}

.nom-mosaic-column {
  flex: 1;
  background-color: var(--nom-bg-primary);
  transform-origin: bottom;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
}

.nom-loader-overlay.hidden .nom-mosaic-column {
  transform: scaleY(0);
}

/* ==========================================================================
   02. Navigation with Hover-Dimming & Mega-Menu Dropdown
   ========================================================================== */
.nom-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(250, 250, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nom-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nom-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

.show-tablet {
  display: none;
}

@media (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }

  .show-tablet {
    display: inline-flex !important;
  }
}

.nom-brand-anchor {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nom-nav-menu {
  display: flex;
  gap: clamp(10px, 1.2vw, 20px);
  align-items: center;
  position: relative;
  flex-shrink: 1;
}

/* Navigation Hover-Dimming: hovered item stays full-opacity/black; sibling items fade to 40% (~200ms transition) */
.nom-nav-menu:hover .nom-nav-link,
.nom-nav-menu:hover .nom-nav-item-dropdown>.nom-nav-link {
  opacity: 0.4;
  transition: opacity 200ms ease, color 200ms ease;
}

.nom-nav-menu .nom-nav-link:hover,
.nom-nav-item-dropdown:hover>.nom-nav-link,
.nom-nav-item-dropdown.is-open>.nom-nav-link {
  opacity: 1 !important;
  color: var(--nom-ink-primary) !important;
}

.nom-nav-link {
  font-family: var(--font-sans);
  font-size: clamp(0.82rem, 0.88vw, 0.88rem);
  color: var(--nom-ink-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  white-space: nowrap;
  transition: opacity 200ms ease, color 200ms ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nom-nav-link:hover {
  color: var(--nom-ink-primary);
}

.nom-nav-item-dropdown {
  position: relative;
}

/* Hover-Safe Bridge: invisible bridge prevents accidental menu closure on diagonal mouse movement */
.nom-nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
  display: none;
  z-index: 1005;
}

.nom-nav-item-dropdown:hover::after,
.nom-nav-item-dropdown.is-open::after {
  display: block;
}

/* Animated Chevron */
.nom-chevron {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.nom-nav-item-dropdown:hover .nom-chevron,
.nom-nav-item-dropdown.is-open .nom-chevron {
  transform: rotate(180deg);
}

/* Mega-Menu Overlay Panel */
.nom-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.985);
  width: 580px;
  max-width: 90vw;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1), transform 220ms cubic-bezier(0.16, 1, 0.3, 1), visibility 220ms;
}

/* 3-Column Wide Dropdown (e.g. Industries) */
.nom-dropdown-panel.nom-dropdown-wide {
  width: 780px;
  max-width: 92vw;
  grid-template-columns: 1fr 1fr 1fr;
}

/* 1-Column Compact Dropdown (e.g. Company) */
.nom-dropdown-panel.nom-dropdown-compact {
  width: 380px;
  max-width: 90vw;
  grid-template-columns: 1fr;
}

/* 3-Column Products Dropdown with Vertical Scrollbar (User Ref Enhancement) */
.nom-dropdown-panel.nom-dropdown-products-3col {
  width: 880px;
  max-width: min(880px, calc(100vw - 32px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 12px 14px 18px;
  overscroll-behavior: contain;
  left: 50%;
  transform: translateX(-35%) translateY(-6px) scale(0.985);
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.28) rgba(15, 23, 42, 0.04);
}

.nom-nav-item-dropdown:hover .nom-dropdown-panel.nom-dropdown-products-3col,
.nom-nav-item-dropdown.is-open .nom-dropdown-panel.nom-dropdown-products-3col,
.nom-dropdown-panel.nom-dropdown-products-3col:hover {
  transform: translateX(-35%) translateY(0) scale(1);
}

.nom-dropdown-panel.nom-dropdown-products-3col::-webkit-scrollbar {
  width: 6px;
}

.nom-dropdown-panel.nom-dropdown-products-3col::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 8px;
  margin: 6px 0;
}

.nom-dropdown-panel.nom-dropdown-products-3col::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.26);
  border-radius: 8px;
}

.nom-dropdown-panel.nom-dropdown-products-3col::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.45);
}

.nom-dropdown-panel.nom-dropdown-products-3col .nom-dropdown-item {
  padding: 8px 10px;
  gap: 10px;
  border-radius: 8px;
  align-items: flex-start;
}

.nom-dropdown-panel.nom-dropdown-products-3col .nom-dropdown-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nom-dropdown-panel.nom-dropdown-products-3col .nom-dropdown-title {
  font-size: 0.85rem;
  line-height: 1.25;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nom-dropdown-panel.nom-dropdown-products-3col .nom-dropdown-desc {
  font-size: 0.72rem;
  line-height: 1.32;
  color: var(--nom-ink-muted, #64748B);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nom-dropdown-panel.nom-dropdown-products-3col .nom-dropdown-footer-item {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--nom-border, rgba(0, 0, 0, 0.08));
  padding: 10px 14px;
  margin-top: 4px;
  background: rgba(15, 23, 42, 0.02);
  border-radius: 8px;
  position: sticky;
  bottom: -14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

.nom-nav-item-dropdown:hover .nom-dropdown-panel,
.nom-nav-item-dropdown.is-open .nom-dropdown-panel,
.nom-dropdown-panel:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nom-dropdown-item {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.nom-dropdown-item:hover {
  background-color: var(--nom-bg-secondary);
}

.nom-dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #0A0A0A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nom-dropdown-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nom-ink-primary);
  line-height: 1.2;
  margin-bottom: 2px;
}

.nom-dropdown-desc {
  font-size: 0.76rem;
  color: var(--nom-ink-muted);
  line-height: 1.35;
}

/* ==========================================================================
   03. Reusable Pill Badge Component (Foreground + Ghost + Stacked)
   ========================================================================== */
.nom-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px 5px 6px;
  /* balanced capsule padding */
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nom-pill:hover {
  transform: translateY(-1px);
}

/* Small Circular Icon: Dark Icon on Light Circle */
.nom-pill-icon-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.nom-pill-mint {
  background-color: var(--nom-pill-mint-bg);
  color: var(--nom-pill-mint-txt);
  border-color: rgba(16, 185, 129, 0.2);
}

.nom-pill-cyan {
  background-color: var(--nom-pill-cyan-bg);
  color: var(--nom-pill-cyan-txt);
  border-color: rgba(2, 132, 199, 0.2);
}

.nom-pill-gold {
  background-color: var(--nom-pill-gold-bg);
  color: var(--nom-pill-gold-txt);
  border-color: rgba(245, 158, 11, 0.25);
}

.nom-pill-coral {
  background-color: var(--nom-pill-coral-bg);
  color: var(--nom-pill-coral-txt);
  border-color: rgba(234, 88, 12, 0.2);
}

.nom-pill-lav {
  background-color: var(--nom-pill-lav-bg);
  color: var(--nom-pill-lav-txt);
  border-color: rgba(139, 92, 246, 0.2);
}

.nom-pill-rose {
  background-color: var(--nom-pill-rose-bg);
  color: var(--nom-pill-rose-txt);
  border-color: rgba(244, 63, 94, 0.2);
}

/* Ghost Pill Badge Variant (Atmosphere/Depth filler ONLY — no content, blurred) */
.nom-pill-ghost {
  filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
  width: 100px;
  height: 32px;
  border-radius: 9999px;
}

/* Stacked Pill Component (Vertical Stack in 2-Column Alternating Panels) */
.nom-stacked-pill-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nom-stacked-pill-item {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 8px;
  padding: 16px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nom-stacked-pill-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.nom-stacked-pill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.nom-stacked-pill-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--nom-ink-muted);
}

.nom-stacked-pill-desc {
  font-size: 0.85rem;
  color: var(--nom-ink-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   04. Hero Section with Foreground + Ghost Pills
   ========================================================================== */
.nom-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nom-hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.nom-hero-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  position: relative;
}

.nom-hero-headline {
  margin: 0 auto 20px auto;
  max-width: 960px;
}

.nom-hero-lead {
  max-width: 720px;
  margin: 0 auto 36px auto;
  font-size: 1.18rem;
  color: var(--nom-ink-secondary);
  line-height: 1.6;
}

.nom-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Hero Motion Pass: Editorial Headline Reveal, Underline Draw & 3D Spatial Depth
   ========================================================================== */
.nom-h1-line-wrap {
  display: block;
  overflow: hidden;
  line-height: 1.18;
  padding-bottom: 4px;
}

.nom-h1-line {
  display: inline-block;
  will-change: transform, opacity;
}

/* Animated Drawn Underline beneath 'smart software.' */
.nom-underline-drawn {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
}

.nom-underline-drawn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 3px;
  background-color: var(--nom-accent-teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.nom-underline-drawn.drawn::after {
  transform: scaleX(1);
}

/* Soft Pointer Mouse-Light Ambient Glow */
.nom-mouse-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin-top: -260px;
  margin-left: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.055) 0%, rgba(13, 148, 136, 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform, opacity;
}

/* Pill Depth Tiers & Tactile Elevation */
.nom-hero-badges-wrap .nom-pill {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  cursor: default;
  position: relative;
}

.nom-hero-badges-wrap .nom-pill:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.16) !important;
}

.nom-depth-front {
  z-index: 5;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.04));
}

.nom-depth-mid {
  z-index: 3;
}

.nom-depth-back {
  z-index: 1;
  opacity: 0.92;
}

/* 3D Physical Tilt Anchor */
[data-logo-anchor] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reduced Motion Safety */
@media (prefers-reduced-motion: reduce) {

  .nom-h1-line,
  .nom-underline-drawn::after,
  .nom-mouse-light,
  [data-logo-anchor] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
  }

  .nom-underline-drawn::after {
    transform: scaleX(1) !important;
  }
}

/* ==========================================================================
   05. Product Dashboard Mockup Card (Sidebar + Stats + Table + Avatars)
   ========================================================================== */
.nom-dashboard-mockup {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
}

.nom-mockup-sidebar {
  background: #F9FAFB;
  border-right: 1px solid var(--nom-border);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nom-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nom-sidebar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--nom-ink-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.nom-sidebar-btn.active,
.nom-sidebar-btn:hover {
  background: #FFFFFF;
  color: var(--nom-ink-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nom-mockup-content {
  display: flex;
  flex-direction: column;
}

.nom-mockup-topbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--nom-border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nom-mockup-dots {
  display: flex;
  gap: 6px;
}

.nom-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.nom-mockup-body {
  padding: 24px;
  background: #FAFAFA;
}

.nom-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.nom-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 8px;
  padding: 14px;
}

.nom-stat-label {
  font-size: 0.72rem;
  color: var(--nom-ink-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.nom-stat-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--nom-ink-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.nom-stat-sub {
  font-size: 0.72rem;
  color: #10B981;
}

.nom-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #FFFFFF;
}

@media (max-width: 860px) {
  .nom-dashboard-mockup {
    grid-template-columns: 1fr;
  }

  .nom-mockup-sidebar {
    display: none;
  }

  .nom-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   06. Logo Wall #1 and Logo Wall #2 ("Trusted by" / Architectural Grayscale)
   ========================================================================== */
.nom-trust-bar {
  border-top: 1px solid var(--nom-border);
  border-bottom: 1px solid var(--nom-border);
  padding: 28px 0;
  background: #FFFFFF;
}

.nom-trust-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.nom-trust-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nom-ink-muted);
}

.nom-trust-items {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.nom-trust-item {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--nom-ink-muted);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   07. Two-Column Alternating Panel Sections (Pill-Stack Left + Content Right)
   ========================================================================== */
.nom-alternating-section {
  padding: 96px 0;
}

.nom-alternating-section.bg-sage {
  background-color: var(--nom-bg-sage);
}

.nom-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.nom-two-col-grid.reverse {
  direction: rtl;
}

.nom-two-col-grid.reverse>* {
  direction: ltr;
}

.nom-sage-pill-panel {
  background: var(--nom-bg-sage);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 36px;
}

.nom-two-col-grid.reverse .nom-sage-pill-panel {
  background: #FFFFFF;
}

@media (max-width: 900px) {

  .nom-two-col-grid,
  .nom-two-col-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ==========================================================================
   08. Outcomes Section (Pale Sage + Large Metrics + Testimonial Quote)
   ========================================================================== */
.nom-outcomes-section {
  background-color: var(--nom-bg-sage);
  border-top: 1px solid var(--nom-border);
  border-bottom: 1px solid var(--nom-border);
  padding: 100px 0;
}

.nom-outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.nom-quote-glyph {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  line-height: 0.6;
  color: var(--nom-accent-teal);
  display: block;
  margin-bottom: 20px;
}

.nom-testimonial-card-wrapper {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 12px;
  padding: 44px 40px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.04);
}

.nom-testimonial-track {
  position: relative;
  min-height: 180px;
}

.nom-testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(6px);
}

.nom-testimonial-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nom-carousel-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.nom-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--nom-border);
  background: #FFFFFF;
  color: var(--nom-ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nom-carousel-btn:hover {
  background: #0A0A0A;
  color: #FFFFFF;
  border-color: #0A0A0A;
  transform: scale(1.05);
}

.nom-carousel-btn:active {
  transform: scale(0.95);
}

.nom-text-mask-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 14px;
  color: #FFFFFF;
}

/* Dual-Track Node Positioning */
.nom-dual-node.track-l-0 {
  top: 15%;
  left: 24px;
}

.nom-dual-node.track-l-1 {
  top: 38%;
  left: 24px;
}

.nom-dual-node.track-l-2 {
  top: 61%;
  left: 24px;
}

.nom-dual-node.track-l-3 {
  top: 84%;
  left: 24px;
}

.nom-dual-node.track-r-0 {
  top: 15%;
  right: 24px;
}

.nom-dual-node.track-r-1 {
  top: 38%;
  right: 24px;
}

.nom-dual-node.track-r-2 {
  top: 61%;
  right: 24px;
}

.nom-dual-node.track-r-3 {
  top: 84%;
  right: 24px;
}


/* ==========================================================================
   09. Staggered Black-Bar Wipe Transition (Light to Dark)
   ========================================================================== */
.nom-staggered-wipe {
  display: flex;
  width: 100%;
  height: 120px;
  background-color: var(--nom-bg-sage);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.nom-wipe-bar {
  flex: 1;
  background-color: var(--nom-bg-dark);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
}

.nom-wipe-bar:nth-child(1) {
  transition-delay: 0ms;
}

.nom-wipe-bar:nth-child(2) {
  transition-delay: 60ms;
}

.nom-wipe-bar:nth-child(3) {
  transition-delay: 120ms;
}

.nom-wipe-bar:nth-child(4) {
  transition-delay: 180ms;
}

.nom-wipe-bar:nth-child(5) {
  transition-delay: 240ms;
}

.nom-wipe-bar:nth-child(6) {
  transition-delay: 300ms;
}

.nom-wipe-bar:nth-child(7) {
  transition-delay: 360ms;
}

.nom-wipe-bar:nth-child(8) {
  transition-delay: 420ms;
}

.nom-staggered-wipe.wipe-active .nom-wipe-bar {
  transform: scaleY(1);
}

/* ==========================================================================
   10. Signature Dark Scroll-Jacked Diagram Section (4-Node Zoom & Nested UI)
   ========================================================================== */
.nom-story-scroll-track {
  position: relative;
  height: 320vh;
  /* Scroll distance to drive the 4 states smoothly */
  background-color: var(--nom-bg-dark);
}

.nom-story-pinned {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--nom-bg-dark);
  color: var(--nom-ink-light);
  z-index: 20;
}

.nom-dark-section {
  background-color: var(--nom-bg-dark);
  color: var(--nom-ink-light);
  position: relative;
  width: 100%;
}

.nom-dark-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.nom-dark-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.nom-diagram-stage {
  background: var(--nom-bg-dark-surface);
  border: 1px solid var(--nom-border-dark);
  border-radius: 16px;
  padding: 48px 32px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
}

/* Center Focal Point with Nested UI Mockup that Zooms */
.nom-center-focal-point {
  width: 220px;
  height: 220px;
  border-radius: 14px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(11, 99, 229, 0.35);
  z-index: 5;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  position: relative;
}

/* Nested UI Mockup Viewport inside Center Focal Point */
.nom-nested-ui-viewport {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  box-sizing: border-box;
}

.nom-nested-ui-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.nom-nested-ui-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10B981;
}

.nom-nested-ui-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
  gap: 6px;
}

.nom-nested-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #CCCCCC;
}

.nom-nested-ui-footer {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 6px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
}

/* 4 Colored Labeled Nodes & Dual-Track Parallel Nodes */
.nom-orbit-node,
.nom-dual-node {
  position: absolute;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 20, 20, 0.85);
  color: #EDEDED;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.nom-orbit-node:hover,
.nom-dual-node:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.04);
}

.nom-orbit-node.active,
.nom-dual-node.active {
  background: #FFFFFF;
  color: #0A0A0A;
  font-weight: 600;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  border-color: #FFFFFF;
  transform: scale(1.06);
}

/* 8-Stage Workflow Node Progression States */
.nom-workflow-node {
  position: absolute;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 20, 20, 0.85);
  color: #B3B3B3;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.nom-workflow-node.inactive {
  opacity: 0.45;
  transform: scale(0.96);
}

.nom-workflow-node.approaching {
  opacity: 0.8;
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  transform: scale(1.0);
}

.nom-workflow-node.active {
  background: #FFFFFF;
  color: #0A0A0A;
  font-weight: 600;
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.6), 0 0 16px rgba(234, 179, 8, 0.4);
  border-color: #FFFFFF;
  transform: scale(1.08);
  opacity: 1;
}

.nom-workflow-node.completed {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.4);
  opacity: 0.85;
  transform: scale(0.98);
}

.nom-story-dot {
  height: 4px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.2);
  width: 24px;
}

.nom-story-dot.active {
  background: #EAB308;
  width: 44px;
}

/* Connecting Lines Glow */
.nom-diagram-line {
  transition: stroke 0.4s ease, stroke-width 0.4s ease, opacity 0.4s ease;
  opacity: 0.3;
}

.nom-diagram-line.active {
  opacity: 1;
  stroke-width: 2.5;
  stroke: #FFFFFF;
}

/* ==========================================================================
   11. Integration / Partner Grid (Bordered Cells + Brand Colors)
   ========================================================================== */
.nom-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--nom-border);
  border-left: 1px solid var(--nom-border);
  background: #FFFFFF;
  margin-top: 40px;
}

.nom-partner-cell {
  padding: 32px 24px;
  border-right: 1px solid var(--nom-border);
  border-bottom: 1px solid var(--nom-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 120px;
  transition: background-color 0.18s ease;
}

.nom-partner-cell:hover {
  background-color: var(--nom-bg-secondary);
}

.nom-partner-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--nom-ink-primary);
  margin-bottom: 4px;
}

.nom-partner-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--nom-ink-muted);
}

@media (max-width: 900px) {
  .nom-partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   11B. "What We Do" Eyebrow & Flat 3-Column Feature Grid (Close/Consolidate/Intercompany)
   ========================================================================== */
.nom-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nom-accent-teal);
  display: block;
  margin-bottom: 14px;
}

.nom-feature-3col-section {
  background-color: var(--nom-bg-sage);
  border-top: 1px solid var(--nom-border);
  border-bottom: 1px solid var(--nom-border);
  padding: 100px 0;
}

.nom-feature-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nom-feature-col {
  padding: 36px 32px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nom-feature-col:last-child {
  border-right: none;
}

.nom-col-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #0A0A0A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.nom-col-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nom-col-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--nom-ink-secondary);
}

.nom-col-bullet-chevron {
  color: var(--nom-accent-teal);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .nom-feature-3col-grid {
    grid-template-columns: 1fr;
  }

  .nom-feature-col {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
}

/* ==========================================================================
   11C. Testimonial Carousel Controls & Drift Keyframes
   ========================================================================== */
@keyframes ghostDrift1 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@keyframes ghostDrift2 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(12px) rotate(-2deg);
  }
}

@keyframes ghostDrift3 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-9px) rotate(-1.5deg);
  }
}

.nom-ghost-drift-1 {
  animation: ghostDrift1 5.5s ease-in-out infinite;
}

.nom-ghost-drift-2 {
  animation: ghostDrift2 6.5s ease-in-out infinite;
}

.nom-ghost-drift-3 {
  animation: ghostDrift3 7.0s ease-in-out infinite;
}

.nom-carousel-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.nom-carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--nom-border);
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--nom-ink-primary);
}

.nom-carousel-btn:hover {
  background: #0A0A0A;
  color: #FFFFFF;
  border-color: #0A0A0A;
}

.nom-testimonial-slide {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.nom-testimonial-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   12. Content / Blog / Academy Teaser (Dark Background + Pixel-Art Thumbnails)
   ========================================================================== */
.nom-blog-dark-section {
  background-color: var(--nom-bg-dark);
  color: var(--nom-ink-light);
  padding: 100px 0;
  border-top: 1px solid var(--nom-border-dark);
}

.nom-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.nom-pixel-thumb-card {
  background: #141414;
  border: 1px solid var(--nom-border-dark);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nom-pixel-thumb-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.nom-pixel-art-canvas {
  width: 100%;
  height: 180px;
  background-color: #0C0C0C;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nom-pixel-art-canvas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.nom-pixel-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* ==========================================================================
   13. Final CTA with Literal Redaction Blocks & Mini Dashboard Mockup
   ========================================================================== */
.nom-final-cta-section {
  padding: 120px 0;
  background-color: var(--nom-bg-primary);
  border-top: 1px solid var(--nom-border);
}

.nom-final-cta-container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nom-redact-word {
  position: relative;
  display: inline-block;
  padding: 0 4px;
}

.nom-redact-blocker {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  right: 0;
  background-color: #0A0A0A;
  transform-origin: left;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2;
  border-radius: 2px;
}

.nom-redact-word.revealed .nom-redact-blocker {
  transform: scaleX(0);
}

.nom-redact-text {
  position: relative;
  z-index: 1;
  color: var(--nom-ink-primary);
}

.nom-cta-mini-mockup {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 8px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 900px) {
  .nom-final-cta-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==========================================================================
   14. Editorial Minimal Footer with Oversized Watermark
   ========================================================================== */
.nom-footer {
  background-color: var(--nom-bg-primary);
  border-top: 1px solid var(--nom-border);
  padding: 88px 0 44px 0;
}

.nom-oversized-watermark {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  margin-bottom: 48px;
}

/* ==========================================================================
   15. Master Pinned Hero Story System (.nx-hero-story)
   ========================================================================== */
.nx-hero-story {
  position: relative;
  width: 100%;
  background-color: var(--nom-bg-primary);
  overflow: hidden;
}

.nx-hero-stage {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: calc(var(--nom-header-height, 72px) + 16px);
  padding-bottom: 20px;
  box-sizing: border-box;
  overflow: hidden;
  background: radial-gradient(circle at 75% 30%, rgba(204, 251, 241, 0.45) 0%, rgba(240, 253, 250, 0.2) 45%, var(--nom-bg-primary) 85%);
}

/* 1. Ambient Background & Pointer Light */
.nx-hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Master Approved Hero Background Image (Section 1, 3 & 7 Spec) - Preserves 100% Original Brightness, Contrast & Colors */
.nx-hero-master-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  z-index: 0;
  pointer-events: none;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.nx-hero-master-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
  z-index: 1;
}

@media (max-width: 1280px) {
  .nx-hero-master-bg {
    object-position: right center;
    opacity: 1 !important;
    filter: none !important;
  }

  .nx-hero-master-bg-overlay {
    background: transparent;
  }
}

@media (max-width: 1024px) {
  .nx-hero-master-bg {
    object-position: 85% center;
    opacity: 1 !important;
    filter: none !important;
  }

  .nx-hero-master-bg-overlay {
    background: transparent;
  }
}

@media (max-width: 768px) {
  .nx-hero-master-bg {
    object-position: 80% 20%;
    opacity: 1 !important;
    filter: none !important;
  }

  .nx-hero-master-bg-overlay {
    background: transparent;
  }
}

.nx-ambient-light {
  position: absolute;
  width: 580px;
  height: 580px;
  margin-left: -290px;
  margin-top: -290px;
  top: var(--my, 45%);
  left: var(--mx, 50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, rgba(11, 99, 229, 0.02) 45%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.5s ease;
  will-change: top, left, transform;
}

.nx-bg-grid-overlay {
  display: none;
}

/* 2. Capability Pills Field (Independent Layer per Section 3 & 7) */
.hero-pills-layer,
.nx-hero-pills {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.hero-pill,
.nx-pill-item {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  will-change: transform, opacity;
  transform:
    translate3d(var(--x, 0px),
      var(--y, 0px),
      0) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ==========================================================================
   Section 8 Spatial Pill Positions (6 Independent Flanking Regions)
   Upper-Left, Upper-Right, Left-Middle, Right-Middle, Lower-Left, Lower-Right
   Safe Zone Anchored: Never overlap with fixed header or central H1
   ========================================================================== */
.pill-close,
.pill-1 {
  top: calc(var(--nom-header-height, 72px) + clamp(16px, 2.6vh, 32px));
  left: 3.5%;
}

.pill-agents,
.pill-2 {
  top: calc(var(--nom-header-height, 72px) + clamp(16px, 2.6vh, 32px));
  right: 3.5%;
}

.pill-pos,
.pill-3 {
  top: 45%;
  left: 2.2%;
}

.pill-whatsapp,
.pill-4 {
  top: 45%;
  right: 2.2%;
}

.pill-ledger,
.pill-5 {
  top: 76%;
  left: 3.2%;
}

.pill-healthcare,
.pill-6 {
  top: 76%;
  right: 3.2%;
}

/* Section 4 Depth Tiers (Transforms owned 100% by JS state engine) */
.nx-depth-front {
  z-index: 6;
  opacity: 1;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.06));
}

.nx-depth-mid {
  z-index: 4;
  opacity: 0.90;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04));
}

.nx-depth-back {
  z-index: 2;
  opacity: 0.80;
}

/* 3. Slides Wrapper & Chapters (Pure Structural Containers - ZERO Slide Transforms) */
.nx-hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.nx-slide-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none !important;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nx-slide-item.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none !important;
}

.nx-slide-item.prev {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none !important;
}

/* Central Hero Typography & Clean Editorial Container (No debug borders/frames) */
.nx-slide-content,
.nx-hero-copy,
.nx-hero-title,
.nx-hero-desc,
.nx-hero-ctas {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.nx-slide-content::before,
.nx-slide-content::after,
.nx-hero-copy::before,
.nx-hero-copy::after,
.nx-hero-stage::before,
.nx-hero-stage::after,
.nx-hero-story::before,
.nx-hero-story::after {
  content: none !important;
  display: none !important;
  border: none !important;
  outline: none !important;
}

.nx-slide-content {
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 5;
}

/* Masked Typography & Underline */
.nx-chapter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 9999px;
  padding: 6px 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  max-width: 100%;
  transition: all 0.25s ease;
}

.nx-chapter-tag:hover {
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nx-chapter-tag-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0D9488;
  color: #FFFFFF;
  flex-shrink: 0;
}

.nx-chapter-tag-text {
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  color: #0F766E;
  letter-spacing: 0.02em;
}

.nx-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nom-accent-teal);
}

.nx-line-mask {
  display: block;
  overflow: hidden;
  line-height: 1.12;
}

.nx-line {
  display: block;
  transform: none;
  will-change: transform;
}

/* Canonical .nx-hero-title defined in Phase 6.0/6.2 section (line 5490+) */

.nx-underline {
  position: relative;
  display: inline-block;
}

.nx-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 3px;
  background: var(--nom-accent-teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nx-underline.drawn::after {
  transform: scaleX(1);
}

.nx-hero-brand-line,
.hero-brand-line {
  font-family: var(--font-mono, monospace);
  font-size: clamp(0.78rem, 0.95vw, 0.88rem);
  color: var(--nom-ink-secondary, #475569);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 auto 10px auto;
  line-height: 1.5;
}

.nx-hero-desc,
.hero-description {
  max-width: 650px;
  margin: 0 auto 20px auto;
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  color: var(--nom-ink-secondary);
  line-height: 1.6;
}

.nx-hero-ctas,
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

/* Visual Stage & 3D Tilt Container (Phase 6.8: Expanded Width Architecture) */
.nx-hero-visual {
  width: 100%;
  max-width: min(100%, 1180px);
  margin-inline: auto;
  min-width: 0;
  perspective: 1000px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@media (min-width: 1440px) {
  .nx-hero-visual {
    max-width: min(100%, 1240px);
  }
}

/* Geometric Transition Strip (Section 13) */
.nx-geometric-transition {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  display: flex;
  gap: 8px;
  padding: 0 48px;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.nx-geo-block {
  flex: 1;
  height: 3px;
  background: var(--nom-border, #E2E8F0);
  opacity: 0.5;
  transform: scaleY(var(--geo-scale, 1));
  transform-origin: bottom center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   Assembled Visual 1: Dashboard Shell & Cockpit
   ========================================================================== */
.nx-dashboard-shell {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.18));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.10),
    0 6px 18px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
}

.nx-dash-sidebar {
  background: rgba(248, 250, 252, 0.38);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
}

.nx-dash-sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nom-ink-primary);
  margin-bottom: 14px;
}

.nx-dash-nav-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nx-dash-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--nom-ink-secondary);
  cursor: default;
}

.nx-dash-nav-btn.active {
  background: #FFFFFF;
  color: var(--nom-ink-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

.nx-dash-status-footer {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--nom-ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--nom-border);
}

.nx-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

.nx-dash-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.nx-dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid var(--nom-border);
  flex-shrink: 0;
}

.nx-dash-dots {
  display: flex;
  gap: 5px;
}

.nx-dash-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.nx-dash-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nom-ink-primary);
}

.nx-pill-badge-mini {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #E7F6EC;
  color: #157339;
}

.nx-dash-content {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  scrollbar-width: none;
}

.nx-dash-content::-webkit-scrollbar {
  display: none;
}

.nx-dash-kpi-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.nx-kpi-card {
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.50);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.nx-kpi-label {
  font-size: 0.70rem;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.nx-kpi-val {
  font-family: var(--font-mono, monospace);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.1;
}

.nx-kpi-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: #334155;
  margin-top: 4px;
}

.nx-prog-track {
  width: 100%;
  height: 5px;
  background: #E5E7EB;
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}

.nx-prog-fill {
  height: 100%;
  background: #10B981;
}

.nx-dash-table {
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.75rem;
}

.nx-table-row {
  display: grid;
  grid-template-columns: 1.1fr 1.8fr 1fr 1.1fr;
  padding: 7px 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.nx-table-row:last-child {
  border-bottom: none;
}

.nx-table-row.header {
  background: rgba(248, 250, 252, 0.42);
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--nom-ink-muted);
  text-transform: uppercase;
}

.nx-tag-green {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 600;
  color: #10B981;
}

/* ==========================================================================
   Enterprise ERP Command Center Cockpit (Scene 01 Hardening)
   ========================================================================== */
.nx-erp-command-shell {
  grid-template-columns: 190px 1fr !important;
  min-height: 0;
  height: 100%;
}

/* Scene 01 ERP has 5-column table (Branch Hub, Module Engine, Sync State, Throughput, Tax State) */
.nx-erp-command-shell .nx-table-row {
  grid-template-columns: 1.2fr 1.5fr 0.9fr 0.9fr 0.9fr;
}

.nx-erp-sidebar {
  padding: 12px 10px;
  background: rgba(248, 250, 252, 0.38);
  overflow-y: auto;
  scrollbar-width: none;
}

.nx-erp-sidebar::-webkit-scrollbar {
  display: none;
}

.nx-erp-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nx-erp-nav-list .nx-dash-nav-btn {
  padding: 5px 8px;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 5px;
  color: #475569;
  position: relative;
  transition: background 0.15s ease, color 0.15s ease;
}

.nx-erp-nav-list .nx-dash-nav-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.nx-nav-badge {
  margin-left: auto;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: #10B981;
  color: #FFFFFF;
  font-family: var(--font-mono);
}

.nx-nav-count {
  margin-left: auto;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
  color: #64748B;
}

.nx-nav-tag {
  margin-left: auto;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #059669;
}

.nx-nav-ai-btn {
  background: rgba(139, 92, 246, 0.06) !important;
  color: #7C3AED !important;
}

.nx-nav-pulse {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8B5CF6;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3);
  animation: nxPulseRing 2s infinite ease-in-out;
}

@keyframes nxPulseRing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.5);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(139, 92, 246, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
  }
}

.nx-erp-main-body {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.08);
}

.nx-erp-split-stage {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 10px;
  padding: 10px 12px;
  overflow: hidden;
  min-height: 0;
  flex: 1;
}

.nx-erp-center-dash {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: none;
}

.nx-erp-center-dash::-webkit-scrollbar {
  display: none;
}

.nx-erp-kpi-matrix {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.nx-erp-kpi-matrix .nx-kpi-card {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.50);
}

.nx-erp-kpi-matrix .nx-kpi-label {
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748B;
  margin-bottom: 2px;
}

.nx-erp-kpi-matrix .nx-kpi-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  color: #0F172A;
}

.nx-erp-kpi-matrix .nx-kpi-sub {
  font-size: 0.62rem;
  color: #64748B;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right AI Activity Panel */
.nx-erp-ai-panel {
  background: rgba(248, 250, 252, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.nx-ai-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.nx-ai-feed-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  scrollbar-width: none;
}

.nx-ai-feed-list::-webkit-scrollbar {
  display: none;
}

.nx-ai-feed-item {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 5px;
  padding: 6px 8px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nx-ai-feed-item:hover {
  border-color: #CBD5E1;
  transform: translateX(2px);
}

.nx-feed-time {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #94A3B8;
  float: right;
}

.nx-feed-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0F172A;
}

.nx-feed-desc {
  font-size: 0.64rem;
  color: #64748B;
  line-height: 1.35;
  margin-top: 2px;
}

/* Bottom Intelligence Bar */
.nx-erp-bottom-intelligence {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  background: rgba(241, 245, 249, 0.38);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  gap: 10px;
  font-size: 0.72rem;
  margin-top: auto;
  flex-shrink: 0;
}

.nx-intel-metric {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nx-intel-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748B;
}

.nx-intel-val {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nx-intel-sub {
  font-size: 0.62rem;
  color: #64748B;
}

.nx-intel-divider {
  width: 1px;
  height: 24px;
  background: #CBD5E1;
}

@media (max-width: 1180px) {
  .nx-erp-kpi-matrix {
    grid-template-columns: repeat(3, 1fr);
  }

  .nx-erp-split-stage {
    grid-template-columns: 1fr 220px;
  }
}

@media (max-width: 900px) {
  .nx-erp-command-shell {
    grid-template-columns: 1fr !important;
  }

  .nx-erp-sidebar {
    display: none;
  }

  .nx-erp-split-stage {
    grid-template-columns: 1fr;
  }

  .nx-erp-kpi-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .nx-erp-bottom-intelligence {
    flex-wrap: wrap;
    gap: 8px;
  }

  .nx-intel-divider {
    display: none;
  }
}

.nx-arch-diagram {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.08);
  padding: 20px 24px;
  text-align: left;
}

.nx-arch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--nom-border);
  margin-bottom: 16px;
}

.nx-arch-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nx-arch-node {
  flex: 1;
  background: var(--nom-bg-secondary);
  border: 1px solid var(--nom-border);
  border-radius: 8px;
  padding: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nx-arch-node.active-core {
  background: #FFFFFF;
  border-color: var(--nom-accent-blue);
  box-shadow: 0 4px 14px rgba(11, 99, 229, 0.1);
}

.nx-node-icon {
  color: var(--nom-accent-teal);
  margin-bottom: 8px;
}

.nx-arch-node.active-core .nx-node-icon {
  color: var(--nom-accent-blue);
}

.nx-node-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--nom-ink-primary);
  margin-bottom: 4px;
}

.nx-node-desc {
  font-size: 0.72rem;
  color: var(--nom-ink-secondary);
  line-height: 1.4;
}

.nx-arch-connector {
  color: var(--nom-ink-muted);
  opacity: 0.5;
}

/* ==========================================================================
   Assembled Visual 3: Offline POS Terminal
   ========================================================================== */
.nx-pos-mockup {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.08);
  padding: 18px 22px;
  text-align: left;
}

.nx-pos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nom-border);
  margin-bottom: 14px;
}

.nx-pos-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #10B981;
}

.nx-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

.nx-screen-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.nx-stat-block {
  background: var(--nom-bg-secondary);
  border: 1px solid var(--nom-border);
  border-radius: 6px;
  padding: 8px 12px;
}

.nx-stat-block span {
  display: block;
  font-size: 0.68rem;
  color: var(--nom-ink-muted);
}

.nx-stat-block strong {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--nom-ink-primary);
}

.nx-mock-receipt {
  background: #FAFAF7;
  border: 1px dashed var(--nom-border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.78rem;
}

.nx-receipt-line {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: var(--nom-ink-secondary);
}

.nx-receipt-line.total {
  font-weight: 700;
  color: var(--nom-ink-primary);
  border-top: 1px solid var(--nom-border);
  margin-top: 6px;
  padding-top: 6px;
}

/* ==========================================================================
   Assembled Visual 4: Digital Acquisition Funnel
   ========================================================================== */
.nx-digital-flow-card {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.08);
  padding: 18px 22px;
  text-align: left;
}

.nx-flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nom-border);
  margin-bottom: 16px;
}

.nx-flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nx-step-item {
  flex: 1;
  background: var(--nom-bg-secondary);
  border: 1px solid var(--nom-border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nx-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nom-accent-gold);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.nx-step-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--nom-ink-primary);
}

.nx-step-item p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--nom-ink-muted);
}

.nx-step-arrow {
  color: var(--nom-ink-muted);
  font-size: 1.2rem;
}

/* ==========================================================================
   Assembled Visual 5: Autonomous Lead Pipeline
   ========================================================================== */
.nx-lead-pipeline-card {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.08);
  padding: 20px 24px;
  text-align: left;
}

.nx-pipeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--nom-border);
  margin-bottom: 20px;
}

.nx-pipeline-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nx-pipe-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nx-stage-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--nom-bg-secondary);
  border: 2px solid var(--nom-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--nom-ink-secondary);
  transition: all 0.3s ease;
}

.nx-pipe-stage.active .nx-stage-circle {
  background: #10B981;
  border-color: #10B981;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.nx-pipe-stage span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nom-ink-primary);
}

.nx-pipe-line {
  flex: 1;
  height: 3px;
  background: var(--nom-border);
  margin: 0 10px 24px 10px;
  position: relative;
}

.nx-pipe-line.active {
  background: #10B981;
}

/* ==========================================================================
   Assembled Visual 6: Production Training Matrix (Academy)
   ========================================================================== */
.nx-academy-card {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.08);
  padding: 20px 24px;
  text-align: left;
}

.nx-academy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nom-border);
  margin-bottom: 16px;
}

.nx-academy-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.nx-acad-item {
  background: var(--nom-bg-secondary);
  border: 1px solid var(--nom-border);
  border-radius: 8px;
  padding: 12px;
}

.nx-acad-icon {
  font-size: 1.2rem;
  color: var(--nom-accent-teal);
  margin-bottom: 6px;
}

.nx-acad-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--nom-ink-primary);
  margin-bottom: 4px;
}

.nx-acad-item p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--nom-ink-muted);
  line-height: 1.4;
}

/* ==========================================================================
   5. Minimalist Expanding Slide Progress Controller
   ========================================================================== */
.nx-hero-progress {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nx-progress-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  outline: none;
}

.nx-prog-bar {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.15);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.nx-progress-btn.active .nx-prog-bar {
  width: 52px;
  background-color: var(--nom-accent-gold, #0284C7);
}

.nx-prog-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--nom-ink-muted);
  opacity: 0.6;
  transition: opacity 0.25s, color 0.25s;
}

.nx-progress-btn.active .nx-prog-num {
  color: var(--nom-ink-primary);
  font-weight: 600;
  opacity: 1;
}

/* ==========================================================================
   Responsive & Accessibility Rules for Hero Story
   ========================================================================== */
@media (min-width: 901px) and (max-width: 1280px) {

  .pill-close,
  .pill-1 {
    top: 60px;
    left: 2%;
  }

  .pill-agents,
  .pill-2 {
    top: 60px;
    right: 2%;
  }

  .pill-pos,
  .pill-3 {
    top: 40%;
    left: 1.5%;
  }

  .pill-whatsapp,
  .pill-4 {
    top: 40%;
    right: 1.5%;
  }

  .pill-ledger,
  .pill-5 {
    top: 76%;
    left: 2%;
  }

  .pill-healthcare,
  .pill-6 {
    top: 76%;
    right: 2%;
  }
}

@media (min-width: 641px) and (max-width: 900px) {

  .hero-pills-layer,
  .nx-hero-pills {
    display: block;
  }

  .pill-close,
  .pill-1 {
    top: calc(var(--nom-header-height, 72px) + 16px);
    left: 2%;
    --scale: 0.85;
  }

  .pill-agents,
  .pill-2 {
    top: calc(var(--nom-header-height, 72px) + 16px);
    right: 2%;
    --scale: 0.85;
  }

  .pill-pos,
  .pill-3 {
    top: 52%;
    left: 2%;
    --scale: 0.85;
  }

  .pill-whatsapp,
  .pill-4 {
    top: 52%;
    right: 2%;
    --scale: 0.85;
  }

  .pill-ledger,
  .pill-5,
  .pill-healthcare,
  .pill-6 {
    display: none;
  }
}

@media (max-width: 640px) {

  .hero-pills-layer,
  .nx-hero-pills {
    display: block;
    pointer-events: none;
  }

  .pill-close,
  .pill-1 {
    top: calc(var(--nom-header-height, 72px) + 12px);
    left: 3%;
    --scale: 0.75;
  }

  .pill-agents,
  .pill-2 {
    top: calc(var(--nom-header-height, 72px) + 12px);
    right: 3%;
    --scale: 0.75;
  }

  .pill-pos,
  .pill-3,
  .pill-whatsapp,
  .pill-4,
  .pill-ledger,
  .pill-5,
  .pill-healthcare,
  .pill-6 {
    display: none;
  }
}

@media (max-width: 900px) {
  .nx-hero-story {
    height: auto;
  }

  .nx-hero-stage {
    position: relative;
    height: auto;
    min-height: auto;
    padding-top: calc(var(--nom-header-height, 72px) + 24px);
    padding-bottom: 48px;
  }

  .nx-slide-item {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    padding: 30px 16px;
    margin-bottom: 40px;
  }

  .nx-slide-item:not(:first-child) {
    display: block;
  }

  .nx-hero-progress {
    display: none;
  }

  .nx-dashboard-shell {
    grid-template-columns: 1fr;
  }

  .nx-dash-sidebar {
    display: none;
  }

  .nx-arch-grid,
  .nx-flow-steps,
  .nx-academy-modules {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .nx-arch-connector,
  .nx-step-arrow {
    transform: rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-pill,
  .nx-pill-item {
    transform: none !important;
    transition: none !important;
  }

  .nx-hero-story {
    height: auto !important;
  }

  .nx-hero-stage {
    position: relative !important;
    height: auto !important;
  }

  .nx-line {
    transform: none !important;
  }

  .nx-underline::after {
    transform: scaleX(1) !important;
  }

  .nx-slide-item {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }

  .nx-ambient-light {
    display: none !important;
  }
}

/* Mobile Slide-Over Drawer */
.nom-mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nom-mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: block;
}

.nom-mobile-panel {
  width: 330px;
  max-width: 88vw;
  height: 100%;
  background: #FFFFFF;
  margin-left: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.nom-mobile-drawer.open .nom-mobile-panel {
  transform: translateX(0);
}

.nom-mobile-accordion-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nom-ink-primary);
  cursor: pointer;
  text-align: left;
}

.nom-mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 12px;
  background: var(--nom-bg-secondary);
  border-radius: 6px;
  margin-bottom: 6px;
}

.nom-mobile-accordion-item.is-open .nom-mobile-accordion-content {
  max-height: 420px;
  padding: 10px 12px;
}

.nom-mobile-accordion-item.is-open .nom-mobile-accordion-toggle svg {
  transform: rotate(180deg);
}

.nom-mobile-sublink {
  display: block;
  padding: 7px 0;
  font-size: 0.85rem;
  color: var(--nom-ink-secondary);
  text-decoration: none;
}

.nom-mobile-sublink:hover {
  color: var(--nom-ink-primary);
}

/* Section Motion: Interactive growth-flow & lead pipeline */
.nom-growth-flow-node {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.nom-growth-flow-node.active {
  border-color: var(--nom-accent-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

/* Product Card Hover Elevation */
.nom-product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nom-product-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
     HERO 2.0: SCENE NAVIGATION & LIVING PRODUCT STAGE
     Bespoke Glassmorphic Story Controller
     ========================================================================== */
.nx-scene-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 20px auto;
  max-width: 92%;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  padding: 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.50);
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  z-index: 10;
  position: relative;
  user-select: none;
}

.nx-scene-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.80rem;
  font-weight: 500;
  color: var(--nom-ink-secondary);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  outline: none;
  white-space: nowrap;
}

.nx-scene-tab:hover {
  color: var(--nom-ink-primary);
  background: rgba(0, 0, 0, 0.035);
}

.nx-scene-tab:focus-visible {
  outline: 2px solid var(--nom-accent-teal);
  outline-offset: 1px;
}

.nx-scene-tab.active {
  color: var(--nom-ink-primary);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(13, 148, 136, 0.15);
}

.nx-scene-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--nom-ink-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nx-scene-tab.active .nx-scene-num {
  color: var(--nom-accent-teal);
}

.nx-scene-label {
  letter-spacing: -0.01em;
}

.nx-scene-prog {
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: transparent;
  border-radius: 2px;
  overflow: hidden;
}

.nx-scene-tab.active .nx-scene-prog {
  background: rgba(13, 148, 136, 0.12);
}

.nx-scene-tab.active .nx-scene-prog-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--nom-accent-teal), #0B63E5);
  width: 0%;
  border-radius: 2px;
}

/* ==========================================================================
     PHASE 4.1: SINGLE STABLE HERO STAGE (INVARIANT BOUNDING BOX)
     All 5 scenes occupy the EXACT SAME width, height, position & frame.
     ========================================================================== */
.nx-scene-stage {
  position: relative;
  width: 100%;
  min-height: 440px;
  height: 440px;
  max-height: 440px;
  /* SCENE ISOLATION: clip all inactive scenes within the bounding box */
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  border: none;
  box-sizing: border-box;
  /* GPU isolation: only composite when needed */
  isolation: isolate;
}

.nx-scene-pane,
.nx-hero-scene,
.scene-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  will-change: opacity, transform;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 1;
  /* Scene isolation: pause all animations in inactive panes */
  animation-play-state: paused !important;
  /* Prevent clip-path GPU compositing on hidden layers */
  contain: strict;
}

/* Un-pause animations only inside the ACTIVE scene */
.nx-scene-pane.active *,
.nx-hero-scene.active *,
.scene-slide.active * {
  animation-play-state: running;
}

.nx-scene-pane.active,
.nx-hero-scene.active,
.scene-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  z-index: 2 !important;
}

@media (prefers-reduced-motion: reduce) {

  .nx-scene-pane,
  .nx-hero-scene,
  .scene-slide {
    transition: opacity 0.1s linear, visibility 0.1s !important;
    transform: none !important;
  }
}

.nx-scene-pane .nx-dashboard-shell {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 440px;
  display: grid;
  grid-template-columns: 200px 1fr;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.18));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.10),
    0 4px 16px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.70);
  overflow: hidden;
  box-sizing: border-box;
}

.nx-pipeline-chain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.30);
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  overflow-x: auto;
  gap: 4px;
  flex-shrink: 0;
  scrollbar-width: none;
}

.nx-pipeline-chain::-webkit-scrollbar {
  display: none;
}

.nx-chain-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 60px;
}

.nx-node-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--nom-bg-secondary);
  color: var(--nom-ink-primary);
  border: 1px solid var(--nom-border);
}

.nx-node-name {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--nom-ink-secondary);
  white-space: nowrap;
}

.nx-chain-arrow {
  color: var(--nom-border);
  font-size: 0.85rem;
  user-select: none;
}

.nx-industry-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 14px;
  overflow-y: auto;
  max-height: calc(440px - 100px);
  scrollbar-width: none;
}

.nx-industry-matrix::-webkit-scrollbar {
  display: none;
}

.nx-ind-card {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
}

.nx-ind-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(13, 148, 136, 0.50);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
}

.nx-ind-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.nx-ind-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nx-ind-product-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 700;
  color: #0D9488;
  background: rgba(13, 148, 136, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.nx-ind-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.nx-ind-name {
  font-size: 0.80rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.nx-ind-desc {
  font-size: 0.72rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.35;
}

.nx-scene-industry-footer {
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #334155;
  background: rgba(248, 250, 252, 0.38);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: auto;
  flex-shrink: 0;
}

.nx-ai-insight-box {
  margin-top: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(11, 99, 229, 0.08) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
}

.nx-ai-insight-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--nom-ink-primary);
  margin-bottom: 4px;
}

.nx-ai-insight-text {
  font-size: 0.78rem;
  color: var(--nom-ink-secondary);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 900px) {
  .nx-scene-stage {
    min-height: 480px;
    height: 480px;
    max-height: 480px;
  }

  .nx-scene-pane .nx-dashboard-shell {
    grid-template-columns: 1fr;
    max-height: 480px;
  }

  .nx-scene-pane .nx-dash-sidebar {
    display: none;
  }

  .nx-industry-matrix {
    grid-template-columns: repeat(2, 1fr);
    max-height: calc(480px - 100px);
  }
}

@media (max-width: 640px) {
  .nx-scene-stage {
    min-height: 520px;
    height: 520px;
    max-height: 520px;
  }

  .nx-industry-matrix {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
     SMART CIRCLE BUTTON (🔘✨) & SMART MENU OVERLAY
     ========================================================================== */
.nx-smart-circle-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  padding: 0 4px;
  text-align: center;
}

.nx-circle-brand-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #ffffff;
  user-select: none;
}

.nx-smart-circle-trigger::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 148, 136, 0.45);
  opacity: 0.6;
  animation: nxCirclePulse 3.2s infinite ease-in-out;
}

@keyframes nxCirclePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.35;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.85;
    border-color: rgba(34, 211, 238, 0.7);
  }
}

.nx-smart-circle-trigger:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.35), 0 0 20px rgba(13, 148, 136, 0.35);
}

.nx-smart-circle-badge {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nx-smart-circle-trigger:hover .nx-smart-circle-badge {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

/* Topbar Launcher for Smart Menu */
.nx-topbar-circle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nx-topbar-circle-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.nx-topbar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: nxDotBlink 2.4s infinite ease-in-out;
}

@keyframes nxDotBlink {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Smart Menu Modal Overlay */
.nx-smart-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nx-smart-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nx-smart-menu-modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 28px 32px;
  transform: scale(0.94) translateY(14px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.nx-smart-menu-overlay.is-open .nx-smart-menu-modal {
  transform: scale(1) translateY(0);
}

.nx-smart-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--nom-border);
  margin-bottom: 22px;
}

.nx-smart-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

@media (max-width: 640px) {
  .nx-smart-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nx-smart-nav-card {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--nom-border);
  background: var(--nom-bg-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nx-smart-nav-card:hover {
  background: #ffffff;
  border-color: rgba(13, 148, 136, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.nx-smart-nav-card .title {
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--nom-ink-primary);
  margin-bottom: 2px;
}

.nx-smart-nav-card .desc {
  font-size: 0.74rem;
  color: var(--nom-ink-secondary);
}

.nx-smart-action-zone {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--nom-border);
}

@media (max-width: 640px) {
  .nx-smart-action-zone {
    grid-template-columns: 1fr;
  }
}

.nx-action-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.1);
  color: #15803d;
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  border: 1px solid rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.nx-action-btn-wa:hover {
  background: #25D366;
  color: #ffffff;
}

.nx-action-btn-vijay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nx-action-btn-vijay:hover {
  background: #8b5cf6;
  color: #ffffff;
}

.nx-action-btn-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.86rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nx-action-btn-demo:hover {
  background: #1e293b;
}

/* ==========================================================================
     ASK VIJAY — WHATSAPP AUTOBOT MODAL
     ========================================================================== */
.nx-vijay-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nx-vijay-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nx-vijay-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 26px 28px;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nx-vijay-modal-overlay.is-open .nx-vijay-card {
  transform: scale(1) translateY(0);
}

.nx-vijay-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.nx-vijay-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #10B981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.nx-vijay-speech-bubble {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 0.90rem;
  color: #1e293b;
  line-height: 1.5;
  border-left: 3px solid #25D366;
}

.nx-vijay-chips-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--nom-ink-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}

.nx-vijay-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.nx-vijay-chip-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--nom-border);
  font-size: 0.85rem;
  color: var(--nom-ink-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: var(--font-sans);
}

.nx-vijay-chip-btn:hover {
  background: #ffffff;
  border-color: #25D366;
  color: #15803d;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.12);
}

.nx-vijay-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  background: #25D366;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nx-vijay-action-btn:hover {
  background: #1eb857;
  transform: translateY(-1px);
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .nom-loader-overlay {
    display: none !important;
  }

  .nom-mosaic-column {
    transition: none !important;
    transform: scaleY(0) !important;
  }

  .nom-ghost-drift-1,
  .nom-ghost-drift-2,
  .nom-ghost-drift-3 {
    animation: none !important;
  }

  .nom-redact-blocker {
    transform: scaleX(0) !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   DRAGGABLE FLOATING CONTROLS & SHARED STATES
   ========================================================================== */
.nx-smart-circle-trigger {
  cursor: grab !important;
  touch-action: none;
}

.nx-smart-circle-trigger.is-dragging {
  cursor: grabbing !important;
  transform: scale(1.08) !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45) !important;
  user-select: none !important;
}

/* ==========================================================================
   MOVABLE LANGUAGE SELECTOR (BOTTOM-LEFT CORNER)
   Recreating Reference Image Popover Card (Off-white, clean dividers, EN ▼)
   ========================================================================== */
.nx-lang-floater {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  touch-action: none;
}

.nx-lang-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #F8F7F4;
  color: #1F2937;
  border: 1.5px solid #E5E2DC;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: grab;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.nx-lang-floater.is-dragging .nx-lang-trigger-btn {
  cursor: grabbing;
  transform: scale(1.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.nx-lang-trigger-btn:hover {
  background: #FFFFFF;
  border-color: #D1CEC7;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.nx-lang-globe-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.nx-lang-current-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #111827;
}

.nx-lang-trigger-caret {
  color: #E05D26;
  transition: transform 0.25s ease;
}

.nx-lang-floater.has-open-popover .nx-lang-trigger-caret {
  transform: rotate(180deg);
}

/* Popover Card (Matches Reference Image) */
.nx-lang-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  width: 280px;
  background: #F7F6F3;
  border: 1px solid #E5E2DC;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 1000;
  animation: nxFadeScaleUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nx-lang-popover.is-open {
  display: flex;
}

@keyframes nxFadeScaleUp {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nx-lang-header {
  padding: 12px 14px 8px;
  background: #F7F6F3;
  border-bottom: 1px solid #ECEAE4;
}

.nx-lang-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #DDD9D2;
  border-radius: 8px;
  padding: 6px 10px;
  color: #6B7280;
}

.nx-lang-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  color: #1F2937;
  width: 100%;
  font-family: var(--font-sans);
}

.nx-lang-search-box input::placeholder {
  color: #9CA3AF;
  font-size: 0.78rem;
}

.nx-lang-tabs {
  display: flex;
  gap: 4px;
  padding: 6px 12px;
  background: #F2EFEB;
  border-bottom: 1px solid #E5E2DC;
}

.nx-lang-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 4px 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6B7280;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.nx-lang-tab-btn:hover {
  color: #111827;
}

.nx-lang-tab-btn.active {
  background: #FFFFFF;
  color: #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nx-lang-list {
  max-height: 250px;
  overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
}

.nx-lang-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.nx-lang-item:last-child {
  border-bottom: none;
}

.nx-lang-item:hover {
  background: #ECE9E2;
}

.nx-lang-item.is-active {
  background: #E8E4DC;
}

.nx-lang-item-main {
  display: flex;
  flex-direction: column;
}

.nx-lang-name {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: #1F2937;
  line-height: 1.25;
}

.nx-lang-native {
  font-size: 0.74rem;
  color: #6B7280;
}

.nx-lang-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #9CA3AF;
  letter-spacing: 0.06em;
}

.nx-lang-item.is-active .nx-lang-badge {
  color: #E05D26;
  font-weight: 700;
}

/* Footer of Language Card matching Reference "EN ▼" */
.nx-lang-popover-footer {
  padding: 10px 14px;
  background: #EFECE6;
  border-top: 1px solid #E5E2DC;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nx-current-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.04em;
}

.nx-current-lang-pill .nx-caret-icon {
  color: #E05D26;
}

.nx-lang-reset-btn {
  font-size: 0.74rem;
  color: #6B7280;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nx-lang-reset-btn:hover {
  color: #E05D26;
}

/* ==========================================================================
   HELP & SUPPORT LIVE CHAT WIDGET (MATCHES REFERENCE IMAGE 2)
   ========================================================================== */
.nx-chat-trigger-btn {
  position: fixed;
  bottom: 106px;
  right: 28px;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: #E05D26;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 26px rgba(224, 93, 38, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 999;
  outline: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.nx-chat-trigger-btn:hover {
  background: #D04F18;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 14px 32px rgba(224, 93, 38, 0.45);
}

.nx-chat-badge-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
}

.nx-chat-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: nxDotBlink 2.4s infinite ease-in-out;
}

/* Chat Widget Overlay & Window */
.nx-chat-widget-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
}

.nx-chat-widget-overlay.is-open {
  display: flex;
}

.nx-chat-modal {
  width: 100%;
  max-width: 410px;
  height: 560px;
  max-height: 86vh;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: nxChatModalPop 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nxChatModalPop {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 1. Header (Terracotta / Orange) */
.nx-chat-header {
  background: #E05D26;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
}

.nx-chat-header-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.nx-chat-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  outline: none;
}

.nx-chat-close-btn:hover {
  transform: scale(1.1);
  background: #F3F4F6;
}

/* 2. Operational Hours Notice Card */
.nx-chat-hours-card {
  background: #FAF8F5;
  border-bottom: 1px solid #EBE7DF;
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #4B5563;
}

.nx-chat-hours-icon {
  color: #6B7280;
  margin-top: 2px;
  flex-shrink: 0;
}

.nx-chat-hours-content {
  font-size: 0.85rem;
  line-height: 1.45;
}

.nx-chat-hours-status {
  color: #1F2937;
  font-weight: 500;
  margin-bottom: 3px;
}

.nx-chat-hours-schedule {
  color: #4B5563;
  font-size: 0.8rem;
}

.nx-chat-hours-clock {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #6B7280;
  margin-top: 4px;
}

/* 3. Messages Stream */
.nx-chat-body {
  flex: 1;
  padding: 20px 18px;
  overflow-y: auto;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nx-chat-empty-state {
  margin: auto;
  text-align: center;
  font-size: 0.95rem;
  color: #6B7280;
  line-height: 1.5;
  max-width: 260px;
}

.nx-chat-msg-row {
  display: flex;
  width: 100%;
}

.nx-chat-msg-row.is-client {
  justify-content: flex-end;
}

.nx-chat-msg-row.is-support {
  justify-content: flex-start;
}

.nx-chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.nx-chat-msg-row.is-client .nx-chat-bubble {
  background: #E05D26;
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.nx-chat-msg-row.is-support .nx-chat-bubble {
  background: #F3F4F6;
  color: #1F2937;
  border-bottom-left-radius: 4px;
}

.nx-chat-msg-time {
  font-size: 0.68rem;
  margin-top: 4px;
  opacity: 0.75;
  text-align: right;
}

.nx-chat-msg-attachment {
  font-size: 0.78rem;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 4. Footer Input */
.nx-chat-footer {
  border-top: 1px solid #EBE7DF;
  padding: 14px 18px 10px;
  background: #FFFFFF;
}

.nx-chat-input-wrapper {
  margin-bottom: 8px;
}

.nx-chat-textarea {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #1F2937;
  resize: none;
  max-height: 110px;
  background: transparent;
}

.nx-chat-textarea::placeholder {
  color: #9CA3AF;
}

.nx-chat-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nx-chat-attach-btn {
  color: #4B5563;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.nx-chat-attach-btn:hover {
  background: #F3F4F6;
  color: #111827;
}

.nx-chat-file-indicator {
  font-size: 0.75rem;
  color: #E05D26;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-chat-send-btn {
  background: #E05D26;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nx-chat-send-btn:hover {
  background: #D04F18;
  transform: translateY(-1px);
}

.nx-chat-send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.nx-chat-disclaimer {
  font-size: 0.72rem;
  color: #6B7280;
  text-align: center;
  margin-top: 10px;
  line-height: 1.35;
}

/* Suppress Google Translate top bar banners from pushing fixed elements */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0px !important;
}

#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 640px) {
  .nx-chat-widget-overlay {
    padding: 0;
  }

  .nx-chat-modal {
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .nx-lang-floater {
    bottom: 20px;
    left: 16px;
  }

  .nx-smart-circle-trigger {
    bottom: 20px;
    right: 16px;
  }

  .nx-chat-trigger-btn {
    bottom: 96px;
    right: 16px;
  }
}

/* ==========================================================================
   ENTERPRISE HOME UX FINAL (PHASE 6.0 VISUAL HARDENING)
   ========================================================================== */

/* 1. Key Enterprise Metrics Bar (Stats Strip) */
.nx-stats-strip-section {
  padding: 0 0 50px 0;
  background: var(--nom-bg-primary);
  position: relative;
  z-index: 4;
}

.nx-stats-strip-card {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 16px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  gap: 16px;
}

.nx-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nx-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nx-stat-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nom-ink-primary);
  line-height: 1.1;
}

.nx-stat-label {
  font-size: 0.8rem;
  color: var(--nom-ink-muted);
  font-weight: 500;
  margin-top: 2px;
}

.nx-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--nom-border);
}

/* 2. Solutions in Action (5 Product Cards Grid) */
.nx-solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.nx-sol-card {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.nx-sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: #CBD5E1;
}

.nx-sol-img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  background: #F1F5F9;
  overflow: hidden;
}

.nx-sol-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nx-sol-card:hover .nx-sol-img-wrap img {
  transform: scale(1.04);
}

.nx-sol-img-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 4px;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-align: center;
}

.nx-sol-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.nx-sol-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.nx-sol-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.nx-sol-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--nom-ink-primary);
  margin: 0;
  line-height: 1.2;
}

.nx-sol-sub {
  font-size: 0.76rem;
  color: var(--nom-ink-muted);
  margin-top: 2px;
}

.nx-sol-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nom-accent-teal, #0D9488);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-top: 1px dashed var(--nom-border);
  padding-top: 12px;
  transition: gap 0.2s ease;
}

.nx-sol-link:hover {
  gap: 8px;
}

/* 3. Visual Pillars in What We Do */
.nx-visual-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.nx-pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 14px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.nx-pillar-header {
  margin-bottom: 18px;
}

.nx-pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--nom-accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 6px;
}

.nx-pillar-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--nom-ink-primary);
  font-weight: 600;
  margin: 0 0 8px 0;
}

.nx-pillar-desc {
  font-size: 0.88rem;
  color: var(--nom-ink-secondary);
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.nx-pillar-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.nx-pillar-cap-badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  background: #F1F5F9;
  border-radius: 4px;
  color: #334155;
  font-weight: 500;
}

.nx-pillar-mockup {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

/* 4. Connected ERP Module Ecosystem */
.nx-ecosystem-section {
  background: #0B0F19;
  color: #FFFFFF;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.nx-ecosystem-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nx-ecosystem-canvas {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.nx-eco-center-hub {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F766E 0%, #042F2E 100%);
  border: 2px solid #14B8A6;
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  padding: 12px;
}

.nx-eco-hub-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.nx-eco-hub-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #5EEAD4;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nx-eco-satellites {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nx-eco-satellite-node {
  position: absolute;
  pointer-events: auto;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2E8F0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nx-eco-satellite-node:hover {
  transform: scale(1.06);
  border-color: #14B8A6;
  color: #FFFFFF;
}

/* 5. Horizontal Business Operations Workflow */
.nx-workflow-section {
  background: #FFFFFF;
  padding: 80px 0;
  border-bottom: 1px solid var(--nom-border);
  overflow: hidden;
  max-width: 100%;
}

.nx-workflow-track {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  gap: 10px;
  padding: 20px 4px;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  box-sizing: border-box;
}

.nx-wf-step {
  flex: 1;
  min-width: 120px;
  background: var(--nom-bg-secondary);
  border: 1px solid var(--nom-border);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nx-wf-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--nom-accent-teal);
  margin-bottom: 6px;
}

.nx-wf-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nom-ink-primary);
  margin-bottom: 4px;
}

.nx-wf-module {
  font-size: 0.68rem;
  color: var(--nom-ink-muted);
}

.nx-wf-status {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  color: #059669;
  font-weight: 600;
  margin-top: 8px;
  background: #ECFDF5;
  padding: 2px 4px;
  border-radius: 4px;
}

/* 6. Agentic Enterprise Automation Section */
.nx-agentic-section {
  background: #F8FAFC;
  padding: 88px 0;
  border-bottom: 1px solid var(--nom-border);
}

.nx-agentic-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.nx-agentic-visual-card {
  background: #0F172A;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 24px;
  color: #FFFFFF;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.4);
}

.nx-agentic-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nx-agentic-flow-step:last-child {
  border-bottom: none;
}

.nx-agentic-step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 7. Conversion Commercial Journey */
.nx-journey-section {
  background: #FFFFFF;
  padding: 80px 0;
}

.nx-journey-track {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  margin-top: 36px;
}

.nx-journey-step {
  background: #F8FAFC;
  border: 1px solid var(--nom-border);
  border-radius: 8px;
  padding: 14px 8px;
  text-align: center;
}

.nx-journey-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--nom-accent-gold);
}

.nx-journey-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--nom-ink-primary);
  margin: 4px 0 2px 0;
}

.nx-journey-engine {
  font-size: 0.65rem;
  color: var(--nom-ink-muted);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .nx-solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nx-visual-pillars-grid {
    grid-template-columns: 1fr;
  }

  .nx-stats-strip-card {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nx-stat-divider {
    display: none;
  }

  .nx-agentic-grid {
    grid-template-columns: 1fr;
  }

  .nx-journey-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .nx-solutions-grid {
    grid-template-columns: 1fr;
  }

  .nx-stats-strip-card {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nx-journey-track {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Phase 6.0 UX Final: Enterprise Hero Dual-Column & Floating Cards
/* ==========================================================================
   HERO 2.0 REFINED: DUAL-COLUMN HIGH-IMPACT ENTERPRISE COMPOSITION
   Matching Image 2 & 3 Visual Source of Truth
   ========================================================================== */
.nx-hero-top-split {
  display: grid;
  grid-template-columns: minmax(380px, 440px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  width: 100%;
  max-width: min(100%, 1380px);
  margin: 12px auto 28px auto;
  text-align: left;
  box-sizing: border-box;
  padding: 0 24px;
}

@media (min-width: 1440px) {
  .nx-hero-top-split {
    max-width: min(100%, 1520px);
    grid-template-columns: 440px minmax(0, 1fr);
    gap: 40px;
  }
}

.nx-hero-copy.hero-content {
  text-align: left;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.nx-hero-title {
  font-family: var(--font-serif, "Newsreader", Georgia, serif);
  font-size: clamp(1.85rem, 2.75vw, 2.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0F172A;
  margin: 0 0 16px 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.nx-hero-title .nx-line {
  display: block;
}

.nx-hero-accent {
  color: #0D9488 !important;
}

.nx-hero-value-chips {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 28px 0;
  width: 100%;
}

.nx-value-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.nx-value-chip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nx-value-chip:hover .nx-value-chip-icon {
  transform: translateY(-2px);
}

.nx-value-chip-text {
  text-align: left;
  line-height: 1.25;
}

.nx-chip-sub {
  font-size: 0.78rem;
  color: #1E293B;
  font-weight: 500;
}

.nx-chip-main {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
}

.nx-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.btn-nom-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0B132B;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 19, 43, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-nom-primary:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 19, 43, 0.35);
  color: #FFFFFF;
}

.btn-nom-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-nom-secondary:hover {
  background: #F8FAFC;
  border-color: #0F172A;
  transform: translateY(-2px);
}

.nx-cta-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #10B981;
  color: #10B981;
}

.nx-cta-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn-nom-primary:hover .nx-cta-arrow {
  transform: translateX(3px);
}

.nx-hero-trust-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.nx-trust-text {
  text-align: left;
  line-height: 1.35;
}

.nx-trust-headline {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
}

.nx-trust-sectors {
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 400;
}

/* RIGHT: Super Hero Visual Composite */
.nx-hero-enterprise-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 20px;
  padding: 0;
}

.nx-hero-visual-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 20px;
  /* Stage clips inner scenes; frame allows docked controls to be visible */
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border: none;
  height: auto;
  min-height: 440px;
}

.nx-hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nx-scene-digital-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  /* SCENE ISOLATION: clip any card overflow within the digital scene */
  overflow: hidden;
  background: transparent;
}

.nx-scene-digital-bg {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Holographic Map Badge - Present in DOM for semantic richness */
.nx-hologram-india-tag {
  display: none;
}

/* 4 Living Floating Solution Cards - Active, Animated, Interactive Glassmorphic HTML Elements */
.nx-float-solution-card {
  position: absolute;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  /* pointer-events managed by parent pane: active pane re-enables them */
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.nx-float-solution-card:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.20), 0 4px 10px rgba(0, 0, 0, 0.06);
  border-color: rgba(14, 165, 233, 0.5);
  text-decoration: none;
}

.nx-float-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 1;
}

.nx-float-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
  opacity: 1;
}

.nx-float-sub {
  font-size: 0.68rem;
  color: #64748B;
  line-height: 1.22;
  max-width: 125px;
  white-space: normal;
  opacity: 1;
}

.nx-blood-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  display: inline-block;
  margin-left: 6px;
  animation: nxPulseRed 1.8s infinite;
}

@keyframes nxPulseRed {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Organic floating micro-motion per card */
.nx-card-pos-hospital {
  top: 60px;
  left: 18px;
  animation: nxCardFloat1 4.2s ease-in-out infinite alternate;
}

.nx-card-pos-hotel {
  top: 138px;
  left: 14px;
  animation: nxCardFloat2 4.8s ease-in-out infinite alternate;
}

.nx-card-pos-retail {
  top: 268px;
  left: 18px;
  animation: nxCardFloat1 4.5s ease-in-out infinite alternate;
}

.nx-card-pos-service {
  top: 108px;
  right: 18px;
  animation: nxCardFloat2 5.1s ease-in-out infinite alternate;
}

@keyframes nxCardFloat1 {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-4px);
  }
}

@keyframes nxCardFloat2 {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(4px);
  }
}

/* Central Hologram Pill Badge - Living Aura */
.nx-float-hologram-pill {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #065F46;
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 20px;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.22);
  opacity: 1;
  pointer-events: auto;
  z-index: 12;
  white-space: nowrap;
  animation: nxHoloGlow 3.6s ease-in-out infinite alternate;
}

@keyframes nxHoloGlow {
  0% {
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
    transform: translateX(-50%) scale(1);
  }

  100% {
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.45);
    transform: translateX(-50%) scale(1.02);
  }
}

/* Scene Navigation Anchor (Docked Controls Layer) */
.nx-scene-nav-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -52px;
  position: relative;
  z-index: 30;
  pointer-events: auto;
  gap: 8px;
  width: 100%;
}

.nx-scene-nav-anchor .nx-scene-nav {
  margin: 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 6px 24px -4px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  z-index: 31;
}

/* Soft peripheral capability pills */
.hero-pills-layer {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Responsive Rules for Hero */
@media (max-width: 1024px) {
  .nx-hero-top-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nx-hero-copy.hero-content {
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .nx-hero-copy .nx-hero-desc {
    margin: 0 auto 22px auto !important;
  }

  .nx-hero-value-chips {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nx-value-chip {
    flex: 0 1 calc(50% - 8px);
  }

  .nx-hero-ctas {
    justify-content: center;
  }

  .nx-hero-trust-proof {
    justify-content: center;
  }

  .nx-hero-enterprise-visual {
    max-width: 640px;
    margin: 0 auto;
  }

  .nx-scene-nav-anchor {
    justify-content: center;
    padding-right: 0;
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .nx-value-chip {
    flex: 1 1 100%;
  }

  .nx-card-pos-hospital {
    top: 8px;
    left: 8px;
    transform: scale(0.85);
    transform-origin: top left;
  }

  .nx-card-pos-hotel {
    top: 30%;
    left: 4px;
    transform: scale(0.85);
    transform-origin: top left;
  }

  .nx-card-pos-retail {
    bottom: 24%;
    left: 4px;
    transform: scale(0.85);
    transform-origin: bottom left;
  }

  .nx-card-pos-service {
    top: 40%;
    right: 4px;
    transform: scale(0.85);
    transform-origin: top right;
  }

  .nx-float-hologram-pill {
    font-size: 0.68rem;
    padding: 5px 12px;
    bottom: 18%;
  }

  .nx-hologram-india-tag {
    top: 12px;
    right: 14px;
  }

  .nx-india-tag-title {
    font-size: 0.95rem;
  }

  .nx-india-tag-sub {
    font-size: 0.85rem;
  }

  .nx-chapter-tag {
    white-space: normal !important;
    max-width: calc(100vw - 32px) !important;
    box-sizing: border-box !important;
    text-align: left;
    padding: 4px 10px !important;
    margin-bottom: 16px !important;
  }

  .nx-chapter-tag-text {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
  }

  .nx-hero-title {
    font-size: clamp(1.5rem, 6.2vw, 1.95rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.015em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .nx-line-mask {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .nx-hero-title .nx-line {
    white-space: normal !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .nx-hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 8px !important;
  }

  .nx-hero-top-split {
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .nx-hero-copy.hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .nx-scene-nav {
    overflow-x: auto;
    max-width: 100%;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding: 4px 8px;
    flex-wrap: nowrap;
  }

  .nx-scene-tab {
    flex-shrink: 0;
  }
}

/* Solutions Carousel Controls & Arrows */
.nx-sol-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.nx-sol-arrows {
  display: flex;
  gap: 10px;
}

.nx-sol-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--nom-border);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--nom-ink-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nx-sol-arrow-btn:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

/* Industry Showcase 8-Card Grid */
.nx-industry-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

@media (max-width: 1200px) {
  .nx-industry-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nx-industry-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.nx-ind-card {
  background: #FFFFFF;
  border: 1px solid var(--nom-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nx-ind-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.08);
}

.nx-ind-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.nx-ind-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--nom-ink-primary);
  margin: 0 0 10px 0;
}

.nx-ind-desc {
  font-size: 0.86rem;
  color: var(--nom-ink-secondary);
  line-height: 1.55;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.nx-ind-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.nx-ind-chip {
  font-size: 0.7rem;
  background: #F1F5F9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.nx-ind-footer {
  border-top: 1px solid var(--nom-border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nx-ind-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--nom-accent-teal, #0D9488);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nx-ind-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   PHASE 6.4: TRANSPARENT GLASSMORPHISM INTELLIGENCE CHIPS
   Canonical glass chip component + scene-level positioning + strict isolation
   ========================================================================== */

/* --- Glass Chip Container (one per scene pane) --- */
.nx-scene-glass-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
  overflow: hidden;
}

/* --- Canonical Glass Chip Component --- */
.nx-hero-glass-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.70);
  color: #0F172A;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: auto;
  cursor: default;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
  z-index: 12;
}

.nx-hero-glass-chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 0 18px rgba(13, 148, 136, 0.15);
  border-color: rgba(255, 255, 255, 0.95);
}

/* Chip icon */
.nx-hero-glass-chip .nx-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 0.62rem;
  color: rgba(13, 148, 136, 0.85);
  flex-shrink: 0;
}

.nx-hero-glass-chip .nx-chip-icon svg {
  width: 11px;
  height: 11px;
  color: rgba(13, 148, 136, 0.85);
}

/* Chip label */
.nx-hero-glass-chip .nx-chip-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(15, 23, 42, 0.78);
}

/* Chip secondary text */
.nx-hero-glass-chip .nx-chip-sec {
  font-size: 0.62rem;
  font-weight: 500;
  opacity: 0.62;
  margin-left: 2px;
}

/* Live pulse dot */
.nx-chip-pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
  animation: nxChipPulse 2.2s ease-in-out infinite;
}

@keyframes nxChipPulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
  }
}

/* --- Glass Chip Floating Micro-Animations --- */
.nx-glass-pos-1 {
  animation: nxGlassFloat1 5.6s ease-in-out infinite alternate;
}

.nx-glass-pos-2 {
  animation: nxGlassFloat2 6.2s ease-in-out infinite alternate;
}

.nx-glass-pos-3 {
  animation: nxGlassFloat1 4.8s ease-in-out infinite alternate;
}

.nx-glass-pos-4 {
  animation: nxGlassFloat2 5.4s ease-in-out infinite alternate;
}

.nx-glass-pos-5 {
  animation: nxGlassFloat1 6.8s ease-in-out infinite alternate;
}

.nx-glass-pos-6 {
  animation: nxGlassFloat2 5.0s ease-in-out infinite alternate;
}

@keyframes nxGlassFloat1 {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-5px);
  }
}

@keyframes nxGlassFloat2 {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(4px);
  }
}

/* --- Glass Chip Positions (5-6 strategic locations per scene) --- */
.nx-glass-pos-1 {
  top: 14px;
  left: 18px;
}

.nx-glass-pos-2 {
  top: 16px;
  right: 20px;
}

.nx-glass-pos-3 {
  top: 216px;
  left: 16px;
}

.nx-glass-pos-4 {
  top: 204px;
  right: 18px;
}

.nx-glass-pos-5 {
  bottom: 20px;
  left: 18px;
}

.nx-glass-pos-6 {
  bottom: 44px;
  right: 20px;
}

/* --- Pill Layer Now Scene-Scoped (Phase 6.4) --- */
.nx-scene-pane .nx-hero-pills,
.nx-scene-pane .hero-pills-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

/* ==========================================================================
   PHASE 6.4: STRICT INACTIVE-SCENE CHILD ISOLATION
   Ensures zero visual bleed-through from inactive scene panes.
   Active pane restoration is already handled by .nx-scene-pane.active rules.
   ========================================================================== */
.nx-scene-pane:not(.active) *,
.nx-hero-scene:not(.active) *,
.scene-slide:not(.active) * {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Restore children when scene is active (override the :not(.active) * rule) */
.nx-scene-pane.active *,
.nx-hero-scene.active *,
.scene-slide.active * {
  visibility: visible;
  opacity: unset;
  pointer-events: unset;
}

/* --- Responsive: Glass Chips --- */
@media (max-width: 1024px) {
  .nx-hero-glass-chip {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .nx-glass-pos-1 {
    top: 6px;
    left: 6px;
  }

  .nx-glass-pos-2 {
    top: 8px;
    right: 8px;
  }

  .nx-glass-pos-3 {
    top: 42%;
    left: 4px;
  }

  .nx-glass-pos-4 {
    top: 44%;
    right: 6px;
  }

  .nx-glass-pos-5 {
    bottom: 10%;
    left: 8px;
  }

  .nx-glass-pos-6 {
    bottom: 12%;
    right: 6px;
  }
}

@media (max-width: 768px) {

  .nx-dashboard-shell,
  .nx-scene-pane .nx-dashboard-shell {
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
  }

  .nx-scene-glass-chips {
    display: none !important;
  }

  .nx-scene-pane .nx-hero-pills,
  .hero-pills-layer {
    display: none !important;
  }
}

/* ==========================================================================
   PHASE 6.7: PRODUCT ECOSYSTEM — PREMIUM RESPONSIVE GRID CARDS
   Clean light surface, 3-col desktop / 2-col tablet / 1-col mobile,
   domain icons, verified status, and accessible inquiry triggers.
   ========================================================================== */

.nom-product-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .nom-product-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .nom-product-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.nom-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 26px 24px 22px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.nom-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px -8px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
  border-color: rgba(13, 148, 136, 0.35);
}

.nom-prod-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.nom-prod-category {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--nom-accent-gold, #B45309);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nom-prod-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.70rem;
  font-weight: 600;
  background: rgba(13, 148, 136, 0.08);
  color: #0D9488;
  border: 1px solid rgba(13, 148, 136, 0.20);
  white-space: nowrap;
}

.nom-prod-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.nom-prod-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.10), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(13, 148, 136, 0.20);
  color: #0D9488;
}

.nom-prod-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.nom-prod-title {
  font-family: var(--font-serif, "Cinzel", "Playfair Display", Georgia, serif);
  font-size: 1.26rem;
  font-weight: 600;
  color: var(--nom-ink-primary, #0F172A);
  margin: 0;
  line-height: 1.25;
  padding-top: 2px;
}

.nom-prod-desc {
  font-size: 0.88rem;
  color: var(--nom-ink-secondary, #475569);
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.nom-prod-footer {
  border-top: 1px dashed rgba(15, 23, 42, 0.10);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.nom-prod-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--nom-ink-muted, #64748B);
}

.nom-prod-verified::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.btn-nom-inquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #0D9488;
  border: 1px solid rgba(13, 148, 136, 0.35);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.80rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-nom-inquire:hover {
  background: #0D9488;
  color: #ffffff;
  border-color: #0D9488;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
  transform: translateX(2px);
}

/* ==========================================================================
   PHASE 6.8: SECTION 6 — ANIMATED SERVICES STORY
   "From Business Need to Intelligent Execution"
   Choreographed 7-stage architectural transformation engine with interactive
   stepper, transparent glass cards, live telemetry clusters, and pipeline flows.
   ========================================================================== */

.nx-services-story-section {
  background-color: var(--nom-bg-secondary, #F8FAFC);
  padding: 100px 0 90px 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.nx-story-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px auto;
}

.nx-story-heading {
  font-family: var(--font-serif, "Cinzel", "Playfair Display", Georgia, serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  color: var(--nom-ink-primary, #0F172A);
  line-height: 1.15;
  margin: 0 0 14px 0;
}

.nx-story-subheading {
  font-size: 1.12rem;
  color: var(--nom-ink-secondary, #475569);
  line-height: 1.65;
  margin: 0;
}

/* 7-Stage Stepper Navigation Bar */
.nx-story-nav-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.nx-story-nav-wrap::-webkit-scrollbar {
  display: none;
}

.nx-story-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

.nx-story-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-sans, sans-serif);
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.nx-story-step-btn:hover {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(15, 23, 42, 0.12);
}

.nx-story-step-btn.active {
  background: #FFFFFF;
  border-color: var(--stage-color, #0D9488);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.nx-step-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--stage-color, #0D9488);
}

.nx-step-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #0F172A;
  letter-spacing: 0.02em;
}

/* Transformation Canvas & Panes */
.nx-story-stage-canvas {
  position: relative;
  width: 100%;
  min-height: 440px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.nx-story-pane {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.99);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  box-sizing: border-box;
}

.nx-story-pane.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  position: relative;
}

/* Glass Transformation Card */
.nx-story-glass-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76));
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  padding: 38px 44px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.03);
  box-sizing: border-box;
}

/* Left Card Column */
.nx-story-card-left {
  display: flex;
  flex-direction: column;
}

.nx-story-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  width: fit-content;
}

.nx-story-badge-icon {
  display: flex;
  align-items: center;
  width: 14px;
  height: 14px;
}

.nx-story-badge-icon svg {
  width: 14px;
  height: 14px;
}

.nx-story-pane-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.95rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.22;
  margin: 0 0 12px 0;
}

.nx-story-pane-tagline {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.nx-story-details-box {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nx-story-detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.84rem;
}

.nx-detail-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  min-width: 110px;
  flex-shrink: 0;
}

.nx-detail-val {
  color: #1E293B;
  font-weight: 500;
  line-height: 1.45;
}

.nx-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nx-story-prod-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.70rem;
  font-weight: 600;
  color: #0D9488;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.20);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Right Card Column (Telemetry Cluster) */
.nx-story-card-right {
  display: flex;
  flex-direction: column;
}

.nx-story-metric-cluster {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.nx-metric-cluster-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nx-cluster-title {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nx-cluster-step-pill {
  margin-left: auto;
  font-family: var(--font-mono, monospace);
  font-size: 0.70rem;
  font-weight: 700;
  color: #0D9488;
  background: rgba(13, 148, 136, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
}

.nx-story-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.nx-story-metric-item {
  background: rgba(255, 255, 255, 0.60);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
}

.nx-story-metric-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 4px;
}

.nx-story-metric-num {
  font-family: var(--font-mono, monospace);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

/* Pipeline Track & Dots */
.nx-story-pipeline-preview {
  margin-bottom: 20px;
  padding: 12px 14px;
  background: rgba(248, 250, 252, 0.75);
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.nx-pipeline-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.nx-pipeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  transition: all 0.25s ease;
}

.nx-pipeline-dot.completed {
  background: #0D9488;
}

.nx-pipeline-dot.current {
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
  transform: scale(1.15);
}

.nx-pipeline-segment {
  flex: 1;
  height: 2px;
  background: #CBD5E1;
  margin: 0 4px;
  transition: background 0.25s ease;
}

.nx-pipeline-segment.active {
  background: #0D9488;
}

.nx-pipeline-desc {
  font-size: 0.76rem;
  color: #475569;
}

.nx-story-card-action {
  display: flex;
  justify-content: flex-end;
}

/* Stepper Controls Bar */
.nx-story-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-sizing: border-box;
}

.nx-story-ctrl-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nx-story-arrow-btn {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.80rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.nx-story-arrow-btn:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.nx-story-play-toggle {
  background: transparent;
  color: #0D9488;
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.80rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.nx-story-play-toggle:hover {
  background: rgba(13, 148, 136, 0.08);
}

.nx-story-progress-indicator {
  flex: 1;
  max-width: 320px;
  height: 4px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.nx-story-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0D9488, #2563EB);
  width: 14.28%;
  transition: width 0.35s ease;
}

.nx-story-ctrl-right {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
}

/* ==========================================================================
   NEURAL BUSINESS MESH (SECTION 06 - PHASE 6.8.1)
   Two-column visual architecture: Left content & Right interactive canvas stage
   Transparent glassmorphism HUD, responsive zero-overflow containment
   ========================================================================== */

.nx-neural-mesh-section {
  position: relative;
  background: transparent;
  padding: 85px 0 80px 0;
  overflow: hidden;
  box-sizing: border-box;
}

.nx-mesh-header {
  margin-bottom: 40px;
}

.nx-mesh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: center;
  box-sizing: border-box;
}

.nx-mesh-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.nx-mesh-lead-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  padding: 34px 36px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

.nx-mesh-kicker {
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nom-accent-teal, #0D9488);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.nx-mesh-lead-title {
  font-family: var(--font-serif, "Cinzel", Georgia, serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.25;
  margin: 0 0 14px 0;
}

.nx-mesh-lead-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 22px 0;
}

.nx-mesh-capabilities-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.nx-mesh-cap-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nx-mesh-cap-badge:hover {
  background: #FFFFFF;
  border-color: #0F172A;
  transform: translateY(-1px);
}

.nx-mesh-cap-badge.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.nx-mesh-cap-badge.active .nx-cap-dot {
  background: #38BDF8 !important;
}

.nx-cap-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nx-mesh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.nx-mesh-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
}

.nx-mesh-telemetry-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: #64748B;
}

.nx-mesh-telemetry-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nx-mesh-live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: nxPulse 2s infinite;
}

.nx-mesh-telemetry-sep {
  width: 1px;
  height: 14px;
  background: rgba(15, 23, 42, 0.12);
}

/* Right Stage Column */
.nx-mesh-stage-col {
  min-width: 0;
  position: relative;
}

.nx-mesh-canvas-stage {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35) 0%, rgba(248, 250, 252, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  box-sizing: border-box;
}

.nx-neural-mesh-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

/* Floating Transparent Glass Tooltip */
.nx-mesh-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  color: #0F172A;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 30;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.nx-mesh-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.nx-mesh-tooltip-badge {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid;
  margin-bottom: 6px;
}

.nx-mesh-tooltip-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #0F172A;
}

.nx-mesh-tooltip-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #334155;
  margin: 0 0 8px 0;
}

.nx-mesh-tooltip-action {
  font-size: 0.76rem;
  font-weight: 600;
  color: #0D9488;
}

/* Overlay Controls & Legend */
.nx-mesh-overlay-controls {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.nx-mesh-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 0.70rem;
  color: #475569;
}

.nx-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nx-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.nx-legend-dot.capability {
  background: #0D9488;
}

.nx-legend-dot.product {
  background: #2563EB;
}

.nx-legend-dot.pulse {
  background: #F59E0B;
}

.nx-mesh-reset-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.74rem;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.18s ease;
}

.nx-mesh-reset-btn:hover {
  background: #FFFFFF;
  color: #0D9488;
}

/* Semantic Screen Reader Only (Completely Hidden from Visual DOM) */
.nx-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  display: none !important;
}

/* Phase 6.10.4: Premium Scene Navigator Bar */
.nx-scene-navigator-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  position: relative;
  z-index: 10;
  width: 100%;
}
.nx-scene-nav-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 9999px;
  padding: 6px 14px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  max-width: 100%;
  overflow-x: auto;
}
.nx-scene-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  flex-shrink: 0;
}
.nx-scene-arrow-btn:hover {
  background: #F0FDFA;
  border-color: #0D9488;
  color: #0D9488;
  transform: scale(1.06);
}
.nx-scene-pills-cluster {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.nx-scene-pill-btn {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nx-scene-pill-btn:hover {
  background: rgba(241, 245, 249, 0.8);
  color: #0F172A;
}
.nx-scene-pill-btn.active {
  background: #0D9488 !important;
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
  border-color: #0D9488 !important;
}
.nx-scene-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nx-scene-pill-btn.active .nx-scene-pill-dot {
  background: #FFFFFF !important;
  box-shadow: 0 0 8px #FFFFFF;
}
.nx-scene-pill-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  opacity: 0.75;
}

[data-theme="dark"] .nx-scene-nav-inner {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(51, 65, 85, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .nx-scene-arrow-btn {
  background: #1E293B;
  border-color: #334155;
  color: #94A3B8;
}
[data-theme="dark"] .nx-scene-pill-btn {
  color: #94A3B8;
}
[data-theme="dark"] .nx-scene-pill-btn:hover {
  background: rgba(30, 41, 59, 0.8);
  color: #F8FAFC;
}


/* Responsive Rules for Section 6 */
@media (max-width: 1024px) {
  .nx-mesh-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nx-mesh-canvas-stage {
    min-height: 480px;
  }

  .nx-story-glass-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 24px;
  }

  .nx-story-pane-title {
    font-size: 1.65rem;
  }
}

@media (max-width: 640px) {
  .nx-services-story-section {
    padding: 70px 0 60px 0;
  }

  .nx-story-glass-card {
    padding: 22px 18px;
  }

  .nx-story-metrics-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nx-story-controls-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nx-story-progress-indicator {
    max-width: 100%;
    width: 100%;
  }

  .nx-story-card-action {
    justify-content: stretch;
  }

  .nx-story-card-action button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx-story-pane {
    transition: opacity 0.1s linear, visibility 0.1s !important;
    transform: none !important;
  }

  .nx-story-progress-fill {
    transition: none !important;
  }
}

/* ==========================================================================
   RMG–NexGN Software — Hero Dual-Theme (Cockpit Text UI + Visual Artwork)
   ========================================================================== */

.nx-scene-dual-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 440px;
  overflow: hidden;
  box-sizing: border-box;
}

.nx-scene-theme-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  will-change: opacity, transform;
}

/* Theme 1: Transparent Glass Cockpit (Active by default) */
.nx-scene-dual-wrapper[data-active-theme="text"] .nx-theme-text {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  z-index: 2 !important;
}

.nx-scene-dual-wrapper[data-active-theme="text"] .nx-theme-image {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) scale(0.985) !important;
  z-index: 1 !important;
}

/* Theme 2: High-Resolution Slide Visual (Timed Alternation) */
.nx-scene-dual-wrapper[data-active-theme="image"] .nx-theme-text {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-8px) scale(0.985) !important;
  z-index: 1 !important;
}

.nx-scene-dual-wrapper[data-active-theme="image"] .nx-theme-image {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  z-index: 2 !important;
}

/* Dual-Theme Switcher Pill */
.nx-theme-switch-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-radius: 20px;
  padding: 3px 4px;
  margin-right: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
  flex-shrink: 0;
}

.nx-theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  border-radius: 16px;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.nx-theme-toggle-btn:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.35);
}

.nx-theme-toggle-btn.active {
  background: #FFFFFF;
  color: #0D9488;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.nx-theme-icon {
  font-size: 0.78rem;
  line-height: 1;
}

.nx-theme-lbl {
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .nx-theme-switch-bar {
    margin-right: 6px;
    padding: 2px 3px;
  }

  .nx-theme-toggle-btn {
    padding: 3px 7px;
    font-size: 0.65rem;
  }
}

/* ==========================================================================
   RMG–NexGN Software — Hero 5-Scene Visual Upgrade V1.0
   Scene-Specific Foreground Visual Assets with Glassmorphic Showcase
   ========================================================================== */

.nx-scene-visual-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 440px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.16));
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.12),
    0 4px 16px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.nx-showcase-topbar {
  height: 34px;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  background: rgba(255, 255, 255, 0.30);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
  z-index: 2;
  flex-shrink: 0;
}

.nx-showcase-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.nx-showcase-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red {
  background: #FF5F56;
}

.dot-yellow {
  background: #FFBD2E;
}

.dot-green {
  background: #27C93F;
}

.nx-showcase-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: #1E293B;
  margin-left: 6px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-showcase-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-teal {
  background: rgba(13, 148, 136, 0.15);
  color: #0F766E;
}

.badge-blue {
  background: rgba(37, 99, 235, 0.15);
  color: #1D4ED8;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #6D28D9;
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #B45309;
}

.badge-indigo {
  background: rgba(79, 70, 229, 0.15);
  color: #4338CA;
}

.nx-showcase-body {
  flex: 1;
  position: relative;
  width: 100%;
  height: calc(100% - 34px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
}

.nx-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backface-visibility: hidden;
}

.nx-scene-pane.active .nx-showcase-img {
  animation: nxShowcaseFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes nxShowcaseFadeIn {
  0% {
    opacity: 0.85;
    transform: scale(0.985);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.nx-scene-visual-showcase:hover .nx-showcase-img {
  transform: scale(1.015);
}

@media (max-width: 1024px) {
  .nx-showcase-title {
    font-size: 0.72rem;
  }
}

@media (max-width: 768px) {
  .nx-scene-visual-showcase {
    max-height: 380px;
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
  }

  .nx-showcase-topbar {
    height: 30px;
    min-height: 30px;
    padding: 0 10px;
  }

  .nx-showcase-title {
    font-size: 0.68rem;
    max-width: 190px;
  }

  .nx-showcase-badge {
    font-size: 0.62rem;
    padding: 1px 7px;
  }
}

@media (max-width: 480px) {
  .nx-scene-visual-showcase {
    max-height: 320px;
  }

  .nx-showcase-title {
    max-width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx-showcase-img {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .nx-scene-visual-showcase:hover .nx-showcase-img {
    transform: none !important;
  }
}

/* ==========================================================================
   Dual-Theme Layer Architecture: [Theme 1: Cockpit UI] + [Theme 2: Visual Art]
   ========================================================================== */
.nx-scene-dual-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
}

.nx-scene-theme-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  backface-visibility: hidden;
  box-sizing: border-box;
}

/* Theme 1: Original Transparent Glassmorphism Cockpit UI */
.nx-scene-dual-wrapper[data-active-theme="text"] .nx-theme-text {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: translateY(0);
}

.nx-scene-dual-wrapper[data-active-theme="text"] .nx-theme-image {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transform: translateY(8px);
}

/* Theme 2: Enterprise High-Resolution Visual Artwork Showcase */
.nx-scene-dual-wrapper[data-active-theme="image"] .nx-theme-text {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transform: translateY(-8px);
}

.nx-scene-dual-wrapper[data-active-theme="image"] .nx-theme-image {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: translateY(0);
}

/* Theme Switcher Bar */
.nx-theme-switch-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 4px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.70);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  z-index: 31;
  transition: all 0.25s ease;
}

.nx-theme-toggle-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 4px 12px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.25s ease;
  user-select: none;
  line-height: 1;
}

.nx-theme-toggle-btn:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.4);
}

.nx-theme-toggle-btn.active {
  background: #FFFFFF;
  color: #0B63E5;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12), inset 0 1px 0 #FFFFFF;
}

.nx-theme-icon {
  font-size: 0.8rem;
  line-height: 1;
}

.nx-theme-lbl {
  letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .nx-scene-theme-layer {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .nom-outcomes-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 0 16px !important;
  }
}

@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .nom-mouse-light {
    display: none !important;
  }

  .nx-ambient-light {
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .nx-scene-nav-anchor {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .nx-scene-nav {
    max-width: calc(100vw - 32px) !important;
  }
}