/* AgentKit — Developer Infrastructure Aesthetic */
:root {
  --bg: #09090E;
  --bg-2: #0F0F1A;
  --fg: #E8EAF0;
  --fg-muted: #6B7280;
  --accent: #00D4FF;
  --accent-dim: #00D4FF22;
  --border: #1A1A2E;
  --green: #00FF9D;
  --yellow: #FFD84D;
}

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

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

/* Dot grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, #1A1A2E 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.nav {
  position: relative;
  z-index: 10;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 3px 8px;
  background: var(--accent-dim);
  border: 1px solid #00D4FF44;
  border-radius: 4px;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.7;
}
.hero-headline {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

/* Agent Card */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.agent-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 340px;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 0 60px #00D4FF0A, 0 0 120px #00D4FF05;
}
.agent-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.agent-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.agent-dot.active { animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.agent-id { font-size: 12px; color: var(--fg-muted); }
.agent-status { font-size: 10px; color: var(--green); margin-left: auto; text-transform: uppercase; letter-spacing: 0.5px; }
.agent-txns { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.txn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 11px;
}
.txn-service { color: var(--accent); font-weight: 600; min-width: 52px; }
.txn-action { color: var(--fg-muted); flex: 1; }
.txn-cost { color: var(--fg); font-weight: 500; }
.agent-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.agent-balance { font-size: 10px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.agent-amount { font-size: 16px; font-weight: 700; color: var(--accent); }

/* Code Section */
.code-section {
  position: relative;
  z-index: 1;
  padding: 40px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.code-inner {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.code-header {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: #0D0D1A;
}
.code-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
}
.code-block {
  padding: 32px 32px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  line-height: 1.8;
  color: #C4C9D8;
  overflow-x: auto;
  white-space: pre;
}
.code-comment { color: #4A5568; }
.code-keyword { color: #BD93F9; }
.code-await { color: #8BE9FD; }
.code-brace { color: #C4C9D8; }
.code-str { color: #50FA7B; }
.code-num { color: #FFB86C; }
.code-arrow { color: var(--accent); margin-left: 4px; }
.code-cta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  background: #0D0D1A;
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 40px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: #00D4FF33; }
.feature-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border: 1px solid #00D4FF33;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Providers */
.providers {
  position: relative;
  z-index: 1;
  padding: 0 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.providers-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.providers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.provider-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 6px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg-muted);
  transition: all 0.2s;
}
.provider-tag:hover {
  border-color: #00D4FF44;
  color: var(--accent);
}

/* Closing */
.closing {
  position: relative;
  z-index: 1;
  padding: 80px 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 640px; }
.closing-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 16px;
}
.closing-sub {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 24px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 14px;
  color: var(--fg);
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 48px 20px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: flex-start; }
  .agent-card { max-width: 100%; }
  .features { padding: 20px 20px 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .code-section { padding: 20px 20px 60px; }
  .providers { padding: 0 20px 60px; }
  .closing { padding: 60px 20px 80px; }
  .code-block { font-size: 12px; }
  .nav { padding: 16px 20px; }
}

@media (max-width: 480px) {
  .closing-tagline { font-size: 18px; }
}