:root {
  --bg: #f4f2ec;
  --bg-dark: #141311;
  --surface: #ffffff;
  --ink: #141413;
  --muted: #5e5d59;
  --line: rgba(20, 20, 19, 0.10);
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #ea582b;
  --accent-hover: #d3471c;
  --green: #16a34a;
  --serif: "Crimson Text", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(234, 88, 43, 0.24);
}
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--ink); }

.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}
nav.pill-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1060px;
  padding: 10px 12px 10px 24px;
  border-radius: 999px;
  background: rgba(244, 242, 236, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  transition: max-width 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s ease;
}
.nav-wrap.scrolled nav.pill-nav {
  max-width: 820px;
  box-shadow: 0 12px 32px rgba(20, 20, 19, 0.08);
  background: rgba(255, 255, 255, 0.92);
}
.brand-main {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }

.hero {
  position: relative;
  padding: 144px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 880px;
  margin: 0 0 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 650px;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head {
  margin-bottom: 36px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.06;
  margin: 0 0 12px;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head p { color: var(--muted); max-width: 580px; margin: 0; }

.demo-section { padding: 88px 0; }
.demo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.os-card {
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(20, 20, 19, 0.08);
}
.os-card-top {
  background: var(--bg-dark);
  color: #f4f2ec;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.os-live-dot {
  color: #4ade80;
}
.os-card-body { padding: 22px; }
.os-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.os-tab {
  font-family: var(--mono);
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  cursor: pointer;
}
.os-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.os-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.os-title { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.os-meta { font-size: 13px; color: var(--muted); }
.os-price {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.os-items {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.os-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 13px;
}
.pill-status {
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  white-space: nowrap;
}
.pill-wait { background: rgba(234, 88, 43, 0.12); color: var(--accent); }
.pill-work { background: rgba(20, 20, 19, 0.08); color: var(--ink); }
.pill-ok { background: rgba(22, 163, 74, 0.14); color: var(--green); }

.os-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wa-preview {
  background: #ece5dd;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.wa-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.wa-bubble {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}
.wa-bubble.client {
  background: #dcf8c6;
  margin-left: 24px;
  margin-bottom: 0;
}
.wa-stamp {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.flow-dark {
  background: var(--bg-dark);
  color: #f4f2ec;
  padding: 88px 0;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.flow-step {
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
}
.flow-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 14px;
}
.flow-step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 8px;
}
.flow-step p { font-size: 14px; color: rgba(244, 242, 236, 0.72); margin: 0; }

.pricing-section { padding: 84px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.price-card.featured { border-color: var(--ink); }
.price-val {
  font-family: var(--serif);
  font-size: 42px;
  margin: 12px 0 4px;
  line-height: 1;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  font-size: 14px;
  color: var(--muted);
}
.price-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(20, 20, 19, 0.06);
}

.faq-section {
  padding: 20px 28px 88px;
  max-width: 780px;
  margin: 0 auto;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 14px;
  color: var(--muted);
}
.faq-item.open .faq-ans {
  max-height: 220px;
  padding-bottom: 18px;
}

.cta-box-wrap { padding: 10px 0 88px; }
.cta-box {
  border: 1px solid var(--ink);
  background: var(--surface);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-box h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin: 0 0 10px;
}
.cta-box h2 em { font-style: italic; color: var(--accent); }
.cta-box p { color: var(--muted); max-width: 520px; margin: 0; }

footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  font-size: 13px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; color: var(--ink); font-weight: 500; }

.float-whatsapp {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
  z-index: 95;
}
.float-whatsapp svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .demo-grid, .pricing-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .flow-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 64px; }
  .cta-box { padding: 30px 22px; }
  .os-summary { flex-direction: column; }
}
