/* BakinShot — продающий лендинг (обновлённая версия) */

:root {
  --bg: #071c35;
  --bg-alt: #0b2442;
  --bg-card: #102f55;
  --bg-card-hover: #173b67;
  --accent: #00c8ff;
  --accent-dim: rgba(0, 200, 255, 0.15);
  --accent-glow: rgba(0, 200, 255, 0.35);
  --text: #f4f8ff;
  --text-muted: rgba(244, 248, 255, 0.78);
  --text-dim: rgba(244, 248, 255, 0.52);
  --border: rgba(62, 107, 153, 0.55);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --container: 1080px;
  --container-hero: 1320px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.page-top {
  position: relative;
  width: 1px;
  height: 0;
  overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow { max-width: 780px; }

/* ---- Кнопки ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
  box-shadow: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, #00b8eb, #00d4ff);
  color: #04233f;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #00c4f5, #33ddff);
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; white-space: normal; text-align: center; }

/* ---- Шапка ---- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 28, 53, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.logo img { border-radius: 8px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.header__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  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 ---- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 72px;
  overflow: hidden;
}

.hero .container {
  width: min(100% - 40px, var(--container-hero));
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0, 200, 255, 0.14), transparent),
    radial-gradient(ellipse 40% 35% at 90% 70%, rgba(38, 168, 59, 0.07), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: none;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px 56px;
  align-items: start;
}

.hero__content {
  max-width: 640px;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__image {
  width: 100%;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(62, 107, 153, 0.35);
}

.hero__visual .hero__cta {
  flex-direction: column;
  align-items: stretch;
  margin-top: 28px;
  margin-bottom: 0;
}

.hero__visual .hero__cta .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}

.hero__visual .hero__paynote {
  text-align: center;
}

.badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 200, 255, 0.35);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.badge--new {
  margin-top: -8px;
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.22), rgba(94, 234, 212, 0.18));
  border-color: rgba(94, 234, 212, 0.55);
  color: #b8f5ff;
  box-shadow: 0 0 24px rgba(0, 200, 255, 0.2);
}

.hero__note--dim {
  margin-top: -8px;
  color: var(--text-dim);
  font-weight: 400;
}

.hero__title {
  margin: 0 0 22px;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero__title-plain {
  color: var(--text);
}

.hero__title-grad {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero__title-grad--brand {
  background-image: linear-gradient(120deg, #5eead4 0%, #00c8ff 45%, #ffffff 100%);
}

.hero__title-grad--action {
  background-image: linear-gradient(120deg, #ffffff 0%, #7dd3fc 40%, #00c8ff 85%);
}

.hero__lead {
  margin: 0 0 18px;
  font-size: 19px;
  color: var(--text);
  line-height: 1.65;
}

.hero__text {
  margin: 0 0 18px;
  font-size: 17px;
  color: var(--text-muted);
}

.hero__note {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--text-dim);
}

.hero__note:not(.hero__note--dim) {
  color: #9eeaff;
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.hero__paynote {
  margin: 0;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

/* ---- Длинные скриншоты (акцентный блок) ---- */

.scroll-spotlight {
  padding: 56px 0;
  background:
    linear-gradient(135deg, rgba(0, 200, 255, 0.12) 0%, rgba(7, 28, 53, 0) 55%),
    radial-gradient(ellipse at 20% 50%, rgba(94, 234, 212, 0.14), transparent 55%),
    var(--bg-alt);
  border-block: 1px solid rgba(0, 200, 255, 0.28);
}

.scroll-spotlight__inner {
  max-width: 820px;
}

.scroll-spotlight__label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.18);
  border: 1px solid rgba(0, 200, 255, 0.45);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scroll-spotlight__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.scroll-spotlight__lead {
  margin: 0 0 18px;
  font-size: 18px;
  color: var(--text-muted);
}

.scroll-spotlight__list {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--text-muted);
}

.scroll-spotlight__list li { margin-bottom: 8px; }

.scroll-spotlight__hotkey {
  margin: 0;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 200, 255, 0.35);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
}

.scroll-spotlight__keys {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}

.scroll-spotlight kbd {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

/* ---- Секции ---- */

.section { padding: 80px 0; }

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid rgba(62, 107, 153, 0.22);
}

.section--cta {
  padding: 64px 0;
  background: linear-gradient(135deg, #0a2848 0%, #0d3558 100%);
}

.section--final {
  padding: 72px 0 88px;
  background: radial-gradient(ellipse at center, rgba(0, 200, 255, 0.08), transparent 70%);
}

.section__head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head h2 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__head p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 17px;
}

.section__head p:last-child { margin-bottom: 0; }

/* ---- OCR блок ---- */

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.split h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

.split__content p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.split__label {
  margin-top: 20px !important;
  font-weight: 700;
  color: var(--text) !important;
}

.split__highlight {
  margin: 18px 0 24px !important;
  padding: 14px 18px;
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text) !important;
  font-weight: 600;
}

.mini-steps {
  margin: 0 0 8px;
  padding-left: 22px;
  color: var(--text-muted);
}

.mini-steps li { margin-bottom: 8px; }

.checklist-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.checklist-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--accent);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 15px;
}

.checklist li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---- Блоки возможностей ---- */

.feature-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-block {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-block--wide {
  grid-column: 1 / -1;
}

.feature-block--highlight {
  border-color: rgba(0, 200, 255, 0.45);
  background: linear-gradient(145deg, rgba(16, 47, 85, 0.95), rgba(10, 40, 72, 0.98));
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.12);
}

.feature-block h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--accent);
}

.feature-block p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 15px;
}

.feature-block ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.feature-block li { margin-bottom: 4px; }

/* ---- Почему ---- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.why-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---- Шаги ---- */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
  max-width: 820px;
  margin-inline: auto;
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---- Аудитория ---- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audience-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.audience-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.35;
}

.audience-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ---- Цены ---- */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
  max-width: 920px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 200, 255, 0.2), var(--shadow);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  margin: 0;
  padding: 4px 12px;
  background: var(--accent);
  color: #04233f;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.price-card__sum {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.15;
}

.price-card__sum span {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 4px;
}

.price-card__note {
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 14px;
}

.price-card ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--text-muted);
  font-size: 15px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2ebd44;
  font-weight: 800;
}

/* ---- CTA блок ---- */

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 40px 44px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 200, 255, 0.35);
  border-radius: calc(var(--radius) + 2px);
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
}

.cta-box p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 16px;
}

.cta-box__steps {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.cta-box__steps li { margin-bottom: 4px; }

/* ---- Скачивание ---- */

.download {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
}

.download h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 800;
}

.download p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.download__meta {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.download__meta li {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-muted);
}

.download__meta strong {
  color: var(--text);
  font-weight: 600;
}

.download__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---- FAQ ---- */

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
}

.faq__item summary {
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: 16px;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.faq__item[open] summary::after { content: "−"; }

.faq__item p {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---- Финальный CTA ---- */

.final-cta {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.final-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}

.final-cta p {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 17px;
}

.final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---- Подвал ---- */

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: #051525;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.logo--footer { font-size: 16px; margin-bottom: 12px; }

.footer__copy {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.footer__legal-line {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li { margin-bottom: 8px; }

.footer__links a {
  color: var(--text-muted);
  font-size: 15px;
  text-decoration: none;
}

.footer__links a:hover { color: var(--accent); }

/* ---- Анимации ---- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Адаптив ---- */

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .hero__layout { grid-template-columns: 1fr; gap: 32px; }
  .hero__content { max-width: none; }
  .checklist-card { position: static; }
  .feature-blocks { grid-template-columns: 1fr; }
  .feature-block--wide { grid-column: auto; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; }
  .download { grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .header__actions { display: none; }

  .burger { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px;
    background: rgba(7, 28, 53, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
    margin-left: 0;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a { padding: 14px 16px; font-size: 16px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .hero { padding-bottom: 56px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .section { padding: 60px 0; }
  .audience-grid { grid-template-columns: 1fr; }
  .final-cta__buttons { flex-direction: column; }
  .final-cta__buttons .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 28px, var(--container)); }
  .steps li { grid-template-columns: 1fr; gap: 12px; }
  .steps__num { width: 44px; height: 44px; font-size: 18px; }
  .cta-box { padding: 28px 24px; }
}
