/* ==============================
   WorkBot Landing Page
   ============================== */

:root {
  --bg: #0f0e17;
  --bg-surface: #1a1a2e;
  --bg-surface-2: #2a2a4a;
  --text: #fffffe;
  --text-muted: #a7a9be;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --green: #10b981;
  --green-dim: rgba(16, 185, 129, 0.12);
  --border: rgba(255,255,255,0.07);
}

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

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

/* ---- NAVBAR ---- */
.navbar {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---- HERO ---- */
.hero {
  padding: 80px 40px 60px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-overline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
}

/* ---- BOT VISUAL ---- */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.bot-frame {
  position: relative;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bot-head {
  width: 140px;
  height: 160px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px 16px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 0 0 1px rgba(245,158,11,0.1), 0 20px 60px rgba(0,0,0,0.5);
}
.bot-screen {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.screen-line {
  height: 10px;
  background: var(--bg-surface-2);
  border-radius: 4px;
}
.screen-line.short { width: 60%; }
.screen-check {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--bg-surface-2);
  font-size: 12px;
  color: var(--text-muted);
}
.screen-check.green { background: var(--green-dim); color: var(--green); }
.bot-body {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: -1px;
  z-index: 1;
}
.bot-gear { margin-bottom: 4px; }
.bot-arm { margin-left: -30px; }
.bot-shadow {
  width: 120px;
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.15) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: 8px;
}
.status-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---- STATS ---- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 40px;
  background: var(--bg-surface);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-value {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- SECTION SHARED ---- */
.section-overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 60px;
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 40px;
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s;
}
.feature-card.featured {
  border-color: rgba(245,158,11,0.4);
  background: linear-gradient(135deg, var(--bg-surface), rgba(245,158,11,0.05));
}
.feature-card:hover { border-color: rgba(245,158,11,0.3); }
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.feature-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-detail span {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-surface-2);
  border-radius: 4px;
  color: var(--text-muted);
}

/* ---- PROCESS ---- */
.process {
  padding: 100px 40px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-inner {
  max-width: 800px;
  margin: 0 auto;
}
.step-list {
  display: flex;
  flex-direction: column;
}
.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.step-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-bottom: 32px;
}
.step-connector {
  width: 1px;
  height: 32px;
  background: var(--border);
  margin-left: 19px;
  margin-bottom: 0;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 40px;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 32px;
}
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.closing-pills span {
  font-size: 13px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
}

/* ---- FOOTER ---- */
.footer {
  padding: 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.footer-sub {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-legal {
  font-size: 12px;
  color: rgba(167,169,190,0.5);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar { padding: 16px 20px; }
  .nav-tagline { display: none; }
  .hero { padding: 60px 20px 40px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { order: -1; }
  .stats { padding: 28px 20px; }
  .stats-inner {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .stat-divider { display: none; }
  .features { padding: 60px 20px; }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process { padding: 60px 20px; }
  .closing { padding: 60px 20px; }
}