:root {
  --bg: #0a0e27;
  --bg-surface: #0f1435;
  --bg-elevated: #151b45;
  --fg: #e8eaf6;
  --fg-muted: #8b92b3;
  --cyan: #00d4ff;
  --coral: #ff6b4a;
  --purple: #a855f7;
  --cyan-glow: rgba(0, 212, 255, 0.15);
  --coral-glow: rgba(255, 107, 74, 0.15);
  --purple-glow: rgba(168, 85, 247, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 24px;
}

.accent { color: var(--cyan); }

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  display: grid;
  grid-template-columns: 10px 10px;
  gap: 3px;
}

.logo-block {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.b1 { background: var(--cyan); }
.b2 { background: var(--coral); }
.b3 { background: var(--purple); grid-column: span 2; width: 23px; }

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
}

.nav-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 4px 12px;
  border-radius: 100px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--coral-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.05);
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan);
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.morph-container {
  position: relative;
  width: 360px;
  height: 360px;
}

.morph-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.core-brain {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: white;
  position: relative;
  z-index: 2;
}

.core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  animation: pulse-ring 4s ease-in-out infinite;
}

.ring-1 { width: 120px; height: 120px; margin: -60px 0 0 -60px; animation-delay: 0s; }
.ring-2 { width: 200px; height: 200px; margin: -100px 0 0 -100px; animation-delay: 1s; }
.ring-3 { width: 280px; height: 280px; margin: -140px 0 0 -140px; animation-delay: 2s; }

@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.morph-module {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mod-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
}

.mod-1 { top: 10px; left: 50%; transform: translateX(-50%); }
.mod-2 { top: 35%; right: 10px; }
.mod-3 { bottom: 35%; right: 10px; }
.mod-4 { bottom: 10px; left: 50%; transform: translateX(-50%); }
.mod-5 { top: 35%; left: 10px; }

.mod-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}

.mod-2 .mod-line, .mod-3 .mod-line, .mod-5 .mod-line {
  width: 30px;
  height: 1px;
  background: linear-gradient(to right, var(--cyan), transparent);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* HOW IT WORKS */
.how-it-works {
  padding: 120px 0;
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 212, 255, 0.2), transparent);
}

.how-it-works h2 { text-align: center; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s;
}

.step:hover {
  border-color: rgba(0, 212, 255, 0.2);
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(0, 212, 255, 0.15);
  margin-bottom: 24px;
}

.step-visual {
  margin-bottom: 24px;
}

.step-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.step-svg {
  width: 100%;
  height: 100%;
}

.step h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.step p {
  color: var(--fg-muted);
  font-size: 15px;
}

/* CAPABILITIES */
.capabilities {
  padding: 120px 0;
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cap-desc {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.cap-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cap-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

.dot-coral { background: var(--coral); }
.dot-purple { background: var(--purple); }

/* CAP VISUAL */
.cap-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-diagram {
  position: relative;
  width: 300px;
  height: 300px;
}

.diagram-node {
  position: absolute;
  padding: 12px 20px;
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.node-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border: none;
  color: white;
  font-size: 16px;
  z-index: 2;
}

.node-tl { top: 10px; left: 10px; }
.node-tr { top: 10px; right: 10px; }
.node-bl { bottom: 10px; left: 10px; }
.node-br { bottom: 10px; right: 10px; }

.diagram-edge {
  position: absolute;
  background: rgba(0, 212, 255, 0.15);
}

.edge-1 { top: 50px; left: 80px; width: 60px; height: 1px; transform: rotate(-35deg); }
.edge-2 { top: 50px; right: 80px; width: 60px; height: 1px; transform: rotate(35deg); }
.edge-3 { bottom: 50px; left: 80px; width: 60px; height: 1px; transform: rotate(35deg); }
.edge-4 { bottom: 50px; right: 80px; width: 60px; height: 1px; transform: rotate(-35deg); }

.diagram-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  animation: diagram-breathe 3s ease-in-out infinite;
}

@keyframes diagram-breathe {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

/* PHILOSOPHY */
.philosophy {
  padding: 120px 0;
  background: var(--bg-surface);
}

.philosophy-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.philosophy h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 40px;
}

.philosophy em {
  color: var(--coral);
  font-style: normal;
}

.philosophy-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.phil-col p {
  color: var(--fg-muted);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.phil-col strong { color: var(--fg); }

/* MODULES */
.modules {
  padding: 120px 0;
}

.modules-sub {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-card {
  padding: 32px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.module-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.module-header {
  margin-bottom: 16px;
}

.module-type {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--cyan-glow);
  color: var(--cyan);
}

.type-actuator {
  background: var(--coral-glow);
  color: var(--coral);
}

.type-sensor {
  background: var(--purple-glow);
  color: var(--purple);
}

.module-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.module-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* OUTCOMES */
.outcomes {
  padding: 120px 0;
  background: var(--bg-surface);
}

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

.outcome-main {
  grid-column: span 2;
  margin-bottom: 20px;
}

.outcome-main p {
  font-size: 18px;
  color: var(--fg-muted);
}

.outcome-card {
  padding: 40px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.outcome-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 16px;
}

.outcome-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.outcome-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.oc-1 { border-left: 3px solid var(--cyan); }
.oc-2 { border-left: 3px solid var(--coral); }
.oc-3 { border-left: 3px solid var(--purple); }
.oc-4 { border-left: 3px solid var(--cyan); }

/* CLOSING */
.closing {
  padding: 160px 0;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 60%);
  pointer-events: none;
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.closing h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 24px;
}

.closing-text {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.closing-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 1px;
}

/* FOOTER */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 8px;
}

.footer-meta p {
  font-size: 13px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual { order: -1; }

  .morph-container {
    width: 280px;
    height: 280px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-num { font-size: 24px; }

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

  .cap-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .outcome-main {
    grid-column: span 1;
  }

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