:root {
  --blue: #4384d0;
  --blue-dark: #2f6fb5;
  --blue-soft: #eaf2fb;
  --ink: #222222;
  --muted: #5f6b7a;
  --muted-2: #98a2b3;
  --line: #e6e8ec;
  --soft: #f7f8fa;
  --orange: #f5a623;
  --green: #6fbf2a;
  --red: #d0011b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 16px 40px -16px rgba(16, 24, 40, .18);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -14px rgba(16, 24, 40, .2);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
code, kbd { font-family: var(--mono); font-size: .86em; }
code { background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: #334155; }
kbd {
  display: inline-block; background: #fff; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 5px; padding: 0 5px; font-size: .78em; color: var(--muted); line-height: 1.6;
}

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(230, 232, 236, .8);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand__mark { display: inline-flex; filter: drop-shadow(0 4px 10px rgba(67, 132, 208, .28)); }
.brand__name { font-size: 19px; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav__gh { padding-left: 4px; }
.header__cta { margin-left: 4px; }
.lang { display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.lang a, .lang span { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); background: var(--soft); }
.lang span { background: var(--blue-soft); color: var(--blue-dark); }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* Buttons */
.btn {
  --bg: #fff; --fg: var(--ink); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 14px/1 var(--font);
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--blue); --fg: #fff; --bd: var(--blue); box-shadow: 0 8px 18px -8px rgba(67, 132, 208, .65); }
.btn--primary:hover { --bg: var(--blue-dark); --bd: var(--blue-dark); color: #fff; }
.btn--ghost { --bg: #fff; --fg: var(--blue); --bd: #cfdcec; }
.btn--ghost:hover { --bg: var(--blue-soft); color: var(--blue-dark); }
.btn--lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 12px; }
.btn--light { --bg: #fff; --fg: var(--blue-dark); --bd: #fff; }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .5); }
.btn--outline-light:hover { --bg: rgba(255, 255, 255, .12); color: #fff; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background:
    radial-gradient(600px 320px at 18% 10%, rgba(67, 132, 208, .14), transparent 70%),
    radial-gradient(520px 300px at 82% 0%, rgba(245, 166, 35, .10), transparent 70%);
  pointer-events: none;
}
.hero__copy { animation: rise .6s ease both; }
.hero__visual { animation: rise .6s ease .08s both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1.18fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-dark); font-size: 12.5px; font-weight: 600;
  border: 1px solid #d7e5f5;
}
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); margin: 18px 0 18px; letter-spacing: -.035em; }
.lead { font-size: 17.5px; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero__facts { display: grid; grid-template-columns: repeat(4, auto); gap: 26px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero__facts li { display: flex; flex-direction: column; gap: 2px; }
.hero__facts strong { font-size: 19px; letter-spacing: -.02em; }
.hero__facts span { font-size: 12px; color: var(--muted-2); }
.hero__visual { position: relative; }
.hero__badge {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 12px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1px;
  font-size: 11px; color: var(--muted); animation: float 6s ease-in-out infinite;
}
.hero__badge strong { font-size: 13px; color: var(--ink); letter-spacing: -.01em; }
.hero__badge--a { left: -22px; bottom: 42px; }
.hero__badge--b { right: -14px; top: -18px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Window */
.window {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow);
}
.window__bar {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
  background: linear-gradient(#fbfcfd, #f5f7fa); border-bottom: 1px solid var(--line);
}
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e5ea; }
.window__bar i:nth-child(1) { background: #f3b5ae; }
.window__bar i:nth-child(2) { background: #f3d59a; }
.window__bar i:nth-child(3) { background: #b7dba3; }
.window__bar span { margin-left: 8px; font-size: 11.5px; color: var(--muted-2); font-weight: 500; }
.window img { width: 100%; height: auto; }
.window--small { max-width: 640px; }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--soft); }
.strip__inner { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; flex-wrap: wrap; }
.strip span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.strip span::before { content: "✓"; color: var(--green); margin-right: 7px; font-weight: 700; }

/* Sections */
.section { padding: 92px 0; scroll-margin-top: 78px; }
.section--soft { background: var(--soft); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 12px 0 12px; }
.section__head p { color: var(--muted); font-size: 16px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.feature:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: #d8e3f0; }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 11px; background: var(--blue-soft); color: var(--blue); margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }

/* Showcase */
.showcase { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; padding: 34px 0; }
.showcase--reverse .showcase__text { order: 2; }
.showcase--reverse .window { order: 1; }
.showcase__num { font: 700 12px/1 var(--mono); color: var(--blue); letter-spacing: .08em; }
.showcase h3 { font-size: 26px; margin: 10px 0 12px; }
.showcase p { color: var(--muted); font-size: 15px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; font-size: 13.5px; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 7 11l5-6' fill='none' stroke='%234384d0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps__num {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.steps h3 { font-size: 16px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 13.5px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 26px;
}
.price--pro { border-color: #bcd5ef; box-shadow: 0 18px 50px -24px rgba(67, 132, 208, .55); }
.price__label {
  position: absolute; top: -11px; left: 22px; background: var(--blue); color: #fff; font-size: 10.5px;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
}
.price h3 { font-size: 16px; color: var(--muted); font-weight: 600; }
.price__value { font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.price__value span { font-size: 13px; font-weight: 500; color: var(--muted-2); margin-left: 4px; letter-spacing: 0; }
.price p { color: var(--muted); font-size: 13.5px; min-height: 42px; }
.price .ticks { margin: 0 0 6px; }
.price .btn { margin-top: auto; width: 100%; }
.pricing__note { text-align: center; color: var(--muted-2); font-size: 12.5px; margin-top: 20px; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--muted-2); transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); font-size: 14px; padding: 10px 40px 0 0; }

/* CTA */
.cta {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(255, 255, 255, .16), transparent 60%),
    linear-gradient(135deg, #4384d0, #2f6fb5);
  color: #fff;
  padding: 66px 0;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(28px, 3vw, 38px); }
.cta p { opacity: .88; margin-top: 8px; max-width: 560px; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.footer { background: #0f1a2b; color: #cfd8e6; padding: 56px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 13px; margin-bottom: 12px; }
.footer a { display: block; color: #a9b6c9; font-size: 13px; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.brand--footer { color: #fff; margin-bottom: 12px; }
.brand--footer:hover { color: #fff; }
.footer__note { font-size: 12.5px; color: #8fa0b8; max-width: 320px; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 40px; padding-top: 18px; font-size: 12px; color: #8fa0b8; flex-wrap: wrap;
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: #0f1a2b; color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 13px;
  opacity: 0; pointer-events: none; transition: .25s ease; z-index: 80; box-shadow: var(--shadow);
  max-width: min(520px, calc(100% - 32px));
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { order: 2; max-width: 760px; }
  .hero__facts { gap: 18px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 26px; }
  .showcase--reverse .showcase__text { order: 1; }
  .showcase--reverse .window { order: 2; }
  .pricing { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 66px 16px auto 16px; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px;
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 10px; border-radius: 8px; }
  .nav a:hover { background: var(--soft); }
  .burger { display: block; }
  .header__cta { display: none; }
  .lang { margin-left: auto; }
  .header__inner { gap: 12px; }
  .hero { padding: 46px 0 48px; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .hero__badge { display: none; }
  .window--small { max-width: 100%; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
