/* vtekst — landing styles. Mobile-first, self-contained. */

:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --tg: #229ED9;
  --fg: #0f172a;
  --fg-dim: #475569;
  --fg-mute: #94a3b8;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --success: #16a34a;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  --max-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--fg); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--fg-dim); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ───── header ───── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.nav__logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--fg); font-size: 1.1rem;
  text-decoration: none;
}
.nav__logo:hover { text-decoration: none; }
.nav__logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #6366f1);
  display: grid; place-items: center; color: #fff;
}
.nav__links { display: none; gap: 24px; }
.nav__links a { color: var(--fg-dim); font-weight: 500; }
.nav__links a:hover { color: var(--fg); text-decoration: none; }
@media (min-width: 760px) { .nav__links { display: flex; } }

/* ───── buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); box-shadow: var(--shadow); }
.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { background: #1b8ab6; box-shadow: var(--shadow); }
.btn--ghost { background: var(--bg-soft); color: var(--fg); border-color: var(--border); }
.btn--ghost:hover { background: #fff; border-color: var(--brand); }
.btn--lg  { padding: 16px 28px; font-size: 1.05rem; }
.btn--sm  { padding: 8px 14px; font-size: 0.875rem; }
.btn--block { display: flex; width: 100%; }

/* ───── hero ───── */
.hero {
  padding: 72px 0 48px;
  background: radial-gradient(ellipse at top, var(--brand-soft) 0%, transparent 60%);
}
.hero__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  background: #fff; border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 500; color: var(--fg-dim);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hero__badge::before { content: '🟢'; }
.hero h1 { margin-bottom: 20px; }
.hero__lead {
  font-size: 1.2rem; color: var(--fg-dim); max-width: 640px; margin: 0 auto 32px;
}
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__small {
  margin-top: 16px; font-size: 0.85rem; color: var(--fg-mute);
}

/* ───── demo card ───── */
.demo {
  max-width: 720px; margin: 56px auto 0;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  overflow: hidden;
}
.demo__head {
  padding: 12px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-soft); font-size: 0.85rem; color: var(--fg-dim);
}
.demo__dots { display: flex; gap: 6px; }
.demo__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.demo__body { padding: 24px; }
.demo__msg {
  display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start;
}
.demo__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #ddd6fe, #bfdbfe);
  flex-shrink: 0;
  display: grid; place-items: center; font-size: 1rem;
  color: var(--brand); font-weight: 600;
}
.demo__avatar--bot { background: var(--brand); color: #fff; }
.demo__avatar--bot .icon { width: 18px; height: 18px; }
.demo__bubble {
  background: var(--bg-soft); border-radius: 12px; padding: 10px 14px;
  font-size: 0.9rem; max-width: 440px; text-align: left;
}
.demo__bubble--voice {
  display: flex; align-items: center; gap: 10px; color: var(--fg-dim);
  padding: 8px 14px;
}
.demo__play {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; border: 0;
  display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
}
.demo__wave {
  display: flex; align-items: center; gap: 2px; height: 22px;
  flex: 1; min-width: 0;
}
.demo__wave span {
  display: block; width: 2px; background: var(--brand);
  opacity: 0.55; border-radius: 2px;
}
.demo__wave span:nth-child(1)  { height: 30%; }
.demo__wave span:nth-child(2)  { height: 55%; }
.demo__wave span:nth-child(3)  { height: 80%; }
.demo__wave span:nth-child(4)  { height: 45%; }
.demo__wave span:nth-child(5)  { height: 70%; }
.demo__wave span:nth-child(6)  { height: 90%; }
.demo__wave span:nth-child(7)  { height: 40%; }
.demo__wave span:nth-child(8)  { height: 65%; }
.demo__wave span:nth-child(9)  { height: 35%; }
.demo__wave span:nth-child(10) { height: 75%; }
.demo__wave span:nth-child(11) { height: 50%; }
.demo__wave span:nth-child(12) { height: 85%; }
.demo__wave span:nth-child(13) { height: 60%; }
.demo__wave span:nth-child(14) { height: 30%; opacity: 0.3; }
.demo__wave span:nth-child(15) { height: 55%; opacity: 0.3; }
.demo__wave span:nth-child(16) { height: 45%; opacity: 0.3; }
.demo__wave span:nth-child(17) { height: 70%; opacity: 0.3; }
.demo__wave span:nth-child(18) { height: 35%; opacity: 0.3; }
.demo__wave span:nth-child(19) { height: 60%; opacity: 0.3; }
.demo__wave span:nth-child(20) { height: 40%; opacity: 0.3; }
.demo__wave span:nth-child(21) { height: 75%; opacity: 0.3; }
.demo__wave span:nth-child(22) { height: 50%; opacity: 0.3; }
.demo__wave span:nth-child(23) { height: 30%; opacity: 0.3; }
.demo__wave span:nth-child(24) { height: 55%; opacity: 0.3; }
.demo__wave span:nth-child(25) { height: 40%; opacity: 0.3; }
.demo__wave span:nth-child(26) { height: 25%; opacity: 0.3; }
.demo__time { font-size: 0.82rem; color: var(--fg-mute); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.demo__bubble--bot {
  background: var(--brand-soft); border: 1px solid #dbeafe;
  flex: 1; max-width: none;
}
.demo__bubble-head {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 8px; color: var(--brand);
}
.demo__bubble-head strong { color: var(--brand); font-size: 0.92rem; }
.demo__bubble-head .icon { width: 14px; height: 14px; }
.demo__bubble-meta { color: var(--fg-mute); font-size: 0.82rem; font-weight: 400; margin-left: auto; }
.demo__bubble-kind { color: var(--fg-mute); font-size: 0.82rem; font-weight: 500; }
.demo__tldr {
  margin: 0 0 10px; color: var(--fg); font-size: 0.9rem; line-height: 1.5;
}
.demo__bullets {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 6px;
}
.demo__bullets li {
  margin: 0; padding: 7px 10px;
  background: #fff; border-radius: 8px;
  color: var(--fg); font-size: 0.87rem; line-height: 1.4;
}
.demo__bullet-tag {
  display: inline-block; margin-right: 6px;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--brand);
}

/* ───── generic section ───── */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head h2 { margin-bottom: 12px; }
.section__head p { font-size: 1.1rem; color: var(--fg-dim); margin: 0; }

/* ───── features grid ───── */
.features { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  padding: 28px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 16px;
  font-size: 1.4rem;
}
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; }
.feature p  { margin: 0; font-size: 0.95rem; }

/* ───── steps ───── */
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; max-width: 920px; margin: 0 auto; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: 28px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  position: relative;
}
.step__num {
  position: absolute; top: -14px; left: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.step h3 { margin: 8px 0; }
.step p  { margin: 0; font-size: 0.95rem; }

/* ───── pricing ───── */
.pricing {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing { grid-template-columns: repeat(4, 1fr); } }
.tier {
  position: relative;
  padding: 28px 22px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.tier:hover { border-color: var(--brand); transform: translateY(-2px); }
.tier--highlight {
  border: 2px solid var(--brand);
  background: linear-gradient(180deg, #fff 0%, var(--brand-soft) 100%);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.18);
}

.tier__chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 14px; align-self: flex-start;
}
.tier__chip .icon { width: 12px; height: 12px; }
.tier__chip--sub {
  background: var(--brand-soft); color: var(--brand);
}
.tier__chip--once {
  background: var(--bg-soft); color: var(--fg-mute);
}

.tier__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: 0.72rem; font-weight: 600; padding: 5px 12px;
  border-radius: 100px; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.tier__badge .icon { width: 12px; height: 12px; }

.tier h3 { margin-bottom: 4px; font-size: 1.35rem; }
.tier__subtitle { font-size: 0.85rem; color: var(--fg-mute); margin-bottom: 18px; }
.tier__price {
  font-size: 2rem; font-weight: 700; color: var(--fg);
  margin-bottom: 6px; line-height: 1;
}
.tier__price small { font-size: 0.85rem; font-weight: 500; color: var(--fg-dim); }
.tier__per {
  font-size: 0.88rem; color: var(--fg-mute); margin-bottom: 22px;
  padding: 8px 12px; background: var(--bg-soft); border-radius: 8px;
  display: inline-block;
}
.tier__per strong {
  color: var(--brand); font-weight: 700; font-size: 1rem;
}
.tier--highlight .tier__per {
  background: #fff; border: 1px solid var(--brand);
}

.tier__features { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; }
.tier__features li {
  padding: 6px 0; font-size: 0.9rem; color: var(--fg-dim);
  display: flex; gap: 8px; align-items: flex-start;
  line-height: 1.45;
}
.tier__features li .icon {
  width: 14px; height: 14px; margin-top: 4px;
  color: var(--brand); flex-shrink: 0;
}
.tier__features li span { flex: 1; }

/* ───── FAQ ───── */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item summary {
  padding: 20px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-weight: 600;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--fg-mute);
  transition: transform 0.2s ease; flex-shrink: 0;
}
.faq__item[open] summary::after { content: '−'; color: var(--brand); }
.faq__item p { margin: 0 0 20px; color: var(--fg-dim); }

/* ───── CTA ───── */
.cta {
  background: linear-gradient(135deg, #1e40af, #6366f1);
  color: #fff; padding: 64px 0; text-align: center;
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p  { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; font-size: 1.1rem; }
.cta .btn--tg { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }

/* ───── footer ───── */
.site-footer {
  padding: 40px 0 32px;
  background: var(--bg-dark); color: #cbd5e1;
  font-size: 0.9rem;
}
.footer__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.footer__col a { color: #cbd5e1; display: block; padding: 4px 0; }
.footer__col a:hover { color: #fff; text-decoration: none; }
.footer__brand p { color: #94a3b8; margin: 8px 0 0; max-width: 320px; }
.footer__bottom {
  border-top: 1px solid #1e293b; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: #94a3b8; font-size: 0.85rem;
}

/* ───── misc ───── */
.text-center { text-align: center; }
.muted { color: var(--fg-mute); font-size: 0.85rem; }
