:root {
  --primary: #1769f5;
  --primary-dark: #0b3fbd;
  --primary-soft: #eaf2ff;
  --text: #10213a;
  --muted: #68778b;
  --surface: #ffffff;
  --background: #f4f7fc;
  --border: #dce5f1;
  --shadow: 0 18px 45px rgba(19, 61, 122, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}
body.modal-open { overflow: hidden; }
button, a { font: inherit; }
a { text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.hero {
  padding: 70px 0 76px;
  background:
    radial-gradient(circle at 80% 20%, rgba(66, 138, 255, 0.24), transparent 32%),
    linear-gradient(135deg, #f7faff 0%, #e9f1ff 100%);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 72px; align-items: center; }
.hero__badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
}
h1 { margin: 20px 0 20px; font-size: clamp(42px, 6vw, 68px); line-height: 1.06; letter-spacing: -0.04em; }
.hero__text { margin: 0; max-width: 660px; color: var(--muted); font-size: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: linear-gradient(135deg, var(--primary), #3c84ff); box-shadow: 0 14px 28px rgba(23, 105, 245, 0.25); }
.button--secondary { color: var(--primary-dark); background: rgba(255,255,255,.8); border-color: rgba(23,105,245,.2); }
.button--large { min-width: 170px; }
.hero__visual { display: flex; justify-content: center; }
.hero__banner {
  display: block;
  width: min(100%, 390px);
  height: auto;
  object-fit: contain;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: #fff;
}

.section { padding: 88px 0; }
.section--light { background: #fff; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading > span { color: var(--primary); font-weight: 800; }
h2 { margin: 10px 0 14px; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; letter-spacing: -0.03em; }
.section-heading p, .split-block p, .cta-card p { color: var(--muted); font-size: 18px; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #f9fbff);
  box-shadow: 0 10px 28px rgba(23, 66, 124, 0.06);
}
.feature-card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}
.feature-card h3 { margin: 18px 0 10px; font-size: 21px; line-height: 1.25; }
.feature-card p { margin: 0; color: var(--muted); }

.section--accent { background: linear-gradient(135deg, #0d4fd2, #3983ff); color: #fff; }
.section--accent .eyebrow { background: rgba(255,255,255,.15); color: #fff; }
.section--accent p { color: rgba(255,255,255,.82); }
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { padding: 24px; border-radius: 20px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); }
.stat-card strong { display: block; font-size: 34px; }
.stat-card span { color: rgba(255,255,255,.8); }

.section--cta { padding: 70px 0; }
.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.footer { padding: 26px 0; background: #0c1a2e; color: rgba(255,255,255,.72); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer__link { padding: 0; border: 0; color: #fff; background: none; cursor: pointer; }

.modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 40, .72); backdrop-filter: blur(5px); }
.modal__dialog {
  position: absolute;
  inset: 4vh max(18px, calc((100vw - 900px) / 2));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.modal__header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  min-height: 76px;
  padding: 16px 18px 16px 28px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.modal__header h2 { margin: 0; font-size: 26px; }
.modal__close {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--primary);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.modal__content { overflow-y: auto; padding: 26px 30px 40px; color: #34445b; }
.modal__content h3 { margin: 28px 0 8px; color: var(--text); font-size: 21px; }
.modal__content p { margin: 0 0 14px; }
.modal__content ul { margin: 8px 0 18px; padding-left: 22px; }

@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero__inner, .split-block { grid-template-columns: 1fr; gap: 42px; }
  .hero__content { text-align: center; }
  .hero__text { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding: 34px 0 56px; }
  h1 { font-size: 40px; }
  .hero__text { font-size: 17px; }
  .hero__actions { flex-direction: column; }
  .button { width: 100%; }
  .hero__banner { width: min(100%, 310px); border-radius: 22px; }
  .section { padding: 64px 0; }
  .feature-grid, .stats-grid { grid-template-columns: 1fr; }
  .cta-card { align-items: stretch; flex-direction: column; padding: 28px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .modal__dialog { inset: 12px; border-radius: 18px; }
  .modal__header { min-height: 68px; padding: 12px 12px 12px 18px; }
  .modal__header h2 { font-size: 21px; }
  .modal__close { width: 44px; height: 44px; font-size: 30px; }
  .modal__content { padding: 20px 18px 30px; }
}
