:root {
  --blue: #007bff;
  --blue-dark: #0056b3;
  --blue-light: #e8f2ff;
  --ink: #1e293b;
  --muted: #64748b;
  --bg: #f5f7f9;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn--lg {
  padding: 14px 26px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--ink);
}

.btn--ghost:hover {
  color: var(--blue);
}

.btn--outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--light {
  background: #fff;
  color: var(--blue-dark);
}

.btn--light:hover {
  background: var(--blue-light);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #4d9eff);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.nav__links {
  display: flex;
  gap: 26px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}

.nav__links a:hover {
  color: var(--blue);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, var(--blue-light), transparent 60%), var(--white);
  padding: 72px 0 64px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 34em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}

.hero__points li {
  position: relative;
  padding-left: 22px;
}

.hero__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 3 3 5-6' fill='none' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Mock panel ---------- */
.hero__panel {
  display: flex;
  justify-content: center;
}

.mock {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.mock__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
}

.mock__title {
  font-weight: 700;
  font-size: 14px;
}

.mock__pill {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 3px 8px;
  border-radius: 999px;
}

.mock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.mock__row--active {
  background: var(--blue-light);
}

.mock__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  flex: 0 0 auto;
}

.mock__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.mock__lines i {
  height: 7px;
  border-radius: 4px;
  background: #e9eef4;
}

.mock__lines i:first-child {
  width: 70%;
  background: #dde6ef;
}

.mock__tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 999px;
}

.mock__tag--tg {
  color: #229ed9;
  border-color: #bfe6f5;
  background: #eef9fe;
}

.mock__bubble {
  margin: 14px 0 0;
  background: #f1f5f9;
  border-radius: 12px 12px 12px 4px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--ink);
  max-width: 85%;
}

.mock__bubble--out {
  margin-left: auto;
  background: var(--blue);
  color: #fff;
  border-radius: 12px 12px 4px 12px;
}

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 24px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Sections ---------- */
.section {
  padding: 84px 0;
}

.section--muted {
  background: var(--bg);
}

.section__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  max-width: 22em;
}

.section__lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 46em;
  margin-bottom: 40px;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: #cfe2ff;
  transform: translateY(-2px);
}

.card h3 {
  font-size: 18px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 16px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 17px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- Plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.plan--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.plan__desc {
  color: var(--muted);
  font-size: 14px;
  min-height: 42px;
  margin-bottom: 14px;
}

.plan__price {
  margin: 0 0 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan__price b {
  font-size: 28px;
  font-weight: 800;
}

.plan__price span {
  color: var(--muted);
  font-size: 14px;
}

.plan__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}

.plan__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 14.5px;
  color: var(--ink);
}

.plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 3 3 5-6' fill='none' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  float: right;
  color: var(--blue);
  font-weight: 700;
}

.faq__item[open] summary::after {
  content: '–';
}

.faq__item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  padding: 64px 0;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 8px;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42em;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 24px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand .brand__name {
  color: #fff;
}

.footer__brand p {
  margin-top: 12px;
  color: #94a3b8;
  font-size: 14px;
  max-width: 26em;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__cols h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer__cols a {
  display: block;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer__cols a:hover {
  color: #fff;
}

.footer__bottom {
  padding-top: 20px;
  color: #64748b;
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero__panel {
    order: 2;
  }
  .cards,
  .plans,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .faq {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .nav__links {
    display: none;
  }
  .cards,
  .plans,
  .steps,
  .footer__cols {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding: 48px 0 44px;
  }
}
