@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}


:root {
  color-scheme: dark;
  --bg: #080808;
  --bg2: #0b0b0b;
  --surface: #161616;
  --surface-hover: #1c1c1c;
  --surface-deep: #181818;
  --surface-muted: #141414;
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 255, 255, 0.15);
  --text: #f0f0f0;
  --text-dim: rgba(240, 240, 240, 0.55);
  --text-mid: rgba(240, 240, 240, 0.7);
  --accent: #f0f0f0;
  --mono: 'Onest', sans-serif;
  --sans: 'Onest', 'Helvetica Neue', sans-serif;

  --nav-bg-scrolled: rgba(8, 8, 8, 0.42);
  --nav-border-scrolled: rgba(255, 255, 255, 0.07);
  --nav-login-border: rgba(255, 255, 255, 0.12);
  --nav-login-hover-border: rgba(255, 255, 255, 0.28);

  --scroll-pill-bg: rgba(240, 240, 240, 0.96);
  --scroll-pill-fg: #080808;
  --scroll-pill-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);

  --film-card-a: #181818;
  --film-card-b: #141414;
  --film-card-c: #161616;

  --ph-stripe-line: rgba(255, 255, 255, 0.025);
  --ph-label: rgba(255, 255, 255, 0.2);
  --ph-stripe-sm-line: rgba(255, 255, 255, 0.03);

  --toggle-track: rgba(255, 255, 255, 0.07);
  --toggle-thumb: rgba(255, 255, 255, 0.15);

  --how-visual-bg: #181818;
  --how-card-hover-bg: #1c1c1c;
  --how-num-bg: rgba(255, 255, 255, 0.07);

  --feature-grid-bg: #1a1a1a;
  --feat-cell-bg: #1e1e1e;
  --feat-bullet: rgba(255, 255, 255, 0.3);

  --fui-divider: rgba(255, 255, 255, 0.07);
  --fui-pane-border: rgba(255, 255, 255, 0.07);
  --fui-step-bg: rgba(255, 255, 255, 0.1);
  --fui-upload-bg: rgba(255, 255, 255, 0.04);
  --fui-upload-border: rgba(255, 255, 255, 0.12);
  --fui-thumb-bg: rgba(255, 255, 255, 0.08);
  --fui-pill-bg: rgba(255, 255, 255, 0.07);
  --fui-pill-on: rgba(255, 255, 255, 0.18);
  --fui-select-bg: rgba(255, 255, 255, 0.06);
  --fui-select-border: rgba(255, 255, 255, 0.1);

  --feat-result-bg: #111;
  --vid-card-bg: #0a0a0a;
  --vid-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 38%, transparent 60%);

  --mba-shadow: 0 14px 44px rgba(0, 0, 0, 0.65);
  --mba-lc1: #1e1e1e;
  --mba-lc2: #222;
  --mba-lc3: #1b1b1b;
  --mba-rc1: #252525;
  --mba-rc2: #202020;

  --compare-border: rgba(255, 255, 255, 0.06);
  --compare-lit-bg: linear-gradient(160deg, #121212 0%, #080808 60%, #111 100%);
  --compare-shotika-bg: linear-gradient(160deg, #1e1e1e 0%, #141414 60%, #111111 100%);
  --compare-pill-bg: rgba(255, 255, 255, 0.07);
  --compare-pill-accent-bg: #fff;
  --compare-pill-accent-fg: #000;
  --compare-cta-bg: #2a2a2a;
  --compare-cta-fg: #f0f0f0;
  --compare-cta-hover: #383838;

  --pfb-bg: linear-gradient(160deg, #191919 0%, #131313 60%, #0f0f0f 100%);
  --pfb-border: rgba(255, 255, 255, 0.07);
  --pfb-muted: rgba(255, 255, 255, 0.35);
  --pfb-sparkle-c: rgba(255, 255, 255, 0.3);
  --pfb-shots-c: rgba(255, 255, 255, 0.65);
  --pfb-btn-bg: #e4e4e4;
  --pfb-btn-fg: #080808;

  --pc-popular-bg: linear-gradient(180deg, #f6f6f6 0%, #dedede 100%);
  --pc-popular-fg: #1c1c1c;
  --pc-popular-border: rgba(255, 255, 255, 0.55);
  --pc-popular-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);

  --price-card-bg: linear-gradient(160deg, #1b1b1b 0%, #131313 60%, #0f0f0f 100%);
  --price-card-border: rgba(255, 255, 255, 0.055);
  --price-card-hover-bg: linear-gradient(160deg, #1d1d1d 0%, #141414 60%, #101010 100%);
  --price-card-hover-border: rgba(255, 255, 255, 0.065);
  --price-card-hi-bg: radial-gradient(ellipse 100% 80% at 0% 0%, rgba(255, 255, 255, 0.14) 0%, rgba(10, 10, 10, 0) 62%), #101010;
  --price-card-hi-border: rgba(255, 255, 255, 0.24);
  --price-card-hi-inset: rgba(255, 255, 255, 0.06);
  --price-card-hi-hover-bg: radial-gradient(ellipse 100% 80% at 0% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(10, 10, 10, 0) 62%), #101010;
  --price-card-hi-hover-border: rgba(255, 255, 255, 0.3);

  --pc-btn-bg: #282828;
  --pc-btn-fg: #f0f0f0;
  --pc-btn-hover: #444444;
  --pc-btn-hi-bg: #e4e4e4;
  --pc-btn-hi-fg: #080808;
  --pc-btn-hi-hover: #fefefe;
  --pc-hi-sparkle: rgba(255, 255, 255, 0.55);

  --faq-item-border: rgba(255, 255, 255, 0.04);
  --faq-plus-bg: rgba(255, 255, 255, 0.07);
  --faq-plus-open: rgba(255, 255, 255, 0.13);

  --footer-border: rgba(255, 255, 255, 0.06);
  --footer-bottom-border: rgba(255, 255, 255, 0.04);
  --footer-col-h: rgba(240, 240, 240, 0.35);
  --footer-copy: rgba(240, 240, 240, 0.3);

  --cat-show-hover: rgba(255, 255, 255, 0.28);
  --ghost-hover-border: rgba(255, 255, 255, 0.28);

  /* Тёмная тема: глубина создаётся границами, тени не нужны */
  --card-shadow: none;
  --card-shadow-hover: none;
  --card-shadow-hi: none;
  --compare-pane-shadow: none;

}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(8,8,8,0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background .3s ease, backdrop-filter .3s ease, -webkit-backdrop-filter .3s ease;
  will-change: transform;
}
@media(min-width: 1100px) { nav { padding: 0 60px; } }
@media(min-width: 1440px) { nav { padding: 0 80px; } }
nav.scrolled {
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--nav-border-scrolled);
}
/* Nav over the white «Готовый визуал» block — switch to dark-on-light */
nav.on-light {
  --text: #15171a;
  --text-mid: rgba(21, 23, 26, 0.64);
  --text-dim: rgba(21, 23, 26, 0.46);
  --bg: #ffffff;
  --nav-bg-scrolled: rgba(255, 255, 255, 0.85);
  --nav-border-scrolled: rgba(21, 23, 26, 0.09);
  --nav-login-border: rgba(21, 23, 26, 0.13);
  --nav-login-hover-border: rgba(21, 23, 26, 0.26);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo .shotika-logo-svg {
  display: block;
  width: 112px;
  height: auto;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0;
  transition: color .18s;
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; flex-shrink: 0; }
.nav-end { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0;
  transition: all .18s;
  text-decoration: none;
  border: none;
  background: var(--text);
  color: var(--bg);
  transition: opacity .3s ease, background .3s ease, color .3s ease;
}
.nav-btn:hover { opacity: .85; }
.nav-login {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0;
  transition: all .18s;
  text-decoration: none;
  border: none;
  background: transparent;
  color: var(--text);
}
.nav-login:hover { opacity: .7; }

/* ── SCROLL PILL ── */
.scroll-pill {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--scroll-pill-bg);
  color: var(--scroll-pill-fg);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.36,.64,1), opacity .3s ease;
  white-space: nowrap;
  box-shadow: var(--scroll-pill-shadow);
}
.scroll-pill.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.scroll-pill.visible:hover { opacity: .88; }
.scroll-pill.menu-open {
  opacity: 0 !important;
  pointer-events: none;
}
.scroll-pill svg {
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.hero-stage {
  position: relative;
  z-index: 0;
}
.page-flow {
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 124px 28px 60px;
  max-width: 860px;
  width: 100%;
}
.hero-headline {
  font-size: clamp(36px, 3.8vw, var(--hero-size, 62px));
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  font-weight: 300;
  color: var(--text-mid);
}
.hero-fader-wrap {
  display: inline-block;
  position: relative;
  padding-bottom: 24px;
  transition: opacity 0.5s ease;
}
#hero-typewriter {
  color: var(--text);
}
.hero-fade-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
  height: 20px;
  overflow: visible;
}
.hero-line-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
.hero-fader-wrap.line-draw .hero-line-path {
  animation: heroLineDraw 0.75s cubic-bezier(0.45, 0, 0.3, 1) forwards;
}
@keyframes heroLineDraw {
  to { stroke-dashoffset: 0; }
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 640px;
  font-weight: 400;
  margin-bottom: 24px;
}
.hero-cta-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 0;
}
.btn-fill-lg {
  font-family: var(--sans);
  font-size: 15px;
  padding: 16px 40px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: .01em;
  transition: opacity .3s ease, background .3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-fill-lg:hover { opacity: .82; }

/* ── FILM STRIP ── */
.film-strip-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  padding: 0 0 48px;
  position: relative;
}
.film-strip-wrap::before,
.film-strip-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8%;
  z-index: 2;
  pointer-events: none;
}
.film-strip-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.film-strip-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.film-strip {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: filmScroll 70s linear infinite;
  will-change: transform;
}
.film-strip:hover { animation-play-state: paused; }
.film-card {
  width: 240px;
  height: 320px; /* 3:4 ratio */
  border-radius: 12px;
  background: var(--surface);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  position: relative;
}
.film-card video,
.film-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.film-card-poster {
  opacity: 1;
  transition: opacity .2s ease;
}
.film-card-poster.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.film-card:nth-child(4n)   { background: var(--film-card-a); }
.film-card:nth-child(4n+2) { background: var(--film-card-b); }
.film-card:nth-child(4n+3) { background: var(--film-card-c); }
@keyframes filmScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* stripe + label reused */
.ph-stripe {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 6px,
    var(--ph-stripe-line) 6px,
    var(--ph-stripe-line) 12px
  );
}
.ph-label {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ph-label);
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  line-height: 1.5;
}
.btn-ghost {
  font-family: var(--sans);
  font-size: 12.5px;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-hi);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  letter-spacing: .01em;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost:hover { color: var(--text); border-color: var(--ghost-hover-border); }
.btn-fill {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: .01em;
  transition: opacity .3s ease, background .3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-fill:hover { opacity: .82; }

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  background: var(--bg);
}
.ticker-inner {
  display: flex;
  gap: 0;
  animation: ticker 55s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ticker-dot {
  width: 3px; height: 3px;
  background: var(--text-dim);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION COMMON ── */
.section { padding: 100px 28px; }
.section-sm { padding: 72px 28px; }
/* Меньше воздуха на стыке двух тёмных блоков подряд */
.section.seam-t { padding-top: 56px; }
.section.seam-b { padding-bottom: 56px; }
.sec-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sec-label::before {
  display: none;
}
.sec-h {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.sec-h em { font-style: normal; font-weight: 300; color: var(--text-mid); }
.sec-desc {
  font-size: 18px;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.6;
  margin-top: 18px;
}
.sec-desc .m-only { display: none; }
@media (max-width: 720px) {
  .sec-desc .d-only { display: none; }
  .sec-desc .m-only { display: inline; }
}

/* pricing: компенсируем margin-top: 20px у .price-card, чтобы
   отступ от подзаголовка до карточек совпадал с другими блоками */
#pricing .sec-stack { margin-bottom: 28px; }

/* Заголовок + лид → единый отступ до основного контента секции */
.sec-stack {
  margin-bottom: 48px;
}
.sec-stack--center {
  text-align: center;
}
.sec-stack > .sec-desc {
  margin-bottom: 0;
}
.sec-stack--center > .sec-desc {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}
.sec-stack > .feat-section-sub {
  margin-top: 14px;
  margin-bottom: 0;
}
.sec-stack--center > .feat-section-sub {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

/* ── DIVIDER ── */
.rule { display: none; }

/* ── STEPS / HOW ── */
.how-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.how-center-header {
  text-align: center;
  margin-bottom: 52px;
}
.how-center-header .sec-label { justify-content: center; }
.how-center-header .sec-label::before { display: none; }
.how-center-header p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.how-title {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

/* «Готовый визуал за 1 минуту» — всегда светлый блок (даже на тёмном лендинге) */
#how {
  background: #ffffff;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-hover: #f5f6f8;
  --text: #15171a;
  --text-dim: rgba(21, 23, 26, 0.46);
  --text-mid: rgba(21, 23, 26, 0.64);
  --accent: #15171a;
  --toggle-track: rgba(21, 23, 26, 0.08);
  --toggle-thumb: rgba(21, 23, 26, 0.14);
  --how-visual-bg: #e8ebef;
  --how-card-hover-bg: #ffffff;
  --how-num-bg: rgba(21, 23, 26, 0.07);
  --ph-stripe-sm-line: rgba(21, 23, 26, 0.05);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 2px 6px rgba(0, 0, 0, 0.06), 0 10px 28px rgba(0, 0, 0, 0.09);
}
.toggle-pill {
  display: inline-flex;
  background: var(--toggle-track);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}
.toggle-pill button {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 24px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  letter-spacing: .01em;
  transition: all .2s;
  border-radius: 17px;
}
.toggle-pill button.on { background: var(--toggle-thumb); color: var(--text); }

/* Apple-style segmented control on the white «Готовый визуал» block */
#how .toggle-pill {
  background: rgba(118, 118, 128, 0.12);
  border-radius: 12px;
  padding: 3px;
  gap: 0;
}
#how .toggle-pill button {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 30px;
  border-radius: 9px;
  letter-spacing: -0.01em;
  color: rgba(60, 60, 67, 0.6);
  transition: background .22s ease, box-shadow .22s ease, color .22s ease;
}
#how .toggle-pill button:hover { color: rgba(60, 60, 67, 0.85); }
#how .toggle-pill button.on {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}
#how .toggle-pill button:active { transform: scale(0.96); }

/* 3 vertical cards in a row */
.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
/* Format: title on top → flat image → caption below (no card / shadow) */
.how-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}
.how-card-title {
  order: 1;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
  margin-top: 16px;
}
.how-card-visual {
  order: 0;
  position: relative;
  overflow: hidden;
  background: var(--how-visual-bg);
  aspect-ratio: 4/3;
  flex-shrink: 0;
  border-radius: 16px;
}
.how-card-visual .ph-stripe-sm { opacity: 1; }
.how-card-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #15171a;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
}
.how-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.how-card-desc {
  order: 2;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.45;
  font-weight: 400;
  margin-top: 12px;
}

/* Поочередный показ шагов: активный шаг подсвечен, остальные приглушены */
.how-cards.steps-seq .how-card {
  opacity: 0.32;
  transition: opacity .5s ease;
}
.how-cards.steps-seq .how-card.is-active {
  opacity: 1;
}

/* steps footer */
.steps-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0;
  gap: 20px;
}
.steps-footer-text {
  font-size: 17px;
  color: var(--accent);
  font-weight: 400;
  line-height: 1.6;
}
.ph-stripe-sm {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg, transparent, transparent 4px,
    var(--ph-stripe-sm-line) 4px, var(--ph-stripe-sm-line) 8px
  );
}
@media(max-width: 860px) {
  .how-wrap { overflow: visible; }
  .how-cards {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 18px;
    padding: 0 28px;
    margin: 0 -28px 44px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .how-cards::-webkit-scrollbar { display: none; }
  .how-card {
    flex: 0 0 72vw;
    max-width: 320px;
    min-width: 240px;
  }
}

/* ── DARK FEATURE SECTIONS ── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
}
.feature-split > * { background: var(--surface); }
.feature-text-pane {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-visual-pane {
  min-height: 520px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--feature-grid-bg);
}
.feat-cell {
  background: var(--feat-cell-bg);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.feat-cell.tall { grid-row: span 2; }
.feature-sub {
  font-size: 19px;
  color: var(--text-dim);
  line-height: 1.65;
  font-weight: 400;
  max-width: 400px;
  margin-bottom: 40px;
  margin-top: 20px;
}
.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.feat-list li {
  font-size: 15px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0;
  line-height: 1.45;
}
.feat-list li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--feat-bullet);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── FEAT KIVE ── */
.feat-section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.feat-kive {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
}
.fui-pane {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid var(--fui-pane-border);
}
.fui-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fui-step-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--fui-step-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--text-mid);
  font-weight: 600;
  flex-shrink: 0;
}
.fui-step-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.fui-upload {
  background: var(--fui-upload-bg);
  border: 1px dashed var(--fui-upload-border);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.fui-file-thumb {
  width: 48px; height: 48px;
  background: var(--fui-thumb-bg);
  border-radius: 10px;
  flex-shrink: 0;
}
.fui-file-name {
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
}
.fui-file-meta {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
}
.fui-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.fui-pill {
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--fui-pill-bg);
  color: var(--text-dim);
}
.fui-pill.on {
  background: var(--fui-pill-on);
  color: var(--text);
}
.fui-row {
  display: flex;
  gap: 8px;
}
.fui-select {
  flex: 1;
  background: var(--fui-select-bg);
  border: 1px solid var(--fui-select-border);
  border-radius: 10px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fui-select-label { font-size: 10px; color: var(--text-dim); }
.fui-select-val { font-size: 12px; color: var(--text); font-weight: 500; margin-top: 2px; }
.fui-select-arrow { font-size: 9px; color: var(--text-dim); }
.fui-divider {
  height: 1px;
  background: var(--fui-divider);
}
.fui-gen-btn {
  margin-top: auto;
  background: var(--text);
  color: var(--bg);
  border-radius: 10px;
  padding: 14px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
}
.feat-result-pane {
  background: var(--feat-result-bg);
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

/* ── VIDEO CARDS ── */
.vid-feature-section .how-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.vid-cards-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}
.vid-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--vid-card-bg);
}
.vid-card-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* bottom fade so text is readable */
.vid-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--vid-overlay);
  pointer-events: none;
}
.vid-card-foot {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 20px 22px;
  z-index: 2;
}
.vid-thumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.vid-thumb {
  width: 68px; height: 68px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.vid-card-title {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.vid-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.55);
  font-weight: 400;
}

@media (max-width: 660px) {
  .vid-cards-wrap { grid-template-columns: 1fr; }
  .vid-thumb { width: 56px; height: 56px; }
  /* vid-card на мобильном занимает почти всю ширину (~350px на 390px экране),
     поэтому пропорциональный радиус ~5% ≈ 17–18px */
  .vid-card { border-radius: 18px; }
}

/* ── MODEL BEFORE-AFTER ── */
.model-ba {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  padding: 0;
}
.model-ba-side {
  position: relative;
  flex-shrink: 0;
}
.model-ba-left  { width: 452px; height: 510px; }
.model-ba-right { width: 452px; height: 408px; }
.model-ba-arrow {
  flex-shrink: 0;
  align-self: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
}
.mba-arrow-v { display: none; }
.mba-card {
  position: absolute;
  border-radius: 14px;
  filter: none;
  overflow: hidden;
  transform: rotate(var(--mba-rot, 0deg));
  transition: opacity 0.75s ease, transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
/* hidden state before the block scrolls into view */
.model-ba .mba-card {
  opacity: 0;
  transform: rotate(0deg) translateY(54px) scale(0.9);
}
/* revealed state */
.model-ba.mba-in-view .mba-card {
  opacity: 1;
  transform: rotate(var(--mba-rot, 0deg));
}
.model-ba.mba-in-view .mba-lc1 { transition-delay: 0.05s; }
.model-ba.mba-in-view .mba-lc2 { transition-delay: 0.15s; }
.model-ba.mba-in-view .mba-lc3 { transition-delay: 0.25s; }
.model-ba.mba-in-view .mba-rc1 { transition-delay: 0.35s; }
.model-ba.mba-in-view .mba-rc2 { transition-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .mba-card,
  .model-ba .mba-card,
  .model-ba.mba-in-view .mba-card {
    transition: none;
    opacity: 1;
    transform: rotate(var(--mba-rot, 0deg));
  }
}
.mba-lc1 { width: 160px; height: 180px; top: 50px;   left: 31px;  --mba-rot: -7deg;  z-index: 2; background: var(--mba-lc1); }
.mba-lc2 { width: 170px; height: 180px; top: 60px;  left: 251px; --mba-rot: 5deg;   z-index: 3; background: var(--mba-lc2); }
.mba-lc3 { width: 180px; height: 190px; top: 270px; left: 151px; --mba-rot: -2deg;  z-index: 1; background: var(--mba-lc3); }
.mba-rc1 { width: 302px; height: 434px; top: -13px;  left: 22px;    --mba-rot: -4deg;  z-index: 2; background: var(--mba-rc1); box-shadow: var(--mba-shadow); border-radius: 18px; }
.mba-rc2 { width: 248px; height: 337px; top: 35px;  left: 204px; --mba-rot: 3deg;   z-index: 1; background: var(--mba-rc2); border-radius: 18px; }

/* ── CATEGORIES ── */
.cat-tabs {
  display: flex;
  gap: 28px;
  justify-content: center;
  background: none;
  padding: 0;
  margin-bottom: 40px;
}
.cat-tab {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  padding: 0 0 4px;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid transparent;
  color: var(--text-dim);
  cursor: pointer;
  letter-spacing: .01em;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.cat-tab.on { color: var(--text); border-bottom-color: var(--text); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.cat-cell {
  background: var(--surface);
  border-radius: 12px;
  aspect-ratio: 3/4;
  position: relative;
  overflow: clip;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.cat-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  border-radius: inherit;
}
.cat-cell:hover .ph-stripe { opacity: 1.5; }

/* ── COMPARE ── */
#compare {
  position: relative;
  z-index: 2;
}
.compare-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.compare-pane {
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--compare-border);
  box-shadow: var(--compare-pane-shadow);
  transition: none;
}
.compare-pane.lit {
  background: var(--compare-lit-bg);
}
.compare-pane.shotika {
  background: var(--compare-shotika-bg);
}
.compare-head {
  margin-bottom: 22px;
}
.compare-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.compare-tag {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}
.compare-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 400;
  background: var(--compare-pill-bg);
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
}
.compare-pill.pill-accent {
  background: var(--compare-pill-accent-bg);
  color: var(--compare-pill-accent-fg);
}
.compare-items { display: flex; flex-direction: column; gap: 2px; }
.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.ci-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: 3px;
}
.compare-cta {
  display: block;
  margin-top: 28px;
  text-align: center;
  padding: 14px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--sans);
  background: var(--compare-cta-bg);
  color: var(--compare-cta-fg);
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .5s cubic-bezier(.4,0,.2,1), color .5s cubic-bezier(.4,0,.2,1);
}
.compare-cta:hover { background: var(--compare-cta-hover); }
.compare-pane.shotika .compare-cta {
  background: var(--compare-cta-bg);
  color: var(--compare-cta-fg);
}
.compare-pane.shotika .compare-cta:hover { background: var(--compare-cta-hover); }

/* ── PRICING ── */
/* ── Pricing free banner ── */
.pricing-free-banner {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--pfb-bg);
  border: 1px solid var(--pfb-border);
  border-radius: 24px;
  padding: 28px 32px;
  margin: 24px auto 0;
  width: fit-content;
}
.pfb-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pfb-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}
.pfb-sub {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 14px;
  font-weight: 400;
  color: var(--pfb-muted);
  line-height: 1.4;
}
.pfb-sparkle {
  color: var(--pfb-sparkle-c);
  flex-shrink: 0;
}
.pfb-shots {
  font-weight: 400;
  color: var(--pfb-shots-c);
  letter-spacing: -0.01em;
}
.pfb-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 15px 24px;
  border-radius: 13px;
  background: var(--pfb-btn-bg);
  color: var(--pfb-btn-fg);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background .3s ease, opacity .3s ease;
  white-space: nowrap;
}
.pfb-btn:hover { opacity: 0.92; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 0;
  align-items: start;
}
.pc-popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--pc-popular-bg);
  color: var(--pc-popular-fg);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid var(--pc-popular-border);
  box-shadow: var(--pc-popular-shadow);
  font-family: var(--sans);
  white-space: nowrap;
}
.price-card {
  background: var(--price-card-bg);
  border: 1px solid var(--price-card-border);
  box-shadow: var(--card-shadow);
  padding: clamp(26px, 3.2vw, 40px) clamp(20px, 2.8vw, 36px) clamp(30px, 3.8vw, 44px);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 20px;
}
.price-card.hi {
  background: var(--price-card-hi-bg);
  border: 1px solid var(--price-card-hi-border);
  box-shadow: var(--card-shadow-hi), 0 0 0 1px var(--price-card-hi-inset) inset;
}
.pc-name {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}
.pc-desc {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 24px;
}
.pc-price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 24px;
}
.pc-amount {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.pc-currency {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: -0.01em;
}
.pc-shots {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 7px;
}
.pc-shots-sparkle {
  color: var(--text-mid);
  flex-shrink: 0;
  opacity: 0.7;
}
.pc-shots-note {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 32px;
  flex: 1;
}
.pc-btn {
  display: block;
  text-align: center;
  padding: 15px 20px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  letter-spacing: .01em;
  transition: background .32s ease, color .32s ease;
  text-decoration: none;
  border: none;
  background: var(--pc-btn-bg);
  color: var(--pc-btn-fg);
}
.pc-btn:hover { background: var(--pc-btn-hover); }
.price-card.hi .pc-btn:hover { background: var(--pc-btn-hi-hover); }
.price-card.hi .pc-btn {
  background: var(--pc-btn-hi-bg);
  color: var(--pc-btn-hi-fg);
}
.price-card.hi .pc-shots-sparkle {
  color: var(--pc-hi-sparkle);
  opacity: 1;
}
.price-card.hi .pc-shots {
  color: var(--text);
}

/* ── Business variant selector ── */
@keyframes pcVariantPop {
  0%   { transform: scale(0.82); opacity: 0; }
  100% { transform: scale(1);    opacity: 1; }
}
.pc-variant-pop {
  animation: pcVariantPop 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pc-variant-sel {
  display: flex;
  border-radius: 14px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.06);
}
.pc-variant-btn {
  position: relative;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 0;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-dim);
  transition: color .15s;
}
.pc-variant-btn.active {
  color: #1c1c1c;
}
/* Animated bg pill — injected by JS */
.pc-variant-bg {
  position: absolute;
  inset: 0;
  border-radius: 11px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 6px rgba(0,0,0,0.22);
  pointer-events: none;
}
/* Content wrapper — sits above animated bg */
.pc-variant-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pc-variant-sparkle {
  opacity: 0.9;
  flex-shrink: 0;
  color: rgba(255,255,255,0.7);
}
.pc-variant-btn.active .pc-variant-sparkle {
  opacity: 0.8;
  color: #1c1c1c;
}
.pc-discount-badge {
  position: absolute;
  top: -9px;
  right: -6px;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--sans);
  padding: 2px 5px;
  border-radius: 5px;
  pointer-events: none;
  background: linear-gradient(180deg, #f6f6f6 0%, #dedede 100%);
  color: #1c1c1c;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 1px 6px rgba(0,0,0,0.35);
  transform: rotate(8deg);
  line-height: 1.2;
}

/* ── FAQ ── */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.faq-stickylabel { }
.faq-list { border-top: none; }
.faq-item { border-bottom: 1px solid var(--faq-item-border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  padding: 26px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color .18s;
}
.faq-q { -webkit-tap-highlight-color: transparent; }
.faq-q:focus { outline: none; }
@media (hover: hover) {
  .faq-q:hover { color: var(--text-mid); }
}
.faq-plus {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: transform .28s cubic-bezier(.4,0,.2,1), color .18s;
}
@media (hover: hover) {
  .faq-q:hover .faq-plus { color: var(--text-mid); }
}
.faq-plus.open { transform: rotate(180deg); color: var(--text); }
.faq-a {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.75;
  font-weight: 400;
  overflow: hidden;
  max-height: 0;
  transition: max-height .32s ease, padding-bottom .22s;
  padding-bottom: 0;
}
.faq-a.open {
  max-height: 200px;
  padding-bottom: 28px;
}

/* ── FOOTER ── */
footer {
  padding: 80px 40px 48px;
  border-top: 1px solid var(--footer-border);
}
@media(min-width: 1100px) { footer { padding-left: 60px; padding-right: 60px; } }
@media(min-width: 1440px) { footer { padding-left: 80px; padding-right: 80px; } }
@media(min-width: 1100px) { #pricing { padding-left: 60px; padding-right: 60px; } }
@media(min-width: 1440px) { #pricing { padding-left: 80px; padding-right: 80px; } }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}
.footer-brand {
  margin-right: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  margin-bottom: 14px;
  text-decoration: none;
  line-height: 1;
}
.footer-logo .shotika-logo-svg {
  display: block;
  width: min(280px, 100%);
  height: auto;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 20px;
  max-width: 240px;
}
.footer-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: .01em;
  transition: color .3s ease;
}
.footer-cta:hover { color: var(--text); }
.footer-col-h {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--footer-col-h);
  letter-spacing: 0;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .18s;
  letter-spacing: 0;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--footer-bottom-border);
}
.footer-copy {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--footer-copy);
  letter-spacing: .04em;
}

/* ── TWEAKS PANEL OVERRIDES ── */
#tweaks-root { position: fixed; bottom: 0; right: 0; z-index: 9000; }

/* ── BURGER ── */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  width: 24px;
  height: 18px;
  position: relative;
}
.nav-burger .bun {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background .25s;
}
.nav-burger .bun::before,
.nav-burger .bun::after {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform .32s cubic-bezier(.23,1,.32,1);
}
.nav-burger .bun::before { top: -7px; }
.nav-burger .bun::after  { top:  7px; }
.nav-burger.is-active .bun { background: transparent; }
.nav-burger.is-active .bun::before { transform: translateY(7px)  rotate(45deg); }
.nav-burger.is-active .bun::after  { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 198;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 84px 28px 52px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mm-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* each link slides down from above, staggered */
.mobile-menu a.mm-link {
  display: block;
  font-size: clamp(40px, 11vw, 60px);
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.1;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(-18px);
  transition: opacity .15s, transform .15s;
}
.mobile-menu a.mm-link:hover { opacity: .55 !important; }
.mobile-menu.open .mm-links a.mm-link:nth-child(1) { opacity:1; transform:translateY(0); transition: opacity .36s cubic-bezier(.22,1,.36,1) .06s, transform .4s cubic-bezier(.22,1,.36,1) .06s; }
.mobile-menu.open .mm-links a.mm-link:nth-child(2) { opacity:1; transform:translateY(0); transition: opacity .36s cubic-bezier(.22,1,.36,1) .12s, transform .4s cubic-bezier(.22,1,.36,1) .12s; }
.mobile-menu.open .mm-links a.mm-link:nth-child(3) { opacity:1; transform:translateY(0); transition: opacity .36s cubic-bezier(.22,1,.36,1) .18s, transform .4s cubic-bezier(.22,1,.36,1) .18s; }
.mobile-menu.open .mm-links a.mm-link:nth-child(4) { opacity:1; transform:translateY(0); transition: opacity .36s cubic-bezier(.22,1,.36,1) .24s, transform .4s cubic-bezier(.22,1,.36,1) .24s; }
.mobile-menu.open .mm-links a.mm-link:nth-child(5) { opacity:1; transform:translateY(0); transition: opacity .36s cubic-bezier(.22,1,.36,1) .30s, transform .4s cubic-bezier(.22,1,.36,1) .30s; }
.mobile-menu.open .mm-links a.mm-link:nth-child(6) { opacity:1; transform:translateY(0); transition: opacity .36s cubic-bezier(.22,1,.36,1) .36s, transform .4s cubic-bezier(.22,1,.36,1) .36s; }

/* bottom item just fades */
.mobile-menu .mm-login {
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 400;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.18;
  opacity: 0;
  transition: opacity .28s ease;
}
.mobile-menu.open .mm-login { opacity: 1; transition: opacity .32s ease .32s; }
.mobile-menu .mm-login:hover { opacity: .55 !important; }

.break-mobile { display: inline; }
@media(max-width: 960px) {
  .break-mobile { display: block; }
}

/* ── RESPONSIVE ── */
@media(max-width: 960px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-visual-pane { min-height: 320px; }
  .feat-kive { grid-template-columns: 1fr; border-radius: 16px; }
  .fui-pane { border-right: none; border-bottom: 1px solid var(--fui-pane-border); }
  .feat-result-pane { min-height: 360px; }
  section[style*="padding-left:80px"] { padding-left: 28px !important; padding-right: 28px !important; }
  #pricing { padding-left: 28px; padding-right: 28px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .compare-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .film-card { width: 200px; height: 266px; }
  .model-ba { gap: 32px; }
  .model-ba-left  { width: 380px; height: 420px; }
  .model-ba-right { width: 410px; height: 330px; }
  .mba-lc1 { width: 150px; height: 194px; top: 4px;   left: 10px;     --mba-rot: -7deg; border-radius: 12px; }
  .mba-lc2 { width: 142px; height: 182px; top: 20px;  left: 212px; --mba-rot: 5deg;  border-radius: 12px; }
  .mba-lc3 { width: 146px; height: 188px; top: 228px; left: 116px; --mba-rot: -2deg; border-radius: 12px; }
  .mba-rc1 { width: 220px; height: 296px; top: 10px;  left: 16px;  --mba-rot: -4deg; border-radius: 16px; }
  .mba-rc2 { width: 208px; height: 280px; top: 32px;  left: 180px; --mba-rot: 3deg;  border-radius: 16px; }
}

@media(max-width: 720px) {
  /* nav */
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-end { margin-left: auto; gap: 10px; }
  .nav-btn { font-size: 13px; padding: 10px 22px; }
  .nav-burger { display: flex; transform: scale(0.82); transform-origin: center; }
  .nav-login { display: none; }
  /* hero */
  .hero-text-block { padding: 122px 16px 64px; }
  .hero-headline { font-size: clamp(28px, 8vw, 44px) !important; letter-spacing: -0.03em; line-height: 1.18; }
  .hero-sub { font-size: 16px; max-width: 380px; }
  .btn-fill-lg { padding: 15px 32px; font-size: 15px; }
  .hero-fade-line { width: 72%; height: 14px; }
  .hero-fader-wrap { padding-bottom: 18px; }

  /* sections */
  .section { padding: 88px 16px; }
  .section-sm { padding: 64px 16px; }
  .section.seam-t { padding-top: 52px; }
  .section.seam-b { padding-bottom: 52px; }
  section[style*="padding-left:80px"] { padding-left: 16px !important; padding-right: 16px !important; }
  #pricing { padding-left: 16px !important; padding-right: 16px !important; }
  .feat-section-sub { font-size: 16px; line-height: 1.55; max-width: 320px; }
  .how-title { font-size: clamp(25px, 6.8vw, 35px); line-height: 1.15; }
  .sec-h { font-size: clamp(23px, 6.4vw, 33px); line-height: 1.15; }
  .sec-desc { font-size: 16px; line-height: 1.55; margin-top: 14px; max-width: 320px; }
  .sec-stack--center > .sec-desc,
  .sec-stack--center > .feat-section-sub { max-width: 320px; }
  .sec-label { font-size: 11px; margin-bottom: 10px; }
  .sec-stack { margin-bottom: 24px; }
  #pricing .sec-stack { margin-bottom: 16px; }

  /* how */
  #how { padding-top: 96px; }
  .how-center-header { margin-bottom: 24px; }
  .how-cards { padding: 0 16px; margin: 0 -16px 44px; }
  .how-card { flex: 0 0 78vw; max-width: 300px; }
  .steps-footer { align-items: center; gap: 18px; }

  /* feature */
  .feature-text-pane { padding: 48px 28px 40px; }
  .feat-result-pane { min-height: 300px; }
  .fui-pane { padding: 28px 24px; }

  /* model before-after mobile */
  .model-ba { flex-direction: column; gap: 10px; align-items: center; padding: 0; }
  .model-ba-arrow { transform: none; }
  .mba-card { border-radius: 10px; }
  .mba-arrow-h { display: none; }
  .mba-arrow-v { display: block; }
  .model-ba-left  { --mba-w: calc(100vw - 40px); width: var(--mba-w); height: calc(var(--mba-w) * 0.37); }
  .model-ba-right { --mba-rw: calc(100vw - 60px); width: var(--mba-rw); height: calc(var(--mba-rw) * 0.85); }
  .mba-lc1 { width: calc(var(--mba-w) * 0.3);   height: calc(var(--mba-w) * 0.3);   top: calc(var(--mba-w) * 0.028); left: 2.5%;  --mba-rot: -5deg; }
  .mba-lc2 { width: calc(var(--mba-w) * 0.3);   height: calc(var(--mba-w) * 0.3);   top: calc(var(--mba-w) * 0.044); left: 35%;   --mba-rot: 3deg; }
  .mba-lc3 { width: calc(var(--mba-w) * 0.3);   height: calc(var(--mba-w) * 0.3);   top: calc(var(--mba-w) * 0.022); left: 67.5%; --mba-rot: -2deg; }
  .mba-rc1 { width: calc(var(--mba-rw) * 0.572); height: calc(var(--mba-rw) * 0.767); top: calc(var(--mba-rw) * 0.033); left: 1.1%;  --mba-rot: -3.5deg; }
  .mba-rc2 { width: calc(var(--mba-rw) * 0.539); height: calc(var(--mba-rw) * 0.722); top: calc(var(--mba-rw) * 0.094); left: 43.9%; --mba-rot: 2.5deg; }

  /* categories */
  .cat-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    /* растягиваем карусель до краёв экрана, компенсируя боковой паддинг секции */
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 20px;
  }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab {
    padding: 0 0 6px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
  }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

  /* compare */
  .compare-pane { padding: 24px 28px 28px; }
  .compare-tag { font-size: 18px; }

  /* pricing */
  .pricing-free-banner {
    width: 100%;
    max-width: 100%;
    margin: 24px 0 0;
    padding: 32px 28px 36px;
    border-radius: 24px;
    background: var(--pfb-bg);
    border: 1px solid var(--pfb-border);
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    box-sizing: border-box;
  }
  .pfb-left { gap: 6px; max-width: 480px; }
  .pfb-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .pfb-sub {
    font-size: 14px;
    line-height: 1.5;
  }
  .pfb-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
  }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .price-card { padding: 32px 28px 36px; }

  /* footer */
  footer { padding: 56px 20px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 40px; margin-bottom: 44px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
  .footer-cta { font-size: 15px; }
  .footer-col-h { font-size: 13px; margin-bottom: 14px; }
  .footer-col ul { gap: 12px; }
  .footer-col a { font-size: 15px; }
  .footer-copy { font-size: 11px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 22px; }

  /* film */
  .film-card { width: 220px; height: 293px; border-radius: 10px; }

  /* scroll pill */
  .scroll-pill { font-size: 13px; padding: 12px 20px; }
}

.cat-show-more {
  display: block;
  margin: 20px auto 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 28px;
  border-radius: 100px;
  border: 1px solid var(--border-hi);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
  letter-spacing: .01em;
}
.cat-show-more:hover { color: var(--text); border-color: var(--cat-show-hover); }

@media(max-width: 480px) {
  .hero-headline { font-size: clamp(28px, 7.8vw, 40px); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .compare-pane { padding: 20px 18px 24px; }
  .compare-tag { font-size: 17px; }
  .compare-pill { font-size: 12px; padding: 4px 10px; }
  .film-strip-wrap { padding: 28px 0 72px; }
  .film-card { width: 200px; height: 266px; border-radius: 9px; }
  .hero-cta-row { width: 100%; }
  .btn-fill-lg { width: 100%; text-align: center; }
  .faq-q { font-size: 16px; padding: 20px 0; }
}

/* ── INFOGRAPHICS SECTION ── */
.infograph-section { padding-left: 0; padding-right: 0; overflow: hidden; }
.infograph-section .sec-stack { padding-left: 80px; padding-right: 80px; }
.infograph-section .steps-footer { padding-left: 80px; padding-right: 80px; }

.infograph-tracks { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; position: relative; }
.infograph-tracks::before,
.infograph-tracks::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 10%;
  z-index: 2;
  pointer-events: none;
}
.infograph-tracks::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.infograph-tracks::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.infograph-track-wrap { overflow: hidden; width: 100%; }

.infograph-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}

/* IG Cards */
.ig-card {
  width: 240px;
  height: 320px;
  border-radius: 12px;
  background: var(--surface);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder shades */
.ig-ph-1 { background: #1c1c1c; }
.ig-ph-2 { background: #222; }
.ig-ph-3 { background: #191919; }
.ig-ph-4 { background: #242424; }
.ig-ph-5 { background: #1e1e1e; }
.ig-ph-6 { background: #212121; }
.ig-ph-7 { background: #1a1a1a; }
.ig-ph-8 { background: #252525; }

/* Mobile carousel */
.infograph-mobile {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
  overflow: hidden;
  padding-left: 24px;
}

.igm-track {
  display: flex;
  gap: 12px;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.igm-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.igm-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  background: var(--surface);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .18s;
  flex-shrink: 0;
}
.igm-btn:hover { border-color: var(--text-mid); }
.igm-btn svg { width: 22px; height: 22px; }
.igm-dots { display: none; }

@media(max-width: 900px) {
  .infograph-section .sec-stack { padding-left: 16px; padding-right: 16px; margin-bottom: 32px; }
  .infograph-section .steps-footer { padding-left: 16px; padding-right: 16px; margin-top: 20px; }
  .infograph-tracks { display: none; }
  .infograph-mobile { display: flex; margin-bottom: 0; }
  .igm-track .ig-card { width: calc((100vw - 36px) * 0.58); height: auto; aspect-ratio: 3/4; }
}

/* ── LEGAL PAGES ── */
.legal-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}
.legal-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  min-height: 76px;
  padding: 18px 40px;
  background: var(--nav-bg-scrolled);
  border-bottom: 1px solid var(--nav-border-scrolled);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
@media(min-width: 1100px) { .legal-header { padding-left: 60px; padding-right: 60px; } }
@media(min-width: 1440px) { .legal-header { padding-left: 80px; padding-right: 80px; } }
.legal-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}
.legal-logo img {
  display: block;
  width: 112px;
  height: auto;
}
.legal-nav {
  position: static;
  inset: auto;
  z-index: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 320px;
  min-width: 0;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
  will-change: auto;
}
.legal-nav a,
.legal-footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color .18s;
}
.legal-nav a:visited,
.legal-footer a:visited {
  color: var(--text-dim);
}
.legal-nav a:hover,
.legal-nav a[aria-current="page"],
.legal-nav a[aria-current="page"]:visited,
.legal-footer a:hover {
  color: var(--text);
}
.legal-shell {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) 0;
}
.legal-hero {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 46px;
}
.legal-kicker {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 18px;
}
.legal-hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: .95;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin-bottom: 24px;
}
.legal-hero p {
  max-width: 760px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--text-mid);
}
.legal-article {
  display: flex;
  flex-direction: column;
  gap: 42px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-dim);
}
.legal-article section {
  scroll-margin-top: 110px;
}
.legal-article h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 18px;
}
.legal-article h3 {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text);
  margin-top: 26px;
  margin-bottom: 12px;
}
.legal-article p + p,
.legal-article ul + p,
.legal-article p + ul {
  margin-top: 12px;
}
.legal-article strong {
  color: var(--text-mid);
  font-weight: 600;
}
.legal-article a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-hero a,
.legal-hero a:visited,
.legal-article a:visited {
  color: var(--text);
}
.legal-article ul {
  padding-left: 22px;
}
.legal-article li + li {
  margin-top: 6px;
}
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--border);
  color: var(--footer-copy);
  font-size: 13px;
}
.legal-footer div {
  display: flex;
  gap: 22px;
}

@media(max-width: 720px) {
  .legal-header,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-nav,
  .legal-footer div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .legal-shell {
    width: min(100% - 32px, 980px);
    padding-top: 42px;
  }
}

/* ── Cookie Consent Banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  transform: translateY(120%);
  z-index: 9999;
  width: 320px;
  background: rgba(22, 22, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.22,.9,.36,1), opacity 0.35s ease;
  pointer-events: none;
}
.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner--hidden {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(240, 240, 240, 0.7);
  font-family: var(--sans);
}
.cookie-banner__link {
  color: rgba(240, 240, 240, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color 0.2s;
}
.cookie-banner__link:hover {
  color: #fff;
}
.cookie-banner__btn {
  flex-shrink: 0;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  background: #f0f0f0;
  color: #080808;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.cookie-banner__btn:hover {
  background: #fff;
  transform: translateY(-1px);
}
.cookie-banner__btn:active {
  transform: translateY(0);
}
@media (max-width: 540px) {
  .cookie-banner {
    right: auto;
    left: 16px;
    width: calc(100% - 32px);
    bottom: 16px;
    border-radius: 14px;
  }
  .cookie-banner__inner {
    padding: 16px 18px;
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__btn {
    width: 100%;
    text-align: center;
  }
}

/* SCROLL REVEAL — лёгкое появление секций при скролле */
html.js-reveal section.section {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition: opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
html.js-reveal section.section.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Каскад: видео, тарифы и сравнение — по очереди */
html.js-reveal #video .vid-card,
html.js-reveal #pricing .price-card,
html.js-reveal #compare .compare-pane {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 550ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 550ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
html.js-reveal #video.is-visible .vid-card,
html.js-reveal #pricing.is-visible .price-card,
html.js-reveal #compare.is-visible .compare-pane {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
html.js-reveal #video.is-visible .vid-card:nth-child(1) { transition-delay: 220ms; }
html.js-reveal #video.is-visible .vid-card:nth-child(2) { transition-delay: 320ms; }
html.js-reveal #compare.is-visible .compare-pane:nth-child(1) { transition-delay: 220ms; }
html.js-reveal #compare.is-visible .compare-pane:nth-child(2) { transition-delay: 320ms; }
html.js-reveal #pricing.is-visible .price-card:nth-child(1) { transition-delay: 220ms; }
html.js-reveal #pricing.is-visible .price-card:nth-child(2) { transition-delay: 300ms; }
html.js-reveal #pricing.is-visible .price-card:nth-child(3) { transition-delay: 380ms; }
html.js-reveal #pricing.is-visible .price-card:nth-child(4) { transition-delay: 460ms; }

/* Примеры — лёгкий «хаос»: ячейки появляются почти одновременно, но со слегка разными задержками */
@keyframes catCellFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes catCellZoom { from { transform: scale(0.94); } to { transform: scale(1); } }
html.js-reveal #categories.is-visible .cat-grid .cat-cell,
html.js-reveal #categories .cat-grid.is-replay .cat-cell {
  animation-name: catCellFade, catCellZoom;
  animation-duration: 550ms, 550ms;
  animation-timing-function: cubic-bezier(0.33, 0, 0.2, 1), cubic-bezier(0.16, 0.84, 0.32, 1);
  animation-fill-mode: both, both;
}
/* Хаотичные задержки (0–180мс) — компактный разброс, без строгой очерёдности */
html.js-reveal #categories .cat-grid .cat-cell:nth-child(1)  { animation-delay: 60ms;  }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(2)  { animation-delay: 130ms; }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(3)  { animation-delay: 20ms;  }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(4)  { animation-delay: 160ms; }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(5)  { animation-delay: 80ms;  }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(6)  { animation-delay: 0ms;   }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(7)  { animation-delay: 110ms; }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(8)  { animation-delay: 180ms; }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(9)  { animation-delay: 40ms;  }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(10) { animation-delay: 150ms; }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(11) { animation-delay: 30ms;  }
html.js-reveal #categories .cat-grid .cat-cell:nth-child(12) { animation-delay: 90ms;  }
@media (prefers-reduced-motion: reduce) {
  html.js-reveal section.section {
    opacity: 1; transform: none; transition: none;
  }
}
