/* Lotus Hub — сайт. Цвета и шрифты — из бренда панели (CLAUDE.md: тёмный графит + фиолетовые градиенты). */
:root {
  --bg: #0B0B10;
  --bg-2: #0E0F13;
  --card: #14151C;
  --card-2: #191A23;
  --line: #23262F;
  --line-2: #2E313B;
  --text: #ECEEF3;
  --text-2: #C9CDD8;
  --muted: #9AA0AE;
  --accent: #9C88DD;
  --violet: #7B5CF5;
  --violet-2: #B58CFF;
  --pink: #D985E8;
  --ok: #7FE0B3;
  --warn: #FFB86B;
  --err: #FF8A8A;
  --grad: linear-gradient(90deg, #7B5CF5, #A77BFF 55%, #D985E8);
  --sans: Manrope, system-ui, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 18px;
  --w: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: #C7B8FF; text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--w), 100% - 32px); margin: 0 auto; }
.mono { font-family: var(--mono); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: var(--muted); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* фон: свечения и сетка */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.orb.o1 { width: 520px; height: 520px; background: #5B3FD6; top: -180px; left: -120px; }
.orb.o2 { width: 460px; height: 460px; background: #A0359F; top: 120px; right: -160px; opacity: .32; animation-delay: -6s; }
.orb.o3 { width: 380px; height: 380px; background: #3B2C8F; top: 1400px; left: 30%; opacity: .25; animation-delay: -11s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--line-2); background: #17181F; color: var(--text); font: 700 15px var(--sans); cursor: pointer; transition: transform .15s, box-shadow .2s, border-color .2s, background .2s; white-space: nowrap; }
.btn:hover { border-color: #4A3F7A; color: #fff; transform: translateY(-1px); }
.btn.primary { border: 0; background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.primary:hover { box-shadow: 0 14px 40px -10px rgba(181, 140, 255, .95), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* шапка */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(11, 11, 16, .72); border-bottom: 1px solid rgba(35, 38, 47, .7); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--text); font-weight: 800; letter-spacing: -.01em; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; background: #0B0B10; border: 1px solid #3A2F66; display: grid; place-items: center; box-shadow: 0 0 20px rgba(139,108,240,.35); }
.brand-logo img { width: 24px; height: 24px; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--text-2); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: #fff; background: #17181F; }
.top-acts { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #17181F; color: var(--text); font-size: 20px; cursor: pointer; }
@media (max-width: 920px) {
  .nav, .top-acts .btn:not(.primary) { display: none; }
  .burger { display: inline-grid; place-items: center; margin-left: 0; }
  .top-acts { margin-left: auto; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 18px; background: rgba(11,11,16,.97); border-bottom: 1px solid var(--line); }
  .nav.open a { padding: 12px; font-size: 16px; }
}
@media (max-width: 480px) { .top-acts .btn.primary { padding: 0 14px; font-size: 13px; min-height: 40px; } .brand small { display: none; } }

/* секции */
section.sec { padding: 96px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #B9A6FF; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head h2, .h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -.025em; margin: 14px 0 14px; font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge-new { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid #3A2F66; background: rgba(28, 22, 52, .7); font-size: 13px; color: var(--text-2); }
.badge-new b { background: var(--grad); color: #fff; font-size: 11px; padding: 3px 9px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.02; letter-spacing: -.035em; margin: 22px 0 18px; font-weight: 800; }
.hero .lead { font-size: 18px; color: var(--text-2); max-width: 560px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-checks { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 14px; }
.hero-checks span::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* окно-демо в hero */
.demo { position: relative; border-radius: 22px; border: 1px solid #2D2650; background: linear-gradient(180deg, rgba(24, 21, 40, .95), rgba(16, 16, 23, .95)); box-shadow: 0 40px 120px -30px rgba(123, 92, 245, .55), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; }
.demo::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.demo-tabs { display: flex; gap: 6px; padding: 14px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.demo-tab { flex: none; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 13px var(--sans); cursor: pointer; }
.demo-tab.on { background: #231D3D; border-color: #4A3F7A; color: #fff; }
.demo-chat { padding: 18px; min-height: 330px; display: flex; flex-direction: column; gap: 10px; }
.demo-who { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 4px; }
.av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #3A2F66, #7B5CF5); display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.online { font-size: 12px; color: var(--ok); }
.bub { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(8px) scale(.98); animation: pop .4s cubic-bezier(.2,.8,.2,1) forwards; }
.bub.them { align-self: flex-start; background: #1E2029; border: 1px solid var(--line); border-top-left-radius: 4px; }
.bub.me { align-self: flex-end; background: linear-gradient(135deg, #6A4FD8, #9B6CF2); color: #fff; border-top-right-radius: 4px; }
.bub.sys { align-self: center; max-width: 94%; font-size: 12.5px; background: #15141C; border: 1px dashed #3A2F66; color: var(--text-2); text-align: center; }
.bub .mono { font-size: 12.5px; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #2A2150; opacity: 0; animation: pop .3s forwards; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #C7B8FF; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .25; } }
.demo-foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.demo-foot b { color: var(--ok); font-family: var(--mono); }

/* цифры */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 64px; }
.stat { background: var(--bg-2); padding: 26px 24px; text-align: center; }
.stat b { display: block; font: 700 clamp(28px, 4vw, 40px)/1.1 var(--mono); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* бегущая строка */
.marquee { margin-top: 40px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #121319; color: var(--text-2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.mq i { width: 8px; height: 8px; border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* карточки */
.card { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--card), #111218); padding: 26px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.card:hover { border-color: #3A2F66; transform: translateY(-3px); box-shadow: 0 24px 60px -30px rgba(123, 92, 245, .5); }
.card h3 { margin: 14px 0 8px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #1C1833; border: 1px solid #3A2F66; color: #C7B8FF; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid3, .grid4 { grid-template-columns: 1fr; } }

/* фича: аренда */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 980px) { .feature { grid-template-columns: 1fr; } }
.flow { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.flow li { display: flex; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent; cursor: default; transition: background .2s, border-color .2s; }
.flow li.on { background: #16142A; border-color: #3A2F66; }
.flow li b { display: block; font-size: 15px; }
.flow li span { color: var(--muted); font-size: 14px; }
.flow-n { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1px solid #3A2F66; display: grid; place-items: center; font: 700 12px var(--mono); color: #C7B8FF; }
.flow li.on .flow-n { background: var(--grad); color: #fff; border: 0; }
.mock { border-radius: 20px; border: 1px solid #2D2650; background: #101017; box-shadow: 0 40px 100px -40px rgba(123, 92, 245, .6); overflow: hidden; }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mock-head .dots { display: flex; gap: 6px; } .mock-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2A2C36; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mini-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini-kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #14151C; position: relative; overflow: hidden; }
.mini-kpi::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.mini-kpi small { color: var(--muted); font-size: 11px; display: block; }
.mini-kpi b { font: 700 18px var(--mono); }
@media (max-width: 520px) { .mini-kpis { grid-template-columns: repeat(2, 1fr); } }
.rent-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #14151C; font-size: 13px; }
.rent-row .bar { flex: 1; height: 6px; border-radius: 6px; background: #22242D; overflow: hidden; }
.rent-row .bar i { display: block; height: 100%; background: var(--grad); border-radius: 6px; animation: shrink linear infinite; transform-origin: left; }
@keyframes shrink { from { transform: scaleX(1); } to { transform: scaleX(.05); } }
.rent-row .t { font-family: var(--mono); color: var(--text-2); min-width: 64px; text-align: right; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #14151C; }
.mini-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #B58CFF, #5B3FD6); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { transform: scaleY(0); } }

/* сравнение */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.compare .card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.compare li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.compare .bad li::before { content: "✕"; color: var(--err); font-weight: 800; }
.compare .good li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.compare .good { border-color: #4A3F7A; background: linear-gradient(180deg, #1A1630, #121118); }
.compare-arrow { display: grid; place-items: center; color: #7B5CF5; font-size: 28px; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } .compare-arrow { transform: rotate(90deg); } }

/* шаги */
.steps { counter-reset: s; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font: 800 16px var(--mono); color: #fff; box-shadow: 0 0 30px rgba(139, 92, 246, .5); }
.steps-line { position: relative; }
.ready { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px auto 0; padding: 12px 20px; width: fit-content; max-width: 100%; border-radius: 12px; border: 1px solid #1F4434; background: #10201A; color: var(--ok); font-size: 14px; font-weight: 600; text-align: center; }

/* плагины */
.ptabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.ptab { padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: #121319; color: var(--text-2); font: 600 14px var(--sans); cursor: pointer; }
.ptab b { font-family: var(--mono); color: var(--muted); margin-left: 6px; font-weight: 600; }
.ptab.on { background: #231D3D; border-color: #4A3F7A; color: #fff; }
.plug { display: flex; flex-direction: column; gap: 10px; }
.plug-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plug-dot { width: 12px; height: 12px; border-radius: 4px; }
.plug .tag { font: 700 11px var(--mono); padding: 3px 8px; border-radius: 999px; background: var(--grad); color: #fff; }
.plug ul { margin: 4px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14px; }
.plug ul li { margin: 3px 0; }
.plug.fade-in { animation: pop .45s cubic-bezier(.2,.8,.2,1) both; }

/* «весь магазин в одном окне» */
.onewin { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
@media (max-width: 980px) { .onewin { grid-template-columns: 1fr; } }
.onewin-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.onewin-list b { display: block; font-size: 15px; }
.onewin-list span { color: var(--muted); font-size: 14px; }
@media (max-width: 520px) { .onewin-list { grid-template-columns: 1fr; } }
.panel-mock { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.pm-side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 4px; font-size: 12.5px; color: var(--muted); }
.pm-side span { padding: 7px 10px; border-radius: 8px; }
.pm-side span.on { background: #231D3D; color: #fff; }
.pm-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.heat-mini { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.heat-mini i { aspect-ratio: 1; border-radius: 3px; background: #1A1C23; }
.heat-mini i.l1 { background: #2A2350; } .heat-mini i.l2 { background: #43358C; } .heat-mini i.l3 { background: #6A4FD8; } .heat-mini i.l4 { background: #B58CFF; }
@media (max-width: 560px) { .panel-mock { grid-template-columns: 1fr; } .pm-side { display: none; } }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 22px; }
.plan .p-name { font-weight: 700; color: var(--text-2); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan .p-tag { font: 700 11px var(--mono); padding: 3px 8px; border-radius: 999px; border: 1px solid #3A2F66; color: #C7B8FF; }
.plan .p-price { font: 800 34px/1.1 var(--mono); letter-spacing: -.04em; margin-top: 10px; }
.plan .p-price small { font: 600 14px var(--sans); color: var(--muted); letter-spacing: 0; }
.plan .p-old { color: var(--muted); text-decoration: line-through; font-family: var(--mono); font-size: 14px; min-height: 22px; }
.plan .p-note { color: var(--muted); font-size: 13px; flex: 1; }
.plan .btn { margin-top: 14px; }
.plan.hot { border-color: #7B5CF5; background: linear-gradient(180deg, #211A40, #14121E); box-shadow: 0 30px 80px -30px rgba(123, 92, 245, .75); }
.plan.hot .p-tag { background: var(--grad); color: #fff; border: 0; }
.plan.trial { border-style: dashed; }
.plan-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: 14px; }
.plan-feats span::before { content: "✓"; color: var(--ok); margin-right: 8px; font-weight: 800; }

/* оплата и доступ */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px; }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; padding: 26px; } }
.access ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: a; }
.access ol li { display: flex; gap: 14px; }
.access ol li::before { counter-increment: a; content: counter(a, decimal-leading-zero); flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid #3A2F66; display: grid; place-items: center; font: 700 12px var(--mono); color: #C7B8FF; }
.access ol b { display: block; }
.access ol span { color: var(--muted); font-size: 14px; }

/* вопросы */
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 20px; } }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #111218; margin-bottom: 10px; overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: #3A2F66; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; color: #C7B8FF; font-family: var(--mono); transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--text-2); }

/* финальный призыв */
.cta-box { text-align: center; padding: 64px 28px; border-radius: 28px; border: 1px solid #3A2F66; background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(123, 92, 245, .35), transparent 70%), #110F1C; position: relative; overflow: hidden; }
.cta-box h2 { font-size: clamp(30px, 4.5vw, 50px); margin: 0 0 12px; letter-spacing: -.03em; line-height: 1.1; }
.cta-box p { color: var(--text-2); margin: 0 0 28px; }
.cta-box .hero-cta { justify-content: center; }

/* подвал */
.foot { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.foot a { display: block; color: var(--text-2); font-size: 14px; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* появление при прокрутке */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }

/* модальное окно */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(5, 5, 9, .72); backdrop-filter: blur(6px); }
.modal-box { width: min(480px, 100%); border-radius: 20px; border: 1px solid #3A2F66; background: #14131E; padding: 28px; box-shadow: 0 40px 120px -20px rgba(0,0,0,.8); animation: pop .3s both; }
.modal-box h3 { margin: 0 0 8px; font-size: 22px; }
.modal-box p { color: var(--text-2); margin: 0 0 18px; }
.modal-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* формы (вход, регистрация, кабинет, вход в панель) */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: min(440px, 100%); border-radius: 22px; border: 1px solid #2D2650; background: linear-gradient(180deg, rgba(24, 21, 40, .95), rgba(16, 16, 23, .97)); padding: 32px; box-shadow: 0 40px 120px -40px rgba(123, 92, 245, .55); position: relative; overflow: hidden; }
.auth-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.auth-card h1 { font-size: 28px; letter-spacing: -.02em; margin: 18px 0 6px; line-height: 1.15; }
.auth-card .sub { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14px; }
.field .help { color: var(--muted); font-size: 13px; }
.field .err { color: var(--err); font-size: 13px; min-height: 0; }
.field .err:empty { display: none; }
.input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #0D0D13; color: var(--text); font: 500 15px var(--sans); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: #7B5CF5; box-shadow: 0 0 0 4px rgba(123, 92, 245, .18); }
.input.code { font: 700 22px var(--mono); letter-spacing: .18em; text-align: center; text-transform: uppercase; }
.form-err { color: var(--err); font-size: 14px; margin: 10px 0 0; }
.form-err:empty { display: none; }
.auth-alt { text-align: center; margin-top: 18px; color: var(--muted); font-size: 14px; }
.trial-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid #3A2F66; background: #17132B; color: var(--text-2); font-size: 14px; margin-bottom: 18px; }
.trial-note b { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
