:root {
  --bg: #080B12;
  --surface: #0F1520;
  --surface-2: #161D2E;
  --border: #1E2A3D;
  --fg: #E8EEF6;
  --fg-muted: #7A90AB;
  --accent: #00E676;
  --accent-dim: rgba(0, 230, 118, 0.12);
  --green-glow: rgba(0, 230, 118, 0.35);
  --danger: #FF4D4D;
  --yellow: #F5A623;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, 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-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* HERO */
.hero {
  padding: 80px 48px 64px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 230, 118, 0.25);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 28px;
  font-family: var(--font-display);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-badge 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
}

.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 460px;
}

/* TERMINAL */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.06);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA41; }

.terminal-label {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  margin-left: 6px;
}

.terminal-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.terminal-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1.4;
}

.ts {
  color: var(--fg-muted);
  flex-shrink: 0;
  font-size: 10px;
  opacity: 0.7;
}

.agent-name {
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 600;
  min-width: 70px;
}

.event {
  color: var(--fg-muted);
  flex: 1;
}

.event strong {
  color: var(--fg);
  font-weight: 500;
}

.ok {
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--fg-muted);
  font-family: var(--font-display);
}

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

.pulse {
  animation: pulse-badge 2s infinite;
}

/* STATUS BAR */
.status-bar {
  padding: 0 48px 56px;
  max-width: 1200px;
  margin: 0 auto;
}

.status-grid {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.status-item {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
}

.status-value {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.status-label {
  display: block;
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.status-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* CAPABILITIES */
.capabilities {
  padding: 64px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 48px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.cap-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 28px 28px 24px;
  transition: border-color 0.2s;
}

.cap-card:hover {
  border-color: rgba(0, 230, 118, 0.3);
}

.cap-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

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

/* LOOP SECTION */
.loop-section {
  padding: 80px 48px;
}

.loop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.loop-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.loop-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 230, 118, 0.2);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.step-body h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ORBIT VISUAL */
.loop-visual {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0, 230, 118, 0.15);
  transform: translate(-50%, -50%);
}

.ring-1 { width: 200px; height: 200px; }
.ring-2 { width: 260px; height: 260px; border-color: rgba(0, 230, 118, 0.08); }
.ring-3 { width: 320px; height: 320px; border-color: rgba(0, 230, 118, 0.04); }

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--surface);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.15);
}

.orbit-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--fg);
}

.orbit-node {
  position: absolute;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.n1 { top: 8px; left: 50%; transform: translateX(-50%); }
.n2 { top: 50%; right: 2px; transform: translateY(-50%); }
.n3 { bottom: 8px; left: 50%; transform: translateX(-50%); }
.n4 { top: 50%; left: 2px; transform: translateY(-50%); }

/* CLOSING */
.closing {
  padding: 80px 48px 72px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* FOOTER */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .navbar { padding: 16px 24px; }
  .hero { padding: 56px 24px 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-terminal { display: none; }
  .status-bar { padding: 0 24px 40px; }
  .status-grid { flex-wrap: wrap; }
  .status-item { flex: 1 1 40%; }
  .status-divider { display: none; }
  .capabilities { padding: 48px 24px; }
  .cap-grid { grid-template-columns: 1fr; }
  .loop-section { padding: 56px 24px; }
  .loop-grid { grid-template-columns: 1fr; gap: 48px; }
  .loop-visual { display: none; }
  .closing { padding: 56px 24px 48px; }
  .footer { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 30px; }
  .nav-tagline { display: none; }
  .status-item { padding: 16px; }
  .status-value { font-size: 20px; }
}