:root {
  --bg: #070b16;
  --bg-alt: #0b1122;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eaf0ff;
  --muted: #97a3c2;
  --brand: #22c55e;
  --brand-2: #2f9bf5;
  --grad: linear-gradient(120deg, #22c55e 0%, #2f9bf5 100%);
  --grad-avito: linear-gradient(120deg, #ef4444 0%, #a855f7 100%);
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(47, 155, 245, 0.5);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; width: 100%; }

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

h1, h2, h3, h4, h5 { line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.02em; }

p { margin: 0; }

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

.container--narrow { max-width: 820px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-avito {
  background: var(--grad-avito);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Typewriter */
.tw-caret {
  display: inline-block;
  width: 0.05em;
  min-width: 3px;
  height: 0.86em;
  margin-left: 0.06em;
  background: var(--brand);
  vertical-align: -0.06em;
  border-radius: 2px;
  animation: caretBlink 1s step-end infinite;
}
.tw-caret.is-hidden {
  animation: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
@keyframes caretBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tw-caret { animation: none; opacity: 0; }
}

/* Background glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.bg-glow--1 {
  width: 620px; height: 620px;
  top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.55), transparent 65%);
  animation: glowDrift1 28s ease-in-out infinite;
}
.bg-glow--2 {
  width: 600px; height: 600px;
  bottom: -220px; left: -180px;
  background: radial-gradient(circle, rgba(47, 155, 245, 0.5), transparent 65%);
  animation: glowDrift2 34s ease-in-out infinite;
}
@keyframes glowDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 45px) scale(1.12); }
}
@keyframes glowDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, -40px) scale(1.1); }
}

/* Particle background */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow, .cta__glow { animation: none; }
  .cta__inner::after { display: none; }
  .support__badge-icon, .support__badge-icon::after { animation: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 28px 60px -20px rgba(34, 197, 94, 0.7); }
.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(34, 197, 94, 0.5); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--full { width: 100%; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 22, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(7, 11, 22, 0.9); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.brand__logo {
  width: 36px; height: 36px;
  object-fit: contain;
  background: transparent;
}
.brand__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.brand__text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav__links a { transition: color 0.2s ease; }
.nav__links a:hover { color: var(--text); }
.nav__burger { display: none; }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 72px);
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.hero__pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pill--accent {
  border-color: rgba(34, 197, 94, 0.55);
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.18), rgba(47, 155, 245, 0.08));
  color: #bfe4ff;
  font-weight: 600;
}
.hero__title {
  font-size: clamp(30px, 5.6vw, 58px);
  font-weight: 800;
  max-width: none;
}
#heroType { white-space: nowrap; }
.hero__sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 640px; }
.hero__sub--wide { max-width: none; white-space: nowrap; }
@media (max-width: 1000px) {
  .hero__sub--wide { white-space: normal; max-width: 640px; }
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  transition: color 0.2s ease;
  animation: hintFloat 2.2s ease-in-out infinite;
}
.scroll-hint:hover { color: var(--brand); }
.scroll-hint svg { width: 22px; height: 22px; }
@keyframes hintFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.75; }
  50% { transform: translateX(-50%) translateY(7px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
}

/* Compact hero (for pages that fit one screen) */
.hero--compact {
  min-height: auto;
  padding: 30px 0 4px;
}
.hero--compact .hero__title { font-size: clamp(27px, 4.4vw, 46px); }
.section.section--tight { padding: 30px 0 40px; }

/* Sections */
.section { position: relative; z-index: 1; padding: 90px 0; }
.section__head { text-align: center; margin-bottom: 56px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.section__head h2 { font-size: clamp(28px, 4vw, 42px); }
.section__head p { color: var(--muted); max-width: 520px; }

/* Home "Разделы сайта" — sizes swapped + raised */
#sections { padding-top: 40px; }
.section__head--swap { gap: 8px; margin-bottom: 30px; }
.section__head--swap .eyebrow {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
  line-height: 1.15;
}
.section__head--swap h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(34, 197, 94, 0.45); background: var(--surface-2); }
.step__num {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 22px;
}
.feature {
  padding: 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.08), transparent);
}
.feature h4 { font-size: 15.5px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }

/* Support */
.support {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 40px 0;
}
.support__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 26px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(47, 155, 245, 0.05)),
    var(--bg-alt);
  box-shadow: 0 30px 80px -40px rgba(47, 155, 245, 0.8);
}
.support__glow {
  position: absolute;
  width: 420px; height: 420px;
  top: -180px; right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.45), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.support__main { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.support__main h2 { font-size: clamp(22px, 3.2vw, 30px); }
.support__lead { color: #c9d3ea; font-size: 15px; max-width: 620px; }
.support__list {
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  width: 100%;
}
.support__list li { display: flex; flex-direction: column; gap: 2px; padding-left: 26px; position: relative; }
.support__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.support__list b { font-size: 14.5px; font-weight: 600; }
.support__list span { font-size: 13px; color: var(--muted); }
.support__badge {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 30px 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(7, 11, 22, 0.55);
  backdrop-filter: blur(8px);
}
.support__badge-icon {
  position: relative;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 6px;
  animation: supportPulse 2.6s ease-in-out infinite;
}
.support__badge-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, 0.75);
  pointer-events: none;
  animation: supportRing 2.6s ease-out infinite;
}
.support__badge-icon svg { width: 32px; height: 32px; position: relative; z-index: 1; }
@keyframes supportPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes supportRing {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}
.support__badge span { font-size: 14px; color: var(--muted); }
.support__badge b { font-size: 16px; color: var(--text); line-height: 1.35; }
.tg-highlight {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 4px 0 0;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid rgba(47, 155, 245, 0.55);
  background: linear-gradient(120deg, rgba(47, 155, 245, 0.2), rgba(47, 155, 245, 0.04));
  box-shadow: 0 22px 55px -32px rgba(47, 155, 245, 1);
}
.tg-highlight__icon {
  flex: none;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2f9bf5, #1f7fd6);
  color: #fff;
  box-shadow: 0 14px 32px -12px rgba(47, 155, 245, 0.95);
}
.tg-highlight__icon svg { width: 26px; height: 26px; }
.tg-highlight__btn-icon { display: none; }
.tg-highlight__text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.tg-highlight__tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ccbf5;
}
.tg-highlight__text b { font-size: 17px; }
.tg-highlight__text p { font-size: 14px; color: var(--muted); }
.btn--tg {
  flex: none;
  padding: 16px 30px;
  font-size: 16px;
  background: linear-gradient(135deg, #2f9bf5, #1f7fd6);
  color: #fff;
  box-shadow: 0 16px 36px -16px rgba(62, 128, 164, 0.95);
}
.btn--tg:hover { transform: translateY(-2px); }
.btn--tg svg { width: 18px; height: 18px; }
.btn--green {
  flex: none;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 20px 50px -22px rgba(34, 197, 94, 0.7);
}
.btn--green:hover { transform: translateY(-2px); background: #1eb457; }
.btn--green svg { width: 18px; height: 18px; }

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.plan:hover { transform: translateY(-6px); }
.plan--featured {
  border-color: rgba(34, 197, 94, 0.55);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.12), rgba(47, 155, 245, 0.04));
  box-shadow: var(--shadow);
}
.plan__badge {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.plan--free {
  border-color: rgba(47, 155, 245, 0.5);
  background: linear-gradient(180deg, rgba(47, 155, 245, 0.1), rgba(47, 155, 245, 0.02));
}
.plan__price--free b {
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; }
}
.plan__head h3 { font-size: 18px; margin-bottom: 6px; }
.plan__price { font-size: 15px; color: var(--muted); }
.plan__price b { font-size: 32px; color: var(--text); font-weight: 800; letter-spacing: -0.03em; }
.plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; font-size: 14px; color: #c9d3ea; }
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plans__note { text-align: center; color: var(--muted); font-size: 13px; margin: 20px 0 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; align-items: start; }
.faq__col { display: flex; flex-direction: column; gap: 6px; }
#faq .section__head { margin-bottom: 22px; gap: 6px; }
@media (max-width: 780px) {
  .faq { grid-template-columns: 1fr; }
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq__item[open] { border-color: rgba(34, 197, 94, 0.45); background: var(--surface-2); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 46px 11px 18px;
  font-weight: 600;
  font-size: 14.5px;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.25s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 18px 12px; color: var(--muted); font-size: 13.5px; }

/* CTA */
.cta { position: relative; z-index: 1; padding: 40px 0 100px; }
.cta__inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 32px 60px;
  border-radius: 28px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background:
    radial-gradient(120% 130% at 50% -25%, rgba(34, 197, 94, 0.24), transparent 62%),
    linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(47, 155, 245, 0.05));
  box-shadow: 0 44px 110px -55px rgba(34, 197, 94, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta__glow {
  position: absolute;
  top: -260px; left: 50%;
  width: 540px; height: 540px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 197, 94, 0.5), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
  animation: ctaPulse 8s ease-in-out infinite;
}
.cta__inner::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-18deg);
  animation: ctaSheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.18); }
}
@keyframes ctaSheen {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}
.cta__title {
  position: relative;
  z-index: 1;
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 800;
}
.cta__sub {
  position: relative;
  z-index: 1;
  color: #dbe4f5;
  max-width: none;
  font-size: 17px;
  line-height: 1.5;
  white-space: nowrap;
}
@media (max-width: 1159px) {
  .cta__sub { white-space: normal; max-width: 680px; }
}
.cta-hl-red {
  background: linear-gradient(120deg, #ef4444 0%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.btn--lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }
.cta__actions .btn { flex: 1 1 0; max-width: 320px; min-width: 0; }
.btn--primary svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.btn--primary:hover svg { transform: translateX(3px); }
.cta__points {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta__points li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--muted);
}
.cta__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Home nav cards */
.navcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.navcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.navcard:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(255, 255, 255, 0.03);
}
.navcard h3 { font-size: 20px; }
.navcard p { color: var(--muted); font-size: 14.5px; flex: 1; }
.navcard__more { color: var(--brand); font-weight: 600; font-size: 14px; }
.navcard--accent {
  border-color: rgba(34, 197, 94, 0.55);
  background: transparent;
  box-shadow: var(--shadow);
}
@media (max-width: 960px) {
  .navcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .navcards { grid-template-columns: 1fr; }
  .navcard { padding: 24px; }
}

/* Active nav link */
.nav__link--active { color: var(--brand); font-weight: 600; }

/* About page */
.about-hero {
  position: relative;
  padding: 64px 0 8px;
  text-align: center;
}
.about-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.about-hero .pill { margin-bottom: 8px; }
.about-hero h1 { font-size: clamp(28px, 4.4vw, 44px); }
.about-hero p { color: var(--muted); max-width: 600px; font-size: clamp(16px, 2vw, 20px); }

.about-content { padding-top: 28px; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}
.about-card h2 { font-size: clamp(20px, 3vw, 26px); margin-bottom: 16px; }
.about-card p { color: var(--muted); line-height: 1.7; }
.about-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.about-card li { position: relative; padding-left: 24px; color: var(--muted); font-size: 15px; }
.about-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 10px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.pdf-section { margin-top: 24px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.pdf-section .btn { flex: 1 1 0; max-width: 320px; min-width: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .about-card { padding: 24px; }
}

/* Legal (privacy policy) */
.legal { color: #c9d3ea; font-size: 15.5px; line-height: 1.75; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; color: var(--text); }
.legal p { margin: 0 0 14px; }
.legal a { color: var(--brand); }
.legal a:hover { text-decoration: underline; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 8, 18, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.2s ease;
}
.modal {
  width: 100%;
  max-width: 640px;
  padding: 34px 30px;
  border-radius: 20px;
  border: 1px solid rgba(47, 155, 245, 0.45);
  background: linear-gradient(180deg, #0d1526, #0a1120);
  box-shadow: 0 40px 100px -40px rgba(47, 155, 245, 0.85);
  text-align: center;
  animation: modalPop 0.25s ease;
}
.modal__title { font-size: 22px; margin-bottom: 14px; }
.modal__text { color: #c9d3ea; font-size: 15px; line-height: 1.6; margin: 0; }
.modal__text + .modal__text { margin-top: 14px; }
.modal__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.modal__actions .btn { flex: 1 1 0; min-width: 160px; }
@keyframes modalPop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal { animation: none; }
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 40px 0 22px;
}
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: stretch; }
.footer__brand { max-width: 300px; display: flex; flex-direction: column; gap: 10px; }
.footer__brand p { color: var(--muted); font-size: 14px; }
.footer__legal {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}
.footer__legal a { color: var(--muted); transition: color 0.2s ease; }
.footer__legal a:hover { color: var(--brand); }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__cols > div { display: flex; flex-direction: column; gap: 4px; }
.footer__cols h5 { font-size: 14px; color: var(--text); margin-bottom: 6px; }
.footer__cols a { color: var(--muted); font-size: 14px; line-height: 1.4; transition: color 0.2s ease; }
.footer__cols a:hover { color: var(--brand); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.nav__help { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .steps, .features { grid-template-columns: repeat(2, 1fr); }
  .support__card { grid-template-columns: 1fr; padding: 40px 34px; }
  .support__badge { flex-direction: row; text-align: left; justify-content: center; gap: 14px; }
  .support__badge-icon { margin-bottom: 0; width: 52px; height: 52px; }
}
@media (max-width: 760px) {
  .nav__links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 22px;
    background: rgba(7, 11, 22, 0.97);
    border-bottom: 1px solid var(--border);
    margin: 0;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 10px 0; }
  .nav__help {
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    margin-left: auto;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, color 0.2s ease;
  }
  .nav__help:hover { border-color: rgba(34, 197, 94, 0.5); color: var(--brand); }
  .nav__help svg { width: 18px; height: 18px; }
  .nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 6px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
  }
  .nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav .btn--sm { display: none; }
  .scroll-hint { display: none; }
  .hero { min-height: auto; padding: 56px 0 44px; }
  .hero--compact { padding: 40px 0 4px; }
  #heroType, .hero__title { white-space: normal; font-size: clamp(28px, 8vw, 44px); }
  .hero__sub { font-size: 16px; }
  .section { padding: 56px 0; }
  .section__head--swap .eyebrow { font-size: clamp(26px, 7.5vw, 42px); }
  .support { min-height: auto; padding: 28px 0; }
  .modal { padding: 26px 20px; }
  .modal__actions .btn { flex: 1 1 100%; min-width: 0; }
  .pdf-section { flex-direction: column; }
  .pdf-section .btn { width: 100%; max-width: none; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { width: 100%; max-width: none; }
  .support__card { padding: 32px 24px; border-radius: 20px; }
  .support__list { grid-template-columns: 1fr; }
  .support__badge { flex-direction: column; text-align: center; }
  .tg-highlight { flex-direction: column; align-items: flex-start; }
  .tg-highlight .btn--tg { width: 100%; }
  .plans { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  .steps, .features { grid-template-columns: 1fr; }
  .footer__cols { gap: 34px; }
  .hero__title, #heroType { font-size: clamp(26px, 9vw, 36px); }
  .section__head--swap .eyebrow { font-size: clamp(24px, 8.5vw, 34px); }
  .about-hero h1 { font-size: clamp(24px, 7.5vw, 34px); }
  .legal { font-size: 15px; }
  .legal h2 { font-size: 18px; }
  .cta__inner { padding: 48px 20px 44px; border-radius: 22px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { width: 100%; max-width: none; }
  .cta__points { gap: 12px 20px; }
  .footer__legal { gap: 3px; }
}

/* ===== Mobile compact (one screen) ===== */
@media (max-width: 640px) {
  /* Nav compact */
  .nav__inner { height: 56px; gap: 12px; }
  .nav__links { top: 56px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand__logo { width: 30px; height: 30px; }

  /* Hero compact */
  .hero { min-height: auto; padding: 14px 0 8px; }
  .hero--compact { padding: 14px 0 2px; }
  .hero__inner { gap: 9px; }
  .hero__pills { display: none; }
  .hero__title { font-size: clamp(22px, 7vw, 28px); line-height: 1.15; }
  #heroType { font-size: clamp(17px, 5.6vw, 23px); white-space: nowrap; line-height: 1.2; }
  .hero__sub--hide-mobile { display: none; }
  #how .section__head { display: none; }
  .hero__sub { font-size: 13.5px; line-height: 1.45; max-width: 100%; }
  .hero__actions { gap: 8px; width: 100%; }
  .hero__actions .btn { padding: 11px 14px; font-size: 13px; flex: 1 1 0; }

  /* Sections compact */
  .section { padding: 12px 0; }
  .section__head { margin-bottom: 10px; gap: 4px; }
  .section__head--swap { margin-bottom: 8px; }
  .section__head--swap .eyebrow { font-size: 21px; }
  .section__head--swap h2 { font-size: 10px; letter-spacing: 0.08em; }
  .eyebrow { font-size: 10px; }

  /* Home cards: 2 cols, compact */
  .navcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .navcard { padding: 12px; gap: 4px; border-radius: 12px; }
  .navcard h3 { font-size: 14px; }
  .navcard p { font-size: 11.5px; line-height: 1.35; }
  .navcard__more { font-size: 11.5px; }

  /* Steps / features: 2 cols compact */
  .steps, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .step { padding: 12px; }
  .step__num { margin-bottom: 4px; font-size: 12px; }
  .step h3 { font-size: 13px; margin-bottom: 4px; }
  .step p { font-size: 11px; line-height: 1.35; }
  .features { margin-top: 10px; }
  .feature { padding: 12px; }
  .feature h4 { font-size: 12.5px; margin-bottom: 4px; }
  .feature p { font-size: 11px; line-height: 1.35; }

  /* Support */
  .support { padding: 14px 0; }
  .hero__title--oneline { white-space: nowrap; font-size: clamp(15px, 5vw, 19px); }
  .support__badge { display: none; }
  .tg-highlight__icon { display: none; }
  .tg-highlight__btn-icon { display: inline-block; width: 16px; height: 16px; }
  .support__card { padding: 16px 14px; gap: 12px; border-radius: 16px; }
  .support__main { gap: 7px; }
  .support__main h2 { font-size: 19px; }
  .support__lead { font-size: 12px; line-height: 1.4; }
  .support__list { gap: 6px 12px; margin: 4px 0; }
  .support__list b { font-size: 12px; }
  .support__list span { font-size: 10.5px; }
  .support__badge-icon { width: 40px; height: 40px; }
  .support__badge-icon svg { width: 22px; height: 22px; }
  .support__badge b { font-size: 12.5px; }
  .tg-highlight { padding: 12px 14px; gap: 10px; border-radius: 12px; }
  .tg-highlight__icon { width: 40px; height: 40px; border-radius: 10px; }
  .tg-highlight__icon svg { width: 20px; height: 20px; }
  .tg-highlight__text b { font-size: 14px; }
  .tg-highlight__text p { font-size: 11.5px; line-height: 1.35; }
  .btn--tg { padding: 12px 16px; font-size: 13px; }

  /* Plans — горизонтальный скролл */
  .plans {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 14px 0 6px;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 78%; scroll-snap-align: start; padding: 14px; gap: 8px; }
  .plans__note { white-space: nowrap; font-size: 10px; }
  .plan__head h3 { font-size: 15px; margin-bottom: 2px; }
  .plan__price { font-size: 13px; }
  .plan__price b { font-size: 24px; }
  .plan__price--free b { font-size: 20px; }
  .plan__list { gap: 3px; }
  .plan__list li { font-size: 12px; padding-left: 20px; }
  .plan__badge { font-size: 10px; padding: 3px 10px; top: -9px; }
  .plans__note { font-size: 11px; margin-top: 12px; }
  .btn--full { padding: 11px 14px; font-size: 13px; }

  /* FAQ one column, compact */
  .faq { grid-template-columns: 1fr; gap: 5px; }
  .faq__item { border-radius: 10px; }
  .faq__item summary { padding: 9px 38px 9px 12px; font-size: 12.5px; }
  .faq__item summary::after { right: 14px; font-size: 18px; }
  .faq__item p { padding: 0 12px 9px; font-size: 11.5px; line-height: 1.45; }

  /* About */
  .about-hero { padding: 34px 0 4px; }
  .about-hero__inner { gap: 10px; }
  .about-hero h1 { font-size: 23px; }
  .about-hero p { font-size: 13px; }
  .about-content { padding-top: 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 14px; }
  .about-card { padding: 16px; border-radius: 14px; }
  .about-card h2 { font-size: 16px; margin-bottom: 8px; }
  .about-card p, .about-card li { font-size: 12px; line-height: 1.5; }
  .pdf-section { flex-direction: column; gap: 10px; margin-top: 14px; }
  .btn--lg { padding: 12px 16px; font-size: 13.5px; border-radius: 12px; }

  /* Modal */
  .modal { padding: 22px 18px; border-radius: 16px; }
  .modal__title { font-size: 18px; }
  .modal__text { font-size: 13px; }

  /* Legal */
  .legal { font-size: 13px; line-height: 1.6; }
  .legal h2 { font-size: 15px; margin: 16px 0 6px; }

  /* Footer compact */
  .footer { padding: 22px 0 14px; }
  .footer__inner { gap: 18px; }
  .footer__brand { gap: 8px; }
  .footer__cols { gap: 28px; }
  .footer__cols h5 { margin-bottom: 4px; }
  .footer__legal { margin-top: 10px; font-size: 11.5px; }
}
