/* ==========================================
   WORKO — CSS Design System
   Dark theme, warm amber accent
   ========================================== */

:root {
  --bg: #0D0D0B;
  --surface: #161613;
  --surface-2: #1E1E1A;
  --accent: #FF7A3D;
  --accent-dim: rgba(255, 122, 61, 0.12);
  --text: #F5F0EB;
  --text-muted: #9A958C;
  --text-dim: #5A554F;
  --border: #2A2A25;
}

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

html { scroll-behavior: smooth; }

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

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ==========================================
   NAV
   ========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(13, 13, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.brand-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; }

/* ==========================================
   HERO
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 122, 61, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.accent-text { color: var(--accent); }

.hero-lede {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.meta-item { display: flex; flex-direction: column; gap: 2px; }

.meta-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.meta-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}

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

/* Automation diagram */
.automation-diagram {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}

.node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.node-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.node-icon-ai {
  background: rgba(255, 122, 61, 0.2);
}

.node-icon-success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.node-info { display: flex; flex-direction: column; gap: 2px; }

.node-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Bricolage Grotesque', sans-serif;
}

.node-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-left: 20px;
}

.flow-arrow svg { overflow: visible; }

.flow-label {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  text-align: center;
  max-width: 130px;
  line-height: 1.4;
}

/* ==========================================
   SERVICES
   ========================================== */
.services {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header { margin-bottom: 64px; }

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

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-title-light {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.service-card {
  background: var(--surface);
  padding: 40px;
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s;
}

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

.service-card-accent {
  background: var(--accent-dim);
  border-color: rgba(255, 122, 61, 0.2);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--surface-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.service-card-accent .service-icon {
  background: rgba(255, 122, 61, 0.15);
}

.service-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================
   PROCESS
   ========================================== */
.process {
  background: var(--surface);
  padding: 100px 48px;
}

.process-header {
  max-width: 1200px;
  margin: 0 auto 72px;
}

.process-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.step {
  padding: 48px;
  border: 1px solid var(--border);
  background: var(--bg);
  margin: -1px 0 0 -1px;
}

.step-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-dim);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.process-stat {
  max-width: 1200px;
  margin: 64px auto 0;
  text-align: center;
}

.stat-bar {
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  margin-bottom: 20px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(255, 122, 61, 0.3) 100%);
  border-radius: 1px;
}

.stat-caption {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ==========================================
   PRICING
   ========================================== */
.pricing {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
}

.pricing-card-primary {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.pricing-tier {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-currency {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
}

.price-amount {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.price-range {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-muted);
}

.price-period {
  font-size: 18px;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.pricing-proof {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.proof-item { display: flex; flex-direction: column; gap: 4px; }

.proof-stat {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.proof-label {
  font-size: 13px;
  color: var(--text-muted);
}

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

/* ==========================================
   MANIFESTO
   ========================================== */
.manifesto {
  background: var(--accent);
  padding: 100px 48px;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-text {
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.6;
  color: var(--bg);
  font-weight: 400;
  margin-bottom: 28px;
}

.manifesto-emphasis {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 48px 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-legal {
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }

  .hero {
    padding: 120px 24px 60px;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-headline { font-size: 36px; }

  .services { padding: 64px 24px; }
  .services-grid { grid-template-columns: 1fr; }

  .process { padding: 64px 24px; }
  .process-steps { grid-template-columns: 1fr; }

  .pricing { padding: 64px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-proof { flex-direction: column; gap: 24px; }
  .proof-divider { width: 48px; height: 1px; }

  .manifesto { padding: 64px 24px; }
  .footer { padding: 48px 24px 32px; }

  .service-card { padding: 28px; }
  .step { padding: 32px; }
  .pricing-card { padding: 32px; }
}