:root {
  --bg: #0a0a0f;
  --bg-raised: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-dim: #8888a0;
  --fg-muted: #55556a;
  --accent: #4ade80;
  --accent-dim: rgba(74, 222, 128, 0.12);
  --accent-glow: rgba(74, 222, 128, 0.25);
  --border: #22222f;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 5vw 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid { position: relative; z-index: 1; }
.hero-visual { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-dim);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* CTA buttons on landing hero */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-hero-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-hero-secondary {
  display: inline-block;
  color: var(--fg-dim);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.btn-hero-secondary:hover { color: var(--fg); border-color: var(--fg-muted); }

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

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

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  max-width: 140px;
  line-height: 1.4;
}

/* Terminal */
.terminal {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 60px var(--accent-glow);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca41; }

.terminal-title {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  line-height: 2;
}

.terminal-body .prompt { color: var(--accent); }
.terminal-body .dim { color: var(--fg-muted); }
.terminal-body .success { color: var(--accent); }

/* ===== WORKERS ===== */
.workers {
  padding: 8rem 5vw;
}

.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.worker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.worker-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.worker-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.worker-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-raised), var(--accent-dim));
}

.worker-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
}

.worker-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.worker-card p {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ===== HOW ===== */
.how {
  padding: 8rem 5vw;
  background: var(--bg-raised);
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.step { position: relative; }

.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.7;
}

/* ===== CLOSING ===== */
.closing {
  padding: 10rem 5vw;
  text-align: center;
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing p {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.8;
}

.closing-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 3rem auto;
}

.closing-small {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 6vw 3rem;
    min-height: auto;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-label { max-width: none; }

  .worker-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .closing { padding: 6rem 6vw; }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}