:root {
  --bg: #F9F7F4;
  --bg-alt: #F0EDE8;
  --fg: #1A1A2E;
  --fg-muted: #6B7280;
  --accent: #2563EB;
  --accent-light: #DBEAFE;
  --green: #059669;
  --green-light: #D1FAE5;
  --amber: #D97706;
  --amber-light: #FEF3C7;
  --border: #E5E0D8;
  --card: #FFFFFF;
  --radius: 12px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { font-size: 20px; color: var(--accent); }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--fg); }
.nav-tagline { font-size: 13px; color: var(--fg-muted); letter-spacing: 0.02em; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 48px 64px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 6px;
}

/* Automation pipe visual */
.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.automation-pipe {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.pipe-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.pipe-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  flex-shrink: 0;
}
.pipe-icon svg { width: 18px; height: 18px; }
.pipe-icon.green { background: var(--green-light); color: var(--green); }
.pipe-icon.blue { background: var(--accent-light); color: var(--accent); }
.pipe-icon.amber { background: var(--amber-light); color: var(--amber); }
.pipe-title { font-size: 12px; color: var(--fg-muted); font-weight: 500; }
.pipe-value { font-size: 14px; font-weight: 700; font-family: var(--font-head); color: var(--fg); }
.pipe-arrow { color: var(--border); flex-shrink: 0; padding: 0 8px; }
.pipe-arrow svg { width: 16px; height: 16px; }
.pipe-result {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
  background: var(--green-light);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
}
.result-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Stats row */
.stats-row {
  display: flex;
  align-items: center;
  padding: 40px 48px;
  background: var(--fg);
  color: white;
}
.stat { flex: 1; text-align: center; padding: 0 24px; }
.stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.stat-div { width: 1px; height: 48px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* What / services */
.what { padding: 96px 48px; background: var(--bg); }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 16px;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.service-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.service-icon svg { width: 20px; height: 20px; }
.service-content h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.service-content p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.service-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-head);
}

/* How */
.how {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 96px 48px;
  background: var(--bg-alt);
  align-items: start;
}
.how-desc { font-size: 16px; color: var(--fg-muted); margin-top: 16px; max-width: 320px; }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-light);
  background: var(--accent);
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}
.step-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.step-body p { font-size: 15px; color: var(--fg-muted); line-height: 1.6; }

/* Pricing */
.pricing { padding: 96px 48px; background: var(--bg); }
.pricing .section-title { margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; justify-content: center; }
.pricing-grid > .pricing-card { max-width: 480px; width: 100%; margin: 0 auto; }
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}
.pricing-tier {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.pricing-amount {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 8px;
}
.pricing-amount span { font-size: 20px; font-weight: 500; color: var(--fg-muted); }
.pricing-desc { font-size: 14px; color: var(--fg-muted); margin-bottom: 24px; line-height: 1.6; }
.pricing-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-list li {
  font-size: 14px;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}
.pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Contact / closing */
.closing {
  padding: 96px 48px;
  background: var(--fg);
  color: white;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.closing-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: 20px;
  text-align: left;
}
.closing-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin: 0 0 32px;
  line-height: 1.7;
}
.contact-meta { display: flex; flex-direction: column; gap: 12px; }
.meta-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.7); }
.meta-item svg { color: var(--green); flex-shrink: 0; }

/* Contact form */
.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.optional-label { font-weight: 400; color: rgba(255,255,255,0.4); }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  color: white;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
}
.btn-primary:hover { background: #1d4ed8; }
.btn-primary:active { transform: scale(0.98); }
.form-note { font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; }
.closing-note { font-size: 14px; color: rgba(255,255,255,0.45); }

/* Footer */
.footer {
  padding: 48px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; color: var(--fg-muted); margin-bottom: 8px; }
.footer-copy { font-size: 12px; color: var(--fg-muted); }

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px 40px; }
  .stats-row { flex-direction: column; gap: 24px; padding: 32px 24px; }
  .stat-div { display: none; }
  .what { padding: 64px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .how { padding: 64px 24px; }
  .pricing { padding: 64px 24px; }
  .closing { padding: 64px 24px; }
  .footer { padding: 32px 24px; }
}