/* ==========================================================================
   BLUFORIX AI — Global Stylesheet
   Pure CSS3 · CSS Custom Properties · Flexbox & Grid
   Design language: Dark · Minimal · Industrial · Premium · Cinematic
   Reference: Apple / Figure AI / Tesla / Anduril aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES — single source of truth for design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color palette */
  --color-black: #000000;
  --color-black-soft: #050508;
  --color-black-elevated: #0a0a0f;
  --color-white: #ffffff;
  --color-white-muted: rgba(255, 255, 255, 0.65);
  --color-white-subtle: rgba(255, 255, 255, 0.4);
  --color-white-faint: rgba(255, 255, 255, 0.12);

  /* Electric blue — primary accent */
  --color-blue: #0080ff;
  --color-blue-light: #00a3ff;
  --color-blue-bright: #33b5ff;
  --color-blue-dark: #0066cc;
  --color-blue-glow: rgba(0, 128, 255, 0.45);
  --color-blue-glow-soft: rgba(0, 128, 255, 0.15);
  --color-blue-glow-faint: rgba(0, 128, 255, 0.06);

  /* Typography scale */
  --font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-h1: clamp(2.2rem, 4vw, 3.6rem);
  --font-size-h2: clamp(2rem, 3.5vw, 3rem);
  --font-size-h3: clamp(1.25rem, 2vw, 1.5rem);
  --font-size-body: clamp(1rem, 1.5vw, 1.25rem);     /* ~20px desktop */
  --font-size-small: clamp(0.75rem, 1vw, 0.875rem);
  --font-size-label: 0.6875rem;
  --line-height-tight: 1.1;
  --line-height-body: 1.6;
  --letter-spacing-wide: 0.12em;
  --letter-spacing-tight: -0.02em;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width-content: 680px;
  --max-width-wide: 1280px;
  --header-height: 72px;
  --section-min-height: 100vh;
  --section-padding-x: clamp(1.5rem, 5vw, 5rem);
  --section-padding-y: clamp(4rem, 10vh, 8rem);

  /* Effects */
  --glass-bg: rgba(0, 0, 0, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-blur: 20px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

  /* Glow shadows */
  --shadow-glow-blue: 0 0 40px var(--color-blue-glow-soft), 0 0 80px var(--color-blue-glow-faint);
  --shadow-cta: 0 0 30px rgba(0, 128, 255, 0.5), 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
  color: var(--color-white);
  background-color: var(--color-black);
  overflow-x: hidden;
}

/* Prevent layout shift from scrollbar */
html {
  scrollbar-gutter: stable;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

/* Skip to content (hidden visually, available to screen readers) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   SITE HEADER & NAVIGATION
   Transparent by default → glass morphism after scroll
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition-smooth),
              backdrop-filter var(--transition-smooth),
              border-color var(--transition-smooth);
}

/* Glass state applied via JS class */
.site-header.is-scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: calc(var(--max-width-wide) + var(--section-padding-x) * 2);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

/* Logo lockup */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  z-index: 1001;
}

.logo__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo__text {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo__name {
  color: var(--color-white);
}

.logo__ai {
  color: var(--color-blue-light);
  font-weight: 500;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links__item {
  font-size: var(--font-size-small);
  font-weight: 400;
  color: var(--color-white-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links__item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-blue);
  transition: width var(--transition-fast);
}

.nav-links__item:hover {
  color: var(--color-white);
}

.nav-links__item:hover::after {
  width: 100%;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  z-index: 1001;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hamburger → X animation */
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
  z-index: 999;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu__link {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-white-muted);
  letter-spacing: var(--letter-spacing-tight);
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--color-blue-light);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   Full viewport · robot right · copy left · slogan always visible
   Matches reference mockup layout proportions
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-black);
}

/* Atmospheric effect layers */
.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Soft vignette — darkens edges */
.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 70% at 50% 50%,
    transparent 30%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 4;
}

/* Perspective grid floor — subtle animated */
.hero__grid {
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  height: 45%;
  background-image:
    linear-gradient(rgba(0, 128, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 128, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, black 20%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, black 20%, transparent 80%);
  animation: grid-drift 20s linear infinite;
  z-index: 1;
}

@keyframes grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 0 60px; }
}

/* Moving blue light sources */
.hero__light {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 2;
}

.hero__light--primary {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-blue-glow) 0%, transparent 70%);
  bottom: -10%;
  left: 20%;
  animation: light-drift-1 12s ease-in-out infinite alternate;
}

.hero__light--secondary {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.25) 0%, transparent 70%);
  top: 20%;
  right: 10%;
  animation: light-drift-2 15s ease-in-out infinite alternate;
}

@keyframes light-drift-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.1); }
}

@keyframes light-drift-2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-40px, 30px); }
}

/* Particle canvas */
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* Hero inner layout — content left, robot overlays right */
.hero__inner {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: calc(var(--max-width-wide) + var(--section-padding-x) * 2);
  margin: 0 auto;
  padding: calc(var(--header-height) + 1rem) var(--section-padding-x) 5rem;
  height: 100%;
}

/* Left content column */
.hero__content {

    display: flex;
    flex-direction: column;
    justify-content: center;

    max-width: min(580px, 52vw);

    flex-shrink: 0;

    margin-top: -70px;

}

.hero__title {
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  max-width: 13ch;
}

.hero__subtitle {
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-white-muted);
  margin-bottom: var(--space-lg);
  max-width: 38ch;
}

/* CTA button — glowing pill shape per reference */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
  color: var(--color-white);
  font-size: var(--font-size-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  box-shadow: var(--shadow-cta);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  width: fit-content;
  animation: cta-pulse 3s ease-in-out infinite;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 128, 255, 0.6), 0 6px 24px rgba(0, 0, 0, 0.5);
}

.hero__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: var(--shadow-cta); }
  50% { box-shadow: 0 0 50px rgba(0, 128, 255, 0.65), 0 4px 20px rgba(0, 0, 0, 0.4); }
}

/* Emotional centerpiece — pinned bottom-left, always in viewport */
.hero__slogan {
  position: absolute;
  bottom: 4.5rem;
  left: var(--section-padding-x);
  z-index: 20;
}

.hero__slogan-line {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: var(--letter-spacing-tight);
}

.hero__slogan-line--accent {
  color: var(--color-blue-light);
  font-weight: 600;
}

/* Robot visual — absolute overlay on right, extends beyond viewport */
.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 92%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
  z-index: 5;
  pointer-events: none;
}

.hero__robot-wrap {
  position: relative;
  width: 115%;
  height: 100%;
  margin-right: -12%;
  transform-origin: bottom right;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero__robot {
  width: auto;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 0 80px rgba(0, 128, 255, 0.2));
  animation: robot-float 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes robot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Welding glow accent near robot base */
.hero__weld-glow {
  position: absolute;
  bottom: 8%;
  left: 15%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.6) 0%, transparent 70%);
  filter: blur(30px);
  animation: weld-flicker 2s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes weld-flicker {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* Scroll indicator — bottom center */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 20;
  color: var(--color-white-subtle);
  transition: color var(--transition-fast);
}

.hero__scroll:hover {
  color: var(--color-white-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--color-white-subtle));
}

.hero__scroll-chevron {
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.hero__scroll-text {
  font-size: var(--font-size-label);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   SHARED SECTION STYLES
   Each section occupies most of the viewport
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  min-height: var(--section-min-height);
  display: flex;
  align-items: center;
  padding: var(--section-padding-y) var(--section-padding-x);
  overflow: hidden;
}

.section__inner {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.section__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.section__inner--reverse {
  direction: rtl;
}

.section__inner--reverse > * {
  direction: ltr;
}

.section__inner--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__label {
  font-size: var(--font-size-label);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-md);
  max-width: 16ch;
}

.section__title--center {
  max-width: none;
  text-align: center;
}

.section__lead {
  font-size: var(--font-size-body);
  color: var(--color-white-muted);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.section__lead--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__note {
  font-size: var(--font-size-small);
  color: var(--color-blue-light);
  font-weight: 500;
  margin-top: var(--space-md);
}

/* Ambient glow orbs in sections */
.section__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.section__glow--blue {
  width: 500px;
  height: 500px;
  background: var(--color-blue-glow-faint);
  top: 20%;
  right: -10%;
}

.section__glow--platform {
  width: 600px;
  height: 600px;
  background: var(--color-blue-glow-faint);
  bottom: -20%;
  left: -15%;
}

.section__glow--contact {
  width: 400px;
  height: 400px;
  background: var(--color-blue-glow-faint);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Section reveal animation — applied via JS */
.section.is-visible .section__label,
.section.is-visible .section__title,
.section.is-visible .section__lead,
.section.is-visible .stat-row,
.section.is-visible .feature-list,
.section.is-visible .card-grid,
.section.is-visible .platform-stack,
.section.is-visible .roadmap,
.section.is-visible .contact-form {
  animation: fade-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   FUTURE FACTORY — stat counters
   -------------------------------------------------------------------------- */
.section--future {
  background: linear-gradient(180deg, var(--color-black) 0%, var(--color-black-soft) 100%);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem;
}

.stat__number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1;
}

.stat__unit {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-blue-light);
}

.stat__label {
  width: 100%;
  font-size: var(--font-size-small);
  color: var(--color-white-muted);
  margin-top: var(--space-xs);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   MANUFACTURING CRISIS — chart visualization
   -------------------------------------------------------------------------- */
.section--crisis {
  background: var(--color-black-soft);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--font-size-body);
  color: var(--color-white-muted);
}

.feature-list__marker {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.6em;
  background: var(--color-blue);
  box-shadow: 0 0 8px var(--color-blue-glow);
}

/* CSS-only bar chart */
.crisis-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
  height: 320px;
  padding: var(--space-lg);
  position: relative;
}

.crisis-chart__bar {
  width: 60px;
  height: var(--h);
  background: linear-gradient(to top, var(--color-blue-dark), var(--color-blue));
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1) var(--delay),
              opacity 0.5s var(--delay);
  position: relative;
}

.section.is-visible .crisis-chart__bar {
  opacity: 0.7;
  transform: scaleY(1);
}

.crisis-chart__bar--accent {
  opacity: 0;
  box-shadow: 0 0 20px var(--color-blue-glow-soft);
}

.section.is-visible .crisis-chart__bar--accent {
  opacity: 1;
}

.crisis-chart__year {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-small);
  color: var(--color-white-subtle);
  white-space: nowrap;
}

.crisis-chart__label {
  position: absolute;
  bottom: -3.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-label);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-white-subtle);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   WHY HUMANOID — glass cards
   -------------------------------------------------------------------------- */
.section--humanoid {
  background: var(--color-black);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.glass-card {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  transition: border-color var(--transition-smooth), background var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(0, 128, 255, 0.2);
  background: rgba(0, 128, 255, 0.03);
}

.glass-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-blue);
  margin-bottom: var(--space-md);
}

.glass-card__title {
  font-size: var(--font-size-h3);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  letter-spacing: var(--letter-spacing-tight);
}

.glass-card__text {
  font-size: var(--font-size-small);
  color: var(--color-white-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   PHYSICAL AI PLATFORM — stack diagram
   -------------------------------------------------------------------------- */
.section--platform {
  background: linear-gradient(180deg, var(--color-black-soft) 0%, var(--color-black) 100%);
}

.platform-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-md);
}

.platform-layer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-left: 2px solid var(--color-white-faint);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.platform-layer--highlight {
  border-left-color: var(--color-blue);
  background: rgba(0, 128, 255, 0.05);
  box-shadow: inset 0 0 30px rgba(0, 128, 255, 0.05);
}

.platform-layer__tag {
  font-size: var(--font-size-label);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-white-subtle);
  min-width: 80px;
}

.platform-layer__name {
  font-size: var(--font-size-body);
  font-weight: 500;
}

/* Animated platform diagram */
.platform-diagram {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
}

.platform-diagram__ring {
  position: absolute;
  border: 3px solid var(--color-white-muted);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.platform-diagram__ring--outer {
  width: 100%;
  height: 100%;
  animation: ring-rotate 30s linear infinite;
}

.platform-diagram__ring--mid {
  width: 70%;
  height: 70%;
  border-color: rgba(0, 128, 255, 0.65);
  animation: ring-rotate 20s linear infinite reverse;
}

@keyframes ring-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.platform-diagram__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  border-radius: 50%;
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-glow-blue);
  line-height: 1.2;
}

.platform-diagram__node {
  position: absolute;
  font-size: var(--font-size-label);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white-muted);
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.5);
}

.platform-diagram__node--1 { top: 5%; left: 50%; transform: translateX(-50%); }
.platform-diagram__node--2 { top: 50%; right: 0; transform: translateY(-50%); }
.platform-diagram__node--3 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.platform-diagram__node--4 { top: 50%; left: 0; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   VISION VIDEO
   -------------------------------------------------------------------------- */
.section--video {
  background: var(--color-black);
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin-top: var(--space-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-placeholder__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.video-placeholder__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 128, 255, 0.9);
  border-radius: 50%;
  color: var(--color-white);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  z-index: 2;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 40px var(--color-blue-glow);
}

.video-play-btn__ring {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(0, 128, 255, 0.4);
  border-radius: 50%;
  animation: play-ring-pulse 2s ease-in-out infinite;
}

@keyframes play-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.5; }
}

.video-embed {
  width: 100%;
  height: 100%;
  border: none;
}

.video-embed[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   ROADMAP — vertical timeline
   -------------------------------------------------------------------------- */
.section--roadmap {
  background: var(--color-black-soft);
}

.roadmap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-left: 2rem;
}

.roadmap__line {
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--color-blue),
    var(--color-white-faint)
  );
}

.roadmap__item {
  position: relative;
  display: flex;
  gap: var(--space-lg);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.is-visible .roadmap__item {
  opacity: 1;
  transform: translateX(0);
}

.section.is-visible .roadmap__item:nth-child(2) { transition-delay: 0.1s; }
.section.is-visible .roadmap__item:nth-child(3) { transition-delay: 0.2s; }
.section.is-visible .roadmap__item:nth-child(4) { transition-delay: 0.3s; }
.section.is-visible .roadmap__item:nth-child(5) { transition-delay: 0.4s; }

.roadmap__marker {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--color-white-faint);
  background: var(--color-black);
  margin-top: 0.25rem;
  margin-left: -2rem;
  position: relative;
  z-index: 1;
}

.roadmap__item--active .roadmap__marker {
  border-color: var(--color-blue);
  background: var(--color-blue);
  box-shadow: 0 0 12px var(--color-blue-glow);
}

.roadmap__date {
  font-size: var(--font-size-label);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-blue);
  display: block;
  margin-bottom: 0.25rem;
}

.roadmap__title {
  font-size: var(--font-size-h3);
  font-weight: 600;
  margin-bottom: 0.375rem;
  letter-spacing: var(--letter-spacing-tight);
}

.roadmap__text {
  font-size: var(--font-size-small);
  color: var(--color-white-muted);
  max-width: 48ch;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   FOUNDER
   -------------------------------------------------------------------------- */
.section--founder {
  background: var(--color-black);
}

.founder-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-visual__frame {
  width: 280px;
  height: 340px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
}

.founder-visual__placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--color-white-subtle);
}

.founder-visual__glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--color-blue-glow-faint);
  filter: blur(60px);
  z-index: -1;
}

.founder-meta {
  margin-top: var(--space-lg);
}

.founder-meta__raise {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.founder-meta__amount {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-blue-light);
  letter-spacing: var(--letter-spacing-tight);
}

.founder-meta__round {
  font-size: var(--font-size-body);
  color: var(--color-white-muted);
}

.investor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-lg);
}

.investor-logos__item {
  font-size: var(--font-size-label);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-white-subtle);
  padding: 0.5rem 1rem;
  border: 1px solid var(--glass-border);
}

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.section--contact {
  background: linear-gradient(180deg, var(--color-black) 0%, var(--color-black-soft) 100%);
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--color-blue-light);
  margin-bottom: var(--space-xl);
  transition: color var(--transition-fast);
}

.contact-email:hover {
  color: var(--color-blue-bright);
}

.contact-form {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-form__label {

    display: block;

    margin-bottom: 8px;

    color: #c7d3df;

    font-size: 14px;

    font-weight: 500;

}

/*=========================
    CONTACT FORM INPUTS
==========================*/

.contact-form__input,
.contact-form__textarea {

    width: 100%;

    padding: 16px 18px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.20);

    border-radius: 12px;

    color: #ffffff;

    font-size: 16px;

    font-family: inherit;

    transition: all .25s ease;

    outline: none;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {

    color: rgba(255,255,255,0.45);

}

.contact-form__input:focus,
.contact-form__textarea:focus {

    border-color: #1D8CFF;

    background: rgba(255,255,255,0.10);

    box-shadow: 0 0 0 3px rgba(29,140,255,.20);

}

.contact-form__submit {
  align-self: center;
  padding: 0.875rem 2.5rem;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
  color: var(--color-white);
  font-size: var(--font-size-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  box-shadow: var(--shadow-cta);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  margin-top: var(--space-sm);
}

.contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 128, 255, 0.5);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  padding: var(--space-lg) var(--section-padding-x);
  border-top: 1px solid var(--glass-border);
  background: var(--color-black);
}

.site-footer__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.site-footer__icon {
  width: 24px;
  height: 24px;
}

.site-footer__tagline {
  font-size: var(--font-size-small);
  color: var(--color-white-muted);
}

.site-footer__copy {
  font-size: var(--font-size-label);
  color: var(--color-white-subtle);
}

.site-footer__nav {
  display: flex;
  gap: var(--space-md);
}

.site-footer__link {
  font-size: var(--font-size-label);
  color: var(--color-white-subtle);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.site-footer__link:hover {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   RESPONSIVE — TABLET (max 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner {
    align-items: flex-start;
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__visual {
    width: 70%;
    height: 55%;
    opacity: 0.85;
  }

  .hero__robot-wrap {
    width: 120%;
    margin-right: -15%;
  }

  .hero__slogan {
    bottom: 4rem;
  }

  .section__inner--split,
  .section__inner--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .section__inner--reverse {
    direction: ltr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .platform-diagram {
    width: 280px;
    height: 280px;
  }

  .founder-visual {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE — MOBILE (max 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  /* Show hamburger, hide desktop nav */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
  
  .hero__content{
    margin-top: 0;
}

  .hero__inner {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 5rem;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
    max-width: 100%;
  }

  .hero__visual {
    width: 85%;
    height: 50%;
  }

  .hero__robot-wrap {
    width: 130%;
    margin-right: -20%;
  }

  .hero__scroll {
    bottom: 1rem;
  }

  .hero__slogan-line {
    font-size: 1.125rem;
  }

  .section {
    min-height: auto;
    padding: var(--space-2xl) var(--section-padding-x);
  }

  .crisis-chart {
    height: 240px;
    gap: 1rem;
  }

  .crisis-chart__bar {
    width: 40px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .investor-logos {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE — SMALL MOBILE (max 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero__robot-wrap {
    width: 140%;
    margin-right: -20%;
  }

  .hero__cta {
    width: 100%;
    justify-content: center;
  }

  .roadmap {
    padding-left: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   REDUCED MOTION — respect user preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero__robot {
    animation: none;
  }
}
