:root {
  --bg: #0a1628;
  --bg-surface: #0f2040;
  --bg-card: #132748;
  --fg: #f0f4f8;
  --fg-muted: #8a9ab5;
  --accent: #00d4aa;
  --accent-dim: #00a882;
  --accent-glow: rgba(0, 212, 170, 0.15);
  --text-warn: #f5a623;
  --text-done: #00d4aa;
  --text-in: #60a5fa;
  --text-work: #c4b5fd;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', 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;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 3px; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 170, 0.12);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  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-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.nav-badge {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
}
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: #0a1628;
  background: var(--accent);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: #00bfa0; }

/* HERO */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
}

/* TERMINAL */
.agent-terminal {
  background: #0d1f38;
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 170, 0.05);
}
.terminal-header {
  background: rgba(0, 212, 170, 0.08);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 212, 170, 0.12);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.terminal-dots span:first-child { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:last-child { background: #28c840; }
.terminal-title {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-weight: 500;
}
.terminal-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 10px;
  border-radius: 8px;
}
.log-time { color: var(--fg-muted); font-family: monospace; min-width: 40px; flex-shrink: 0; }
.log-in { background: rgba(96, 165, 250, 0.1); color: #93c5fd; }
.log-work { background: rgba(196, 181, 253, 0.08); color: #c4b5fd; }
.log-warn { background: rgba(245, 166, 35, 0.1); color: #f5a623; }
.log-done { background: rgba(0, 212, 170, 0.08); color: #00d4aa; }
.log-live {
  background: rgba(0, 212, 170, 0.1);
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* SECTION SHARED */
.section-inner { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--fg);
}

/* WORKFLOW */
.workflow { padding: 96px 0; background: var(--bg); }
.workflow .section-headline { margin-bottom: 56px; }
.workflow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 170, 0.1);
  border-radius: 12px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 12px;
  line-height: 1;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.step p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }
.step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  padding-top: 32px;
}

/* FEATURES */
.features { padding: 96px 0; background: var(--bg-surface); }
.features .section-label { text-align: center; }
.features .section-headline { text-align: center; margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 170, 0.08);
  border-radius: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(0, 212, 170, 0.25);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* DIFFERENCE */
.difference { padding: 96px 0; background: var(--bg); }
.diff-header { text-align: center; margin-bottom: 56px; }
.diff-header .section-headline { margin-bottom: 16px; }
.diff-sub { font-size: 18px; color: var(--fg-muted); }
.diff-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.diff-col {
  padding: 32px;
  border-radius: 16px;
}
.diff-col-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.diff-col.old .diff-col-label { color: var(--fg-muted); }
.diff-col.old { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.diff-col.new { background: rgba(0, 212, 170, 0.06); border: 1px solid rgba(0, 212, 170, 0.2); }
.diff-col.new .diff-col-label { color: var(--accent); }
.diff-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.diff-list li {
  font-size: 15px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}
.diff-col.old .diff-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.diff-col.new .diff-list li { color: var(--fg); }
.diff-col.new .diff-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* MANIFESTO */
.manifesto {
  padding: 80px 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-surface) 100%);
}
.manifesto-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
  font-style: normal;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.manifesto-attr {
  font-size: 14px;
  color: var(--fg-muted);
  font-style: italic;
}

/* CLOSING */
.closing { padding: 96px 0; background: var(--bg-surface); }
.closing-inner { max-width: 760px; margin: 0 auto; padding: 0 32px; text-align: center; }
.closing-stat { margin-bottom: 32px; }
.closing-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.closing-label {
  font-size: 18px;
  color: var(--fg-muted);
  display: block;
}
.closing-body {
  font-size: 18px;
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 20px;
}
.closing-vision {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* FOOTER */
.footer {
  padding: 48px 32px;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline { font-size: 14px; color: var(--fg-muted); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .workflow-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); padding: 8px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .diff-comparison { grid-template-columns: 1fr; }
  .hero { padding: 56px 24px 72px; }
  .hero-stats { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .section-inner { padding: 0 20px; }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }
}