@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --bg: radial-gradient(circle at top, #f5f7ff 0, #f7f7f8 42%, #f1f2f5 100%);
  --bg-plain: #f5f7fb;
  --bg-white: rgba(255, 255, 255, 0.86);
  --bg-soft: rgba(255, 255, 255, 0.78);
  --text: #111827;
  --text-soft: #6b7280;
  --muted: #9ca3af;
  --line: rgba(148, 163, 184, 0.35);
  --topbar: rgba(15, 23, 42, 0.86);
  --red: #1777a0; /* используем как основной синий */
  --red-hover: #1a88b6;
  --blue: #0662c1;
  --muz-blue: #1777a0;
  --muz-blue-hover: #1a88b6;
  --muz-blue-active: #14668a;
  --blue-soft: rgba(15, 118, 255, 0.06);
  --ok: #22c55e;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.18);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  --radius: 22px;
  --radius-pill: 999px;
  --blur-strong: 26px;
  --font: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a:not(.btn) { color: var(--blue); text-decoration: none; }
a:not(.btn):hover { text-decoration: underline; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.topbar {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.38);
  color: #e5e7eb;
  font-size: 0.8rem;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.topbar a { color: #e5e7eb; text-decoration: none; }
.topbar a:hover { color: #ffffff; text-decoration: none; }

header.main-header {
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand img { height: 42px; width: auto; display: block; margin: 0 auto; }

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand a { display: inline-block; }

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.nav-links a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--red); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn:hover {
  transform: translateY(-1.5px);
  filter: brightness(1.02);
  text-decoration: none !important;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 38px rgba(23, 119, 160, 0.45);
}
.btn-red:hover { background: var(--red-hover); color: #fff; }

.btn-buy,
a.btn-buy,
a.btn-buy:link,
a.btn-buy:visited {
  background-color: #1777a0;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  padding: 0.72rem 1.6rem;
  border-radius: 5px;
  box-shadow: none;
  text-decoration: none !important;
  -webkit-appearance: none;
  appearance: none;
}
a.btn-buy:hover,
a.btn-buy:active {
  background-color: #1a88b6;
  color: #ffffff !important;
  text-decoration: none !important;
}

.header-cta {
  flex-shrink: 0;
  width: auto;
  min-width: 0;
  font-size: 0.8rem;
  padding: 0.72rem 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: #c9cacc; color: var(--text); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(148, 163, 253, 0.18), rgba(255, 255, 255, 0.0)),
    var(--bg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.32);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid rgba(23, 119, 160, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-lead {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 24px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }

.hero-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hero-points span::before {
  content: "✓";
  color: var(--ok);
  font-weight: 700;
  margin-right: 6px;
}

.hero-visual {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(var(--blur-strong));
  -webkit-backdrop-filter: blur(var(--blur-strong));
}

.hero-visual-title {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text);
}

.hero-steps { display: flex; flex-direction: column; gap: 4px; }

.hero-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 12px;
}

.hero-step-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.hero-step strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.hero-step p { color: var(--text-soft); font-size: 0.88rem; margin: 0; }

.hero-step-arrow {
  text-align: center;
  color: var(--muted);
  font-size: 1.2rem;
  padding: 2px 0;
}

.hero-visual-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
}

section { padding: 64px 0; }

.section-light { background: var(--bg-white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: 1.9rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.section-head p { color: var(--text-soft); max-width: 620px; margin: 0 auto; }

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

.card {
  background: var(--bg-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(129, 140, 248, 0.8);
}

.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 0.94rem; }

.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.price-card {
  border: 2px solid var(--red);
  box-shadow: 0 12px 40px rgba(23, 119, 160, 0.18);
}

.price-card .tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.price {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin: 8px 0;
}

.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }

.trial { color: var(--ok); font-weight: 700; margin: 10px 0 14px; }

.price-list { list-style: none; margin: 16px 0 22px; }
.price-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--text-soft);
  font-size: 0.92rem;
}
.price-list li:last-child { border-bottom: none; }

.info-card { background: linear-gradient(180deg, #fff, #fbfbfc); }

.pay-strip {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.steps { max-width: 700px; margin: 0 auto; }

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child { border-bottom: none; }

.step-no {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--topbar);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step strong { display: block; margin-bottom: 4px; }
.step span { color: var(--text-soft); font-size: 0.92rem; }

.steps-cta {
  text-align: center;
  margin-top: 28px;
}

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 20px 16px;
  color: var(--text-soft);
  font-size: 0.94rem;
  margin: 0;
}

footer {
  background: var(--topbar);
  color: #c4c6ca;
  padding: 34px 0;
  margin-top: 20px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

footer a { color: #eef0f3; }
footer strong { color: #fff; }

.legal-page { padding: 48px 0 80px; max-width: 780px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-page .meta { color: var(--muted); margin-bottom: 28px; }
.legal-page h2 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal-page p, .legal-page li { color: var(--text-soft); margin-bottom: 10px; }
.legal-page ul { padding-left: 1.2rem; }

.page-center {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}

.page-center h1 { font-size: 2rem; margin-bottom: 12px; }
.page-center p { color: var(--text-soft); max-width: 520px; margin: 0 auto 24px; }

@media (max-width: 900px) {
  .hero-grid, .pricing-wrap, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }

  .topbar .wrap {
    justify-content: center;
    text-align: center;
  }

  .main-header .header-row {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 14px 0 16px;
    gap: 14px;
  }

  .main-header .nav-links {
    display: none;
  }

  .main-header .brand {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-header .brand a {
    display: block;
    width: 100%;
    text-align: center;
  }

  .main-header .brand img {
    height: 36px;
    width: auto;
    max-width: min(220px, 88vw);
    margin: 0 auto;
    display: inline-block;
  }

  .main-header .brand-sub {
    font-size: 0.65rem;
    text-align: center;
    width: 100%;
  }

  .main-header a.header-cta {
    display: inline-flex;
    width: auto;
    min-width: 132px;
    max-width: 200px;
    justify-content: center;
  }
}
