/* ============================================================
   OPTIMARE LABS Design System
   ============================================================ */

:root {
  --deep-space: #05070D;
  --graphite: #0D111A;
  --midnight: #111827;
  --violet: #7C5CFF;
  --cyan: #32D9FF;
  --green: #48E5A0;
  --warm: #FFB86B;
  --white: #F7F8FC;
  --muted: #8B95A7;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --container: min(1200px, 92vw);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
  --glow: 0 0 40px rgba(124, 92, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--deep-space);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.no-custom-cursor { cursor: auto; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; background: transparent; border: 1px solid rgba(139,149,167,0.3); border-radius: var(--radius); padding: 0.75rem 1rem; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--violet); outline-offset: 2px; }

.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.accent { color: var(--violet); }
.demo-tag { color: var(--warm); font-size: 0.65rem; margin-left: 0.5rem; }

.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 720px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
}

.section { padding: clamp(4rem, 10vh, 8rem) 0; position: relative; }
.section--dark { background: var(--deep-space); color: var(--white); }
.section--light { background: var(--white); color: var(--deep-space); }
.section-label { color: var(--muted); margin-bottom: 1.5rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.3s var(--ease);
}

.btn--primary {
  background: var(--violet);
  color: var(--white);
  border: 1px solid var(--violet);
}

.btn--primary:hover, .btn--primary:focus-visible {
  background: #6a4ae0;
  box-shadow: var(--glow);
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid rgba(139,149,167,0.4);
  color: var(--white);
}

.section--light .btn--ghost { color: var(--deep-space); border-color: rgba(5,7,13,0.2); }

.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--violet);
  color: var(--violet);
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--deep-space);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}

.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader__inner { text-align: center; max-width: 420px; padding: 2rem; }

.preloader__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.preloader__symbol { width: 80px; height: 80px; }

.preloader-orbit {
  stroke-dasharray: 0 160;
  animation: orbitDraw 1.2s var(--ease) 0.3s forwards;
}

.preloader-node { transform-origin: center; animation: nodePulse 0.6s var(--ease) 0.1s forwards; opacity: 0; }
.preloader-satellite { animation: satelliteIn 0.5s var(--ease) 1s forwards; }

@keyframes orbitDraw { to { stroke-dasharray: 130 20; } }
@keyframes nodePulse { 0% { opacity: 0; r: 0; } 100% { opacity: 1; r: 4; } }
@keyframes satelliteIn { to { opacity: 1; } }

.preloader__text { display: flex; flex-direction: column; gap: 0.25rem; }
.preloader__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease) 1.2s forwards;
}

.preloader__labs {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.5s var(--ease) 1.5s forwards;
}

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

.preloader__tag { color: var(--muted); margin-bottom: 2rem; opacity: 0; animation: fadeUp 0.5s var(--ease) 1.8s forwards; }
.preloader__loading { color: var(--cyan); margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.5s var(--ease) 2s forwards; }

.preloader__status {
  list-style: none;
  text-align: left;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.preloader__status li {
  display: flex;
  gap: 0.25rem;
  opacity: 0;
  animation: fadeUp 0.3s var(--ease) forwards;
}

.preloader__status li:nth-child(1) { animation-delay: 2.2s; }
.preloader__status li:nth-child(2) { animation-delay: 2.4s; }
.preloader__status li:nth-child(3) { animation-delay: 2.6s; }
.preloader__status li:nth-child(4) { animation-delay: 2.8s; }
.preloader__status li:nth-child(5) { animation-delay: 3s; }
.preloader__status li:nth-child(6) { animation-delay: 3.2s; }

.preloader__status .ready { color: var(--green); }
.preloader__status .active { color: var(--cyan); }

.preloader__begin {
  color: var(--violet);
  border: 1px solid var(--violet);
  padding: 0.75rem 2rem;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease) 3.5s forwards;
  transition: all 0.3s;
}

.preloader__begin:not(:disabled):hover { background: var(--violet); color: var(--white); }
.preloader__begin:disabled { opacity: 0.4; cursor: not-allowed; animation: fadeUp 0.5s var(--ease) 3.5s forwards; }

/* ============================================================
   LAB GRID CANVAS
   ============================================================ */
.lab-grid-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

body.experiment-mode .lab-grid-canvas { opacity: 0.85; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.custom-cursor {
  position: fixed;
  width: 24px;
  height: 24px;
  border: 1px solid var(--violet);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
  mix-blend-mode: difference;
}

.custom-cursor__label {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}

.custom-cursor.hover-cta { width: 48px; height: 48px; border-color: var(--cyan); }
.custom-cursor.hover-node { width: 36px; height: 36px; border-color: var(--green); }
.custom-cursor.hover-experiment { width: 40px; height: 40px; border-color: var(--warm); }
.custom-cursor.show-label .custom-cursor__label { opacity: 1; }

/* ============================================================
   SIGNATURE CONTROLS
   ============================================================ */
.sig-controls {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sig-btn {
  background: rgba(13,17,26,0.9);
  border: 1px solid rgba(124,92,255,0.3);
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sig-btn:hover, .sig-btn:focus-visible { border-color: var(--violet); background: rgba(124,92,255,0.15); }
.sig-btn[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); }

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.sig-panel {
  position: fixed;
  bottom: 1.5rem;
  right: 12rem;
  z-index: 900;
  background: rgba(13,17,26,0.95);
  border: 1px solid rgba(124,92,255,0.3);
  padding: 1.25rem;
  min-width: 260px;
  backdrop-filter: blur(16px);
}

.sig-panel__header { margin-bottom: 1rem; color: var(--muted); }

.pulse-stats div { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid rgba(139,149,167,0.15); }
.pulse-stats dt { color: var(--muted); font-size: 0.65rem; }
.pulse-stats dd { color: var(--cyan); font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; }

.idea-form label { display: block; margin-bottom: 0.75rem; }
.idea-form label span { display: block; margin-bottom: 0.35rem; color: var(--muted); font-size: 0.65rem; }
.idea-form .btn { width: 100%; margin-top: 0.5rem; justify-content: center; }

.idea-card { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(124,92,255,0.3); }
.idea-card__id { color: var(--cyan); }
.idea-card__title { font-family: var(--font-display); margin: 0.5rem 0; }
.idea-card__hypothesis { color: var(--muted); font-size: 0.7rem; margin: 0.5rem 0; }
.idea-card__status { color: var(--green); font-size: 0.65rem; }
.idea-card__disclaimer { color: var(--warm); font-size: 0.6rem; margin-top: 0.5rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}

.header.scrolled {
  padding: 0.75rem 0;
  background: rgba(5,7,13,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(124,92,255,0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo img { height: 32px; width: auto; transition: height 0.3s; }
.header.scrolled .header__logo img { height: 26px; }

.header__nav {
  display: flex;
  gap: 1.75rem;
}

.header__nav a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.3s;
}

.header__nav a:hover, .header__nav a:focus-visible { color: var(--white); }

.header__cta { font-size: 0.7rem; padding: 0.6rem 1.25rem; }

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.header__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--deep-space);
  z-index: 799;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 1.5rem;
}

.mobile-nav a { font-size: 0.85rem; letter-spacing: 0.1em; }

body.experiment-mode .header__nav a::after {
  content: attr(href);
  display: block;
  font-size: 0.55rem;
  color: var(--cyan);
  opacity: 0.6;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__label { color: var(--muted); margin-bottom: 1.5rem; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title span { display: block; }
.hero__title .accent { color: var(--violet); }

.hero__sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__canvas {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  height: 70vh;
  max-width: 700px;
  z-index: 1;
}

.hero__status {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  background: rgba(13,17,26,0.7);
  border: 1px solid rgba(124,92,255,0.2);
  padding: 1rem 1.25rem;
  font-size: 0.65rem;
  backdrop-filter: blur(12px);
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.3rem 0;
  color: var(--muted);
}

.status-row span:last-child { color: var(--white); }
.status-active { color: var(--green) !important; }

/* ============================================================
   QUESTION SECTION
   ============================================================ */
.question-section { min-height: 80vh; display: flex; align-items: center; }
.question-cycler { min-height: 200px; margin: 2rem 0; }
.question-text { transition: opacity 0.5s; }
.question-text.fade { opacity: 0; }
.question-end { color: var(--muted); margin-top: 3rem; }

/* ============================================================
   LAB ARCHITECTURE
   ============================================================ */
.lab-architecture { position: relative; margin-top: 3rem; min-height: 400px; }
.lab-arch-canvas { width: 100%; height: 400px; }
.lab-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  list-style: none;
}

.lab-areas li {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(124,92,255,0.3);
  font-size: 0.65rem;
  transition: all 0.3s;
  cursor: default;
}

.lab-areas li:hover, .lab-areas li.active {
  background: rgba(124,92,255,0.15);
  border-color: var(--violet);
  color: var(--violet);
}

/* ============================================================
   ENGINE PIPELINE
   ============================================================ */
.engine-pipeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.engine-step {
  padding: 1rem 2.5rem;
  border: 1px solid rgba(124,92,255,0.3);
  background: rgba(13,17,26,0.5);
  transition: all 0.5s var(--ease);
  opacity: 0.4;
  transform: scale(0.95);
}

.engine-step.active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--violet);
  box-shadow: var(--glow);
  background: rgba(124,92,255,0.1);
}

.engine-step span { font-size: 0.75rem; letter-spacing: 0.15em; }
.engine-arrow { color: var(--muted); font-size: 1.25rem; opacity: 0.5; }

/* ============================================================
   NOTEBOOK / DISCOVERY
   ============================================================ */
.notebook {
  background: var(--graphite);
  color: var(--white);
  padding: 2rem;
  border-left: 3px solid var(--violet);
}

.notebook__items { list-style: none; }
.notebook__items li { padding: 1rem 0; border-bottom: 1px solid rgba(139,149,167,0.15); }
.notebook__items .tag { color: var(--cyan); font-size: 0.65rem; display: block; margin-bottom: 0.35rem; }

/* ============================================================
   RESEARCH CARDS
   ============================================================ */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.research-card {
  padding: 1.5rem;
  border: 1px solid rgba(124,92,255,0.2);
  background: rgba(13,17,26,0.5);
  transition: all 0.3s;
}

.research-card:hover { border-color: var(--violet); transform: translateY(-2px); }
.research-card span:first-child { color: var(--muted); font-size: 0.65rem; }
.research-card h3 { font-family: var(--font-display); margin: 0.75rem 0; font-size: 1.25rem; }
.status-tag { color: var(--cyan); font-size: 0.65rem; }

/* ============================================================
   EXPERIMENT GENERATOR
   ============================================================ */
.exp-generator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.exp-inputs label { display: block; margin-bottom: 1rem; }
.exp-inputs label span { display: block; color: var(--muted); margin-bottom: 0.35rem; font-size: 0.65rem; }

.exp-output {
  border: 1px solid rgba(124,92,255,0.3);
  padding: 1.5rem;
  background: rgba(13,17,26,0.5);
}

.exp-output__item { padding: 0.75rem 0; border-bottom: 1px solid rgba(139,149,167,0.1); }
.exp-output__item span { color: var(--cyan); font-size: 0.65rem; display: block; margin-bottom: 0.25rem; }
.exp-output__item p { color: var(--white); font-size: 0.9rem; }

/* ============================================================
   PROTOTYPE
   ============================================================ */
.prototype-flow {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.proto-step {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(5,7,13,0.15);
  background: var(--graphite);
  color: var(--white);
  font-size: 0.7rem;
}

.proto-arrow { color: var(--muted); font-size: 1.25rem; }

.floating-ui {
  position: relative;
  height: 200px;
  margin-top: 2rem;
}

.ui-card {
  position: absolute;
  border: 1px solid rgba(124,92,255,0.3);
  background: rgba(13,17,26,0.05);
  border-radius: var(--radius);
  animation: float 6s ease-in-out infinite;
}

.ui-card--1 { width: 180px; height: 120px; top: 0; left: 10%; animation-delay: 0s; }
.ui-card--2 { width: 140px; height: 90px; top: 40px; left: 45%; animation-delay: 1s; border-color: rgba(50,217,255,0.3); }
.ui-card--3 { width: 160px; height: 100px; top: 20px; right: 10%; animation-delay: 2s; border-color: rgba(72,229,160,0.3); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================================
   AI LAB
   ============================================================ */
.ai-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
  font-size: 0.75rem;
}

.ai-formula span:not(.equals):not(.result) {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(124,92,255,0.3);
}

.ai-formula .equals { color: var(--violet); font-size: 1.5rem; }
.ai-formula .result { color: var(--cyan); font-size: 0.85rem; padding: 0.75rem 1.25rem; border: 1px solid var(--cyan); }

.ai-viz-canvas { width: 100%; height: 200px; margin-top: 1rem; }

/* ============================================================
   AGENT CARDS
   ============================================================ */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.agent-card {
  padding: 1.25rem;
  border: 1px solid rgba(124,92,255,0.2);
  transition: all 0.3s;
}

.agent-card:hover { border-color: var(--violet); }
.agent-card h3 { margin-bottom: 1rem; font-size: 0.75rem; color: var(--cyan); }
.agent-card dl { font-size: 0.65rem; }
.agent-card dt { color: var(--muted); margin-top: 0.5rem; }
.agent-card dd { color: var(--white); margin-left: 0; }

.demo-note { color: var(--warm); margin-top: 1.5rem; font-size: 0.65rem; }

/* ============================================================
   PRODUCT LAYERS
   ============================================================ */
.product-layers { margin-top: 2rem; }

.layer {
  padding: 1rem 1.5rem;
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--violet);
  background: rgba(13,17,26,0.03);
  font-size: 0.75rem;
  transition: all 0.4s;
  opacity: 0.5;
  transform: translateX(-10px);
}

.layer.visible { opacity: 1; transform: translateX(0); }
.layer:nth-child(odd) { border-color: var(--cyan); }

/* ============================================================
   DESIGN EVOLUTION
   ============================================================ */
.design-evolution {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.design-stage {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(124,92,255,0.2);
  font-size: 0.65rem;
  transition: all 0.3s;
}

.design-stage.active { background: var(--violet); border-color: var(--violet); }

.design-preview {
  min-height: 200px;
  border: 1px solid rgba(124,92,255,0.2);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   TECH ARCHITECTURE
   ============================================================ */
.tech-arch { position: relative; margin-top: 2rem; }
.tech-arch-canvas { width: 100%; height: 300px; }
.tech-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  list-style: none;
}

.tech-nodes li {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(50,217,255,0.3);
  font-size: 0.6rem;
  color: var(--cyan);
}

/* ============================================================
   VENTURE STACK
   ============================================================ */
.venture-stack { margin-top: 2rem; max-width: 400px; }

.v-layer {
  padding: 1rem;
  border: 1px solid rgba(5,7,13,0.1);
  text-align: center;
  font-size: 0.7rem;
  transition: all 0.5s;
  opacity: 0.4;
}

.v-layer.visible { opacity: 1; background: rgba(124,92,255,0.05); border-color: var(--violet); }
.v-layer.highlight { background: var(--violet); color: var(--white); border-color: var(--violet); }
.v-arrow { text-align: center; color: var(--muted); padding: 0.25rem; }

/* ============================================================
   VENTURE CARDS
   ============================================================ */
.venture-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.venture-card {
  padding: 2rem;
  border: 1px solid rgba(124,92,255,0.2);
  background: linear-gradient(135deg, rgba(13,17,26,0.8), rgba(17,24,39,0.6));
  transition: all 0.3s;
}

.venture-card:hover { border-color: var(--violet); transform: translateY(-4px); box-shadow: var(--glow); }
.venture-card span:first-child { color: var(--cyan); font-size: 0.7rem; }
.venture-card p { margin-top: 0.5rem; }
.venture-card p:not(.status-tag):not(.mono) { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; }

/* ============================================================
   ARCHIVE
   ============================================================ */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.archive-item {
  padding: 1.25rem;
  border: 1px solid rgba(139,149,167,0.2);
  transition: all 0.3s;
}

.archive-item:hover { border-color: var(--violet); }
.archive-item span:first-child { color: var(--muted); font-size: 0.6rem; }
.archive-item h3 { font-family: var(--font-display); font-size: 1rem; margin: 0.5rem 0; }
.status-active { color: var(--green); }
.status-paused { color: var(--warm); }
.status-validated { color: var(--cyan); }
.status-archived { color: var(--muted); }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.dash-panel {
  padding: 1.25rem;
  border: 1px solid rgba(124,92,255,0.2);
  background: rgba(13,17,26,0.5);
}

.dash-panel--wide { grid-column: span 2; }
.dash-panel h3 { font-size: 0.65rem; color: var(--muted); margin-bottom: 0.75rem; }
.dash-status { font-size: 0.75rem; color: var(--cyan); margin-top: 0.5rem; }

.activity-log { list-style: none; font-size: 0.65rem; color: var(--muted); }
.activity-log li { padding: 0.35rem 0; border-bottom: 1px solid rgba(139,149,167,0.1); }

/* ============================================================
   RADAR
   ============================================================ */
.radar-wrap { display: flex; justify-content: center; }
.radar-canvas { width: 100%; max-width: 400px; height: 400px; cursor: crosshair; }

.radar-insight {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(124,92,255,0.3);
  font-size: 0.75rem;
}

.radar-insight h3 { color: var(--cyan); margin-bottom: 0.5rem; }

/* ============================================================
   IDEA GRAPH
   ============================================================ */
.graph-canvas { width: 100%; height: 500px; margin-top: 1rem; }

/* ============================================================
   STARTUP SIMULATOR
   ============================================================ */
.simulator-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.simulator-form label span { display: block; color: var(--muted); margin-bottom: 0.35rem; font-size: 0.65rem; }

.sim-output {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.sim-block {
  padding: 1.5rem;
  background: var(--graphite);
  color: var(--white);
  border-left: 3px solid var(--violet);
}

.sim-block span { color: var(--cyan); font-size: 0.65rem; display: block; margin-bottom: 0.5rem; }

/* ============================================================
   VALIDATION / GROWTH / AUTOMATION FLOWS
   ============================================================ */
.validation-loop, .growth-flow, .automation-flow, .founder-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  font-size: 0.75rem;
}

.validation-loop span:not(.arrow), .growth-flow span:not(.arrow), .automation-flow span:not(.arrow) {
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(124,92,255,0.3);
}

.validation-loop .highlight, .growth-flow .accent { color: var(--violet); border-color: var(--violet); }

.validation-loop .arrow, .growth-flow span:nth-child(even), .automation-flow span:nth-child(even) { color: var(--muted); }

/* ============================================================
   MARKET MAP
   ============================================================ */
.market-map {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.market-node {
  padding: 1rem 1.5rem;
  border: 1px solid rgba(124,92,255,0.3);
  font-size: 0.7rem;
  transition: all 0.3s;
}

.market-node:hover, .market-node.active {
  background: rgba(124,92,255,0.15);
  border-color: var(--violet);
}

.market-detail { text-align: center; color: var(--muted); font-size: 0.75rem; min-height: 3rem; }

/* ============================================================
   FUTURE SYSTEMS
   ============================================================ */
.future-systems {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.future-systems span {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(124,92,255,0.2);
  font-size: 0.7rem;
  transition: all 0.3s;
}

.future-systems span:hover { border-color: var(--cyan); color: var(--cyan); }

/* ============================================================
   BIG QUESTIONS
   ============================================================ */
.big-questions { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.big-q {
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(5,7,13,0.1);
  padding: 1rem 0;
  color: var(--deep-space);
  transition: all 0.3s;
  cursor: pointer;
}

.big-q:hover, .big-q.active { color: var(--violet); border-color: var(--violet); }
.question-insight { margin-top: 1.5rem; color: var(--muted); font-size: 0.75rem; min-height: 2rem; }

/* ============================================================
   SIGNAL ARTICLES
   ============================================================ */
.signal-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.signal-card {
  padding: 1.5rem;
  border: 1px solid rgba(124,92,255,0.2);
  transition: all 0.3s;
}

.signal-card:hover { border-color: var(--violet); }
.signal-card span { color: var(--cyan); font-size: 0.65rem; }
.signal-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0.75rem 0; }
.signal-card p { color: var(--muted); font-size: 0.85rem; }

/* ============================================================
   LAB NOTES
   ============================================================ */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.lab-note {
  padding: 1.5rem;
  background: var(--graphite);
  color: var(--white);
  font-size: 0.75rem;
  border-left: 2px solid var(--warm);
}

.lab-note span:first-child { color: var(--warm); font-size: 0.65rem; display: block; margin-bottom: 0.75rem; }
.lab-note p { margin-top: 0.5rem; line-height: 1.5; }

/* ============================================================
   COLLABORATION
   ============================================================ */
.collab-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.collab-path {
  padding: 1rem 2rem;
  border: 1px solid rgba(124,92,255,0.3);
  font-size: 0.7rem;
  transition: all 0.3s;
}

.collab-path:hover { background: var(--violet); border-color: var(--violet); }

/* ============================================================
   CAPABILITIES
   ============================================================ */
.capabilities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  list-style: none;
}

.capabilities-list li {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(124,92,255,0.3);
  font-size: 0.7rem;
}

/* ============================================================
   RESEARCH TOPICS
   ============================================================ */
.research-topics { display: flex; flex-direction: column; gap: 0.75rem; }

.topic-btn {
  text-align: left;
  padding: 1rem;
  border: 1px solid rgba(5,7,13,0.1);
  font-size: 0.7rem;
  transition: all 0.3s;
}

.topic-btn:hover, .topic-btn.active { border-color: var(--violet); color: var(--violet); background: rgba(124,92,255,0.05); }

/* ============================================================
   METHOD
   ============================================================ */
.method-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.method-list li {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(124,92,255,0.15);
  transition: all 0.3s;
}

.method-list li:hover { border-color: var(--violet); }
.method-list li > span { color: var(--violet); font-size: 0.85rem; }
.method-list h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.35rem; }
.method-list p { color: var(--muted); font-size: 0.85rem; }

/* ============================================================
   PRINCIPLES
   ============================================================ */
.principles-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.principle {
  opacity: 0.3;
  transition: all 0.5s var(--ease);
  cursor: default;
}

.principle.visible { opacity: 1; }
.principle:hover { color: var(--violet); opacity: 1; }

/* ============================================================
   ABOUT / MISSION
   ============================================================ */
.about-copy, .mission-copy {
  font-size: 1.125rem;
  color: var(--muted);
  margin-top: 1.5rem;
  line-height: 1.7;
}

.section--dark .mission-copy { color: var(--muted); }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-placeholder span { display: block; font-size: 0.65rem; color: var(--muted); margin-bottom: 0.75rem; }
.placeholder-block {
  aspect-ratio: 1;
  background: rgba(124,92,255,0.08);
  border: 1px dashed rgba(124,92,255,0.3);
}

/* ============================================================
   CAREERS
   ============================================================ */
.roles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
  list-style: none;
}

.roles-list li {
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(5,7,13,0.12);
  font-size: 0.65rem;
  transition: all 0.3s;
}

.roles-list li:hover { border-color: var(--violet); color: var(--violet); }

/* ============================================================
   CORE / EVOLUTION
   ============================================================ */
.core-canvas { width: 100%; height: 400px; margin: 2rem 0; }

.evolution-viz {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.evo-stage {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(124,92,255,0.3);
  font-size: 0.7rem;
  transition: all 0.5s;
  opacity: 0.4;
}

.evo-stage.active { opacity: 1; background: var(--violet); border-color: var(--violet); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta-section { min-height: 80vh; display: flex; align-items: center; }

.idea-input-wrap {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.idea-input {
  width: 100%;
  max-width: 480px;
  text-align: center;
  font-size: 1rem;
  border: none;
  border-bottom: 2px solid rgba(124,92,255,0.4);
  border-radius: 0;
  padding: 1rem;
  animation: blink-border 2s infinite;
}

@keyframes blink-border {
  0%, 100% { border-color: rgba(124,92,255,0.4); }
  50% { border-color: var(--violet); }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form label { display: block; margin-bottom: 1.25rem; }
.contact-form label span { display: block; font-size: 0.65rem; color: var(--muted); margin-bottom: 0.35rem; }

.contact-form fieldset { border: none; margin-bottom: 1.25rem; }
.contact-form legend { font-size: 0.65rem; color: var(--muted); margin-bottom: 0.75rem; }

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  margin-bottom: 0;
  cursor: pointer;
}

.radio-group input { width: auto; }

.form-status { margin-top: 1rem; font-size: 0.75rem; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--warm); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 4rem 0 2rem; border-top: 1px solid rgba(124,92,255,0.15); }

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 1rem;
  color: var(--muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.65rem;
}

.footer__nav a { color: var(--muted); transition: color 0.3s; }
.footer__nav a:hover { color: var(--white); }

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.65rem;
}

.footer__social a { color: var(--muted); transition: color 0.3s; }
.footer__social a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(139,149,167,0.15);
  font-size: 0.65rem;
  color: var(--muted);
}

/* ============================================================
   EXPERIMENT MODE OVERRIDES
   ============================================================ */
body.experiment-mode::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,92,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

body.experiment-mode .section::after {
  content: attr(data-coords);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--cyan);
  opacity: 0.5;
  pointer-events: none;
}

body.experiment-mode .hero__status,
body.experiment-mode .dash-panel,
body.experiment-mode .research-card {
  border-color: rgba(50,217,255,0.4);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@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; }
  .lab-grid-canvas, .hero__canvas, .graph-canvas, .radar-canvas, .core-canvas, .ai-viz-canvas, .tech-arch-canvas { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .exp-generator { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-panel--wide { grid-column: span 2; }
  .sim-output { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__canvas { width: 100%; height: 50vh; right: 0; opacity: 0.5; }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .custom-cursor { display: none; }
  .header__nav, .header__cta { display: none; }
  .header__menu-btn { display: flex; }
  .hero__status { display: none; }
  .sig-controls { bottom: 1rem; right: 1rem; left: 1rem; flex-direction: row; flex-wrap: wrap; }
  .sig-panel { right: 1rem; left: 1rem; bottom: 5rem; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-panel--wide { grid-column: span 1; }
  .evolution-viz { flex-wrap: wrap; justify-content: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .prototype-flow, .validation-loop, .growth-flow, .automation-flow { flex-direction: column; align-items: flex-start; }
}
