:root {
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #dbeafe;
  --bg: #ffffff;
  --bg-alt: #f8faf9;
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: #e5e7eb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  --max: 1100px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Header ---------- */
.nav {
  padding: 20px 0;
  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 .row { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: white;
  display: grid; place-items: center; font-size: 18px;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: white; font-size: 14px; font-weight: 600;
  transition: transform .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 14px;
  font-weight: 600; font-size: 16px;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-lg { padding: 20px 36px; font-size: 18px; }
.btn .tg-icon { width: 20px; height: 20px; }

.btn-ghost {
  background: white; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 60px; background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 70%); }
.hero .row {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero .sub {
  font-size: 20px; color: var(--ink-soft);
  margin: 0 0 32px; max-width: 520px;
}
.hero-meta { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }

/* Phone mockup */
.phone {
  width: 320px; max-width: 100%;
  margin: 0 auto;
  border-radius: 40px;
  background: #0f172a;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(15,23,42,.18), 0 8px 24px rgba(15,23,42,.08);
  position: relative;
}
.phone::before {
  content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #0f172a; border-radius: 14px; z-index: 2;
}
.phone-screen {
  background: #f1f5f9; border-radius: 30px; overflow: hidden;
  aspect-ratio: 9/19;
  display: flex; flex-direction: column;
}
.chat-header {
  padding: 38px 16px 12px; background: white;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.chat-header .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: white;
  display: grid; place-items: center; font-size: 18px;
}
.chat-header .name { font-weight: 600; font-size: 14px; }
.chat-header .status { font-size: 11px; color: var(--ink-soft); }
.chat-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 14px;
  font-size: 13px; line-height: 1.4;
}
.bubble.in { background: white; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--accent); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble.photo {
  padding: 0; overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  height: 110px;
  display: grid; place-items: center; font-size: 42px;
}
.bubble .macros { display: flex; gap: 10px; margin-top: 6px; font-size: 11px; opacity: .85; }
.bubble .macros b { font-weight: 700; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-num {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--accent); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15; letter-spacing: -0.02em;
  margin: 0 0 48px; max-width: 760px;
}

.bg-alt { background: var(--bg-alt); }

/* Problem cards */
.cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card-emoji { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin: 0 0 8px; line-height: 1.3; }
.card p { color: var(--ink-soft); margin: 0; font-size: 15px; }

/* How it works */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  counter-reset: step;
}
.step {
  position: relative; padding: 28px 24px;
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 20px; right: 20px;
  font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: .08em;
}
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 14.5px; }

/* Value props grid */
.value-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.value {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; background: white;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.value .ico {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 22px;
}
.value h3 { margin: 0 0 4px; font-size: 17px; }
.value p { color: var(--ink-soft); margin: 0; font-size: 14.5px; line-height: 1.5; }

/* Who it's for */
.who-text { font-size: 19px; color: var(--ink-soft); max-width: 760px; line-height: 1.6; }
.who-text strong { color: var(--ink); }

/* Pricing */
.pricing {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 820px; margin: 0 auto;
}
.plan {
  background: white; border: 1.5px solid var(--line);
  border-radius: 20px; padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.badge {
  position: absolute; top: -12px; right: 28px;
  background: var(--accent); color: white;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.plan h3 { margin: 0 0 6px; font-size: 22px; }
.plan .price { font-size: 36px; font-weight: 700; margin: 6px 0 4px; letter-spacing: -.02em; }
.plan .price small { font-size: 16px; color: var(--ink-soft); font-weight: 500; }
.plan .price-alt { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; }
.plan ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.plan li {
  display: flex; gap: 10px; font-size: 15px;
}
.plan li::before {
  content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0;
}
.plan .btn { margin-top: auto; justify-content: center; }

/* Final CTA */
.final-cta {
  text-align: center; padding: 100px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: white; border-radius: 28px;
  margin: 40px auto;
  max-width: calc(var(--max) - 48px);
}
.final-cta h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.final-cta p { font-size: 19px; opacity: .9; margin: 0 0 32px; }
.final-cta .btn-primary {
  background: white; color: var(--accent);
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
}
.final-cta .btn-primary:hover { background: #f8faf9; }

/* Footer */
footer {
  padding: 40px 0 60px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft);
}
footer .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
footer a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 48px 0; }
  .hero .row { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .hero .visual { order: -1; }
  .phone { width: 260px; }
  section { padding: 56px 0; }
  .section-title { margin-bottom: 32px; }
  .cards-3, .steps, .value-grid, .pricing { grid-template-columns: 1fr; gap: 14px; }
  .final-cta { padding: 64px 24px; margin: 24px 16px; border-radius: 22px; }
  footer .row { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .btn { padding: 14px 22px; font-size: 15px; }
  .btn-lg { padding: 16px 26px; font-size: 16px; }
  .nav-cta { padding: 8px 12px; font-size: 13px; }
}


/* Cover image and brand logo */
.brand-img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; display: block; }
.hero-cover { width: 100%; max-width: 460px; border-radius: 24px; box-shadow: 0 30px 80px rgba(15,23,42,.18), 0 8px 24px rgba(15,23,42,.08); display: block; margin: 0 auto; }
@media (max-width: 900px) { .hero-cover { max-width: 360px; } }
