:root {
  --bg: #0d0d0d;
  --bg-alt: #141414;
  --fg: #ffffff;
  --fg-muted: #888888;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.10);
  --accent-border: rgba(0, 255, 136, 0.25);
  --border: rgba(255, 255, 255, 0.07);
  --radius: 8px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 20px; }
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--accent, #00ff88);
  color: #000 !important;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  font-size: 0.875rem;
}
.nav-cta:hover { opacity: 0.85; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 80px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 255, 136, 0.06) 0%, transparent 70%);
}
.hero-inner { max-width: 680px; }
.hero-h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #0d0d0d;
}
.btn-primary:hover { background: #33ff9e; transform: translateY(-1px); }

/* MCP Demo */
.mcp-demo {
  margin-top: 72px;
  width: 100%;
  max-width: 580px;
}
.mcp-demo-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.mcp-chat {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
}
.chat-user {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 20px 0;
}
.chat-avatar { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.chat-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-style: italic;
}
.chat-mcp {
  padding: 16px 20px 20px;
}
.mcp-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.mcp-bubble {
  background: rgba(0, 255, 136, 0.04);
  border: 1px solid var(--accent-border);
  border-radius: 12px 12px 4px 12px;
  padding: 16px 20px;
  font-size: 0.825rem;
  font-family: 'Courier New', monospace;
  line-height: 1.9;
  text-align: left;
}
.mcp-label { color: var(--fg-muted); font-weight: 600; }
.mcp-check { color: var(--accent); }
.mcp-prompt-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-muted);
}
.mcp-cursor-blink {
  color: var(--accent);
  font-size: 1rem;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.mcp-y-btn {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: 'Courier New', monospace;
  font-size: 0.825rem;
  padding: 2px 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* The Wall */
.the-wall {
  padding: 100px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.the-wall-header { margin-bottom: 56px; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0;
}
.wall-items {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.wall-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  transition: background 0.2s;
}
.wall-item:last-child { border-bottom: none; }
.wall-item:hover { background: rgba(0, 255, 136, 0.03); }
.wall-icon { flex-shrink: 0; margin-top: 2px; }
.wall-item-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--fg);
}
.wall-item-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* For Section */
.for-section {
  padding: 100px 24px;
  text-align: center;
}
.for-inner { max-width: 600px; margin: 0 auto; }
.for-headline {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.for-headline em { color: var(--accent); font-style: normal; }
.for-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}

/* Closing / Waitlist */
.closing {
  padding: 100px 24px 120px;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
}
.closing-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.closing-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.waitlist-form { max-width: 440px; margin: 0 auto; }
.waitlist-input-row {
  display: flex;
  gap: 10px;
}
.waitlist-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-input::placeholder { color: var(--fg-muted); }
.waitlist-input:focus { border-color: var(--accent); }
.waitlist-btn {
  padding: 12px 22px;
  background: var(--accent);
  color: #0d0d0d;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.waitlist-btn:hover { background: #33ff9e; }
.waitlist-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.waitlist-msg {
  margin-top: 12px;
  font-size: 0.875rem;
  min-height: 20px;
}
.waitlist-msg.success { color: var(--accent); }
.waitlist-msg.error { color: #ff6b6b; }
.waitlist-meta {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
}
.footer-brand p { font-size: 0.8rem; color: var(--fg-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }

/* Mobile */
@media (max-width: 640px) {
  .hero { padding: 60px 24px 60px; }
  .mcp-demo { margin-top: 48px; }
  .wall-item { padding: 20px 20px; }
  .for-headline { letter-spacing: -0.03em; }
  .waitlist-input-row { flex-direction: column; }
  .waitlist-btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}