:root {
  --green: #16a34a;
  --green-d: #15803d;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg-alt: #f8fafc;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code { background: #eef2f7; padding: 1px 5px; border-radius: 4px; font-size: 0.9em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 600;
  padding: 9px 16px; border-radius: 10px; border: 1px solid var(--green); transition: background 0.15s;
}
.btn:hover { background: var(--green-d); }
.btn.ghost { background: transparent; color: var(--green-d); }
.btn.ghost:hover { background: #f0fdf4; }
.btn.lg { padding: 13px 22px; font-size: 1.05rem; }
.btn.light { background: #fff; color: var(--green-d); border-color: #fff; }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; font-size: 1.1rem; }
.logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--green); color: #fff; }
.links { display: flex; gap: 20px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; }
.links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

.hero { background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%); padding: 72px 0 56px; }
.hero-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--green-d); font-weight: 700; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 24px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

.chat { background: #efeae2; border-radius: 20px; padding: 16px; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12); border: 1px solid #e5ddd3; }
.chat-head { font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }
.bubble { max-width: 85%; padding: 8px 12px; border-radius: 12px; margin: 8px 0; font-size: 0.95rem; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06); }
.bubble.in { background: #fff; border-top-left-radius: 4px; }
.bubble.out { background: #d9fdd3; margin-left: auto; border-top-right-radius: 4px; }
.meta { display: block; text-align: right; font-size: 0.72rem; color: #64748b; margin-top: 2px; }
.lead-tag { margin-top: 10px; display: inline-block; background: #ffedd5; color: #9a3412; font-weight: 600; font-size: 0.82rem; padding: 4px 10px; border-radius: 999px; }

.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 8px; letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 680px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
#crm .center { margin-top: 28px; }

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #dcfce7; color: var(--green-d); font-weight: 800; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 0.95rem; }

.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--green); position: relative; }
.plan.best::after { content: 'Paling populer'; position: absolute; top: -12px; left: 16px; background: var(--green); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 1.1rem; }
.price { font-size: 1.6rem; font-weight: 800; margin: 8px 0 2px; }
.price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 12px 0 18px; font-size: 0.92rem; color: var(--muted); flex: 1; }
.plan li { padding: 3px 0; }
.plan li.no { opacity: 0.55; }
.plan .btn { text-align: center; }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 820px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; }

.cta-band { background: var(--green); color: #fff; padding: 56px 0; }
.cta-band h2 { margin-bottom: 18px; }
.footer { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer a { text-decoration: none; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
}
@media (max-width: 560px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .nav-cta .ghost { display: none; }
  .hero { padding-top: 44px; }
}
