/* ===================== DESIGN TOKENS ===================== */
:root {
  --bg: #0a1410;
  --bg-2: #0c1a14;
  --bg-3: #0e1f17;
  --panel: #13241c;
  --panel-2: #162a20;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --green: #1f8f6a;
  --green-bright: #2ba883;
  --green-soft: #3fbf97;
  --green-deep: #0e2419;
  --text: #f3f6f4;
  --text-2: #c4d2cb;
  --text-3: #8aa097;
  --muted: #7b8c84;
  --radius: 22px;
  --radius-lg: 30px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--green-bright);
  color: #fff;
}

/* ===================== LAYOUT ===================== */
.lp-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.lp-wrap-hero {
  max-width: 1700px;
  margin: 0 auto;
}

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

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(24px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal-scale.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lp-notif-stage .lp-notif {
    animation: none;
  }
}

/* ===================== THEME TOKENS ===================== */

/* Light theme — applied when html[data-lp-theme="light"] */
html[data-lp-theme="light"] {
  --bg: #f2f7f4;
  --bg-2: #eaf1ec;
  --bg-3: #e2ebe5;
  --panel: #ffffff;
  --panel-2: #f7faf8;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.13);
  --text: #0d1e17;
  --text-2: #2c4a3a;
  --text-3: #4a7060;
  --muted: #5e7e6e;
  color-scheme: light;
}

/* Sections that must always stay dark (hero, footer) */
.lp-force-dark {
  --bg: #0a1410;
  --bg-2: #0c1a14;
  --bg-3: #0e1f17;
  --panel: #13241c;
  --panel-2: #162a20;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f6f4;
  --text-2: #c4d2cb;
  --text-3: #8aa097;
  --muted: #7b8c84;
  color-scheme: dark;
  /* Explicitly apply the local --text so body inheritance doesn't bleed in */
  color: var(--text);
}

/* Nav scrolled — light-mode variant */
html[data-lp-theme="light"] .lp-nav.scrolled {
  background: rgba(242, 247, 244, 0.90);
  border-bottom-color: rgba(0, 0, 0, 0.09);
}

/* Smooth theme transition on everything except transforms/animations */
html {
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* ── Theme toggle button ──────────────────────────────── */
.lp-theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  flex-shrink: 0;
}

.lp-theme-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--green-soft);
  transform: rotate(20deg);
}

.lp-theme-btn svg {
  width: 17px;
  height: 17px;
  stroke: var(--text-2);
  transition: stroke 0.3s;
}

.lp-theme-btn:hover svg {
  stroke: var(--green-soft);
}

/* Sun icon shown in dark mode (click = go light) */
.lp-theme-sun  { display: block; }
.lp-theme-moon { display: none; }

/* Moon icon shown in light mode (click = go dark) */
html[data-lp-theme="light"] .lp-theme-sun  { display: none; }
html[data-lp-theme="light"] .lp-theme-moon { display: block; }

/* Light theme: button uses dark border/bg */
html[data-lp-theme="light"] .lp-theme-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.14);
}

html[data-lp-theme="light"] .lp-theme-btn:hover {
  background: rgba(0, 0, 0, 0.10);
}

/* ===================== SCROLL PROGRESS ===================== */
.lp-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--green), var(--green-soft));
  box-shadow: 0 0 12px rgba(63, 191, 151, 0.6);
  transition: width 0.12s linear;
}

/* ===================== BACK TO TOP ===================== */
.lp-totop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 120;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px -10px rgba(43, 168, 131, 0.8);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  cursor: pointer;
  border: none;
}

.lp-totop.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.lp-totop:hover {
  transform: translateY(-4px);
}

.lp-totop svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

/* ===================== NAVIGATION ===================== */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  /* backdrop-filter excluded — animating it is expensive */
  transition: background 0.5s var(--ease), padding 0.4s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.lp-nav.scrolled {
  background: rgba(10, 20, 16, 0.85);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

html[data-lp-theme="light"] .lp-nav.scrolled {
  background: rgba(242, 247, 244, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: rgba(0, 0, 0, 0.09);
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.lp-logo .k {
  color: var(--green-soft);
}

.lp-logo .pay {
  background: var(--green-bright);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 30px;
  letter-spacing: 0.01em;
}

.lp-nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}

.lp-nav-links a {
  font-size: 15px;
  color: #c4d2cb;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.35s var(--ease);
}

.lp-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--green-soft);
  border-radius: 2px;
  transition: right 0.4s var(--ease);
}

.lp-nav-links a:hover {
  color: #fff;
}

.lp-nav-links a:hover::after {
  right: 0;
}

.lp-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lp-btn-login {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #0a1410;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.lp-btn-login:hover {
  box-shadow: 0 10px 30px -8px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.lp-lang {
  color: #c4d2cb;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.lp-lang:hover {
  color: #fff;
}

/* Wrapper form must not break flex alignment */
#lp-lang-form {
  display: flex;
  align-items: center;
}

.lp-lang:hover {
  color: #fff;
}

.lp-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  position: relative;
  z-index: 210;
  background: none;
  border: none;
  cursor: pointer;
}

.lp-burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.lp-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.lp-burger.open span:nth-child(2) {
  opacity: 0;
}

.lp-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== MOBILE MENU ===================== */
.lp-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  /* Solid background instead of blur — mobile GPU can't handle it well */
  background: rgb(9, 17, 13);
  border-bottom: 1px solid var(--line);
  padding: 96px 24px 36px;
  transform: translateY(-105%);
  transition: transform 0.55s var(--ease);
  display: none;
}

body.lp-menu-open .lp-nav {
  z-index: 160;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  pointer-events: none;
}

body.lp-menu-open .lp-nav .lp-logo,
body.lp-menu-open .lp-nav .lp-burger {
  pointer-events: auto;
}

.lp-mobile-menu.open {
  transform: translateY(0);
}

.lp-mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-mobile-menu li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.lp-mobile-menu.open li {
  opacity: 1;
  transform: none;
}

.lp-mobile-menu.open li:nth-child(1) { transition-delay: 0.12s; }
.lp-mobile-menu.open li:nth-child(2) { transition-delay: 0.18s; }
.lp-mobile-menu.open li:nth-child(3) { transition-delay: 0.24s; }
.lp-mobile-menu.open li:nth-child(4) { transition-delay: 0.30s; }
.lp-mobile-menu.open li:nth-child(5) { transition-delay: 0.36s; }

.lp-mobile-menu a {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.lp-mobile-menu a:active {
  color: var(--green-soft);
  padding-left: 10px;
}

.lp-mm-cta {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-mm-cta .lp-btn {
  width: 100%;
  justify-content: center;
}

.lp-mm-lang {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

body.lp-menu-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .lp-nav-links {
    display: none;
  }

  .lp-burger {
    display: flex;
  }

  .lp-mobile-menu {
    display: block;
  }

  .lp-btn-login {
    display: none;
  }

  .lp-nav .lp-lang {
    display: none;
  }
}

/* ===================== BUTTONS ===================== */
.lp-btn {
  position: relative;
  overflow: hidden;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 38px;
  border-radius: 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lp-btn-primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: #fff;
  box-shadow: 0 12px 36px -12px rgba(43, 168, 131, 0.7);
}

.lp-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-soft), var(--green-bright));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.lp-btn-primary span {
  position: relative;
  z-index: 1;
}

.lp-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -12px rgba(43, 168, 131, 0.85);
}

.lp-btn-primary:hover::before {
  opacity: 1;
}

.lp-btn-primary:active {
  transform: translateY(-1px);
}

.lp-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.lp-btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--green-soft);
}

.lp-btn-ghost:active {
  transform: translateY(-1px);
}

/* ===================== HERO ===================== */
.lp-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 0 20px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 50% 8%, rgba(43, 168, 131, 0.30), transparent 70%),
    linear-gradient(180deg, #0c1c15 0%, #0a1611 60%, #0a1410 100%);
}

.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 80px);
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 35%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 35%, #000 30%, transparent 80%);
  pointer-events: none;
  animation: lpDriftPattern 60s linear infinite;
  will-change: background-position;
}

@keyframes lpDriftPattern {
  to {
    background-position: 600px 0, -600px 0, 0 480px;
  }
}

.lp-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0;
  animation: lpGlowIn 1.8s var(--ease-out) 0.2s forwards;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.lp-hero-glow.g1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #178264 0%, rgba(10, 46, 35, 0) 100%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  animation-name: lpGlowIn, lpFloatY;
}

.lp-hero-glow.g2 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, #178264 0%, rgba(10, 46, 35, 0) 100%);
  bottom: -80px;
  right: -60px;
  animation-delay: 0.5s;
}

.lp-hero-glow.g3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #178264 0%, rgba(10, 46, 35, 0) 100%);
  bottom: 40px;
  left: -80px;
  animation-delay: 0.7s;
}

@keyframes lpGlowIn {
  to { opacity: 1; }
}

@keyframes lpFloatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(26px); }
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ══════════════════════════════════════════════════════
   HERO STAGE — full-height relative container
   ══════════════════════════════════════════════════════ */
.lp-hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  bottom: 0;
  min-height: clamp(620px, calc(100vh - 200px), 860px);
}

/* ── Left text column (in normal flex flow) ─────────── */
.lp-hero-left {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  width: 38%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Notebook + floating cards (absolute, pinned to bottom) ─── */
.lp-hero-notebook-group {
  position: absolute;
  left: clamp(28%, 30%, 34%);
  bottom: 0;
  width: clamp(380px, 60%, 700px);
  max-width: 700px;
  z-index: 4;
  pointer-events: none;
}

.lp-hero-notebook {
  width: 100%;
  height: auto;
  /* limit height so notebook never protrudes above the hero header */
  max-height: min(calc(100vh - 120px), 700px);
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.55));
  opacity: 0;
  transition: opacity 0.9s var(--ease-out) 0.35s;
  position: relative;
  z-index: 2;
}

.lp-notebook-mobile { display: none; }

@media (max-width: 600px) {
  .lp-notebook-desktop { display: none; }
  .lp-notebook-mobile  { display: block; }
}

.lp-hero.lit .lp-hero-notebook {
  opacity: 1;
}

/* ── Floating info cards (relative to notebook-group) ─ */
.lp-hero-float {
  position: absolute;
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
  display: block;
}

.lp-hero.lit .lp-hero-float {
  opacity: 1;
}

/* Аналитика продаж — верхний правый */
.lp-float-analytics {
  position: absolute;
  top: 5%;
  right: -1%;
  width: 42%;
  max-width: 272px;
  height: auto;
  transition-delay: 0.65s;
  animation: lpHeroFloatA 6s ease-in-out 0.65s infinite;
  z-index: 1;
}

/* Каналы продаж — правый центр */
.lp-float-channels {
  top: 44%;
  right: -23%;
  width: 40%;
  max-width: 272px;
  height: auto;
  transition-delay: 0.85s;
  animation: lpHeroFloatB 7s ease-in-out 0.85s infinite;
  z-index: 3;
}

/* Сегодня — нижний левый */
.lp-float-today {
  bottom: 30%;
  left: -15%;
  width: 36%;
  max-width: 250px;
  transition-delay: 1.05s;
  animation: lpHeroFloatC 5s ease-in-out 1.05s infinite;

  background: rgba(12, 26, 20, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #B5B5B599;
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1;
}

.lp-today-label {
  font-size: 12px;
  font-weight: 500;
  color: #F3F6F5;
  letter-spacing: 0%;
  text-transform: uppercase;
}

.lp-today-value {
  font-size: 24px;
  font-weight: 500;
  color: var(--green-soft);
  letter-spacing: 0%;
  line-height: 100%;
}

.lp-today-change {
  font-size: 12px;
  font-weight: 600;
  color: #F3F6F5;
}

@keyframes lpHeroFloatA {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-11px); }
}

@keyframes lpHeroFloatB {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

@keyframes lpHeroFloatC {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ── Badge ──────────────────────────────────────────── */
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 20px;
}

.lp-hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-soft);
  box-shadow: 0 0 0 0 rgba(63, 191, 151, 0.6);
  animation: lpPulse 2.4s infinite;
  flex-shrink: 0;
}

@keyframes lpPulse {
  0%   { box-shadow: 0 0 0 0 rgba(63, 191, 151, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(63, 191, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 191, 151, 0); }
}

/* ── Headlines ──────────────────────────────────────── */
.lp-hero-h1-top,
.lp-hero-h1-bottom {
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-size: clamp(32px, 6.5vw, 92px);
  margin: 0;
}

.lp-hero-h1-top span,
.lp-hero-h1-bottom span {
  display: block;
  overflow: hidden;
}

.lp-hero-h1-top span i,
.lp-hero-h1-bottom span i {
  display: block;
  font-style: normal;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}

/* h1 top — left, above sub-text */
.lp-hero-h1-top {
  text-align: left;
  margin-bottom: 20px;
}

.lp-hero.lit .lp-hero-h1-top span i {
  transform: translateY(0);
  transition-delay: 0.15s;
}

/* h1 bottom — absolute, bottom-right of stage */
.lp-hero-h1-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: right;
  z-index: 5;
}

.lp-hero.lit .lp-hero-h1-bottom span:nth-child(1) i {
  transform: translateY(0);
  transition-delay: 0.30s;
}

.lp-hero.lit .lp-hero-h1-bottom span:nth-child(2) i {
  transform: translateY(0);
  transition-delay: 0.43s;
}

/* ── Sub & CTA ──────────────────────────────────────── */
.lp-hero-sub {
  font-size: clamp(13px, 1.4vw, 17px);
  color: var(--text-2);
  max-width: 380px;
  margin: 0 0 34px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease-out) 0.55s,
              transform 0.9s var(--ease-out) 0.55s;
}

.lp-hero.lit .lp-hero-sub {
  opacity: 1;
  transform: none;
}

.lp-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease-out) 0.7s,
              transform 0.9s var(--ease-out) 0.7s;
}

.lp-hero.lit .lp-hero-cta {
  opacity: 1;
  transform: none;
}

/* ── Vector background decoration ───────────────────── */
.lp-hero-vector-bg {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Desktop: vector-2 (1440×852) — covers full hero width */
.lp-hero-vector-desktop {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Mobile: vector-1 (375×774) — bottom area */
.lp-hero-vector-mobile {
  display: none;
}

@media (max-width: 600px) {
  .lp-hero-vector-desktop { display: none; }
  .lp-hero-vector-mobile {
    display: block;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
    top: auto;
  }
}

/* Mobile-only elements — hidden by default, shown via mobile media query */
.lp-hero-mobile-row      { display: none; }
.lp-hero-mobile-analytics { display: none; }

.lp-float-today-mobile { display: none; }
/* ── Medium desktop (1280px): reduce notebook to avoid overlap ── */
@media (max-width: 1280px) and (min-width: 961px) {
  .lp-hero-notebook-group {
    left: 34%;
    width: 54%;
  }

  .lp-float-today {
    left: -4%;
    bottom: 22%;
  }

  .lp-float-channels {
    right: -16%;
    top: 46%;
  }

  .lp-float-analytics {
    right: -4%;
    top: 3%;
  }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .lp-hero-stage {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 80px;
    min-height: 0;
  }

  .lp-hero-left {
    width: 100%;
    max-width: 100%;
  }

  .lp-hero-notebook-group {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(100%, 540px);
    max-width: none;
  }
  #desktop.lp-hero-notebook { display: block; }
  #mobile.lp-hero-notebook { display: none; }

  .lp-float-analytics {
    right: -12%;
    top: -4%;
  }

  .lp-float-channels {
    right: -14%;
    top: 46%;
  }

  .lp-float-today {
    left: -4%;
    bottom: 12%;
  }

  .lp-hero-h1-bottom {
    position: relative;
    bottom: auto;
    right: auto;
    text-align: left;
    margin-top: 24px;
    order: 10;
  }

  .lp-hero-mobile-row { display: none; }
}

@media (max-width: 600px) {
  /* ── Сплющиваем lp-hero-left: дети участвуют напрямую в grid stage ── */
  .lp-hero-left { display: contents; }

  /* ── Отступы по Figma: 20px (вместо 40px) ── */
  .lp-hero { padding: 0 20px; }

  /* ── CSS Grid: 2 колонки (58% / 42%) ── */
  .lp-hero-stage {
    display: grid;
    grid-template-columns: 58% 42%;
    grid-template-rows: auto auto auto auto auto auto;
    align-items: start;
    column-gap: 4px;
    padding-bottom: 40px;
    margin-top: 60px;
  }

  /* Строка 1: badge — на всю ширину */
  .lp-hero-badge {
    grid-column: 1 / 3;
    grid-row: 1;
    align-self: flex-start;
    margin-bottom: 14px;
    font-size: 13px;
  }

  /* Строка 2: h1-top слева (24px по Figma), аналитика справа */
  .lp-hero-h1-top {
    grid-column: 1;
    grid-row: 2;
    font-size: 24px;
    line-height: 1.2;
  }
  .lp-hero-mobile-analytics { grid-column: 2; grid-row: 2; display: flex; align-items: flex-start; padding-top: 2px; }
  .lp-hero-mobile-analytics img {
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.7s var(--ease-out) 0.65s;
    z-index: 1;
  }
  .lp-hero.lit .lp-hero-mobile-analytics img { opacity: 1; }

  /* Строка 3: ноутбук — на всю ширину */
  .lp-hero-notebook-group { grid-column: 1 / 3; grid-row: 3; height: 350px; top: -33%;}

  /* Строка 4: каналы + ПРОДАЖИ БИЛЕТОВ */
  .lp-hero-mobile-row {
    grid-column: 1 / 3;
    grid-row: 4;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 12px 0;
  }

  /* Строка 5: текст описания */
  .lp-hero-sub {
    grid-column: 1 / 3;
    grid-row: 5;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
  }

  /* Строка 6: кнопка */
  .lp-hero-cta { grid-column: 1 / 3; grid-row: 6; }

  /* h1-bottom в stage скрыт — показан в mobile-row */
  .lp-hero-stage > .lp-hero-h1-bottom { display: none; }

  /* ── Мобильный ряд: каналы + ПРОДАЖИ БИЛЕТОВ ── */
  .lp-mobile-channels-img {
    width: 44%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.7s var(--ease-out) 0.85s;
  }
  .lp-hero.lit .lp-mobile-channels-img { opacity: 1; }

  /* ── ПРОДАЖИ БИЛЕТОВ: 24px по Figma, выровнен вправо ── */
  .lp-hero-h1-bottom-m {
    flex: 1;
    position: static;
    font-size: 24px;
    line-height: 1.2;
    text-align: right;
    margin: 0;
  }

  /* ── Плавающие карточки внутри notebook-group ── */
  .lp-float-analytics { display: none; } /* заменена мобильной версией выше */
  .lp-float-channels  { display: none; }
  .lp-float-today     { display: none; } /* заменена today-mobile.svg */

  .lp-float-today-mobile {
    display: block;
    left: 6%;
    bottom: -5%;
    z-index: 1;
  }
  .lp-hero-cta { display: flex; justify-content: center; width: 100%;}
}

/* ===================== MARQUEE ===================== */
.lp-marquee {
  position: relative;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
}

.lp-marquee::before,
.lp-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.lp-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-3), transparent);
}

.lp-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-3), transparent);
}

.lp-marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: lpScrollX 28s linear infinite;
  will-change: transform;
}

.lp-marquee:hover .lp-marquee-track {
  animation-play-state: paused;
}

@keyframes lpScrollX {
  to { transform: translateX(-50%); }
}

.lp-marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.lp-marquee-item .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-soft);
  flex-shrink: 0;
}

/* ===================== SECTION SHELL ===================== */
section.lp-section {
  position: relative;
}

.lp-section-pad {
  padding: 120px 0;
}

.lp-eyebrow {
  font-size: 15px;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 26px;
}

.lp-section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.lp-section-head h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.lp-section-head .lp-lead {
  font-size: clamp(16px, 1.7vw, 20px);
  color: var(--muted);
  line-height: 1.55;
}

.h2-green { color: var(--green-soft); }
.h2-white { color: var(--text); }

@media (max-width: 820px) {
  .lp-section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .lp-section-pad {
    padding: 80px 0;
  }
}

/* ===================== ABOUT ===================== */
.lp-about {
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(43, 168, 131, 0.14), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.lp-about-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 90px;
}

.lp-about-head-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-about-head h2 {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.lp-about-sub {
  display: block;
  margin-top: 6px;
  color: var(--green-soft);
  text-transform: uppercase;
  font-size: 0.72em;
  letter-spacing: 0.01em;
}

/* Green Kassa Pay logo on the right */
.lp-about-logo {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  flex-shrink: 0;
  user-select: none;
}

.lp-about-logo-kassa {
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--green-soft);
  line-height: 1;
}

.lp-about-logo-pay {
  background: var(--green-bright);
  color: #fff;
  font-size: clamp(18px, 2.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 0.18em 0.55em;
  border-radius: 100px;
  line-height: 1.4;
}

/* ===================== PROBLEM CARDS ===================== */
.lp-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-pcard {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.lp-pcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 50% -10%, rgba(43, 168, 131, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.lp-pcard:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
}

.lp-pcard:hover::after {
  opacity: 1;
}

.lp-pnum {
  font-size: 15px;
  color: var(--green-soft);
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
}

.lp-pcard h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
}

.lp-pcard p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
  position: relative;
}

.lp-pcard .lp-solution {
  margin-top: auto;
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  border-radius: 18px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #eafaf4;
  line-height: 1.45;
  position: relative;
  transition: transform 0.45s var(--ease);
}

.lp-pcard:hover .lp-solution {
  transform: scale(1.015);
}

@media (max-width: 920px) {
  .lp-cards-3 {
    grid-template-columns: 1fr;
  }
}

/* ===================== VENUES ===================== */
.lp-venues {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

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

.lp-venue {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
}

.lp-venue img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 0.6s var(--ease);
  filter: saturate(1.05) brightness(0.92);
}

.lp-venue::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 14, 11, 0.92) 100%);
  transition: background 0.5s var(--ease);
}

.lp-venue:hover img {
  transform: scale(1.08);
  filter: saturate(1.15) brightness(1);
}

.lp-venue:hover::before {
  background: linear-gradient(180deg, rgba(31, 143, 106, 0.12) 25%, rgba(8, 14, 11, 0.95) 100%);
}

.lp-venue-cap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
  transition: transform 0.5s var(--ease);
}

.lp-venue:hover .lp-venue-cap {
  transform: translateY(-6px);
}

.lp-venue-cap h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.lp-venue-cap p {
  font-size: 14px;
  color: #c4d2cb;
}

@media (max-width: 920px) {
  .lp-venue-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .lp-venue-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== CHANNELS ===================== */
.lp-channels {
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.lp-channels-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #178264 0%, rgba(10, 46, 35, 0) 100%);
  filter: blur(80px);
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ── Two-column grid ─────────────────────────────────── */
.lp-channels-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}

.lp-channels-left {
  display: flex;
  align-items: center;
}

/* Uppercase three-line title */
.lp-channels-title {
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lp-channels-title .w { color: var(--text); }
.lp-channels-title .g { color: var(--green-soft); }

.lp-channels-right {
  position: relative;
  min-width: 0;
}

/* ── Stage ───────────────────────────────────────────── */
/*
  Stage is a flex container so the hub sits in NORMAL FLOW
  (right-aligned). This avoids any conflict between the hub's
  own positioning and reveal-scale's "transform: none" override.
  Notification cards are absolute over the stage.
*/
.lp-notif-stage {
  position: relative;   /* anchor for absolute notifications */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 540px;
}

/* ── Hub (concentric rings + photo) ─────────────────── */
.lp-channels-hub {
  /* In normal flex flow — NO transform needed for centering */
  position: relative;
  flex-shrink: 0;
  width: 440px;
  height: 440px;
  z-index: 1;
  pointer-events: none;
}

.lp-channels-hub .lp-disc {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

.lp-channels-hub .lp-disc.d-outer {
  width: 100%;
  height: 100%;
  border-color: var(--line);
}

.lp-channels-hub .lp-disc:not(.d-outer):not(.d-inner) {
  width: 79%;
  height: 79%;
}

.lp-channels-hub .lp-disc.d-inner {
  width: 62%;
  height: 62%;
}

.lp-channels-hub .lp-disc::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: rgba(63, 191, 151, 0.5);
  animation: lpSpin 14s linear infinite;
  will-change: transform;
}

.lp-channels-hub .lp-disc.d-outer::after {
  animation-duration: 22s;
  animation-direction: reverse;
}

.lp-channels-hub .lp-disc.d-inner::after {
  animation-duration: 9s;
}

@keyframes lpSpin {
  to { transform: rotate(360deg); }
}

.lp-channels-hub .lp-dashboard-thumb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56%;
  height: 56%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(31, 143, 106, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 40px -6px rgba(43, 168, 131, 0.3),
    0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.lp-channels-hub .lp-dashboard-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ── Notification cards ──────────────────────────────── */
.lp-notif {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 16px 22px 16px 16px;
  box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.lp-notif .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-notif .ico svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

.lp-notif .txt b {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-soft);
  display: block;
}

.lp-notif .txt small {
  font-size: 13px;
  color: var(--text-2);
}

.lp-notif .amount {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-soft);
  margin-left: 6px;
}

/* Desktop: absolute over the stage */
.lp-notif-stage .lp-notif {
  position: absolute;
  z-index: 4;
}

/*
  n1 – top-right, above the hub
  n2 – centre-left, overlaps the hub's left edge
  n3 – bottom-right, overlaps the hub's lower-right
*/
.lp-notif-stage .lp-notif.n1 {
  top: 24px;
  right: 0;
  animation: lpFloatN13 5s ease-in-out infinite;
  animation-delay: 0s;
}

.lp-notif-stage .lp-notif.n2 {
  left: 0;
  /* centre vertically; animation must include the -50% offset */
  animation: lpFloatN2 5s ease-in-out infinite;
  animation-delay: 1.2s;
}

.lp-notif-stage .lp-notif.n3 {
  bottom: 24px;
  right: 0;
  animation: lpFloatN13 5s ease-in-out infinite;
  animation-delay: 2.2s;
}

/* Float animations — GPU-only, no layout thrashing */
@keyframes lpFloatN13 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* n2 centres via transform; animation keeps that offset */
@keyframes lpFloatN2 {
  0%, 100% { transform: translateY(-50%); top: 50%; }
  50%       { transform: translateY(calc(-50% - 10px)); top: 50%; }
}

/* ── Medium screens ──────────────────────────────────── */
@media (max-width: 1100px) and (min-width: 821px) {
  .lp-notif-stage { height: 480px; }
  .lp-channels-hub { width: 380px; height: 380px; }
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 820px) {
  .lp-channels-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Stack vertically: hub first, then cards */
  .lp-notif-stage {
    flex-direction: column;
    height: auto;
    gap: 14px;
    padding-bottom: 4px;
  }

  .lp-channels-hub {
    width: min(320px, 88vw);
    height: min(320px, 88vw);
  }

  /* Cards back to normal flow */
  .lp-notif-stage .lp-notif {
    position: relative;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    animation: none !important;
    white-space: normal;
    width: 100%;
    max-width: 400px;
  }
}

/* ── Channel sub-heading ─────────────────────────────── */
.lp-channels-sub {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 64px 0 28px;
}

/* ── Channel card grid ───────────────────────────────── */
.lp-chan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lp-chan {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--panel);
}

.lp-chan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-out), filter 0.5s var(--ease);
  filter: brightness(0.82);
}

.lp-chan::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.72) 100%);
  transition: background 0.5s var(--ease);
}

.lp-chan:hover img {
  transform: scale(1.07);
  filter: brightness(0.95);
}

.lp-chan:hover::before {
  background: linear-gradient(180deg, rgba(31, 143, 106, 0.08) 20%, rgba(0, 0, 0, 0.8) 100%);
}

.lp-chan-cap {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 22px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  transition: transform 0.45s var(--ease);
}

.lp-chan:hover .lp-chan-cap {
  transform: translateY(-5px);
}

@media (max-width: 920px) {
  .lp-chan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .lp-chan-grid {
    grid-template-columns: 1fr;
  }

  .lp-chan {
    aspect-ratio: 16 / 9;
  }

  .lp-channels-sub {
    margin-top: 44px;
  }
}

/* ===================== ANALYTICS / TABS ===================== */
.lp-analytics {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.lp-tabs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: var(--bg-3);
}

.lp-tab {
  flex: 1;
  padding: 22px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  border-right: 1px solid var(--line);
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  background: none;
  font-family: inherit;
}

.lp-tab:last-child {
  border-right: none;
}

.lp-tab:hover {
  color: var(--text-2);
}

.lp-tab.active {
  color: var(--text);
  background: var(--panel);
}

.lp-tab-body {
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  padding: 44px;
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 40px;
  align-items: center;
}

.lp-tab-panel {
  display: none;
}

.lp-tab-panel.active {
  display: contents;
}

.lp-tab-info .lp-rep {
  font-size: 14px;
  color: var(--green-soft);
  margin-bottom: 24px;
}

.lp-tab-info h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
}

.lp-tab-info p {
  font-size: 16px;
  color: var(--green-soft);
  line-height: 1.55;
  max-width: 340px;
}

.lp-tab-shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
  transform: translateY(0);
  transition: transform 0.6s var(--ease);
}

.lp-tab-shot:hover {
  transform: translateY(-6px);
}

@media (max-width: 820px) {
  .lp-tabs {
    flex-wrap: wrap;
  }

  .lp-tab {
    flex: 1 1 50%;
    border-bottom: 1px solid var(--line);
  }

  .lp-tabs {
    border-radius: 16px 16px 0 0;
  }

  .lp-tab-body {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 24px;
    border-radius: 0 0 18px 18px;
  }

  .lp-tab-info h3 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .lp-tab-info p {
    font-size: 15px;
  }

  .lp-tab-info .lp-rep {
    margin-bottom: 16px;
  }
}

/* ===================== CASE ===================== */
.lp-case {
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.lp-case-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #178264 0%, rgba(10, 46, 35, 0) 100%);
  filter: blur(80px);
  left: -12%;
  top: 30%;
  pointer-events: none;
}

.lp-case-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 130, 100, 1) 0%, rgba(10, 46, 35, 0) 100%);
  filter: blur(80px);
  right: -12%;
  bottom: 0;
  pointer-events: none;
}

.lp-case-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 80px;
}

.lp-case-top h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 22px;
}

.lp-case-top p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 420px;
}

.lp-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lp-stat {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.lp-stat:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.lp-stat .num {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--text);
}

.lp-stat .lbl {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.lp-case-bottom {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.lp-case-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lp-cfeat {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.lp-cfeat:hover {
  transform: translateY(-6px);
  border-color: var(--green-soft);
}

.lp-cfeat .cnum {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(31, 143, 106, 0.22);
  color: var(--green-soft);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 46px;
}

.lp-cfeat h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.lp-case-img {
  display: flex;
  justify-content: center;
}

.lp-case-img img {
  max-height: 550px;
  width: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
  animation: lpFloatY2 6s ease-in-out infinite;
}

@keyframes lpFloatY2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (max-width: 820px) {
  .lp-case-top,
  .lp-case-bottom {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .lp-case-top {
    margin-bottom: 48px;
  }
}

@media (max-width: 520px) {
  .lp-case-features {
    grid-template-columns: 1fr;
  }
}

/* ===================== STEPS ===================== */
.lp-steps {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.lp-steps-head h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.lp-steps-head p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 56px;
}

.lp-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.lp-step {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  overflow: hidden;
}

.lp-step:nth-child(4) {
  background: linear-gradient(180deg, rgba(31, 143, 106, 0.18), var(--bg-2));
  border-color: rgba(63, 191, 151, 0.3);
}

.lp-step:hover {
  transform: translateY(-8px);
  border-color: var(--green-soft);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
}

.lp-step-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(31, 143, 106, 0.22);
  color: var(--green-soft);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.lp-step-start {
  position: absolute;
  top: 24px;
  right: 22px;
  background: #fff;
  color: #0a1410;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

.lp-step-ico {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 26px auto 24px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}

.lp-step:hover .lp-step-ico {
  transform: scale(1.08) rotate(-6deg);
  border-color: var(--green-soft);
  background: rgba(31, 143, 106, 0.12);
}

.lp-step-ico svg {
  width: 34px;
  height: 34px;
  stroke: var(--green-soft);
}

.lp-step h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.lp-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.lp-step-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 600;
}

.lp-step-time svg {
  width: 16px;
  height: 16px;
  stroke: var(--green-soft);
}

@media (max-width: 980px) {
  .lp-step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .lp-step-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== CONTACT ===================== */
.lp-contact {
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.lp-contact-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #178264 0%, rgba(10, 46, 35, 0) 100%);
  filter: blur(80px);
  right: -10%;
  bottom: -10%;
  pointer-events: none;
}

.lp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 20px;
}

.lp-contact-left h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 26px;
}

.lp-contact-left p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 420px;
}

.lp-form-card {
  background: linear-gradient(180deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
}

.lp-form-card .lp-ferow {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.lp-form-card h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 30px;
}

.lp-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  padding: 18px 26px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  margin-bottom: 16px;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.lp-field::placeholder {
  color: var(--muted);
}

.lp-field:focus {
  outline: none;
  border-color: var(--green-soft);
  background: rgba(31, 143, 106, 0.07);
  box-shadow: 0 0 0 4px rgba(43, 168, 131, 0.12);
}

.lp-form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.lp-form-actions .lp-btn {
  padding: 16px 30px;
  font-size: 15px;
}

@media (max-width: 880px) {
  .lp-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===================== FORM STATES ===================== */
.lp-field-error {
  border-color: rgba(239, 68, 68, 0.7) !important;
  background: rgba(239, 68, 68, 0.06) !important;
}

.lp-field-error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

.lp-form-error {
  font-size: 14px;
  color: #f87171;
  margin-bottom: 12px;
  padding: 10px 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 12px;
}

/* Success card */
.lp-form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 10px;
}

.lp-form-success-ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px -10px rgba(43, 168, 131, 0.7);
}

.lp-form-success-ico svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
}

.lp-form-success h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.lp-form-success p {
  font-size: 16px;
  color: var(--muted);
  max-width: 300px;
}

/* ===================== FOOTER ===================== */
.lp-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 70px;
}

.lp-footer .lp-logo {
  margin-bottom: 18px;
}

.lp-footer .lp-logo .pay {
  background: #fff;
  color: #0a1410;
}

.lp-footer-tag {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.lp-footer h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.lp-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-footer ul a {
  font-size: 15px;
  color: var(--text-2);
  display: inline-block;
  /* transform instead of padding-left — GPU-accelerated, no reflow */
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.lp-footer ul a:hover {
  color: var(--green-soft);
  transform: translateX(5px);
}

.lp-footer .lp-contacts span {
  display: block;
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 14px;
}

.lp-socials {
  display: flex;
  gap: 14px;
}

.lp-soc {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.lp-soc svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-2);
  transition: stroke 0.3s;
}

.lp-soc:hover {
  transform: translateY(-4px);
  background: var(--green-bright);
  border-color: var(--green-bright);
}

.lp-soc:hover svg {
  stroke: #fff;
}

.lp-footer-bottom {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .lp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 520px) {
  .lp-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== MOBILE OVERRIDES ===================== */
@media (max-width: 760px) {
  .lp-wrap { padding: 0 18px; }

  .lp-nav { padding: 16px 0; }
  .lp-nav.scrolled { padding: 11px 0; }
  .lp-logo { font-size: 21px; }
  .lp-logo .pay { font-size: 12px; padding: 3px 9px; }

  .lp-hero { min-height: auto;}
  .lp-hero-badge { font-size: 11.5px; padding: 8px 14px; margin-bottom: 18px; white-space: normal; line-height: 1.35; max-width: 300px; }
  .lp-hero-h1-top, .lp-hero-h1-bottom { font-size: 36px; }
  .lp-hero-sub { font-size: 14px; margin-bottom: 24px; }
  .lp-hero-cta { flex-direction: column; gap: 12px; width: 100%; }
  .lp-hero-cta .lp-btn { width: 100%; justify-content: center; }
  .lp-hero-glow.g1 { width: 340px; height: 340px; top: -80px; }
  .lp-hero-glow.g2, .lp-hero-glow.g3 { width: 220px; height: 220px; }

  .lp-btn { padding: 16px 28px; font-size: 15px; }

  .lp-marquee { padding: 16px 0; }
  .lp-marquee-track { gap: 38px; }
  .lp-marquee-item { font-size: 15px; }
  .lp-marquee::before, .lp-marquee::after { width: 50px; }

  .lp-section-pad { padding: 64px 0; }
  .lp-eyebrow { margin-bottom: 16px; font-size: 13px; }
  .lp-section-head { margin-bottom: 34px; gap: 12px; }
  .lp-section-head h2 { font-size: 27px; }
  .lp-section-head .lp-lead { font-size: 15px; }

  .lp-about-head { margin-bottom: 46px; flex-direction: column; align-items: flex-start; gap: 28px; }
  .lp-about-logo { order: -1; }
  .lp-about-head h2 { font-size: 30px; }
  .lp-about-logo-kassa { font-size: 52px; }
  .lp-about-logo-pay { font-size: 20px; }

  .lp-cards-3 { gap: 16px; }
  .lp-pcard { padding: 26px 22px; border-radius: 22px; }
  .lp-pnum { margin-bottom: 24px; }
  .lp-pcard h3 { font-size: 21px; margin-bottom: 14px; }
  .lp-pcard p { font-size: 14px; margin-bottom: 22px; }
  .lp-pcard .lp-solution { padding: 16px 18px; font-size: 15px; }

  .lp-venue-grid { gap: 14px; }
  .lp-venue { aspect-ratio: 16 / 10; }
  .lp-venue-cap { padding: 18px; }
  .lp-venue-cap h3 { font-size: 18px; }
  .lp-venue-cap p { font-size: 13px; }

  .lp-channels-glow { width: 320px; height: 320px; }
  .lp-notif { padding: 13px 16px 13px 13px; gap: 11px; border-radius: 16px; }
  .lp-notif .ico { width: 40px; height: 40px; border-radius: 11px; }
  .lp-notif .ico svg { width: 20px; height: 20px; }
  .lp-notif .txt b { font-size: 13.5px; }
  .lp-notif .txt small { font-size: 12px; }
  .lp-notif .amount { font-size: 15px; }
  .lp-channels-title { font-size: 26px; }

  .lp-tab { flex: 1 1 100%; padding: 15px 14px; font-size: 13.5px; border-right: none; border-bottom: 1px solid var(--line); }

  .lp-case-glow { width: 300px; height: 300px; }
  .lp-case-top { gap: 28px; margin-bottom: 48px; }
  .lp-case-top h2 { font-size: 27px; margin-bottom: 16px; }
  .lp-case-top p { font-size: 15px; }
  .lp-stat-grid { gap: 14px; }
  .lp-stat { padding: 24px 20px; border-radius: 18px; }
  .lp-stat .num { font-size: 40px; margin-bottom: 8px; }
  .lp-stat .lbl { font-size: 13px; }
  .lp-case-bottom { gap: 34px; }
  .lp-case-features { gap: 14px; }
  .lp-cfeat { padding: 24px 20px; border-radius: 18px; }
  .lp-cfeat .cnum { margin-bottom: 30px; }
  .lp-cfeat h4 { font-size: 16px; }
  .lp-case-img img { max-height: 400px; }

  .lp-steps-head h2 { font-size: 27px; }
  .lp-steps-head p { font-size: 15px; margin-bottom: 36px; }
  .lp-step-grid { gap: 14px; }
  .lp-step { padding: 24px 22px; border-radius: 22px; }
  .lp-step-ico { width: 66px; height: 66px; margin: 22px auto 20px; }
  .lp-step-ico svg { width: 28px; height: 28px; }
  .lp-step h4 { font-size: 18px; }
  .lp-step p { font-size: 14px; }

  .lp-contact-glow { width: 320px; height: 320px; }
  .lp-contact-grid { gap: 30px; }
  .lp-contact-left h2 { font-size: 30px; margin-bottom: 18px; }
  .lp-contact-left p { font-size: 15px; }
  .lp-form-card { padding: 30px 22px; border-radius: 24px; }
  .lp-form-card h3 { font-size: 23px; margin-bottom: 24px; }
  .lp-field { padding: 16px 22px; font-size: 14px; }
  .lp-form-actions { flex-direction: column; gap: 12px; }
  .lp-form-actions .lp-btn { width: 100%; justify-content: center; }

  .lp-footer { padding: 56px 0 32px; }
  .lp-footer-grid { gap: 32px; margin-bottom: 48px; }
  .lp-footer h5 { margin-bottom: 16px; }
  .lp-footer-bottom { padding-top: 28px; font-size: 14px; }

  .lp-totop { right: 18px; bottom: 18px; width: 46px; height: 46px; }
  .lp-progress { height: 2px; }

  /* ── Mobile performance: GPU-safe only ───────────────── */

  /* Kill the CPU-heavy background-position animation */
  .lp-hero::before { animation: none; }

  /* Hide extra glow blobs — filter: blur() is expensive */
  .lp-hero-glow.g2,
  .lp-hero-glow.g3 { display: none; }

  .lp-channels-glow,
  .lp-case-glow,
  .lp-case-glow-2,
  .lp-contact-glow { display: none; }

  /* Nav & notif cards: solid bg instead of backdrop-filter blur */
  .lp-nav.scrolled {
    background: rgba(10, 20, 16, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  html[data-lp-theme="light"] .lp-nav.scrolled {
    background: rgba(242, 247, 244, 0.98);
  }

  .lp-notif-stage .lp-notif {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(12, 22, 18, 0.97);
  }

  /* Images: transition only transform, not filter */
  .lp-venue img { transition: transform 1.1s var(--ease-out); }
  .lp-chan img  { transition: transform 1.1s var(--ease-out); }
}

@media (max-width: 380px) {
  .lp-hero-h1-top, .lp-hero-h1-bottom { font-size: 28px; }
  .lp-channels-title { font-size: 23px; }
  .lp-section-head h2,
  .lp-contact-left h2,
  .lp-case-top h2,
  .lp-steps-head h2 { font-size: 24px; }
}
