:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --ink: #0b0b0c;
  --ink-2: #27272a;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: #ebebed;
  --line-2: #e2e2e5;
  --accent: #ec4899;
  --accent-strong: #db2777;
  --accent-soft: #fdf2f8;
  --max: 1080px;
  --shadow-sm: 0 1px 2px rgba(16, 16, 18, 0.04), 0 1px 3px rgba(16, 16, 18, 0.06);
  --shadow: 0 10px 36px -16px rgba(16, 16, 18, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 500; font-size: 15px; line-height: 1; letter-spacing: -0.01em;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn--ghost { color: var(--ink-2); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: #d4d4d8; background: var(--bg-soft); }
.btn--lg { padding: 14px 24px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand__mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.brand__muted { color: var(--muted-2); }
.brand__dot { color: var(--accent); }
.nav__links { display: flex; gap: 30px; font-size: 14.5px; font-weight: 450; color: var(--muted); }
.nav__links a { transition: color .2s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; }
.nav__mobile { display: none; flex-direction: column; gap: 2px; padding: 10px 24px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.nav__mobile a { padding: 12px 4px; font-weight: 450; color: var(--ink-2); border-radius: 8px; }
.nav__mobile a.btn { margin-top: 8px; }
.nav__mobile.open { display: flex; }

/* lang */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; color: var(--ink-2); transition: border-color .2s, background .2s; }
.lang__btn:hover { background: var(--bg-soft); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 152px; display: none; }
.lang__menu.open { display: block; }
.lang__menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: none; background: none; border-radius: 8px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.lang__menu button:hover { background: var(--bg-soft); }

/* ---------- hero ---------- */
.hero { padding: 96px 0 80px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.pill { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; margin-bottom: 26px; }
.hero__title { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.035em; font-weight: 680; color: var(--ink); }
.hero__title .hl { color: var(--accent-strong); }
.hero__sub { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); max-width: 520px; font-weight: 420; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero__trust { margin-top: 20px; font-size: 13.5px; color: var(--muted-2); }

/* hero visual — clean light card */
.hero__visual { display: flex; justify-content: center; }
.callcard { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.callcard__top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.callcard__time { margin-left: auto; font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d4d4d8; }
.dot--live { background: #22c55e; }
.bubble { font-size: 14px; line-height: 1.5; padding: 11px 13px; border-radius: 13px; margin-bottom: 9px; max-width: 90%; }
.bubble b { display: block; font-size: 11px; color: var(--muted-2); margin-bottom: 2px; font-weight: 600; }
.bubble--ai { background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.bubble--lead { background: var(--ink); color: #fff; margin-left: auto; }
.callcard__wa { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: #16a34a; margin-top: 4px; }

/* ---------- metrics ---------- */
.metrics { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 24px; text-align: center; }
.metrics__grid strong { display: block; font-size: 30px; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.metrics__grid span { font-size: 13.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 112px) 0; }
.section--alt { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--accent-strong); margin-bottom: 14px; }
.section__title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 660; color: var(--ink); }
.section__lead { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--muted); font-weight: 420; }

.grid { display: grid; gap: 20px; margin-top: 56px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 7px; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step { padding: 4px; }
.step__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- live demo (clean) ---------- */
.demoband { padding: clamp(64px, 8vw, 96px) 0; }
.demoband__inner { max-width: 760px; margin: 0 auto; text-align: center; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-soft); padding: clamp(36px, 6vw, 56px); }
.demoband__eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent-strong); margin-bottom: 14px; }
.demoband__title { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -.03em; font-weight: 660; }
.demoband__sub { margin: 16px auto 0; max-width: 520px; font-size: 17px; color: var(--muted); line-height: 1.6; }
.demoband__perks { list-style: none; margin: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.demoband__perks li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 14px; }
.demoband__perks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 11, 12, .45); backdrop-filter: blur(3px); animation: fade .2s var(--ease); }
.modal__card { position: relative; width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 70px -20px rgba(0,0,0,.4); padding: 30px 26px 26px; animation: pop .24s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 14px; background: none; border: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--muted-2); cursor: pointer; transition: background .2s, color .2s; }
.modal__close:hover { background: var(--bg-soft); color: var(--ink); }
.modal__head { text-align: center; margin-bottom: 22px; }
.modal__avatar { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 13px; background: var(--ink); color: #fff; font-size: 22px; font-weight: 700; }
.modal__head h3 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.modal__head p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.field { display: block; margin-bottom: 13px; }
.field span { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.field input { width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 11px; font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.demo__note { text-align: center; font-size: 13px; color: var(--muted-2); margin-top: 12px; }
.demo__result { margin-top: 14px; padding: 13px 16px; border-radius: 11px; font-size: 14.5px; font-weight: 450; text-align: center; }
.demo__result--ok { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.demo__result--err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- pricing ---------- */
.pricing { align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.plan:hover { box-shadow: var(--shadow); }
.plan--featured { border-color: var(--ink); position: relative; }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; padding: 5px 13px; border-radius: 999px; }
.plan h3 { font-size: 22px; font-weight: 650; letter-spacing: -.01em; }
.plan h3 span { font-size: 15px; color: var(--muted); font-weight: 400; }
.plan__price { font-size: 32px; font-weight: 680; letter-spacing: -.02em; margin: 14px 0 2px; }
.plan__price small { font-size: 15px; color: var(--muted); font-weight: 400; }
.plan__per { font-size: 14px; color: var(--accent-strong); font-weight: 500; margin-bottom: 22px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan li { font-size: 14.5px; color: var(--ink-2); padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat; }

/* faq */
.faq { margin-top: 48px; display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; font-weight: 550; font-size: 16.5px; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z'/%3E%3C/svg%3E") center/18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); padding: 0 0 22px; font-size: 15px; line-height: 1.65; max-width: 90%; }

/* cta */
.cta { padding: clamp(80px, 10vw, 120px) 0; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 660; letter-spacing: -.03em; }
.cta p { color: var(--muted); margin: 16px 0 32px; font-size: 18px; }

/* footer */
.footer { background: #fff; color: var(--muted); padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.brand--light { color: var(--ink); }
.footer__tag { margin-top: 12px; font-size: 14px; max-width: 280px; color: var(--muted); }
.footer__links { display: flex; gap: 28px; font-size: 14.5px; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 13px; color: var(--muted-2); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__actions .btn--ghost, .nav__actions .btn--accent, .nav__actions .btn--primary { display: none; }
  .nav__burger { display: block; }
  .hero { padding: 56px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: -1; }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}
@media (max-width: 520px) {
  .metrics__grid strong { font-size: 26px; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
