/* ==========================================================================
   JEROA DIGITAL SYSTEMS — DESIGN SYSTEM
   Frosted Glass Cathedral at Midnight (Theme: Dark)
   Strictly aligned with DESIGN.md & Impeccable Quality Guidelines
   ========================================================================== */

:root {
  /* Colors */
  --color-midnight-canvas: #05060f;
  --color-steel-plate: #2f343e;
  --color-fog-veil: #9da7ba;
  --color-moon-mist: #c7d3ea;
  --color-frost-glow: #d1e4fa;
  --color-ice-highlight: #d8ecf8;
  --color-pure-white: #ffffff;
  --color-void-violet: #663af3;
  --color-void-violet-hover: #784ff7;
  --color-blueprint-blue: #b6d9fc;
  --color-ember-glow: #e46d4c;
  --color-signal-blue: #027dea;
  --color-deep-teal: #269684;
  --color-gridline-blue: #3f4959;
  --color-glass-edge: rgba(186, 215, 247, 0.12);
  --color-glass-edge-hover: rgba(186, 215, 247, 0.28);
  --color-luminous-fill: rgba(199, 211, 234, 0.12);

  /* Surfaces */
  --surface-midnight-canvas: #05060f;
  --surface-steel-plate: #2f343e;
  --surface-frosted-glass: rgba(186, 214, 247, 0.03);
  --surface-deep-glass: rgba(5, 6, 15, 0.97);

  /* Typography — Font Families */
  --font-untitled-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-aeonikpro: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-dotdigital: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-montserrat: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-caption: 12px;
  --leading-caption: 1.33;
  --text-body-sm: 14px;
  --leading-body-sm: 1.45;
  --text-body: 16px;
  --leading-body: 1.6;
  --text-subheading: 18px;
  --leading-subheading: 1.35;
  --text-heading-sm: 22px;
  --leading-heading-sm: 1.25;
  --text-heading: 28px;
  --leading-heading: 1.16;
  --text-heading-lg: 42px;
  --leading-heading-lg: 1.14;
  --text-display: 48px;
  --leading-display: 1.1;

  /* Spacing */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --spacing-100: 100px;
  --spacing-120: 120px;

  /* Layout */
  --page-max-width: 1200px;
  --section-gap: 120px;
  --card-padding: 28px;

  /* Radii */
  --radius-badges: 6px;
  --radius-inputs: 6px;
  --radius-cards: 16px;
  --radius-modals: 16px;
  --radius-buttons: 999px;
  --radius-iconcontainers: 9999px;

  /* Shadows (Neutral physical elevation and specular hairlines) */
  --shadow-subtle: rgba(186, 215, 247, 0.12) 0px 0px 0px 1px inset;
  --shadow-subtle-4: rgba(199, 211, 234, 0.12) 0px 1px 1px 0px inset, rgba(6, 6, 14, 0.7) 0px 20px 32px 0px;
  --shadow-subtle-6: rgba(216, 236, 248, 0.2) 0px 1px 1px 0px inset, rgba(0, 0, 0, 0.5) 0px 24px 48px 0px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.18s var(--ease-spring);
  --trans-normal: 0.3s var(--ease-spring);
}

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

html {
  background-color: var(--color-midnight-canvas);
  color: var(--color-frost-glow);
  font-family: var(--font-untitled-sans);
  font-size: 16px;
  line-height: var(--leading-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--color-midnight-canvas);
  color: var(--color-frost-glow);
  font-family: var(--font-untitled-sans);
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--color-void-violet);
  color: var(--color-pure-white);
}

/* Scrollbar Theming */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-midnight-canvas);
}
::-webkit-scrollbar-thumb {
  background: rgba(186, 215, 247, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(186, 215, 247, 0.3);
}

/* Accessible Keyboard Focus */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-midnight-canvas), 0 0 0 4px var(--color-void-violet) !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--trans-fast), color var(--trans-fast);
}

/* ==========================================================================
   Blueprint Grid Layer
   ========================================================================== */
.blueprint-grid-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(186, 215, 247, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(186, 215, 247, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 40%, transparent 95%);
}

.spotlight-halo {
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, 100vw);
  max-width: 100vw;
  height: 640px;
  background: conic-gradient(at 50% 20%, transparent 45%, rgba(124, 145, 182, 0.25) 49%, rgba(124, 145, 182, 0.45) 50%, rgba(124, 145, 182, 0.25) 51%, transparent 55%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  overflow: hidden;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  max-width: var(--page-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 100;
  background: rgba(5, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-glass-edge);
  transition: background var(--trans-normal), border-color var(--trans-normal);
}

.header.scrolled {
  background: rgba(5, 6, 15, 0.96);
  border-bottom-color: rgba(186, 215, 247, 0.2);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--color-frost-glow);
}

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

.nav-link {
  font-family: var(--font-untitled-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-moon-mist);
  transition: color var(--trans-fast);
}

.nav-link:hover {
  color: var(--color-pure-white);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-ghost-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  min-height: 40px;
  border-radius: var(--radius-buttons);
  background: rgba(186, 214, 247, 0.06);
  color: var(--color-pure-white);
  box-shadow: var(--shadow-subtle);
  border: none;
  font-family: var(--font-untitled-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--trans-fast), box-shadow var(--trans-fast), transform var(--trans-fast);
  text-decoration: none;
}

.btn-ghost-pill:hover {
  background: rgba(186, 214, 247, 0.12);
  box-shadow: rgba(186, 215, 247, 0.22) 0px 0px 0px 1px inset;
  transform: translateY(-1px);
}

.btn-ghost-pill:active {
  transform: translateY(0);
}

.btn-outlined-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  min-height: 40px;
  border-radius: var(--radius-buttons);
  background: transparent;
  color: var(--color-frost-glow);
  box-shadow: var(--shadow-subtle);
  border: none;
  font-family: var(--font-untitled-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--trans-fast), color var(--trans-fast), box-shadow var(--trans-fast), transform var(--trans-fast);
  text-decoration: none;
}

.btn-outlined-pill:hover {
  background: rgba(186, 214, 247, 0.08);
  color: var(--color-pure-white);
  box-shadow: rgba(186, 215, 247, 0.22) 0px 0px 0px 1px inset;
  transform: translateY(-1px);
}

.btn-outlined-pill:active {
  transform: translateY(0);
}

.btn-violet-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: 6px;
  background: var(--color-void-violet);
  color: var(--color-pure-white);
  border: none;
  font-family: var(--font-untitled-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background var(--trans-fast), transform var(--trans-fast), box-shadow var(--trans-fast);
  text-decoration: none;
}

.btn-violet-cta.pill {
  border-radius: 999px;
  padding: 12px 28px;
}

.btn-violet-cta:hover {
  background: var(--color-void-violet-hover);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-violet-cta:active {
  transform: translateY(0) scale(0.98);
}

/* ==========================================================================
   Section Eyebrow Labels
   ========================================================================== */
.eyebrow-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.eyebrow-line {
  height: 1px;
  width: 56px;
  background: linear-gradient(90deg, transparent, rgba(186, 215, 247, 0.16), transparent);
}

.eyebrow-label {
  font-family: var(--font-dotdigital);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-moon-mist);
  margin: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: calc(var(--section-gap) + 20px);
  padding-bottom: 60px;
  text-align: center;
}

/* ==========================================================================
/* ==========================================================================
   Hero Brand Lockup & Authentic JEROA Vector Emblem (Kinetic Smooth Architecture)
   ========================================================================== */
.hero-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 20px;
  perspective: 1000px;
  position: relative;
  width: 100%;
}

/* Seamless, Borderless Stage: Integrated directly into the blueprint atmosphere */
.hero-logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  background: transparent;
  border: none;
  box-shadow: none;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
  overflow: visible;
  /* Continuous zero-G levitation floating */
  animation: heroStageFloat 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes heroStageFloat {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateY(-16px) rotateX(6deg) rotateY(-6deg);
  }
  50% {
    transform: translateY(-3px) rotateX(0deg) rotateY(0deg);
  }
  75% {
    transform: translateY(-16px) rotateX(-5deg) rotateY(6deg);
  }
}

/* Ambient Radial Blueprint Glow: Blends softly into page canvas */
.hero-logo-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 250px;
  background: radial-gradient(ellipse at center, rgba(9, 195, 225, 0.42) 0%, rgba(37, 99, 235, 0.25) 48%, transparent 72%);
  filter: blur(44px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: heroHaloPulse 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes heroHaloPulse {
  0%, 100% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

/* Master Vector Canvas */
.hero-logo-svg {
  position: relative;
  z-index: 1;
  width: clamp(180px, 22vw, 230px);
  height: auto;
  aspect-ratio: 512 / 355;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 22px rgba(9, 195, 225, 0.3));
}

/* ==========================================================================
   PROMINENT KINETIC CHOREOGRAPHY:
   Active, clearly visible 3.8s physical cycle of separation, flight, and docking.
   Smooth, fluid 60fps compositor animation.
   ========================================================================== */

/* LEFT WING: Outer arrow + inner spine */
.logo-wing-left {
  transform-box: view-box;
  transform-origin: 256px 256px;
  will-change: transform;
  animation: leftWingMotion 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes leftWingMotion {
  /* 0.0s - Kinetic separation / breathing excursion */
  0% {
    transform: translateX(-40px) rotate(-5deg);
  }
  /* 1.1s to 2.1s - Firm central dock at exact center */
  28%, 55% {
    transform: translateX(0px) rotate(0deg);
  }
  /* 2.8s to 3.8s - Glides smoothly open during descent */
  75%, 100% {
    transform: translateX(-40px) rotate(-5deg);
  }
}

/* Nested Outer Chevron Arrow '<' */
.piece-left-arrow {
  transform-box: view-box;
  transform-origin: 100px 250px;
  will-change: transform;
  animation: chevronSlide 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes chevronSlide {
  0% {
    transform: translateX(-16px);
  }
  28%, 55% {
    transform: translateX(0px);
  }
  75%, 100% {
    transform: translateX(-16px);
  }
}

/* Nested Inner Column Spine '|' */
.piece-left-spine {
  transform-box: view-box;
  transform-origin: 200px 256px;
  will-change: transform;
  animation: spineSlide 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes spineSlide {
  0% {
    transform: translateY(-14px);
  }
  28%, 55% {
    transform: translateY(0px);
  }
  75%, 100% {
    transform: translateY(-14px);
  }
}

/* RIGHT WING GROUP */
.logo-wing-right {
  transform-box: view-box;
  transform-origin: 256px 256px;
  will-change: transform;
  animation: rightWingMotion 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes rightWingMotion {
  0% {
    transform: translateX(40px) rotate(5deg);
  }
  28%, 55% {
    transform: translateX(0px) rotate(0deg);
  }
  75%, 100% {
    transform: translateX(40px) rotate(5deg);
  }
}

/* Laser Trace Outline revealed during flight */
.laser-trace-left {
  stroke-dasharray: 750;
  animation: traceLeftLoop 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes traceLeftLoop {
  0% {
    stroke-dashoffset: 750;
    opacity: 0.9;
    stroke-width: 2.5px;
  }
  28% {
    stroke-dashoffset: 0;
    opacity: 0.8;
    stroke-width: 2px;
  }
  32%, 58% {
    stroke-dashoffset: 0;
    opacity: 0.2;
    stroke-width: 1px;
  }
  75%, 100% {
    stroke-dashoffset: 750;
    opacity: 0.8;
    stroke-width: 2.5px;
  }
}

.laser-trace-right {
  stroke-dasharray: 1000;
  animation: traceRightLoop 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes traceRightLoop {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0.9;
    stroke-width: 2.5px;
  }
  28% {
    stroke-dashoffset: 0;
    opacity: 0.8;
    stroke-width: 2px;
  }
  32%, 58% {
    stroke-dashoffset: 0;
    opacity: 0.2;
    stroke-width: 1px;
  }
  75%, 100% {
    stroke-dashoffset: 1000;
    opacity: 0.8;
    stroke-width: 2.5px;
  }
}

/* Central Quantum Conduit Spark (ignites upon docking contact) */
.conduit-line {
  animation: conduitPulse 3.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes conduitPulse {
  0%, 26% {
    opacity: 0;
    stroke-width: 1px;
  }
  30%, 36% {
    opacity: 1;
    stroke-width: 4px;
    filter: drop-shadow(0 0 10px #38d6f8) drop-shadow(0 0 20px #ffffff);
  }
  48% {
    opacity: 0.3;
    stroke-width: 1.5px;
    filter: none;
  }
  60%, 100% {
    opacity: 0;
    stroke-width: 0px;
  }
}

/* Specular Crystalline Sheen across solid facets */
.logo-sheen-poly {
  animation: sheenSweep 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes sheenSweep {
  0%, 30% {
    transform: translateX(-400px);
    opacity: 0;
  }
  34% {
    opacity: 0.95;
  }
  48% {
    opacity: 0.95;
  }
  58%, 100% {
    transform: translateX(650px);
    opacity: 0;
  }
}

/* Hero Wordmark: Harmonized spacing and gradient */
.hero-wordmark {
  font-family: var(--font-montserrat);
  font-size: clamp(3.2rem, 8vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 45%, #c7d3ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--color-pure-white);
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: center;
  opacity: 1;
}

/* Reduced Motion Fallbacks */
@media (prefers-reduced-motion: reduce) {
  .hero-wordmark {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero-lead {
  font-family: var(--font-untitled-sans);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-moon-mist);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

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

/* ==========================================================================
   Hero Stage Console
   ========================================================================== */
.hero-stage-console {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-modals);
  background: var(--surface-deep-glass);
  box-shadow: var(--shadow-subtle-6);
  border: 1px solid var(--color-glass-edge);
  overflow: hidden;
  text-align: left;
}

.stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--color-glass-edge);
  flex-wrap: wrap;
  gap: 12px;
}

.stage-window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(186, 214, 247, 0.16);
}

.window-dot.active {
  background: var(--color-blueprint-blue);
}

.stage-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(186, 214, 247, 0.05);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(186, 215, 247, 0.08);
}

.stage-tab-btn {
  border: none;
  background: transparent;
  color: var(--color-moon-mist);
  font-family: var(--font-untitled-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.stage-tab-btn:hover {
  color: var(--color-pure-white);
}

.stage-tab-btn.active {
  background: rgba(186, 214, 247, 0.14);
  color: var(--color-pure-white);
}

.stage-telemetry-badge {
  font-family: var(--font-dotdigital);
  font-size: 12px;
  color: var(--color-blueprint-blue);
  background: rgba(186, 214, 247, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-badges);
  border: 1px solid rgba(186, 215, 247, 0.1);
}

.stage-body {
  padding: 32px;
}

.stage-view-content {
  display: none;
}

.stage-view-content.active {
  display: block;
}

.stage-pipeline-svg {
  width: 100%;
  height: 80px;
  margin-bottom: 24px;
}

.rail-base {
  stroke: rgba(186, 215, 247, 0.12);
  stroke-width: 2;
  stroke-dasharray: 4 4;
}

.stream-flow {
  stroke: var(--color-blueprint-blue);
  stroke-width: 2;
  stroke-dasharray: 8 16;
  animation: streamMove 2s linear infinite;
}

@keyframes streamMove {
  from { stroke-dashoffset: 24; }
  to { stroke-dashoffset: 0; }
}

.pipe-box {
  fill: rgba(15, 20, 36, 0.9);
  stroke: rgba(186, 215, 247, 0.18);
  stroke-width: 1;
}

.pipe-title {
  fill: #ffffff;
  font-family: var(--font-untitled-sans);
  font-size: 12px;
  font-weight: 600;
  text-anchor: middle;
}

.pipe-meta {
  fill: var(--color-moon-mist);
  font-family: var(--font-dotdigital);
  font-size: 10px;
  text-anchor: middle;
}

.stage-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-glass-edge);
}

.stage-metric-cell {
  text-align: left;
}

.stage-metric-label {
  font-size: 12px;
  color: var(--color-fog-veil);
  margin-bottom: 4px;
}

.stage-metric-val {
  font-family: var(--font-dotdigital);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-pure-white);
}

/* ==========================================================================
   Section Headers (Cathedral Rhythm)
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px auto;
}

.section-heading {
  font-family: var(--font-aeonikpro);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: var(--leading-heading-lg);
  color: var(--color-ice-highlight);
  margin-bottom: 16px;
}

.section-body {
  font-family: var(--font-untitled-sans);
  font-size: 16px;
  line-height: var(--leading-body);
  color: var(--color-moon-mist);
}

/* ==========================================================================
   Timeline / 6-Icon Feature Row
   ========================================================================== */
.feature-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  margin-bottom: 64px;
  gap: 16px;
}

.timeline-connector {
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: rgba(186, 215, 247, 0.12);
  z-index: 1;
}

.feature-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.icon-tile-circle {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-iconcontainers);
  background: rgba(186, 214, 247, 0.06);
  border: 1px solid var(--color-glass-edge);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-frost-glow);
  margin-bottom: 12px;
  transition: transform var(--trans-fast), background var(--trans-fast), border-color var(--trans-fast);
}

.feature-node:hover .icon-tile-circle {
  transform: translateY(-3px) scale(1.06);
  background: rgba(186, 214, 247, 0.12);
  border-color: rgba(186, 215, 247, 0.28);
}

.feature-node-label {
  font-family: var(--font-untitled-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-moon-mist);
  line-height: 1.35;
}

/* ==========================================================================
   Glass Cards Grid (Side-by-side Flow, No Stacked Tile)
   ========================================================================== */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.glass-card {
  border-radius: var(--radius-cards);
  background: var(--surface-frosted-glass);
  padding: var(--card-padding);
  box-shadow: var(--shadow-subtle-4);
  border: 1px solid var(--color-glass-edge);
  position: relative;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), background var(--trans-fast);
}

.glass-card:hover {
  transform: translateY(-4px);
  background: rgba(186, 214, 247, 0.05);
  box-shadow: var(--shadow-subtle-6);
}

.card-head-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.card-inline-icon {
  color: var(--color-blueprint-blue);
  flex-shrink: 0;
}

.card-title {
  font-family: var(--font-aeonikpro);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-pure-white);
  margin: 0;
}

.card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-fog-veil);
  margin-bottom: 24px;
}

.card-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.micro-pill {
  font-family: var(--font-dotdigital);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(186, 214, 247, 0.06);
  color: var(--color-moon-mist);
  border: 1px solid rgba(186, 215, 247, 0.08);
}

/* ==========================================================================
   Application Showcase Grid (Real Systems & Applications)
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.showcase-item {
  border-radius: var(--radius-cards);
  background: var(--surface-deep-glass);
  box-shadow: var(--shadow-subtle-6);
  border: 1px solid var(--color-glass-edge);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), rgba(186, 215, 247, 0.2) 0 0 0 1px inset;
}

.showcase-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--color-glass-edge);
}

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

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(186, 214, 247, 0.16);
}

.showcase-url {
  font-family: var(--font-dotdigital);
  font-size: 11px;
  color: var(--color-moon-mist);
  background: rgba(186, 214, 247, 0.06);
  padding: 2px 12px;
  border-radius: 999px;
  border: 1px solid rgba(186, 215, 247, 0.08);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--trans-fast), background var(--trans-fast), border-color var(--trans-fast);
}

.showcase-url:hover {
  color: #ffffff;
  background: rgba(186, 214, 247, 0.12);
  border-color: rgba(186, 215, 247, 0.24);
}

.showcase-media {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #020308;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.showcase-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-title {
  font-family: var(--font-aeonikpro);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-pure-white);
  margin-bottom: 8px;
}

.showcase-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-fog-veil);
  margin-bottom: 20px;
  flex: 1;
}

.showcase-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--color-glass-edge);
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-untitled-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-frost-glow);
  background: rgba(186, 214, 247, 0.06);
  border: 1px solid var(--color-glass-edge);
  padding: 6px 14px;
  border-radius: var(--radius-buttons);
  text-decoration: none;
  transition: background var(--trans-fast), color var(--trans-fast), border-color var(--trans-fast), transform var(--trans-fast);
  white-space: nowrap;
}

.showcase-link-btn:hover {
  background: rgba(186, 214, 247, 0.14);
  color: #ffffff;
  border-color: rgba(186, 215, 247, 0.28);
  transform: translateY(-1px);
}

/* ==========================================================================
   Operational Models (Renta vs Propiedad)
   ========================================================================== */
.models-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}

.model-card {
  border-radius: var(--radius-cards);
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--color-glass-edge);
}

.model-card.standard {
  background: var(--surface-frosted-glass);
  box-shadow: var(--shadow-subtle-4);
}

.model-card.featured {
  background: var(--surface-deep-glass);
  box-shadow: var(--shadow-subtle-6);
}

.model-title {
  font-family: var(--font-aeonikpro);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-pure-white);
  margin-bottom: 12px;
}

.model-desc {
  font-size: 15px;
  color: var(--color-fog-veil);
  line-height: 1.55;
  margin-bottom: 24px;
}

.model-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.model-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-frost-glow);
}

.model-bullet {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--color-blueprint-blue);
  flex-shrink: 0;
}

/* ==========================================================================
   Contact Form (Headline Modal Style)
   ========================================================================== */
.contact-modal-card {
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius-modals);
  background: var(--surface-deep-glass);
  padding: 44px;
  box-shadow: var(--shadow-subtle-6);
  border: 1px solid var(--color-glass-edge);
  position: relative;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-moon-mist);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  border-radius: var(--radius-inputs);
  background: rgba(199, 211, 234, 0.06);
  color: var(--color-pure-white);
  font-family: var(--font-untitled-sans);
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(186, 215, 247, 0.12);
  outline: none;
  box-shadow: var(--shadow-subtle);
  transition: border-color var(--trans-fast);
}

.form-input::placeholder {
  color: rgba(199, 211, 234, 0.45);
}

.form-input:focus {
  border-color: rgba(186, 215, 247, 0.32);
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
}

.form-status {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 13px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(38, 150, 132, 0.15);
  border: 1px solid rgba(38, 150, 132, 0.35);
  color: #7ee0d1;
}

.form-status.error {
  display: block;
  background: rgba(228, 109, 76, 0.15);
  border: 1px solid rgba(228, 109, 76, 0.35);
  color: #f7a28b;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: 1px solid var(--color-glass-edge);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-moon-mist);
}

.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  color: var(--color-fog-veil);
  transition: color var(--trans-fast);
}

.footer-nav a:hover {
  color: var(--color-frost-glow);
}

.footer-copy {
  font-size: 13px;
  color: var(--color-fog-veil);
}

/* ==========================================================================
   Portfolio Command Center (Centro de Mando del Ecosistema)
   ========================================================================== */
.cmd-hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.cmd-hud-card {
  border-radius: var(--radius-cards);
  background: var(--surface-deep-glass);
  border: 1px solid var(--color-glass-edge);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-subtle-3);
}

.cmd-hud-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-badges);
  background: rgba(186, 214, 247, 0.06);
  border: 1px solid rgba(186, 215, 247, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blueprint-blue);
  flex-shrink: 0;
}

.cmd-hud-val {
  font-family: var(--font-aeonikpro);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-pure-white);
  line-height: 1.2;
}

.cmd-hud-label {
  font-size: 12px;
  color: var(--color-moon-mist);
  margin-top: 4px;
}

/* Category Filter Tabs */
.cmd-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.cmd-filter-btn {
  font-family: var(--font-untitled-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-moon-mist);
  background: rgba(186, 214, 247, 0.04);
  border: 1px solid rgba(186, 215, 247, 0.08);
  padding: 8px 18px;
  border-radius: var(--radius-buttons);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.cmd-filter-btn:hover {
  color: #ffffff;
  background: rgba(186, 214, 247, 0.1);
  border-color: rgba(186, 215, 247, 0.2);
}

.cmd-filter-btn.active {
  color: #ffffff;
  background: rgba(186, 214, 247, 0.16);
  border-color: var(--color-blueprint-blue);
}

/* Command Grid & Tiles */
.cmd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cmd-tile {
  border-radius: var(--radius-cards);
  background: var(--surface-deep-glass);
  border: 1px solid var(--color-glass-edge);
  box-shadow: var(--shadow-subtle-3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}

.cmd-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(186, 215, 247, 0.28);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), rgba(186, 215, 247, 0.12) 0 0 0 1px inset;
}

.cmd-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cmd-code {
  font-family: var(--font-dotdigital);
  font-size: 11px;
  color: var(--color-blueprint-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cmd-beacon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-dotdigital);
  font-size: 11px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.24);
  padding: 3px 10px;
  border-radius: 999px;
}

.beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.cmd-title {
  font-family: var(--font-aeonikpro);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-pure-white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.cmd-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-fog-veil);
  margin-bottom: 18px;
  flex: 1;
}

.cmd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-glass-edge);
}

.cmd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ==========================================================================
   Mobile Navigation Drawer & Toggle Button
   ========================================================================== */
.menu-toggle-btn {
  display: none;
  background: rgba(186, 214, 247, 0.06);
  border: 1px solid var(--color-glass-edge);
  color: var(--color-frost-glow);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast), border-color var(--trans-fast), color var(--trans-fast);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle-btn:hover,
.menu-toggle-btn[aria-expanded="true"] {
  background: rgba(186, 214, 247, 0.14);
  border-color: rgba(186, 215, 247, 0.28);
  color: #ffffff;
}

.menu-icon-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 22px;
}

.menu-icon-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--trans-fast), opacity var(--trans-fast);
}

.menu-toggle-btn[aria-expanded="true"] .menu-icon-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle-btn[aria-expanded="true"] .menu-icon-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle-btn[aria-expanded="true"] .menu-icon-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 6, 15, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease-spring), transform 0.22s var(--ease-spring);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.mobile-drawer-header {
  font-family: var(--font-dotdigital);
  font-size: 11px;
  color: var(--color-blueprint-blue);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-family: var(--font-untitled-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-frost-glow);
  background: rgba(186, 214, 247, 0.04);
  border: 1px solid var(--color-glass-edge);
  border-radius: 10px;
  min-height: 50px;
  text-decoration: none;
  transition: background var(--trans-fast), color var(--trans-fast), border-color var(--trans-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(186, 214, 247, 0.12);
  color: #ffffff;
  border-color: rgba(186, 215, 247, 0.28);
}

.mobile-drawer-cta {
  margin-top: 14px;
  width: 100%;
}

/* ==========================================================================
   Comprehensive Responsive System (Desktop -> Tablet -> Phone)
   ========================================================================== */

@media (max-width: 960px) {
  :root {
    --section-gap: 80px;
  }

  .stage-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 16px;
  }

  .timeline-connector {
    display: none;
  }

  .glass-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .models-dual-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cmd-hud {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cmd-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Show mobile menu toggle, hide desktop links */
  .nav-links {
    display: none !important;
  }

  .menu-toggle-btn {
    display: inline-flex;
  }

  .header-actions .btn-ghost-pill {
    display: none;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 36px;
  }

  .hero-wordmark {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    margin-bottom: 18px;
  }

  .hero-logo-svg {
    width: 136px;
  }

  .hero-logo-halo {
    width: 180px;
    height: 130px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
    gap: 12px;
  }

  .hero-actions .btn-violet-cta,
  .hero-actions .btn-ghost-pill {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* Stage Console Mobile Layout */
  .hero-stage-console {
    border-radius: 12px;
  }

  .stage-topbar {
    padding: 10px 14px;
    gap: 8px;
  }

  .stage-window-dots {
    display: none;
  }

  .stage-tabs {
    width: 100%;
    display: flex;
    gap: 4px;
  }

  .stage-tab-btn {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    font-size: 12px;
  }

  .stage-telemetry-badge {
    width: 100%;
    text-align: center;
    font-size: 11px;
    padding: 4px 8px;
  }

  .stage-body {
    padding: 18px 14px;
  }

  .stage-pipeline-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
  }

  .stage-pipeline-svg {
    min-width: 480px;
    width: 100%;
    height: 72px;
    margin-bottom: 0;
  }

  /* Capabilities */
  .feature-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .icon-tile-circle {
    width: 46px;
    height: 46px;
  }

  /* Showcase */
  .showcase-media {
    height: clamp(170px, 44vw, 220px);
  }

  .showcase-info {
    padding: 20px 16px;
  }

  .showcase-action-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .showcase-link-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  /* Operational Models */
  .model-card {
    padding: 24px 18px;
    border-radius: 12px;
  }

  .model-title {
    font-size: 20px;
  }

  /* Contact Form */
  .contact-modal-card {
    padding: 24px 18px;
    border-radius: 12px;
  }

  .form-input,
  .form-group textarea {
    font-size: 16px; /* Prevents auto-zoom in mobile Safari */
    min-height: 46px;
    padding: 12px 14px;
  }

  /* Command Center Grid on Phone */
  .cmd-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cmd-tile {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .cmd-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cmd-footer .showcase-link-btn {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }

  /* Footer */
  .footer {
    padding: 44px 0 32px 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
  }

  .footer-nav a {
    padding: 6px 4px;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  :root {
    --section-gap: 48px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .hero-logo-stage {
    width: 200px;
    height: 135px;
  }

  .hero-logo-svg {
    width: 145px;
    height: 100px;
  }

  .hero-logo-halo {
    width: 240px;
    height: 160px;
  }

  .section-body {
    font-size: 14px;
  }

  .stage-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 8px;
  }

  .stage-metric-val {
    font-size: 13.5px;
  }

  .stage-metric-label {
    font-size: 11px;
  }

  .cmd-filter-btn {
    width: calc(50% - 4px);
    text-align: center;
    padding: 10px 6px;
    font-size: 12px;
    min-height: 44px;
  }

  .cmd-filter-btn[data-filter="all"] {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .feature-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 16px 8px;
  }

  .stage-tab-btn {
    font-size: 11px;
    padding: 6px 2px;
  }

  .hero-logo-stage {
    width: 175px;
    height: 120px;
  }

  .hero-logo-svg {
    width: 130px;
    height: 90px;
  }
}
