/* ══════════════════════════════════════════════════════════════════
   bunny.net — FULLY RESPONSIVE STYLE REFERENCE IMPLEMENTATION
   Theme: Light | Canvas: Cloud Canvas (#e1f2ff) | Font: Rubik
   Adheres to ui-ux-pro-max: Mobile-First, Touch Targets (44px+),
   Fluid Typography, Zero Horizontal Scroll, Safe-Area Awareness
══════════════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --color-cloud-canvas: #e1f2ff;
  --color-ice-surface: #eff8ff;
  --color-white-surface: #ffffff;
  --color-mist-divider: #d3e2f1;
  --color-graphite: #666666;
  --color-edge-navy: #183d6d;
  --color-launch-bay: #051e38;
  --color-network-deep: #022e57;
  --color-signal-blue: #8bb3da;
  --color-signal-orange: #fd8d32;
  --color-coral-launch: #ff7a53;
  --gradient-coral-launch: linear-gradient(180deg, #ff7a53, #ffa84a);
  --color-comet-spectrum: #ff2a64;
  --gradient-comet-spectrum: linear-gradient(85.19deg, #ff2a64 -133.27%, #ffaf48 105.93%);

  /* Typography */
  --font-rubik: 'Rubik', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography Scale — Fluid with clamp() for all devices */
  --text-caption: clamp(13px, 1.2vw, 14px);
  --leading-caption: 1.6;
  --text-body: clamp(15px, 1.4vw, 18px);
  --leading-body: 1.55;
  --text-card-title: clamp(18px, 1.6vw, 20px);
  --leading-card-title: 1.3;
  --text-section-heading: clamp(28px, 4.2vw, 45px);
  --leading-section-heading: 1.2;
  --text-promo-heading: clamp(26px, 3.8vw, 45px);
  --leading-promo-heading: 1.28;
  --text-hero-display: clamp(32px, 5.2vw, 54px);
  --leading-hero-display: 1.16;

  /* Radii */
  --radius-hero: 20px;
  --radius-cards: 10px;
  --radius-buttons: 6px;
  --radius-navigation: 20px;
  --radius-pills: 9999px;

  /* Elevation */
  --shadow-xl: 0px 6px 40px rgba(0, 0, 0, 0.04);
  --shadow-md: 0px 4px 11px rgb(212, 211, 221);
  --shadow-card-hover: 0px 16px 48px rgba(24, 61, 109, 0.09);

  /* Layout */
  --page-max-width: 1140px;
  --section-gap: clamp(24px, 4vw, 32px);
  --card-padding: clamp(20px, 2.5vw, 30px);
  --element-gap: 15px;
}

/* ─── RESET & UNIVERSAL BOX-SIZING ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* Eliminates all horizontal scroll */
}

body {
  font-family: var(--font-rubik);
  background-color: var(--color-cloud-canvas);
  color: var(--color-edge-navy);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh; /* dvh for mobile viewport accuracy */
  position: relative;
}

/* Accessible touch action */
a, button, input, select, textarea {
  touch-action: manipulation; /* Removes 300ms mobile tap delay */
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Container & Canvas wrappers */
.page-canvas {
  background-color: var(--color-cloud-canvas);
  width: 100%;
  overflow-x: clip;
  position: relative;
}

.section-container {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

/* ══════════════════════════════════════════════════════════════════
   HERO LAUNCH CONTAINER & FLOATING NAV
══════════════════════════════════════════════════════════════════ */
.hero-wrapper {
  width: 100%;
  max-width: var(--page-max-width);
  margin: clamp(10px, 2vw, 20px) auto 0;
  padding: 0 clamp(10px, 2vw, 16px);
}

.hero-launch-bay {
  background-color: var(--color-launch-bay);
  border-radius: var(--radius-hero);
  position: relative;
  overflow: hidden;
  padding: clamp(14px, 2vw, 22px) clamp(16px, 2.5vw, 32px) clamp(36px, 5vw, 56px);
  box-shadow: 0 24px 70px rgba(2, 46, 87, 0.35);
}

.hero-space-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-orbit-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.orbit-path-outer {
  animation: dashRotate 60s linear infinite;
  transform-origin: 920px 340px;
}

.orbit-planet {
  animation: planetPulse 3.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.planet-1 { animation-delay: 0s; }
.planet-2 { animation-delay: 1.3s; }
.planet-3 { animation-delay: 2.5s; }

/* ─── FLOATING DARK NAVIGATION BAR (Compact & Adaptive) ─── */
.floating-nav {
  position: relative;
  z-index: 20;
  background: rgba(5, 30, 56, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 179, 218, 0.2);
  border-radius: var(--radius-navigation);
  padding: 6px clamp(8px, 1.2vw, 14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 1vw, 12px);
  margin-bottom: clamp(20px, 3.5vw, 40px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 38px;
}

.brand-bunny-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-brand:hover .brand-bunny-icon {
  transform: rotate(-8deg) scale(1.08);
}

.brand-title {
  color: var(--color-white-surface);
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 18px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.brand-badge-chile {
  background: rgba(253, 141, 50, 0.15);
  color: var(--color-signal-orange);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(253, 141, 50, 0.3);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.8vw, 10px);
  flex-shrink: 1;
  min-width: 0;
}

.nav-item {
  color: var(--color-white-surface);
  font-size: clamp(13px, 0.95vw, 14.5px);
  line-height: 1.2;
  font-weight: 400;
  padding: 6px clamp(6px, 0.7vw, 10px);
  border-radius: 6px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-item:hover, .nav-item:focus-visible {
  color: var(--color-signal-orange);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 10px);
  flex-shrink: 0;
}

/* Outlined Login Control */
.btn-outlined-login {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--color-white-surface);
  font-family: var(--font-rubik);
  font-size: clamp(12.5px, 0.9vw, 13.5px);
  line-height: 1.2;
  font-weight: 400;
  border-radius: var(--radius-buttons); /* 6px */
  padding: 7px clamp(8px, 1vw, 13px);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-outlined-login:hover, .btn-outlined-login:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
  outline: none;
}

/* Gradient Get-Started Control (Elevated with Specular Sheen) */
.btn-gradient-launch {
  background: var(--gradient-coral-launch);
  color: var(--color-white-surface);
  font-family: var(--font-rubik);
  font-size: clamp(12.5px, 0.9vw, 13.5px);
  line-height: 1.2;
  font-weight: 500;
  border-radius: var(--radius-buttons); /* 6px */
  padding: 7px clamp(10px, 1.1vw, 15px);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, filter 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255, 122, 83, 0.35);
  will-change: transform;
}

.btn-gradient-launch::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
}

.btn-gradient-launch:hover::after {
  left: 150%;
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gradient-launch:hover, .btn-gradient-launch:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 122, 83, 0.55);
  filter: brightness(1.05);
  outline: none;
}

.btn-gradient-launch:active {
  transform: translateY(0px) scale(0.96);
  box-shadow: 0 2px 8px rgba(255, 122, 83, 0.4);
  transition-duration: 0.08s;
}

/* Mobile Hamburger Toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 179, 218, 0.2);
  transition: background 0.2s;
}

.nav-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hamburger active transformation */
.nav-mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE NAVIGATION DRAWER OVERLAY ─── */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 72px;
  left: clamp(12px, 2.5vw, 20px);
  right: clamp(12px, 2.5vw, 20px);
  z-index: 25;
  background: rgba(5, 30, 56, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 179, 218, 0.25);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.mobile-nav-item {
  color: var(--color-white-surface);
  font-size: 17px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 8px;
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-signal-orange);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(139, 179, 218, 0.15);
  padding-top: 18px;
}

.mobile-nav-btn {
  width: 100%;
  min-height: 48px;
  text-align: center;
  justify-content: center;
  font-size: 16px;
}

/* ─── HERO CONTENT GRID ─── */
.hero-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 40px);
}

.hero-text-col {
  width: 100%;
  max-width: 580px;
}

.hero-pill-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 141, 50, 0.12);
  border: 1px solid var(--color-signal-orange);
  color: var(--color-signal-orange);
  font-size: clamp(12px, 1.3vw, 13px);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pills);
  margin-bottom: clamp(16px, 3vw, 24px);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.pill-spark {
  color: var(--color-signal-orange);
  font-size: 14px;
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: var(--text-hero-display);
  line-height: var(--leading-hero-display);
  color: var(--color-white-surface);
  margin-bottom: clamp(14px, 2.5vw, 20px);
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-body-text {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-signal-blue);
  margin-bottom: clamp(24px, 4vw, 34px);
  max-width: 540px;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

/* Trial Conversion Button (Elevated Specular Sheen & Spring Feedback) */
.btn-trial-conversion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gradient-coral-launch);
  color: var(--color-white-surface);
  font-family: var(--font-rubik);
  font-weight: 500;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 24px;
  border-radius: var(--radius-buttons); /* 6px */
  padding: clamp(14px, 2vw, 16px) clamp(24px, 3vw, 32px);
  min-height: 48px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, filter 0.25s ease;
  box-shadow: 0 10px 32px rgba(255, 122, 83, 0.45);
  text-align: center;
  will-change: transform;
}

.btn-trial-conversion::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
}

.btn-trial-conversion:hover::after {
  left: 150%;
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-trial-conversion:hover, .btn-trial-conversion:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 46px rgba(255, 122, 83, 0.65);
  filter: brightness(1.04);
  outline: none;
}

.btn-trial-conversion:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 4px 14px rgba(255, 122, 83, 0.4);
  transition-duration: 0.08s;
}

.btn-trial-conversion svg {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-trial-conversion:hover svg {
  transform: translateX(5px);
}

.hero-reassurance-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  color: var(--color-signal-blue);
  font-weight: 400;
  flex-wrap: wrap;
}

.hero-reassurance-line svg {
  flex-shrink: 0;
}

/* ─── HERO RIGHT: MASCOT STAGE ─── */
.hero-mascot-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.mascot-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 540 / 520;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-glow-ambient {
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 141, 50, 0.2) 0%, rgba(24, 61, 109, 0) 70%);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

.mascot-vector-scene {
  width: 100%;
  height: 100%;
  animation: mascotFloat 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  filter: drop-shadow(0 20px 45px rgba(5, 30, 56, 0.6));
  transform-origin: center center;
  will-change: transform;
}

.bunny-waving-paw {
  animation: wavePaw 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: 320px 245px;
}

.hologram-ring {
  animation: spinHologram 16s linear infinite, hologramPulse 4s ease-in-out infinite;
  transform-origin: 270px 170px;
}

/* Thruster Fire Multi-Frequency Plasma FX */
.thruster-fire-group {
  transform-origin: 270px 410px;
  animation: thrusterPulse 0.18s ease-in-out infinite alternate;
}

.thruster-outer-flame {
  transform-origin: 270px 410px;
  animation: flameBreath 1.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.thruster-inner-core {
  transform-origin: 270px 412px;
  animation: flameCoreJitter 0.14s ease-in-out infinite alternate;
}

.sparkle-particle {
  animation: sparkDrift 1.6s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.p1 { animation-delay: 0.1s; }
.p2 { animation-delay: 0.45s; }
.p3 { animation-delay: 0.8s; }
.p4 { animation-delay: 1.25s; }

/* Floating Telemetry Card (Positioned comfortably below rocket thrusters) */
.hero-telemetry-badge {
  position: absolute;
  bottom: -12px;
  right: clamp(10px, 3%, 24px);
  background: rgba(5, 30, 56, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 179, 218, 0.3);
  border-radius: var(--radius-cards);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  z-index: 10;
  max-width: calc(100% - 20px);
  animation: floatSubtle 4s 1s ease-in-out infinite;
}

.telemetry-radar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-signal-orange);
  box-shadow: 0 0 10px var(--color-signal-orange);
  animation: pulseDot 1.6s infinite;
  flex-shrink: 0;
}

.telemetry-title {
  color: var(--color-white-surface);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.telemetry-status {
  color: var(--color-signal-blue);
  font-size: 11px;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════
   PARTNER LOGO RAIL (Social proof beneath hero)
══════════════════════════════════════════════════════════════════ */
.partner-rail-section {
  background: var(--color-cloud-canvas);
  padding: clamp(24px, 4vw, 36px) clamp(16px, 3vw, 24px) 24px;
  width: 100%;
}

.partner-rail-container {
  max-width: var(--page-max-width);
  margin: 0 auto;
  text-align: center;
}

.partner-rail-label {
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 500;
  color: var(--color-graphite);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.partner-logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.5vw, 48px);
  flex-wrap: wrap;
}

.partner-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-edge-navy);
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity 0.25s ease, filter 0.25s ease;
  min-height: 36px;
}

.partner-logo-item:hover {
  opacity: 0.85;
  filter: grayscale(0%);
}

.partner-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.partner-name {
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════
   CAPABILITY SECTION / CENTRAL MASCOT FEATURE GRID
   Section gap: 32px | Background: Cloud Canvas #e1f2ff
══════════════════════════════════════════════════════════════════ */
.capability-section {
  background-color: var(--color-cloud-canvas);
  padding: clamp(40px, 6vw, 64px) 0;
  width: 100%;
}

.section-heading-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 5vw, 52px);
}

.section-headline {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: var(--text-section-heading);
  line-height: var(--leading-section-heading);
  color: var(--color-edge-navy);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.section-subline {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.5;
  color: var(--color-edge-navy);
  opacity: 0.82;
  text-wrap: balance;
}

/* Responsive Grid: Two columns of cards flanking central mascot */
.central-mascot-feature-grid {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  align-items: center;
  gap: clamp(16px, 2.5vw, 24px);
}

.capability-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Product Capability Card:
   - #ffffff surface, 10px radius, 18px 20px 18px 32px padding, shadow 0px 6px 40px rgba(0,0,0,0.04)
*/
.product-capability-card {
  background-color: var(--color-white-surface);
  border-radius: var(--radius-cards);
  padding: 18px 20px 18px clamp(20px, 2.5vw, 32px);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid rgba(211, 226, 241, 0.55);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  width: 100%;
  position: relative;
  will-change: transform, box-shadow;
}

.product-capability-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(2, 46, 87, 0.12), 0 4px 12px rgba(2, 46, 87, 0.05);
  border-color: rgba(139, 179, 218, 0.9);
}

.card-icon-frame {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid transparent;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.product-capability-card:hover .card-icon-frame {
  transform: translateY(-2px) scale(1.12) rotate(4deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.card-text-content {
  flex: 1;
  min-width: 0; /* Prevents overflow in flex child */
}

.product-card-title {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: var(--text-card-title);
  line-height: var(--leading-card-title);
  color: var(--color-edge-navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.product-card-body {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 1.55;
  color: var(--color-edge-navy);
  opacity: 0.78;
  margin-bottom: 12px;
}

.card-meta-pill {
  display: inline-block;
  background: var(--color-ice-surface);
  color: var(--color-signal-orange);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pills);
  border: 1px solid var(--color-mist-divider);
  white-space: nowrap;
}

/* ─── CENTRAL MASCOT STAGE ─── */
.central-mascot-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  position: relative;
  width: 100%;
}

.central-mascot-aura {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 179, 218, 0.35) 0%, rgba(225, 242, 255, 0) 70%);
  pointer-events: none;
}

.central-rabbit-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 320 / 380;
  animation: floatSubtle 5s ease-in-out infinite;
  filter: drop-shadow(0 16px 36px rgba(24, 61, 109, 0.12));
}

.float-star {
  animation: starTwinkle 3s ease-in-out infinite;
}

.s1 { animation-delay: 0.5s; }
.s2 { animation-delay: 1.2s; }
.s3 { animation-delay: 1.8s; }

.mascot-caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-launch-bay);
  color: var(--color-white-surface);
  font-size: clamp(12px, 1.2vw, 13px);
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-pills);
  margin-top: 14px;
  box-shadow: 0 4px 14px rgba(5, 30, 56, 0.18);
  white-space: nowrap;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-signal-orange);
  box-shadow: 0 0 8px var(--color-signal-orange);
  animation: pulseDot 1.4s infinite;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   NETWORK METRIC STRIP (Responsive 4-col row -> 2x2 grid)
══════════════════════════════════════════════════════════════════ */
.network-metric-strip {
  background-color: var(--color-cloud-canvas);
  padding: clamp(32px, 5vw, 48px) 0;
  border-top: 1px solid var(--color-mist-divider);
  border-bottom: 1px solid var(--color-mist-divider);
  width: 100%;
}

.metric-cells-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.metric-cell {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
}

.metric-value {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: var(--text-section-heading);
  line-height: 1;
  color: var(--color-edge-navy);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums; /* Prevents layout shift during animation */
}

.metric-label {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.35;
  color: var(--color-edge-navy);
  opacity: 0.85;
}

.metric-divider {
  width: 1px;
  height: 60px;
  background-color: var(--color-mist-divider);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   DARK ROCKET PROMOTION BANNER
   - #022e57 surface, 10px radius, 30px 32px padding
══════════════════════════════════════════════════════ */
.promo-banner-section {
  background-color: var(--color-cloud-canvas);
  padding: clamp(36px, 5vw, 48px) 0;
  width: 100%;
}

.dark-rocket-panel {
  background-color: var(--color-network-deep);
  border-radius: var(--radius-cards); /* 10px */
  padding: clamp(24px, 3.5vw, 36px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 3.5vw, 40px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(2, 46, 87, 0.28);
}

.promo-comet {
  position: absolute;
  height: 2px;
  background: var(--gradient-comet-spectrum);
  border-radius: 99px;
  pointer-events: none;
}

.comet-left {
  width: 240px;
  top: 30px;
  left: 15%;
  transform: rotate(-14deg);
  opacity: 0.35;
}

.promo-content-col {
  position: relative;
  z-index: 3;
}

.promo-kicker-badge {
  display: inline-block;
  color: var(--color-signal-orange);
  font-size: clamp(11px, 1.2vw, 12px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.promo-panel-heading {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: var(--text-promo-heading);
  line-height: var(--leading-promo-heading);
  color: var(--color-white-surface);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.promo-panel-subtext {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.55;
  color: var(--color-signal-blue);
  margin-bottom: 24px;
  max-width: 580px;
}

.promo-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}

.promo-btn {
  font-size: clamp(16px, 1.8vw, 18px);
  padding: 14px clamp(20px, 3vw, 28px);
}

.promo-signal-note {
  font-size: clamp(12px, 1.2vw, 13px);
  color: var(--color-signal-blue);
  font-weight: 400;
  line-height: 1.4;
  position: relative;
  z-index: 5;
}

/* ══════════════════════════════════════════════════════════════════
   INTERACTIVE ANATOMY FLIGHT CARD (Anatomy Skill Philosophy)
══════════════════════════════════════════════════════════════════ */
.promo-anatomy-col {
  position: relative;
  z-index: 3;
  width: 100%;
}

.anatomy-figure-card {
  background: rgba(5, 30, 56, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 179, 218, 0.28);
  border-radius: var(--radius-cards);
  padding: clamp(14px, 2vw, 20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}

/* Card Topbar Frame */
.anatomy-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(139, 179, 218, 0.16);
  padding-bottom: 10px;
}

.anatomy-fig-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-white-surface);
}

.fig-num {
  color: var(--color-signal-orange);
  font-weight: 700;
}

.fig-sep {
  opacity: 0.4;
}

.fig-title {
  color: var(--color-signal-blue);
}

.anatomy-status-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #4ade80;
}

.status-radar-ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseDot 1.4s infinite;
}

/* Stage Viewport with Positioning for Pins */
.anatomy-stage-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 380 / 230;
  max-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 65% 45%, rgba(24, 61, 109, 0.4) 0%, transparent 70%);
  border-radius: 8px;
  overflow: visible;
}

.anatomy-rocket-svg {
  width: 100%;
  height: 100%;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hotspot Pins (01: Visor, 02: Fuselaje, 03: Alerones, 04: Tobera) */
.anatomy-hotspot-pin {
  position: absolute;
  z-index: 10;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-launch-bay);
  border: 1.5px solid var(--color-signal-orange);
  color: var(--color-white-surface);
  font-family: var(--font-rubik);
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 10px rgba(253, 141, 50, 0.4);
}

.anatomy-hotspot-pin:hover,
.anatomy-hotspot-pin.active {
  transform: scale(1.18);
  background: var(--color-signal-orange);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(253, 141, 50, 0.85);
  border-color: #ffffff;
}

.pin-1 { top: 18%; right: 40%; }  /* Visor */
.pin-2 { top: 46%; right: 46%; }  /* Fuselaje */
.pin-3 { top: 58%; right: 24%; }  /* Alerones */
.pin-4 { bottom: 18%; left: 38%; } /* Tobera */

/* Component Highlight States inside SVG */
.anatomy-part-group {
  transition: filter 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.anatomy-part-group:hover,
.anatomy-part-group.active {
  filter: drop-shadow(0 0 8px rgba(253, 141, 50, 0.95)) drop-shadow(0 0 16px rgba(255, 122, 83, 0.6));
}

/* Plasma Plume Throttle Response */
.anatomy-plume-group {
  transform-origin: 210px 148px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  animation: thrusterPulse 0.16s ease-in-out infinite alternate;
}

.plume-flame-outer {
  animation: flameBreath 1.4s infinite alternate;
}

.plume-flame-core {
  animation: flameCoreJitter 0.12s infinite alternate;
}

/* Component Specification Box */
.anatomy-spec-box {
  background: rgba(2, 46, 87, 0.65);
  border: 1px solid rgba(139, 179, 218, 0.2);
  border-radius: 6px;
  padding: 10px 12px;
  transition: border-color 0.25s ease;
}

.spec-badge-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.spec-tag {
  background: rgba(253, 141, 50, 0.2);
  color: var(--color-signal-orange);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.spec-title {
  color: var(--color-white-surface);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.spec-description {
  color: var(--color-signal-blue);
  font-size: 11.5px;
  line-height: 1.45;
  margin: 0;
}

/* Console Dashboard & Throttle Controls */
.anatomy-console-dashboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(5, 30, 56, 0.9);
  border: 1px solid rgba(139, 179, 218, 0.18);
  border-radius: 6px;
  padding: 10px 12px;
}

.console-throttle-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.throttle-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
}

.throttle-name {
  color: var(--color-signal-blue);
}

.throttle-val {
  color: var(--color-signal-orange);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.throttle-buttons-track {
  display: flex;
  gap: 6px;
}

.btn-thrust {
  flex: 1;
  background: rgba(24, 61, 109, 0.4);
  border: 1px solid rgba(139, 179, 218, 0.25);
  color: var(--color-signal-blue);
  font-family: var(--font-rubik);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 4px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-thrust:hover {
  background: rgba(24, 61, 109, 0.8);
  color: #ffffff;
  border-color: var(--color-signal-blue);
}

.btn-thrust.active {
  background: var(--gradient-coral-launch);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(255, 122, 83, 0.45);
}

/* Metrics Grid */
.console-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(139, 179, 218, 0.12);
  padding-top: 8px;
}

.c-metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.c-label {
  font-size: 10px;
  color: var(--color-signal-blue);
  opacity: 0.85;
}

.c-data {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-white-surface);
  font-variant-numeric: tabular-nums;
}

.c-data.c-green {
  color: #4ade80;
}

/* Hint Footer */
.anatomy-card-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--color-signal-blue);
  opacity: 0.75;
  line-height: 1.35;
}

.hint-icon {
  font-size: 12px;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER NAVIGATION FIELD
══════════════════════════════════════════════════════════════════ */
.footer-navigation-field {
  background-color: var(--color-cloud-canvas);
  padding: clamp(40px, 6vw, 60px) 0 36px;
  border-top: 1px solid var(--color-mist-divider);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 36px);
  margin-bottom: 40px;
}

.footer-brand-lockup {
  margin-bottom: 14px;
}

.footer-brand-lockup .brand-title {
  color: var(--color-edge-navy);
}

.footer-mission-statement {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-graphite);
  max-width: 320px;
  margin-bottom: 18px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-graphite);
}

.footer-column-heading {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-edge-navy);
  margin-bottom: 16px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  font-family: var(--font-rubik);
  font-size: 15px;
  color: var(--color-edge-navy);
  transition: color 0.2s;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.footer-links-col a:hover, .footer-links-col a:focus-visible {
  color: var(--color-signal-orange);
  outline: none;
}

.footer-bottom-hairline {
  border-top: 1px solid var(--color-mist-divider);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-seals {
  display: flex;
  gap: clamp(14px, 2.5vw, 24px);
  flex-wrap: wrap;
}

.footer-badge-seal {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-graphite);
}

/* ══════════════════════════════════════════════════════════════════
   HIRING CORNER WIDGET (Lower-left viewport edge notice)
══════════════════════════════════════════════════════════════════ */
.hiring-corner-widget {
  position: fixed;
  bottom: clamp(14px, 2.5vw, 24px);
  left: clamp(14px, 2.5vw, 24px);
  z-index: 99;
  background-color: var(--color-white-surface);
  border-radius: var(--radius-cards); /* 10px */
  padding: 10px 14px 10px 12px;
  box-shadow: 0 10px 32px rgba(5, 30, 56, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-mist-divider);
  max-width: 275px;
  display: block;
  animation: slideInCorner 0.6s 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hiring-corner-widget.hidden {
  display: none !important;
}

.corner-close-btn {
  position: absolute;
  top: 3px;
  right: 5px;
  color: var(--color-edge-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.5;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, background 0.2s;
  border-radius: 4px;
}

.corner-close-btn:hover, .corner-close-btn:focus-visible {
  opacity: 1;
  background: rgba(24, 61, 109, 0.06);
  outline: none;
}

.corner-widget-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.corner-bunny-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  animation: mascotFloat 4s ease-in-out infinite;
}

.corner-text-block {
  flex: 1;
  min-width: 0;
  padding-right: 14px;
}

.corner-title-text {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.25;
  color: var(--color-edge-navy);
  margin-bottom: 2px;
}

.corner-action-link {
  font-family: var(--font-rubik);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-signal-orange);
  transition: color 0.2s;
  display: inline-block;
  min-height: 20px;
}

.corner-action-link:hover {
  color: var(--color-coral-launch);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════
   ANIMATIONS & KEYFRAMES (High-Performance GPU & Physics-Calibrated)
══════════════════════════════════════════════════════════════════ */

/* Organic 4-phase microgravity float for astronaut bunny mascot */
@keyframes mascotFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    transform: translate3d(-3px, -9px, 0) rotate(0.8deg);
  }
  50% {
    transform: translate3d(2px, -16px, 0) rotate(-0.5deg);
  }
  75% {
    transform: translate3d(4px, -7px, 0) rotate(0.4deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

/* Subtle micro-bob for telemetry badges and captions */
@keyframes floatSubtle {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -7px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Dynamic flight path for promo banner rocket */
@keyframes rocketFly {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  30% {
    transform: translate3d(-6px, -10px, 0) rotate(0.8deg);
  }
  65% {
    transform: translate3d(4px, -16px, 0) rotate(-0.6deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

/* Natural waving paw motion */
@keyframes wavePaw {
  0%, 100% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(18deg);
  }
  40% {
    transform: rotate(-8deg);
  }
  60% {
    transform: rotate(12deg);
  }
  80% {
    transform: rotate(-4deg);
  }
}

/* Continuous smooth radar hologram rotation */
@keyframes spinHologram {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Hologram ring breathing pulse */
@keyframes hologramPulse {
  0%, 100% {
    opacity: 0.65;
    stroke-width: 1.8;
  }
  50% {
    opacity: 1;
    stroke-width: 2.6;
    stroke: #ffa84a;
  }
}

/* Rocket Thruster Plasma Multi-Frequency Fire FX */
@keyframes thrusterPulse {
  0% {
    transform: scaleY(0.96) scaleX(0.97);
    opacity: 0.92;
  }
  100% {
    transform: scaleY(1.06) scaleX(1.02);
    opacity: 1;
  }
}

@keyframes flameBreath {
  0% {
    transform: scaleY(0.94);
    filter: drop-shadow(0 0 8px rgba(253, 141, 50, 0.5));
  }
  100% {
    transform: scaleY(1.10);
    filter: drop-shadow(0 0 20px rgba(255, 42, 100, 0.85));
  }
}

@keyframes flameCoreJitter {
  0% {
    transform: scaleY(0.94) scaleX(0.95);
    opacity: 0.92;
  }
  100% {
    transform: scaleY(1.08) scaleX(1.04);
    opacity: 1;
  }
}

/* Space Orbit Dashes & Planetary Micro-Pulses */
@keyframes dashRotate {
  to {
    stroke-dashoffset: 1000;
  }
}

@keyframes planetPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
    filter: drop-shadow(0 0 6px currentColor);
  }
}

/* Ambient glow pulsation */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.14);
    opacity: 0.85;
  }
}

/* Radar ping dot */
@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.4;
  }
}

/* Sparkle exhaust drift */
@keyframes sparkDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 38px, 0) scale(0.2);
    opacity: 0;
  }
}

/* Star twinkle harmonics */
@keyframes starTwinkle {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

/* Smooth corner hiring widget reveal */
@keyframes slideInCorner {
  from {
    transform: translate3d(0, 40px, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

/* ══════════════════════════════════════════════════════════════════
   SCROLL REVEAL STAGGER SYSTEM (Apple/Linear-Grade Polish)
══════════════════════════════════════════════════════════════════ */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.18s; }
.stagger-3 { transition-delay: 0.28s; }
.stagger-4 { transition-delay: 0.38s; }

/* Accessible Reduced Motion Compliance */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (Desktop -> Tablet -> Mobile)
══════════════════════════════════════════════════════════════════ */

/* ─── 1. TABLET LANDSCAPE & COMPACT DESKTOP (max-width: 960px) ─── */
@media (max-width: 960px) {
  /* Navigation switches to accessible Drawer */
  .nav-links, .nav-actions {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .mobile-nav-drawer {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-text-col {
    max-width: 680px;
    margin: 0 auto;
  }

  .hero-body-text {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-wrapper {
    align-items: center;
  }

  .central-mascot-feature-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
    gap: 20px;
  }

  .central-mascot-stage {
    order: -1;
    margin-bottom: 12px;
  }

  .dark-rocket-panel {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }

  .promo-panel-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .promo-cta-row {
    align-items: center;
    margin-bottom: 24px;
  }

  .promo-anatomy-col {
    width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  .anatomy-figure-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ─── 2. TABLET PORTRAIT & LARGE MOBILE (max-width: 768px) ─── */
@media (max-width: 768px) {
  /* Metric Strip reflow to balanced 2x2 grid */
  .metric-cells-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .metric-divider {
    display: none;
  }

  .metric-cell {
    padding: 8px;
  }

  .metric-value {
    font-size: 36px;
  }

  /* Capability Cards compact layout */
  .product-capability-card {
    padding: 16px 18px;
    gap: 14px;
  }

  /* Partner Logo Rail wrap */
  .partner-logos-track {
    gap: 16px 20px;
  }

  .partner-logo-item {
    opacity: 0.65;
  }
}

/* ─── 3. STANDARD & SMALL MOBILE (max-width: 480px) ─── */
@media (max-width: 480px) {
  .hero-launch-bay {
    border-radius: 16px;
    padding: 14px 14px 32px;
  }

  .floating-nav {
    border-radius: 14px;
    padding: 8px 12px;
    margin-bottom: 24px;
  }

  .brand-badge-chile {
    display: none; /* Save horizontal space on small screens */
  }

  .hero-pill-signal {
    font-size: 11px;
    padding: 5px 10px;
  }

  .hero-cta-wrapper {
    width: 100%;
  }

  .btn-trial-conversion {
    width: 100%;
  }

  .hero-telemetry-badge {
    position: static;
    margin: 12px auto 0;
    width: 100%;
    justify-content: center;
  }

  .metric-cells-grid {
    grid-template-columns: 1fr; /* Single column on very compact phones */
    gap: 16px;
  }

  .product-capability-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-icon-frame {
    margin-bottom: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-hairline {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-seals {
    flex-direction: column;
    gap: 8px;
  }

  /* Mobile dock for corner hiring widget */
  .hiring-corner-widget {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: none;
    padding: 12px 14px;
  }
}

/* ─── 4. ACCESSIBILITY: PREFERS-REDUCED-MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-space-canvas {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════
   INTERACTIVE PROTOTYPE MODAL & FORM SYSTEM
   High fidelity modal dialog, tab navigation, input validation,
   loading spinners and rewarding success confirmation.
══════════════════════════════════════════════════════════════════ */

/* Scroll lock when modal is open */
body.modal-open {
  overflow: hidden !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 30, 56, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--color-white-surface);
  border-radius: var(--radius-hero); /* 20px */
  border: 1px solid rgba(139, 179, 218, 0.3);
  box-shadow: 0 28px 80px rgba(2, 46, 87, 0.45);
  width: 100%;
  max-width: 560px;
  padding: clamp(24px, 4vw, 36px);
  position: relative;
  transform: scale(0.92) translateY(18px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  margin: auto;
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-trigger {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-edge-navy);
  background: var(--color-ice-surface);
  border: 1px solid var(--color-mist-divider);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
}

.modal-close-trigger:hover, .modal-close-trigger:focus-visible {
  background: var(--color-cloud-canvas);
  color: var(--color-coral-launch);
  transform: scale(1.08) rotate(90deg);
  outline: none;
}

/* Modal Header */
.modal-header {
  margin-bottom: 24px;
  padding-right: 36px;
}

.modal-mascot-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-ice-surface);
  border: 1px solid var(--color-mist-divider);
  color: var(--color-edge-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pills);
  margin-bottom: 12px;
}

.modal-bunny-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 26px);
  line-height: 1.25;
  color: var(--color-edge-navy);
  margin-bottom: 6px;
}

.modal-description {
  font-family: var(--font-rubik);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--color-graphite);
}

/* Role Selector Tabs */
.modal-tab-bar {
  display: flex;
  gap: 8px;
  background: var(--color-ice-surface);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--color-mist-divider);
  margin-bottom: 24px;
}

.modal-tab {
  flex: 1;
  font-family: var(--font-rubik);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--color-edge-navy);
  opacity: 0.7;
  transition: all 0.2s ease;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.modal-tab.active {
  background: var(--color-white-surface);
  color: var(--color-edge-navy);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(24, 61, 109, 0.08);
}

.modal-tab:hover:not(.active) {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.5);
}

/* Modal Form Views */
.modal-form-view {
  display: none;
}

.modal-form-view.active {
  display: block;
  animation: fadeInForm 0.3s ease both;
}

@keyframes fadeInForm {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field-label {
  font-family: var(--font-rubik);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-edge-navy);
}

.required-star {
  color: var(--color-comet-spectrum);
}

.field-input-wrap {
  position: relative;
  width: 100%;
}

.field-text-input, .field-select-input {
  width: 100%;
  font-family: var(--font-rubik);
  font-size: 14.5px;
  color: var(--color-edge-navy);
  background: var(--color-ice-surface);
  border: 1.5px solid var(--color-mist-divider);
  border-radius: var(--radius-buttons); /* 6px */
  padding: 10px 14px;
  min-height: 44px; /* Touch target minimum */
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.field-text-input:focus, .field-select-input:focus {
  border-color: var(--color-signal-orange);
  background: var(--color-white-surface);
  box-shadow: 0 0 0 3px rgba(253, 141, 50, 0.2);
}

.field-text-input.has-error, .field-select-input.has-error {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}

.field-error-msg {
  display: none;
  font-size: 11.5px;
  font-weight: 500;
  color: #ef4444;
  margin-top: 2px;
}

.field-error-msg.visible {
  display: block;
}

.field-select-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23183d6d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 36px;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 22px;
}

.field-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-signal-orange);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-text-label {
  font-family: var(--font-rubik);
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-graphite);
  cursor: pointer;
}

/* Avatar Choice Section */
.avatar-pick-section {
  margin-bottom: 20px;
}

.avatar-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.avatar-card-radio {
  cursor: pointer;
  position: relative;
}

.avatar-card-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.avatar-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--color-ice-surface);
  border: 1.5px solid var(--color-mist-divider);
  border-radius: 10px;
  padding: 10px 8px;
  transition: all 0.2s ease;
  min-height: 64px;
}

.avatar-card-radio:hover .avatar-card-inner {
  border-color: var(--color-signal-blue);
  background: var(--color-cloud-canvas);
}

.avatar-card-radio.selected .avatar-card-inner {
  border-color: var(--color-signal-orange);
  background: var(--color-white-surface);
  box-shadow: 0 4px 14px rgba(253, 141, 50, 0.2);
}

.avatar-mini-icon {
  font-size: 24px;
}

.avatar-mini-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-edge-navy);
}

/* Footer Submit Action */
.modal-action-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--color-mist-divider);
  padding-top: 20px;
}

.modal-submit-btn {
  width: 100%;
  min-height: 48px;
  position: relative;
  font-size: 16px;
  font-weight: 600;
}

.modal-submit-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.modal-submit-btn.loading .btn-submit-label {
  display: none;
}

.modal-submit-btn.loading .btn-spinner {
  display: block;
}

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

.modal-secure-badge {
  font-size: 12px;
  color: var(--color-graphite);
  text-align: center;
}

/* ─── SUCCESS VIEW ─── */
.modal-success-view {
  text-align: center;
  padding: 10px 0 10px;
  animation: fadeInForm 0.4s ease both;
}

.success-mascot-animation {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 141, 50, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  animation: pulseGlow 2s infinite;
}

.success-rabbit-icon {
  width: 72px;
  height: 72px;
  position: relative;
  z-index: 2;
  animation: mascotFloat 3s ease-in-out infinite;
}

.success-confetti-particle {
  position: absolute;
  font-size: 16px;
  color: var(--color-signal-orange);
  animation: confettiBurst 2s ease-out infinite;
}

.c1 { top: -8px; left: 0; color: #ff7a53; animation-delay: 0.2s; }
.c2 { top: 0; right: -8px; color: #ffa84a; animation-delay: 0.5s; }
.c3 { bottom: 0; left: -10px; color: #8bb3da; animation-delay: 0.8s; }
.c4 { bottom: -6px; right: 2px; color: #fd8d32; animation-delay: 1.1s; }

@keyframes confettiBurst {
  0% { transform: scale(0.6) rotate(0deg); opacity: 0; }
  50% { opacity: 1; transform: scale(1.2) rotate(45deg); }
  100% { transform: scale(1) rotate(90deg); opacity: 0; }
}

.success-headline {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-edge-navy);
  margin-bottom: 8px;
}

.success-subtext {
  font-family: var(--font-rubik);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-graphite);
  margin-bottom: 22px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.success-ticket-box {
  background: var(--color-ice-surface);
  border: 1.5px dashed var(--color-signal-blue);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.ticket-row:not(:last-child) {
  border-bottom: 1px solid var(--color-mist-divider);
}

.ticket-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-graphite);
}

.ticket-code {
  font-family: var(--font-rubik);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-edge-navy);
  letter-spacing: 0.05em;
}

.ticket-status-pill {
  background: #ecfdf5;
  color: #059669;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pills);
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-outlined-plain {
  font-family: var(--font-rubik);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-edge-navy);
  background: transparent;
  border: 1.5px solid var(--color-mist-divider);
  border-radius: var(--radius-buttons);
  padding: 12px 20px;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outlined-plain:hover {
  background: var(--color-ice-surface);
  border-color: var(--color-signal-blue);
}

@media (max-width: 560px) {
  .form-row-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal-tab-bar {
    flex-direction: column;
  }

  .avatar-chips-grid {
    grid-template-columns: 1fr;
  }

  .avatar-card-inner {
    flex-direction: row;
    justify-content: flex-start;
    padding: 8px 14px;
  }
}
