:root {
  --bg: #070B14;
  --surface: #0D1526;
  --surface-2: #132040;
  --fg: #E8EEF5;
  --fg-muted: #8B9CB5;
  --fg-dim: #4D6080;
  --accent: #00E5FF;
  --accent-dim: rgba(0, 229, 255, 0.12);
  --accent-2: #FF6B35;
  --accent-2-dim: rgba(255, 107, 53, 0.12);
  --border: rgba(255,255,255,0.07);
  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.navbar-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--fg);
}
.navbar-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 160px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--fg);
}
.headline-accent {
  color: var(--accent);
  position: relative;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-dim);
}
.proof-placeholder {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero Diagram */
.hero-diagram {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.diagram-container {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  width: 100%;
}
.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  min-width: 90px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  position: relative;
}
.node-icon { font-size: 20px; }
.node-ai {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.06);
  color: var(--accent);
}
.node-ai .ai-icon { color: var(--accent); font-size: 22px; }
.node-trigger .node-icon { color: #A78BFA; }
.node-action .node-icon { color: #34D399; }
.node-secondary .node-icon { color: var(--accent-2); }
.node-badge {
  position: absolute;
  top: -10px;
  right: -8px;
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  letter-spacing: 0.05em;
}
.connector {
  display: flex;
  align-items: center;
  width: 32px;
  flex-shrink: 0;
}
.connector-line {
  flex: 1;
  height: 1px;
  background: var(--fg-dim);
}
.connector-arrow {
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--fg-dim);
  border-bottom: 1.5px solid var(--fg-dim);
  transform: rotate(-45deg);
  margin-left: -1px;
}
.diagram-label {
  margin-top: 16px;
  font-size: 11px;
  color: var(--fg-dim);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Canvas Section */
.canvas-section {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}
.canvas-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.canvas-text h2 {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.canvas-text p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.canvas-steps { display: flex; flex-direction: column; gap: 24px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 3px;
  min-width: 24px;
}
.step-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.step-content span {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Canvas Window */
.canvas-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.canvas-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.canvas-dots { display: flex; gap: 6px; }
.canvas-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--fg-dim);
}
.canvas-dots span:nth-child(1) { background: #FF5F57; }
.canvas-dots span:nth-child(2) { background: #FEBC2E; }
.canvas-dots span:nth-child(3) { background: #28C840; }
.canvas-title {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
  margin-left: 8px;
}
.canvas-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.c-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  width: 200px;
  font-size: 12px;
  position: relative;
}
.c-trigger { border-color: rgba(167, 139, 250, 0.4); }
.c-ai { border-color: rgba(0, 229, 255, 0.3); background: rgba(0, 229, 255, 0.05); }
.c-action { border-color: rgba(52, 211, 153, 0.3); }
.c-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--fg-dim);
  flex-shrink: 0;
}
.c-trigger .c-dot { background: #A78BFA; }
.c-ai .c-dot.ai-dot { background: var(--accent); color: var(--accent); font-size: 12px; text-align: center; line-height: 10px; }
.c-action .c-dot { background: #34D399; }
.c-label { display: flex; flex-direction: column; gap: 2px; }
.c-name { font-weight: 600; font-size: 12px; color: var(--fg); }
.c-sub { font-size: 10px; color: var(--fg-dim); }
.c-ai-badge {
  position: absolute;
  top: -8px;
  right: -6px;
  font-size: 8px;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg);
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}
.c-connector-v {
  width: 1px;
  height: 20px;
  background: var(--fg-dim);
}
.c-branch {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.canvas-prompt {
  margin-top: 20px;
  padding: 10px 16px;
  background: var(--surface-2);
  border: 1px dashed var(--fg-dim);
  border-radius: 8px;
  width: 100%;
  font-size: 11px;
  color: var(--fg-dim);
}

/* Features */
.features {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.features-header {
  text-align: center;
  margin-bottom: 64px;
}
.features-header h2 {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.features-header p {
  color: var(--fg-muted);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  padding: 36px 32px;
  background: var(--surface);
}
.feature-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: monospace;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* How it Works */
.howitworks {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.howitworks h2 {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 64px;
}
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: left;
}
.hiw-step { position: relative; }
.hiw-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: rgba(0, 229, 255, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}
.hiw-step h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hiw-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Manifesto */
.manifesto {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.manifesto blockquote {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 28px;
  font-style: normal;
}
.manifesto-attr {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Closing */
.closing {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.closing p {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.closing-vision p {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0;
}

/* Footer */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
}
.footer-tagline {
  font-size: 12px;
  color: var(--fg-dim);
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.footer-copy {
  font-size: 12px;
  color: var(--fg-dim);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 24px 60px;
    gap: 60px;
  }
  .hero-diagram { display: none; }
  .canvas-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .hiw-steps { grid-template-columns: 1fr 1fr; }
  .navbar { padding: 16px 24px; }
  .features, .howitworks, .manifesto, .closing { padding: 60px 24px; }
  .canvas-section { padding: 60px 24px; }
}
