:root {
  --bg: #F9F8F5;
  --surface: #FFFFFF;
  --fg: #111111;
  --fg-2: #6B6B6B;
  --accent: #FF4D2E;
  --accent-light: #FFF0ED;
  --border: #E8E6E1;
  --radius: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-2);
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 20px;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-unit {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-top: 2px;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-2);
  margin-top: 5px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* AGENT WINDOW */
.agent-window {
  background: var(--fg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
}

.agent-window-header {
  background: #1E1E1E;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.agent-window-label {
  margin-left: 8px;
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

.agent-timeline {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agent-event {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #AAA;
}

.agent-event.done { opacity: 0.5; }
.agent-event.active { color: #FFF; font-weight: 500; }

.event-time { font-family: 'Sora', sans-serif; font-size: 11px; min-width: 48px; color: #666; }
.agent-event.done .event-time { color: #555; }

.event-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.agent-event.done .event-icon { background: #333; color: #555; }
.agent-event.active .event-icon { background: var(--accent); color: white; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.pulse { animation: pulse 1.8s ease-in-out infinite; }

.event-text { font-family: 'Plus Jakarta Sans', sans-serif; }

/* WHAT IT DOES */
.what-it-does {
  padding: 72px 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.task-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(255, 77, 46, 0.08);
}

.task-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.task-name {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--fg);
}

.task-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 72px 48px;
}

.step-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step-body { padding: 0 16px; }

.step-title {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}

.step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: var(--border);
  margin-top: 24px;
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--border);
}

/* CLOSING */
.closing {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  background: var(--fg);
}

.closing-inner { max-width: 680px; margin: 0 auto; text-align: center; }

.closing-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--bg);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 17px;
  color: #888;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  padding: 24px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-2);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .task-grid { grid-template-columns: 1fr 1fr; }
  .step-track { flex-direction: column; gap: 24px; align-items: center; }
  .step-connector { width: 2px; height: 32px; margin-top: 0; }
  .step-connector::after { display: none; }
  .navbar, .hero, .what-it-does, .how-it-works, .closing, .footer { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 600px) {
  .task-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .navbar { padding-left: 20px; padding-right: 20px; }
}
