/* ==========================================================================
   SpatialCommerce™ Enterprise — Design System & Stylesheet
   ========================================================================== */

/* --- Google Fonts Import (Plus Jakarta Sans, Outfit, JetBrains Mono) --- */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Root Variables: DeepTech Obsidian --- */
:root {
  --bg-primary: #07080c;
  --bg-secondary: #0d0f17;
  --bg-tertiary: #141722;
  --bg-card: rgba(18, 22, 34, 0.72);
  --bg-card-hover: rgba(25, 30, 48, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.035);
  --bg-glass-heavy: rgba(13, 15, 24, 0.92);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(99, 102, 241, 0.4);

  --accent-indigo: #6366f1;
  --accent-indigo-light: #818cf8;
  --accent-indigo-glow: rgba(99, 102, 241, 0.35);
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #38bdf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-accent: linear-gradient(135deg, #818cf8 0%, #38bdf8 50%, #10b981 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(99, 102, 241, 0.3) 50%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #e2e8f0 45%, #94a3b8 100%);
  --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.2) 100%);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 45px rgba(99, 102, 241, 0.25);
  --shadow-cyan-glow: 0 0 45px rgba(6, 182, 212, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --container-max: 1240px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* --- Ambient Background Canvas Effects --- */
.ambient-glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, rgba(99, 102, 241, 0) 70%);
  border-radius: 50%;
  filter: blur(90px);
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.glow-orb-2 {
  position: absolute;
  top: 35%;
  right: -8%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.14) 0%, rgba(6, 182, 212, 0) 70%);
  border-radius: 50%;
  filter: blur(100px);
  animation: floatOrb 24s ease-in-out infinite alternate-reverse;
}

.glow-orb-3 {
  position: absolute;
  bottom: 8%;
  left: 5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.09) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  filter: blur(90px);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 80%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, 40px) scale(1.1); }
  100% { transform: translate(-50px, 90px) scale(0.95); }
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* --- Typography Utilities --- */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-mono {
  font-family: var(--font-mono);
}

/* --- Navigation Header --- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 8, 12, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(7, 8, 12, 0.94);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(99, 102, 241, 0.18);
  color: var(--accent-indigo-light);
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: #fff;
}

.header-telemetry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #10b981;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.telemetry-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: var(--bg-card);
  color: #ffffff;
  border-color: var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 60px;
  padding-bottom: 90px;
  position: relative;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-indigo-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.85rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 1000px;
  margin-inline: auto;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Key Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  padding: 24px 30px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: 64px;
  text-align: left;
}

.metric-item {
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
  border-right: 1px solid var(--border-subtle);
}

.metric-item:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 4px;
}

.metric-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Hero Video Showroom & Interactive Stage --- */
.showroom-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(99, 102, 241, 0.3) 50%, rgba(6, 182, 212, 0.2) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  margin-bottom: 80px;
}

.showroom-container {
  position: relative;
  border-radius: calc(var(--radius-xl) - 8px);
  background: #000;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video Custom HUD Overlay */
.video-hud-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: linear-gradient(to top, rgba(7, 8, 12, 0.88) 0%, transparent 35%, transparent 65%, rgba(7, 8, 12, 0.75) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.showroom-container:hover .video-hud-overlay,
.showroom-container.paused .video-hud-overlay {
  opacity: 1;
}

.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 16, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: #e2e8f0;
}

.hud-telemetry-tag {
  color: var(--accent-cyan);
  font-weight: 700;
}

.hud-toggle-hotspots-btn {
  background: rgba(13, 16, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.hud-toggle-hotspots-btn.active {
  background: rgba(99, 102, 241, 0.4);
  border-color: var(--accent-indigo-light);
  color: #fff;
}

.hud-center-play {
  align-self: center;
  pointer-events: auto;
}

.play-large-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.7);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.play-large-btn:hover {
  transform: scale(1.1);
  background: var(--accent-indigo);
}

.hud-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
}

.hud-scrubber-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hud-scrubber-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hud-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
}

.hud-controls-left, .hud-controls-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hud-icon-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 4px;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.hud-icon-btn:hover {
  opacity: 0.8;
}

.hud-time-display {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* Video Shoppable Interactive Hotspot Pins */
.video-hotspots-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-hotspots-layer.hidden {
  opacity: 0;
  pointer-events: none;
}

.hotspot-pin {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.hotspot-beacon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.45);
  display: grid;
  place-items: center;
  animation: beaconPulse 2.5s infinite;
}

.hotspot-core {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 14px var(--accent-cyan);
  border: 2px solid var(--accent-indigo);
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { transform: scale(1.4); box-shadow: 0 0 0 14px rgba(99, 102, 241, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Hotspot Card Tooltip */
.hotspot-card {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 230px;
  background: var(--bg-glass-heavy);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(24px);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  z-index: 20;
}

.hotspot-pin:hover .hotspot-card,
.hotspot-pin.active .hotspot-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hotspot-card-thumb {
  width: 100%;
  height: 105px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-bottom: 8px;
  background: #fff;
}

.hotspot-card-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.hotspot-card-price {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.hotspot-card-specs {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 4px;
}

/* --- Section Formatting --- */
.section {
  padding: 96px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-indigo-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #ffffff;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* --- Problem Grid (The €3.4B Blindspot) --- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: 0 16px 40px rgba(244, 63, 94, 0.12);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-rose), transparent);
}

.problem-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-rose);
  font-weight: 700;
  margin-bottom: 16px;
}

.problem-card-title {
  font-size: 1.38rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.problem-card-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.problem-stat-box {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.22);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.problem-stat-val {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  color: #fb7185;
}

.problem-stat-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* --- Multimodal Spatial Reasoning Engine Pipeline --- */
.pipeline-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 960px) {
  .pipeline-layout {
    grid-template-columns: 1fr;
  }
}

.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pipeline-step-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.pipeline-step-item.active,
.pipeline-step-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-indigo-light);
  box-shadow: 0 8px 26px rgba(99, 102, 241, 0.22);
  transform: translateX(4px);
}

.step-item-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-num-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.16);
  color: var(--accent-indigo-light);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.pipeline-step-item.active .step-num-badge {
  background: var(--accent-indigo);
  color: #fff;
}

.step-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.5;
}

.step-telemetry-tag {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.pipeline-visual-display {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.pipeline-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-emerald);
}

.pipeline-canvas-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000;
}

.pipeline-canvas-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spatial-grid-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(6, 182, 212, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cielab-swatch-box {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(13, 16, 24, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #fff;
}

/* --- Side-by-Side Benchmark Slider --- */
.comparison-wrapper {
  max-width: 1000px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  padding: 8px;
  background: var(--gradient-card-border);
  box-shadow: var(--shadow-lg);
}

.comparison-box {
  position: relative;
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  user-select: none;
  background: #000;
}

.comparison-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-before {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid #fff;
}

.comparison-before .comparison-image {
  width: 1000px;
  max-width: none;
  height: 100%;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.handle-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  display: grid;
  place-items: center;
  color: #000;
}

.comparison-label {
  position: absolute;
  top: 20px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  z-index: 5;
}

.label-left {
  left: 20px;
  background: rgba(244, 63, 94, 0.85);
  color: #fff;
}

.label-right {
  right: 20px;
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
}

.benchmark-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

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

.benchmark-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.benchmark-card.bad {
  border-color: rgba(244, 63, 94, 0.35);
}

.benchmark-card.good {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.benchmark-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.benchmark-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.benchmark-list-item.good {
  color: #fff;
}

/* --- Live Shoppable Room Experience & Bundle Checkout --- */
.shoppable-experience-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 960px) {
  .shoppable-experience-grid {
    grid-template-columns: 1fr;
  }
}

.room-stage-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: #000;
  box-shadow: var(--shadow-lg);
}

.room-stage-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Interactive Room Hotspots */
.room-pin {
  position: absolute;
  cursor: pointer;
  z-index: 20;
  transform: translate(-50%, -50%);
}

.room-pin-beacon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.35);
  display: grid;
  place-items: center;
  animation: roomBeacon 2s infinite;
}

.room-pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px var(--accent-cyan);
  display: grid;
  place-items: center;
  color: #000;
  font-size: 10px;
  font-weight: 900;
}

@keyframes roomBeacon {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6); }
  70% { transform: scale(1.3); box-shadow: 0 0 0 12px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

/* Bundle Drawer / Product Detail */
.bundle-cart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.bundle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.bundle-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: #fff;
}

.bundle-item-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.bundle-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.bundle-item-row:hover,
.bundle-item-row.selected {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--accent-indigo-light);
}

.bundle-item-thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

.bundle-item-info {
  flex-grow: 1;
}

.bundle-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.bundle-item-sku {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.bundle-item-price {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
}

.bundle-total-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 20px;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.total-row.final {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.total-amount {
  font-family: var(--font-display);
  color: var(--accent-emerald);
  font-size: 1.45rem;
}

/* --- Enterprise Unit Economics & ROI Calculator --- */
.roi-calculator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 960px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

.slider-group {
  margin-bottom: 28px;
}

.slider-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.slider-value-badge {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.custom-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-medium);
  outline: none;
  cursor: pointer;
  accent-color: var(--accent-indigo);
}

.roi-stats-card-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.roi-stat-result-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.roi-stat-result-card.highlight {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--border-glow);
}

.roi-card-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.roi-card-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Economics Table (Deck Slide 6) */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
}

.enterprise-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.enterprise-table th {
  background: var(--bg-tertiary);
  padding: 18px 24px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.enterprise-table th.highlight-col {
  color: var(--accent-indigo-light);
  background: rgba(99, 102, 241, 0.08);
}

.enterprise-table td {
  padding: 20px 24px;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.enterprise-table tr:last-child td {
  border-bottom: none;
}

.enterprise-table td.highlight-col {
  background: rgba(99, 102, 241, 0.04);
  color: #fff;
  font-weight: 600;
}

.tag-profit {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.tag-cost {
  display: inline-block;
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* --- Developer SDK & 3-Line Drop-in --- */
.sdk-section-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 960px) {
  .sdk-section-container {
    grid-template-columns: 1fr;
  }
}

.code-box-wrapper {
  background: #0b0d14;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-tabs {
  display: flex;
  gap: 8px;
}

.code-tab-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.code-tab-btn.active,
.code-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.copy-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.code-content {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.7;
  color: #e2e8f0;
  overflow-x: auto;
}

.code-keyword { color: #f43f5e; }
.code-attr { color: #38bdf8; }
.code-str { color: #34d399; }
.code-comment { color: #64748b; font-style: italic; }

/* SDK Benefits List */
.sdk-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sdk-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sdk-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* --- Enterprise 3-Step Rollout Section --- */
.rollout-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
}

.rollout-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition-normal);
}

.rollout-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.step-watermark {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
}

.step-card-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.step-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Enterprise CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16) 0%, rgba(6, 182, 212, 0.12) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: #fff;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 36px;
}

/* --- Modals (<dialog>) --- */
.enterprise-dialog {
  margin: auto;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  color: #fff;
  max-width: 580px;
  width: calc(100% - 32px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.enterprise-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
}

.dialog-content {
  padding: 36px;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dialog-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.dialog-close-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Simulated API Key Box */
.simulated-key-box {
  background: #0b0d14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

/* --- Form Status Notifications --- */
.form-status-msg {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: modalFadeIn 0.25s ease-out;
}

.form-status-msg strong {
  display: block;
  font-weight: 700;
  margin-bottom: 3px;
  font-size: 0.92rem;
}

.form-status-msg p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.45;
}

.form-status-msg code {
  color: var(--accent-cyan-light);
  background: rgba(6, 182, 212, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.form-status-msg.status-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #ecfdf5;
}

.form-status-msg.status-success .status-icon {
  background: var(--accent-emerald);
  color: #07080c;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-status-msg.status-error {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fff1f2;
}

.form-status-msg.status-error .status-icon {
  background: var(--accent-rose);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinnerRotate 0.7s linear infinite;
  display: inline-block;
}

@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #050609;
  padding: 80px 0 40px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 360px;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .nav-links, .header-telemetry {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .metrics-strip {
    grid-template-columns: 1fr 1fr;
  }
  .metric-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
  }
}
