:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #4f46e5;
  --brand-2: #0ea5e9;
  --accent: #10b981;
  --brand-grad: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

p { margin: 0 0 1em; }

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

.accent { color: var(--brand); }

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand-grad); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28); }
.btn--primary:hover { box-shadow: 0 14px 32px rgba(79, 70, 229, 0.4); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand__logo { border-radius: 9px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav a:hover { color: var(--brand); }
.header__actions { display: flex; align-items: center; gap: 12px; }

.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { padding: 72px 0 40px; background: radial-gradient(1200px 500px at 80% -10%, rgba(14, 165, 233, 0.1), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(79, 70, 229, 0.08), transparent 55%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero__content h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; margin-top: 14px; }
.lead { font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-soft); max-width: 560px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero__points li { position: relative; padding-left: 22px; }
.hero__points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.chat { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.chat__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.chat__status { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--accent); }
.chat__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #f8fafc; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 14px; font-size: 14.5px; }
.msg--in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: var(--brand-grad); color: #fff; border-bottom-right-radius: 4px; }
.msg--file { align-self: flex-end; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; font-weight: 600; }

.logos { border-bottom: 1px solid var(--line); }
.logos__inner { display: flex; align-items: center; gap: 28px; padding: 22px 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.logos__inner > span { font-weight: 600; }
.logos__inner ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; flex-wrap: wrap; font-weight: 600; color: var(--ink-soft); }

.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.section__sub { color: var(--ink-soft); font-size: 17px; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(79, 70, 229, 0.3); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(79, 70, 229, 0.1); color: var(--brand); font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.card h3 { font-size: 19px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-grad); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.step h3 { font-size: 19px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 15px; }

.security { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.security h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.security p { color: var(--ink-soft); font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(16, 185, 129, 0.15); color: var(--accent); font-size: 12px; display: grid; place-items: center; font-weight: 800; }
.security__card { background: linear-gradient(160deg, #0f172a, #1e293b); color: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow-lg); }
.shield { font-size: 40px; margin-bottom: 18px; }
.facts { margin: 0; display: grid; gap: 16px; }
.facts div { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.facts dt { color: #94a3b8; }
.facts dd { margin: 0; font-weight: 700; }

.pricing { display: flex; justify-content: center; }
.pricing__card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow-lg); text-align: center; }
.pricing__label { display: inline-block; background: rgba(79, 70, 229, 0.1); color: var(--brand); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.pricing__price { font-size: 20px; color: var(--ink-soft); margin-bottom: 22px; }
.pricing__price span { font-size: 44px; font-weight: 800; color: var(--ink); }
.pricing .checks { text-align: left; margin-bottom: 24px; }
.pricing__note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 0 20px; }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; color: var(--brand); transition: transform 0.2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--ink-soft); margin: 0 0 18px; font-size: 15px; }

.cta { padding: 84px 0; background: var(--brand-grad); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, 0.85); font-size: 18px; margin-bottom: 26px; }
.cta .hero__cta { justify-content: center; margin: 0; }
.cta .btn--primary { background: #fff; color: var(--brand); box-shadow: none; }
.cta .btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

.footer { background: #0b1220; color: #cbd5e1; padding: 48px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { max-width: 360px; }
.footer__brand .brand { color: #fff; margin-bottom: 12px; }
.footer__brand p { color: #94a3b8; font-size: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__links a { color: #cbd5e1; transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #64748b; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 460px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .security { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .burger { display: flex; }
  .header__actions .btn--sm { display: none; }
  .grid--3 { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .section { padding: 60px 0; }
  .hero__points { gap: 14px; }
}
