/* ==========================================================================
   LUMO INDUSTRIAL 3D EXPERIENCE — DESIGN SYSTEM & TOKENS
   Aesthetic: Dark Premium Industrial / Next-Gen CNC Digital Twin / Cyber Precision
   ========================================================================== */

:root {
  /* Color Palette — Aligned with Metal Craft Solutions Platform */
  --bg-dark: #0a1422;
  --bg-deep: #0d1a2c;
  --bg-card: rgba(18, 31, 51, 0.88);
  --bg-card-hover: rgba(22, 38, 63, 0.95);
  --bg-glass: rgba(18, 31, 51, 0.75);

  /* Authentic Metal Craft Brand & Industrial Accents */
  --neon-cyan: #00c8a0;          /* Official Teal / Mint (#00c8a0) */
  --neon-cyan-glow: rgba(0, 200, 160, 0.35);
  --neon-blue: #1246d6;          /* Official Brand Cobalt (#1246d6) */
  --neon-blue-glow: rgba(18, 70, 214, 0.35);
  --neon-indigo: #2563eb;        /* Vibrant UI Blue (#2563eb) */
  --neon-amber: #f59e0b;
  --neon-amber-glow: rgba(245, 158, 11, 0.35);
  --neon-crimson: #ef4444;
  --neon-purple: #7c3aed;

  /* Typography Colors */
  --text-main: #eef3fb;
  --text-dim: #aab8cd;
  --text-muted: #6b7e9c;
  --text-mono: #38bdf8;

  /* Borders & Highlights */
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(18, 70, 214, 0.35);
  --border-cyan: rgba(0, 200, 160, 0.35);

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Mono', monospace;

  /* Easing */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  scroll-behavior: auto; /* Handled smoothly by Lenis */
  overflow-x: hidden;
}

body {
  background: var(--bg-dark);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  cursor: none; /* Custom HUD Cyber Cursor */
  -webkit-font-smoothing: antialiased;
}

/* Background Cyber Grid & Vignette */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(5, 7, 10, 0.85) 100%);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   FULLSCREEN FIXED WEBGL CANVAS
   -------------------------------------------------------------------------- */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* --------------------------------------------------------------------------
   CUSTOM HUD CYBER CURSOR
   -------------------------------------------------------------------------- */
#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--neon-cyan);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

#cursor-ring {
  position: fixed;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 229, 184, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-smooth), height 0.3s var(--ease-smooth), border-color 0.3s, transform 0.08s ease-out;
}

#cursor-crosshair {
  position: fixed;
  width: 70px;
  height: 70px;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  border-left: 1px solid rgba(59, 130, 246, 0.2);
  border-right: 1px solid rgba(59, 130, 246, 0.2);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.cursor-hover #cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--neon-blue);
  box-shadow: 0 0 16px var(--neon-blue);
}

.cursor-hover #cursor-ring {
  width: 62px;
  height: 62px;
  border-color: var(--neon-blue);
  border-width: 1.5px;
}

/* --------------------------------------------------------------------------
   NAVIGATION HEADER (HOLOGRAPHIC FLOATING HUD)
   -------------------------------------------------------------------------- */
.hud-nav {
  position: fixed;
  top: 20px;
  left: 28px;
  right: 28px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(9, 14, 23, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.1);
  transition: all 0.3s var(--ease-smooth);
}

.hud-nav.scrolled {
  top: 12px;
  padding: 10px 20px;
  background: rgba(6, 10, 17, 0.9);
  border-color: var(--border-glow);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-official-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.35));
  transition: transform 0.25s var(--ease-smooth), filter 0.25s;
}

.nav-brand:hover .brand-official-logo {
  transform: scale(1.03);
  filter: drop-shadow(0 0 14px rgba(0, 229, 184, 0.5));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link span {
  color: var(--neon-cyan);
  opacity: 0.7;
}

.nav-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 229, 184, 0.6);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0, 229, 184, 0.08);
  border: 1px solid rgba(0, 229, 184, 0.25);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-cyan);
  font-weight: 600;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.btn-cyber-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #1246d6 0%, #1e58ea 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(18, 70, 214, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.25s var(--ease-smooth);
}

.btn-cyber-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(18, 70, 214, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #1a51ea 0%, #00e5b8 100%);
}

.btn-cyber-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}

.btn-cyber-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glow);
  color: #fff;
}

/* --------------------------------------------------------------------------
   CONTENT SECTIONS & LAYOUT (LAYERED ABOVE 3D WORLD)
   -------------------------------------------------------------------------- */
.content-wrapper {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* Section Shell */
.sec-layer {
  position: relative;
  padding: 140px 36px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Eliminate 3D canvas overlap for all sections after 3D screen track */
.screen-suite-sec,
.sec-layer:not(.hero-stage) {
  position: relative;
  z-index: 20;
  background: var(--bg-dark);
}

.screen-suite-sec {
  box-shadow: 0 -40px 80px var(--bg-dark);
}

/* Section Header Typography */
.sec-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-kicker::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--neon-cyan);
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}

.sec-title em {
  font-style: normal;
  background: linear-gradient(135deg, #fff 30%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sec-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 68ch;
  margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   HERO SECTION // THE 3D INDUSTRIAL NEXUS
   -------------------------------------------------------------------------- */
.hero-stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-left {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(0, 229, 184, 0.08);
  border: 1px solid rgba(0, 229, 184, 0.22);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--neon-cyan);
  margin-bottom: 24px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 24px;
}

.hero-h1 span.gradient {
  background: linear-gradient(135deg, #ffffff 10%, #3b82f6 60%, #00e5b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 58ch;
  margin-bottom: 38px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Quick Telemetry Bar */
.hero-stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-val span {
  color: var(--neon-cyan);
  font-size: 1.1rem;
}

.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Hero Right 3D Overlay Controls */
.hero-right-overlay {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.interactive-pill-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px 20px;
  width: 290px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: perspective(800px) rotateY(-6deg);
  transition: all 0.3s var(--ease-smooth);
}

.interactive-pill-card:hover {
  transform: perspective(800px) rotateY(0deg) translateY(-4px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.card-top-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.card-top-tag .live {
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-metric-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.card-metric-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 3px;
}

/* 3D Machine Preset Bar */
.machine-state-switcher {
  display: flex;
  gap: 8px;
  background: rgba(10, 15, 24, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  padding: 6px;
  border-radius: 30px;
  margin-top: 12px;
}

.switcher-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.switcher-btn.active {
  background: #1246d6;
  color: #fff;
  box-shadow: 0 0 16px rgba(18, 70, 214, 0.6);
}

.switcher-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   THE 3D CONTINUOUS SCROLL SHOWCASE (THE 8 REAL IOT SCREENS)
   -------------------------------------------------------------------------- */
.screens-track-wrapper {
  position: relative;
  /* The track is several viewport heights tall for smooth camera flight */
  min-height: 700vh;
}

.screens-sticky-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.screen-narrative-container {
  position: absolute;
  left: max(36px, 6vw);
  bottom: 12vh;
  max-width: min(520px, 42vw);
  z-index: 20;
  pointer-events: auto;
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.screen-narrative-card {
  background: rgba(9, 14, 24, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 229, 184, 0.15);
  position: relative;
  overflow: hidden;
}

.screen-narrative-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-blue));
}

.sc-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sc-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
}

.sc-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.sc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sc-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
}

/* Chapter Progress Rail on the Right */
.screen-progress-rail {
  position: absolute;
  right: max(24px, 3.5vw);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 25;
  pointer-events: auto;
}

.rail-dot-btn {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  cursor: pointer;
  padding: 4px;
}

.rail-dot-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.25s var(--ease-smooth);
  white-space: nowrap;
}

.rail-dot-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-smooth);
}

.rail-dot-btn:hover .rail-dot-label,
.rail-dot-btn.active .rail-dot-label {
  opacity: 1;
  transform: none;
  color: #fff;
}

.rail-dot-btn.active .rail-dot-circle {
  width: 12px;
  height: 12px;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
}

/* --------------------------------------------------------------------------
   3D MACHINE MATRIX SECTION
   -------------------------------------------------------------------------- */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.machine-card-3d {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 30px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.machine-card-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 50%), rgba(0, 229, 184, 0.12) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.machine-card-3d:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.2);
}

.machine-card-3d:hover::after {
  opacity: 1;
}

.m-type-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.m-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.m-full {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.m-specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.m-spec-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.m-spec-k { color: var(--text-muted); }
.m-spec-v { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   LUMO AI LAB // INTERACTIVE HOLOGRAPHIC CONSOLE
   -------------------------------------------------------------------------- */
.ai-lab-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(145deg, rgba(14, 21, 35, 0.8), rgba(8, 12, 20, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.ai-console-window {
  background: rgba(5, 7, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.ai-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

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

.ai-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ai-feed {
  padding: 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-bubble {
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 85%;
}

.ai-bubble.user {
  align-self: flex-end;
  background: #1246d6;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-bubble.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.ai-presets-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 20px;
}

.ai-chip-btn {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-chip-btn:hover {
  background: rgba(0, 229, 184, 0.1);
  border-color: var(--neon-cyan);
  color: #fff;
}

/* --------------------------------------------------------------------------
   ENTERPRISE DEPLOYMENT / CTA MODAL
   -------------------------------------------------------------------------- */
.pilot-terminal-card {
  background: linear-gradient(135deg, rgba(18, 70, 214, 0.12), rgba(0, 229, 184, 0.08));
  border: 1px solid var(--border-cyan);
  border-radius: 32px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pilot-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 32px auto 0;
}

.cyber-input {
  flex: 1;
  background: rgba(5, 7, 12, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.cyber-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 229, 184, 0.2);
}

/* --------------------------------------------------------------------------
   CNC OPERATIONAL SCREEN SUITE // 16 PRODUCTION MODULES
   -------------------------------------------------------------------------- */
.screen-suite-sec {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 36px 80px;
}

.suite-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.suite-filters-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.suite-filter-btn {
  background: rgba(14, 21, 35, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}

.suite-filter-btn:hover {
  color: #fff;
  border-color: var(--border-cyan);
  background: rgba(18, 70, 214, 0.2);
}

.suite-filter-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(18, 70, 214, 0.8), rgba(0, 229, 184, 0.6));
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 229, 184, 0.35);
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.suite-card {
  background: rgba(9, 14, 23, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-expo), border-color 0.35s, box-shadow 0.35s, opacity 0.3s;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}

.suite-card.hidden {
  display: none;
}

.suite-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyan);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 229, 184, 0.15);
}

.suite-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020408;
  overflow: hidden;
  cursor: pointer;
}

.suite-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease-expo), filter 0.5s;
  display: block;
}

.suite-card:hover .suite-thumb-img {
  transform: scale(1.04);
  filter: brightness(1.08) contrast(1.04);
}

.suite-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, 0.55);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s var(--ease-smooth);
}

.suite-thumb-wrap:hover .suite-thumb-overlay {
  opacity: 1;
}

.btn-inspect-4k {
  background: rgba(9, 14, 23, 0.9);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(0, 229, 184, 0.35);
  pointer-events: none;
}

.suite-corner-tl, .suite-corner-br {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 2;
}

.suite-corner-tl {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--neon-cyan);
  border-left: 2px solid var(--neon-cyan);
}

.suite-corner-br {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid var(--neon-cyan);
  border-right: 2px solid var(--neon-cyan);
}

.suite-badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(6, 10, 17, 0.88);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.suite-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.suite-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.suite-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.suite-desc {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.suite-specs-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.suite-spec-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #cbd5e1;
}

.suite-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  margin-top: auto;
}

.suite-cat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.suite-inspect-link {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-cyan);
  cursor: pointer;
  letter-spacing: 0.05em;
  font-weight: 600;
  transition: color 0.2s, text-shadow 0.2s;
}

.suite-inspect-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--neon-cyan);
}

/* --------------------------------------------------------------------------
   FULLSCREEN 4K LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
#suite-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}

#suite-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.modal-window {
  position: relative;
  z-index: 2;
  width: 94vw;
  max-width: 1400px;
  max-height: 94vh;
  background: rgba(9, 14, 23, 0.96);
  border: 1px solid var(--neon-cyan);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 229, 184, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.3s var(--ease-expo);
}

@keyframes modalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(6, 10, 16, 0.85);
}

.modal-meta-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.modal-title-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--neon-crimson);
  color: #ef4444;
}

.modal-body {
  position: relative;
  flex: 1;
  background: #020408;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 16px;
  min-height: 400px;
}

.modal-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.modal-footer {
  padding: 14px 24px;
  background: rgba(6, 10, 16, 0.92);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.modal-desc-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 850px;
  line-height: 1.5;
}

.modal-ext-link {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.modal-ext-link:hover {
  background: rgba(0, 229, 184, 0.15);
  box-shadow: 0 0 16px rgba(0, 229, 184, 0.3);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.hud-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 36px 40px;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   RESPONSIVE OPTIMIZATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-right-overlay { align-items: flex-start; }
  .screen-narrative-container { left: 24px; bottom: 8vh; max-width: 88vw; }
  .ai-lab-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring, #cursor-crosshair { display: none; }
  .hud-nav { left: 16px; right: 16px; padding: 10px 16px; }
  .nav-links { display: none; }
  .hero-stats-band { grid-template-columns: repeat(2, 1fr); }
  .pilot-form { flex-direction: column; }
  .hud-footer { flex-direction: column; gap: 16px; text-align: center; }
}
