/* Сайт GALSA — тёмный интерфейс с салатовым акцентом, топографический фон,
   карточки-«бенто» и сквозная живая подсветка от логотипа.
   Шрифты системные (без Google Fonts: IP посетителя не уходит за рубеж). */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-2: #19191c;
  --card: #131315;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #f4f4f5;
  --text-2: #a0a0a8;
  --text-3: #6c6c74;
  --fill: rgba(255, 255, 255, .06);
  --fill-2: rgba(255, 255, 255, .035);
  --lime: #c5f82a;
  --lime-2: #86cc1a;
  --lime-soft: rgba(197, 248, 42, .12);
  --lime-glow: rgba(170, 235, 40, .55);
  --blue: var(--lime);          /* совместимость со старыми классами */
  --blue-soft: var(--lime-soft);
  --red: #ff5a4f;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px rgba(0, 0, 0, .45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .6);
  --r: 20px;
  --wrap: 1180px;
  --gx: 50vw; --gy: 40vh; --glow-hue: 0deg;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--text); background: transparent; -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; }
/* Топографический рельеф на всём сайте */
body::before { content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background: url("topo.svg") center / cover no-repeat; opacity: .9; }
img, svg { display: block; max-width: 100%; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; margin: 0 0 .45em; font-weight: 650; color: var(--text); }
h1 { font-size: clamp(38px, 5.6vw, 66px); }
h2 { font-size: clamp(28px, 3.8vw, 44px); }
h3 { font-size: 19px; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-2); }
ul { color: var(--text-2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text-3); font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--lime); color: #0a0a0b; }

/* ─── Живая подсветка: ореол логотипа, свет над шапкой и сфера, идущая за прокруткой */
.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform, opacity; }
.ambient .halo { width: 520px; height: 520px; left: calc(var(--lx, 60px) - 260px); top: calc(var(--ly, 40px) - 260px);
  background: radial-gradient(circle, rgba(197, 248, 42, .55) 0%, rgba(160, 230, 40, .22) 35%, transparent 68%); animation: halo 5.5s ease-in-out infinite; }
.ambient .crown { width: 1000px; height: 520px; left: 50%; top: -230px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(175, 240, 40, .5), rgba(120, 200, 30, .16) 45%, transparent 70%); animation: crown 9s ease-in-out infinite; }
.ambient .orb { width: 560px; height: 560px; left: calc(var(--gx) - 280px); top: calc(var(--gy) - 280px);
  background: radial-gradient(circle, rgba(190, 245, 50, .3), rgba(120, 200, 30, .1) 45%, transparent 70%);
  transition: left 1.2s cubic-bezier(.2, .8, .2, 1), top 1.2s cubic-bezier(.2, .8, .2, 1); animation: orb 7s ease-in-out infinite; filter: blur(70px) hue-rotate(var(--glow-hue)); }
@keyframes halo { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes crown { 0%, 100% { opacity: .8; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-46%) scale(1.08); } }
@keyframes orb { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

/* ─── Шапка */
.top { position: sticky; top: 12px; z-index: 50; margin: 12px auto 0; max-width: calc(var(--wrap) - 24px); }
/* Шапка — «пилюля» со скруглёнными краями; стекло только у внутреннего блока */
.top.glass { background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 999px; }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 10px 0 14px; border-radius: 999px;
  background: rgba(16, 16, 18, .62); border: 1px solid var(--line); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: .04em; position: relative; }
.logo:hover { text-decoration: none; }
.logo-mark { position: relative; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #0b0f02;
  background: linear-gradient(135deg, #e2ff6b, var(--lime) 45%, var(--lime-2)); animation: markGlow 5.5s ease-in-out infinite; }
.logo-mark::after { content: ""; position: absolute; inset: -2px; border-radius: 13px; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, rgba(255, 255, 255, .9) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4s linear infinite; }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
@keyframes markGlow { 0%, 100% { box-shadow: 0 0 14px rgba(197, 248, 42, .45), 0 0 40px rgba(197, 248, 42, .2); } 50% { box-shadow: 0 0 22px rgba(197, 248, 42, .75), 0 0 70px rgba(197, 248, 42, .35); } }
.logo small { display: block; white-space: nowrap; font-size: 11px; font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-top: -2px; }
.nav { display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.nav a { color: var(--text-2); font-size: 14px; padding: 7px 13px; white-space: nowrap; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--fill); text-decoration: none; }
.nav a[aria-current="page"] { background: #fff; color: #0a0a0b; font-weight: 600; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.top-actions .burger { display: none; }
.top-actions [data-theme-btn] { display: none; }

/* ─── Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px;
  font: 600 15px var(--font); border: 0; cursor: pointer; color: #0b0f02; background: var(--lime); transition: transform .15s, box-shadow .25s, filter .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; box-shadow: 0 0 0 4px rgba(197, 248, 42, .15), 0 10px 30px rgba(170, 235, 40, .3); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
.btn.white { background: #fff; color: #0a0a0b; }
.btn.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 52px; padding: 0 28px; font-size: 16px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--fill-2); color: var(--text); display: grid; place-items: center; cursor: pointer; }

/* ─── Секции и типографика */
section { padding: 92px 0; position: relative; }
section.tight { padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--lime);
  background: var(--lime-soft); border: 1px solid rgba(197, 248, 42, .22); padding: 4px 11px 4px 9px; border-radius: 999px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--text-2); max-width: 720px; line-height: 1.55; }
.center { text-align: center; }
.center .lead, .center h1, .center h2 { margin-left: auto; margin-right: auto; }
.center .eyebrow { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(197, 248, 42, .10), transparent 60%); }
.card:hover::before { opacity: 1; }
.card p:last-child { margin-bottom: 0; }
a.card { color: inherit; }
a.card:hover { text-decoration: none; border-color: var(--line-2); }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: var(--lime); margin-bottom: 16px; border: 1px solid rgba(197, 248, 42, .18); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--fill); color: var(--text-2); border: 1px solid var(--line); }
.pill.blue, .pill.lime { background: var(--lime-soft); color: var(--lime); border-color: rgba(197, 248, 42, .22); }
.pill.green { background: rgba(52, 199, 89, .14); color: #5fe07a; }

/* ─── Первый экран */
.hero { padding: 96px 0 20px; text-align: center; }
.hero h1 { max-width: 920px; margin-left: auto; margin-right: auto; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #fff 20%, var(--lime) 60%, #fff 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 20px auto 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--text-3); }
.hero.left { text-align: left; }
.hero.left h1, .hero.left .lead { margin-left: 0; }
.hero.left .hero-cta { justify-content: flex-start; }

/* ─── Скриншоты в пространстве */
.stage { position: relative; perspective: 2200px; perspective-origin: 50% 20%; height: clamp(360px, 52vw, 640px); margin: 56px auto 0; max-width: 1180px;
  --rx: 0deg; --ry: 0deg; }
.stage::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -2px; height: 45%; pointer-events: none;
  background: linear-gradient(transparent, var(--bg) 88%); z-index: 5; }
.shot { position: absolute; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: #0b0b0c;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 40px 90px rgba(0, 0, 0, .7), 0 0 60px rgba(170, 235, 40, .12); transform-style: preserve-3d; }
.shot img { width: 100%; height: auto; }
.shot::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .10), transparent 30%, transparent 70%, rgba(197, 248, 42, .06)); }
.stage .main { width: 78%; left: 11%; top: 0; z-index: 3;
  transform: rotateX(calc(24deg + var(--rx))) rotateY(var(--ry)) rotateZ(0deg); transform-origin: 50% 0; animation: float 9s ease-in-out infinite; }
.stage .side-l { width: 44%; left: -4%; top: 16%; z-index: 2; opacity: .75;
  transform: rotateY(calc(38deg + var(--ry))) rotateX(calc(8deg + var(--rx))) rotateZ(-6deg) translateZ(-200px); filter: saturate(.9) brightness(.8); animation: float 11s ease-in-out -3s infinite; }
.stage .side-r { width: 44%; right: -4%; top: 12%; z-index: 2; opacity: .75;
  transform: rotateY(calc(-38deg + var(--ry))) rotateX(calc(8deg + var(--rx))) rotateZ(6deg) translateZ(-200px); filter: saturate(.9) brightness(.8); animation: float 12s ease-in-out -6s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Карточка со скриншотом под углом (бенто) */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr 1.6fr 1fr; }
.bento .wide { grid-column: span 2; }
.bento .card { min-height: 300px; display: flex; flex-direction: column; }
.bento .card:not(:has(.tilt)) { min-height: 0; }
.bento .card p { font-size: 14.5px; }
.tilt { position: relative; margin-top: auto; height: 190px; perspective: 1200px; }
.tilt .shot { width: 150%; left: 8%; top: 18px; transform: rotateX(20deg) rotateY(-16deg) rotateZ(4deg); transform-origin: 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 95%); mask-image: linear-gradient(180deg, #000 40%, transparent 95%); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tilt.r .shot { left: auto; right: 8%; transform: rotateX(20deg) rotateY(16deg) rotateZ(-4deg); transform-origin: 100% 0; }
.card:hover .tilt .shot { transform: rotateX(12deg) rotateY(-8deg) rotateZ(2deg) translateY(-6px); }
.card:hover .tilt.r .shot { transform: rotateX(12deg) rotateY(8deg) rotateZ(-2deg) translateY(-6px); }
/* Показать часть экрана: --x/--y — сдвиг картинки, --z — масштаб */
.crop { overflow: hidden; }
.crop img { width: calc(100% * var(--z, 1)); max-width: none; transform: translate(var(--x, 0), var(--y, 0)); }

/* Большой скриншот фоном секции */
.backdrop { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; perspective: 1800px; }
.backdrop .shot { width: 70%; right: -12%; top: 8%; opacity: .32; transform: rotateY(-28deg) rotateX(14deg) rotateZ(5deg);
  -webkit-mask-image: radial-gradient(ellipse at 40% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 40% 40%, #000 30%, transparent 75%); }
.backdrop.l .shot { right: auto; left: -22%; opacity: .22; transform: rotateY(28deg) rotateX(14deg) rotateZ(-5deg); }

/* Сцена «экран сбоку от текста» */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.split.rev > :first-child { order: 2; }
.persp { position: relative; perspective: 1600px; min-height: 360px; }
.persp .shot { position: relative; width: 125%; transform: rotateY(-20deg) rotateX(8deg) rotateZ(1deg); transform-origin: 0 50%; }
.persp.left .shot { margin-left: -25%; transform: rotateY(20deg) rotateX(8deg) rotateZ(-1deg); transform-origin: 100% 50%; }
.split.rev .persp .shot { margin-left: -25%; transform: rotateY(20deg) rotateX(8deg) rotateZ(-1deg); transform-origin: 100% 50%; }

/* ─── Цифры */
.stat { font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--text); }
.stat.lime, .card .stat { background: linear-gradient(135deg, #fff, var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat + p { margin-top: 10px; }

/* Было / стало */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs .card h3 { display: flex; align-items: center; gap: 10px; }
.vs ul { margin: 0; padding: 0; list-style: none; }
.vs li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.vs li:first-child { border-top: 0; }
.vs .good { border-color: rgba(197, 248, 42, .25); }
.vs .good li::before { content: "✓"; color: var(--lime); margin-right: 10px; font-weight: 700; }
.vs .bad li::before { content: "—"; color: var(--text-3); margin-right: 10px; }

/* Схема единого окна */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; }
.flow .arrow { color: var(--lime); font-size: 26px; text-shadow: 0 0 14px var(--lime); }
.src { display: grid; gap: 10px; }
.src > span { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 550; font-size: 15px; }

/* Шаги внедрения */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 70px 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 20px; left: 22px; font-weight: 700; font-size: 22px; color: var(--lime); text-shadow: 0 0 18px rgba(197, 248, 42, .6); }
.step .when { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 6px; }

/* Тарифы */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.hl { border-color: rgba(197, 248, 42, .5); box-shadow: 0 0 0 1px rgba(197, 248, 42, .25), 0 0 60px rgba(170, 235, 40, .15), var(--shadow); }
.plan.hl::after { content: ""; position: absolute; left: 20%; right: 20%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--lime), transparent); }
.plan .pill { align-self: flex-start; }
.plan .price { font-size: 32px; font-weight: 700; letter-spacing: -.03em; margin: 14px 0 2px; }
.plan.hl .price { color: var(--lime); }
.plan .per { color: var(--text-3); font-size: 13.5px; margin-bottom: 18px; }
.plan ul { padding-left: 0; list-style: none; margin: 0 0 22px; font-size: 14.5px; }
.plan li { margin-bottom: 8px; padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }

/* Калькулятор */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; color: var(--text); }
.field label output { color: var(--lime); }
input[type="range"] { width: 100%; accent-color: var(--lime); }
.result .row { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); gap: 16px; color: var(--text-2); }
.result .row b { color: var(--text); white-space: nowrap; }
.result .row:first-child { border-top: 0; }
.result .total { font-size: 28px; font-weight: 700; color: var(--lime) !important; }

/* Таблицы */
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
td b { color: var(--text); }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--lime); font-weight: 600; }
td.no { color: var(--text-3); }

/* Вопросы и ответы */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; margin-bottom: 10px; transition: border-color .2s; }
details[open] { border-color: rgba(197, 248, 42, .25); }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lime); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 18px; margin: 0; }

/* Формы */
form .grid { gap: 14px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: 15px var(--font); color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(197, 248, 42, .6); box-shadow: 0 0 0 4px rgba(197, 248, 42, .1); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); line-height: 1.45; margin: 8px 0; }
.check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--lime); }
.form-msg { margin-top: 12px; font-size: 14.5px; }
.form-msg.ok { color: var(--lime); }
.form-msg.err { color: var(--red); }
.notice { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .25s; }
.notice.on { opacity: 1; }
.notice-card { position: relative; display: flex; align-items: center; gap: 14px; max-width: 460px; width: 100%;
  padding: 22px 48px 22px 22px; border-radius: 22px; transform: translateY(12px) scale(.98); transition: transform .25s; }
.notice.on .notice-card { transform: none; }
.notice-card p { margin: 0; font-size: 18px; font-weight: 600; color: var(--text); line-height: 1.35; }
.notice-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--lime); color: #0b0f02; font-size: 22px; font-weight: 700; }
.notice-x { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 10px;
  background: transparent; color: var(--text-2); font-size: 22px; cursor: pointer; }
.notice-x:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.req { color: var(--red); }

/* ─── Мобильное приложение (скоро): преимущества и подписка слева, картинка «ноутбук + телефон» справа */
.lime-text { color: var(--lime); }
.mob { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; margin-top: 36px; }
.mob-text { position: relative; z-index: 2; }
.mob-feat { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 14px; }
.mob-feat .ic.an { margin: 0; }
.mob-feat p { font-size: 16px; line-height: 1.6; margin: 0; }
.mob-feat b { color: var(--text); }
.mob-form { margin-top: 6px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.mob-row { display: flex; gap: 10px; margin-bottom: 6px; }
.mob-row input { flex: 1; min-width: 0; }
.mob-row .btn { flex: none; }
/* Ноутбук и телефон в 3D: наклон, заезд под карточки слева; телефон покачивается при наведении */
.mob-pic { position: relative; z-index: 1; margin-left: -40%; perspective: 1800px; padding: 50px 0; }
.mob-pic::before { content: ""; position: absolute; inset: 5% 0 5% 20%; z-index: -1; border-radius: 50%; filter: blur(50px);
  background: radial-gradient(circle, rgba(197, 248, 42, .28), transparent 70%); }
.dev3d { position: relative; width: 100%; transform: rotateY(-18deg) rotateX(8deg) rotateZ(1.5deg);
  transform-origin: 40% 50%; transform-style: preserve-3d; }
.dev-laptop { display: block; width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.dev-phone { position: absolute; left: 70%; top: -12%; width: 38.4%; height: auto; transform: translateZ(70px);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); transition: transform .6s cubic-bezier(.3, .8, .3, 1); }
.mob-pic:hover .dev-phone, .mob-pic:focus-within .dev-phone { animation: phoneFloat 3.2s ease-in-out infinite; }
@keyframes phoneFloat { 0%, 100% { transform: translateZ(70px) translateY(0) rotate(0); }
  50% { transform: translateZ(70px) translateY(-16px) rotate(-2.5deg); } }
@media (prefers-reduced-motion: reduce) { .mob-pic .dev-phone { animation: none !important; } }
@media (max-width: 1240px) { .mob-pic { margin-left: -25%; } .dev3d { width: 92%; } .dev-phone { left: 64%; } }
@media (max-width: 900px) {
  .mob { grid-template-columns: 1fr; gap: 28px; } .mob-pic { order: -1; margin: 0; padding: 20px 0 10px; }
  .dev3d { width: 78%; margin: 0; transform: rotateY(-10deg) rotateX(5deg); }
}
@media (max-width: 520px) { .mob-row { flex-direction: column; } .mob-feat { flex-direction: column; gap: 12px; } }

/* Финальный призыв */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 72px 40px; text-align: center; border: 1px solid rgba(197, 248, 42, .2);
  background: radial-gradient(700px 300px at 50% 0%, rgba(170, 235, 40, .28), transparent 70%), linear-gradient(180deg, #151a0c, #0e0f0b); box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; }
.cta p { color: var(--text-2); }
.cta .btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; }
.cta .backdrop .shot { opacity: .18; width: 60%; right: -8%; top: 30%; }

/* Подвал */
footer { padding: 60px 0 40px; margin-top: 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .5)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 0 0 14px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 9px; }
footer a { color: var(--text-2); }
footer a:hover { color: var(--lime); text-decoration: none; }
.legal-line { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-3); font-size: 12.5px; }

/* Юридические документы */
.doc { max-width: 820px; text-align: left; }
.doc h2 { font-size: 24px; margin-top: 1.6em; }
.doc p, .doc li { color: var(--text-2); }
.doc .draft { background: rgba(255, 170, 0, .1); border: 1px solid rgba(255, 170, 0, .25); color: #ffc34d; border-radius: 14px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 24px; }
.fill { background: rgba(255, 170, 0, .18); color: #ffd27a; border-radius: 6px; padding: 0 5px; }

/* Cookie-баннер */
.glass { background: rgba(20, 20, 22, .82); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; border-radius: 22px; padding: 20px 22px; }
.cookie p { font-size: 13.5px; margin-bottom: 12px; color: var(--text); }
.cookie .opts { display: none; margin-bottom: 12px; }
.cookie.more .opts { display: block; }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Пример переписки «Спроси отдел снабжения» и чат на сайте */
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; }
.msg.bot { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; color: var(--text); }
.msg.me { background: var(--lime); color: #0b0f02; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg a { font-weight: 600; }
.ask-demo { display: flex; flex-direction: column; gap: 10px; }
.ask-demo .msg { max-width: 88%; }

.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; height: 54px; padding: 0 22px 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 10px; color: #0b0f02; font: 600 15px var(--font); background: var(--lime); animation: markGlow 5.5s ease-in-out infinite; }
.chat { position: fixed; right: 20px; bottom: 86px; z-index: 75; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 120px));
  border-radius: 24px; display: none; flex-direction: column; overflow: hidden; }
.chat.open { display: flex; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px 18px; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: 15.5px; }
.chat-head small { color: var(--text-3); font-size: 12.5px; }
.chat-head .icon-btn { margin-left: auto; }
.chat-tabs { display: flex; gap: 6px; padding: 10px 14px 0; }
.chat-tabs button { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 8px 6px; font: 600 13px var(--font); background: var(--fill-2); color: var(--text-2); cursor: pointer; }
.chat-tabs button[aria-selected="true"] { background: var(--lime-soft); color: var(--lime); border-color: rgba(197, 248, 42, .3); }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; }
.chips button { border: 1px solid rgba(197, 248, 42, .3); background: var(--lime-soft); color: var(--lime); border-radius: 999px; padding: 7px 12px; font: 500 13.5px var(--font); cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; border-radius: 999px; padding: 11px 16px; }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--lime); color: #0b0f02; cursor: pointer; display: grid; place-items: center; flex: none; }
.chat-note { font-size: 11.5px; color: var(--text-3); padding: 0 16px 10px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .3; } }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ambient i, .logo-mark, .logo-mark::after, .chat-fab, .shot { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Адаптив */
@media (max-width: 1240px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .top-actions .burger { display: grid; }
  .top.menu-open .nav { display: grid; position: absolute; top: 70px; left: 0; right: 0; padding: 10px; border-radius: 20px;
    background: rgba(18, 18, 20, .97); box-shadow: var(--shadow-lg); margin: 0; }
  .top.menu-open .nav a { padding: 12px 14px; font-size: 16px; }
}
@media (max-width: 1080px) {
  .plans, .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .wide { grid-column: span 2; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .persp .shot, .split.rev .persp .shot, .persp.left .shot { width: 100%; margin-left: 0; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .top { margin: 8px 8px 0; }
  .top .btn.sm { display: none; }
  section { padding: 60px 0; }
  .hero { padding-top: 64px; }
  .g2, .g3, .g4, .plans, .steps, .vs, .calc, .foot-grid, .bento { grid-template-columns: 1fr; }
  .bento .wide { grid-column: auto; }
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { transform: rotate(90deg); justify-self: center; }
  .stage { height: 300px; margin-top: 36px; }
  .stage .main { width: 100%; left: 0; }
  .stage .side-l, .stage .side-r { display: none; }
  .cta { padding: 48px 20px; border-radius: 22px; }
  .chat-fab span { display: none; }
  .chat-fab { padding: 0 16px; }
  .chat { right: 16px; bottom: 82px; }
  .ambient .halo { width: 300px; height: 300px; left: -80px; top: -110px; }
  .persp { min-height: 0; }
}

/* ─── Правка текста кликом (только у владельца опубликованного сайта) */
/* Панель правки текста: вертикально у левого края посередине, сворачивается в язычок */
.edit-bar { position: fixed; left: 12px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column;
  align-items: stretch; gap: 6px; width: 184px; padding: 30px 8px 8px; border-radius: 20px; }
.edit-bar [hidden] { display: none !important; }
.edit-bar .btn { width: 100%; height: auto; min-height: 38px; padding: 8px 12px; white-space: normal; line-height: 1.2; font-size: 13.5px; }
.edit-bar .edit-count { font-size: 12.5px; line-height: 1.3; color: var(--text-2); padding: 2px 4px; text-align: center; }
.edit-bar .btn[disabled] { opacity: .45; pointer-events: none; }
.edit-min { position: absolute; top: 4px; right: 6px; width: 26px; height: 22px; border: 0; border-radius: 8px; background: transparent;
  color: var(--text-2); font-size: 20px; line-height: 1; cursor: pointer; }
.edit-min:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.edit-tab { display: none; }
.edit-bar.min { left: 0; width: auto; padding: 0; border-radius: 0 14px 14px 0; }
.edit-bar.min > :not(.edit-tab) { display: none !important; }
.edit-bar.min .edit-tab { display: block; width: 34px; height: 56px; border: 0; background: transparent; color: var(--lime);
  font-size: 18px; cursor: pointer; }
.edit-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 95; padding: 12px 18px; border-radius: 14px; font-size: 14px; }
body.editing [data-t] { outline: 1px dashed rgba(197, 248, 42, .35); outline-offset: 3px; border-radius: 4px; cursor: text; }
body.editing [data-t]:hover { outline-color: rgba(197, 248, 42, .8); }
body.editing [data-t]:focus { outline: 2px solid var(--lime); background: rgba(197, 248, 42, .06); }
body.editing .reveal { opacity: 1; transform: none; }
@media (max-width: 760px) { .edit-bar { left: 6px; width: 160px; } }
