/* ClickCRM — лендинг. Тёмная футуристичная тема в цветах бренда. */
@font-face { font-family: 'Unbounded'; font-weight: 600; font-display: swap; src: url(assets/fonts/unbounded-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 600; font-display: swap; src: url(assets/fonts/unbounded-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url(assets/fonts/unbounded-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url(assets/fonts/unbounded-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Unbounded'; font-weight: 800; font-display: swap; src: url(assets/fonts/unbounded-cyrillic-800-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 800; font-display: swap; src: url(assets/fonts/unbounded-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(assets/fonts/manrope-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(assets/fonts/manrope-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url(assets/fonts/manrope-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url(assets/fonts/manrope-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(assets/fonts/manrope-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(assets/fonts/manrope-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(assets/fonts/manrope-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(assets/fonts/manrope-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(assets/fonts/manrope-cyrillic-800-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(assets/fonts/manrope-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }

:root {
  --bg: #05070f; --bg2: #0a0e1c; --text: #eaf0ff; --muted: #94a0c0; --dim: #5d6888;
  --line: rgba(255, 255, 255, .08); --glass: rgba(255, 255, 255, .045); --glass2: rgba(255, 255, 255, .08);
  --blue: #1E5BFF; --cyan: #00A6FF; --violet: #7c3aed; --pink: #d946ef; --green: #22c55e; --amber: #f59e0b; --red: #ef4444;
  --grad: linear-gradient(100deg, #6ea8ff 0%, #00c2ff 30%, #8b5cf6 65%, #e879f9 100%);
  --grad-btn: linear-gradient(110deg, #1E5BFF, #5b4bff 50%, #00A6FF);
  --r: 22px; --w: 1240px;
  --fh: 'Unbounded', 'Manrope', system-ui, sans-serif; --fb: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.6 var(--fb); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(30, 91, 255, .45); }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.c-green { color: #4ade80; } .c-cyan { color: #38bdf8; }
.glass { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-radius: var(--r); }
[data-lucide] { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }

/* фон: сияние, сетка-пол, звёзды */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 50% -10%, #101a3d 0%, var(--bg) 60%); }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.a1 { width: 720px; height: 720px; left: -180px; top: -240px; background: radial-gradient(circle, #1E5BFF, transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.a2 { width: 640px; height: 640px; right: -200px; top: 80px; background: radial-gradient(circle, #7c3aed, transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
.a3 { width: 560px; height: 560px; left: 30%; top: 55%; background: radial-gradient(circle, #00A6FF, transparent 65%); opacity: .3; animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-120px, 140px) scale(.9); } }
.grid-floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%; background-image: linear-gradient(rgba(110,168,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(110,168,255,.10) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: bottom; mask-image: linear-gradient(to top, #000 10%, transparent 75%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 75%); animation: floor 14s linear infinite; }
@keyframes floor { to { background-position: 0 64px, 0 0; } }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }

/* навигация */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(var(--w), calc(100% - 28px)); display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 20px; border-radius: 18px; border: 1px solid transparent; transition: all .35s; }
.nav.scrolled { background: rgba(8, 11, 24, .72); border-color: var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav__links a { transition: color .2s; } .nav__links a:hover { color: #fff; }
.nav__cta { display: flex; gap: 8px; }
.nav__burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav.open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* кнопки */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 14px; font: 700 15px var(--fb); cursor: pointer; border: 0; color: #fff; transition: transform .2s, box-shadow .25s, background .25s; white-space: nowrap; overflow: hidden; isolation: isolate; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-btn); background-size: 200% 100%; box-shadow: 0 10px 30px rgba(30, 91, 255, .45), inset 0 1px 0 rgba(255,255,255,.25); animation: btnflow 6s ease infinite; }
.btn--primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 4s ease-in-out infinite; }
@keyframes btnflow { 50% { background-position: 100% 0; } }
@keyframes sheen { 60%, 100% { transform: translateX(120%); } }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(30, 91, 255, .6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--glass { background: var(--glass2); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.16); }
.btn--ghost:hover { background: var(--glass2); }

/* HERO */
.hero { width: min(var(--w), calc(100% - 32px)); margin: 0 auto; padding: 150px 0 40px; text-align: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(110,168,255,.3); background: rgba(30,91,255,.1); font-size: 13.5px; font-weight: 600; color: #bcd2ff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero__title { font: 800 clamp(38px, 6.4vw, 84px)/1.04 var(--fh); letter-spacing: -.035em; margin: 26px 0 22px; }
.hero__sub { max-width: 760px; margin: 0 auto; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.hero__actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 22px; justify-content: center; margin-top: 26px; flex-wrap: wrap; color: var(--dim); font-size: 13.5px; font-weight: 600; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; } .hero__trust [data-lucide] { width: 16px; height: 16px; color: #6ea8ff; }

.stage { position: relative; margin: 70px auto 0; max-width: 1120px; perspective: 1600px; }
.stage__glow { position: absolute; inset: 8% 6% -6%; background: conic-gradient(from 180deg, #1E5BFF, #00A6FF, #8b5cf6, #e879f9, #1E5BFF); filter: blur(70px); opacity: .45; border-radius: 40px; animation: spin 18s linear infinite; }
@keyframes spin { to { filter: blur(70px) hue-rotate(360deg); } }
.device { position: relative; border-radius: 20px; padding: 8px; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); box-shadow: 0 50px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); transform-style: preserve-3d; transition: transform .25s ease-out; }
.device__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; }
.device__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .device__bar i:nth-child(2) { background: #febc2e; } .device__bar i:nth-child(3) { background: #28c840; }
.device__bar span { margin: 0 auto; padding: 3px 14px; border-radius: 8px; background: rgba(0,0,0,.25); font-size: 12px; color: var(--muted); transform: translateX(-30px); }
.device__screen { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: #0b1020; }
.device__screen video { width: 100%; height: 100%; object-fit: cover; }
/* под экраном — ряд коротких фактов (не поверх скриншота) */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1120px; margin: 34px auto 0; }
.hl { display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-size: 13.5px; color: #c3cde6; line-height: 1.35; text-align: left; }
.hl b { font: 800 24px var(--fh); flex-shrink: 0; } .hl small { color: var(--dim); }
.hl [data-lucide] { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: rgba(30,91,255,.2); color: #8fb6ff; }
@keyframes bob { 50% { transform: translateY(-14px); } }

/* цифры */
.stats { width: min(var(--w), calc(100% - 32px)); margin: 90px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.stat { padding: 30px 26px; background: rgba(8,11,24,.85); }
.stat b { display: block; font: 800 clamp(30px, 3.6vw, 46px)/1 var(--fh); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* секции */
.section { width: min(var(--w), calc(100% - 32px)); margin: 0 auto; padding: 130px 0 0; }
.section__head { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.eyebrow { display: inline-block; font: 700 12.5px var(--fb); letter-spacing: .22em; text-transform: uppercase; color: #7fb0ff; margin-bottom: 16px; }
.section h2 { font: 800 clamp(30px, 4.4vw, 54px)/1.08 var(--fh); letter-spacing: -.03em; margin: 0 0 18px; }
.section__head p { color: var(--muted); font-size: 18px; margin: 0; }

/* путь клиента */
.flow { display: flex; align-items: stretch; gap: 0; }
.flow__step { flex: 1; text-align: center; padding: 26px 16px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); }
.flow__step b { display: block; font: 700 17px var(--fh); margin: 14px 0 8px; }
.flow__step span { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.flow__ic { width: 58px; height: 58px; margin: 0 auto; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(30,91,255,.35), rgba(124,58,237,.35)); box-shadow: 0 10px 30px rgba(30,91,255,.3), inset 0 1px 0 rgba(255,255,255,.2); }
.flow__ic [data-lucide] { width: 26px; height: 26px; }
.flow__line { width: 40px; align-self: center; height: 2px; background: linear-gradient(90deg, transparent, #4f7dff, transparent); position: relative; overflow: hidden; flex-shrink: 0; }
.flow__line::after { content: ''; position: absolute; top: -2px; width: 14px; height: 6px; border-radius: 3px; background: #9cc0ff; box-shadow: 0 0 12px #6ea8ff; animation: travel 2.2s linear infinite; }
@keyframes travel { from { left: -14px; } to { left: 100%; } }

/* возможности */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; margin-bottom: 120px; }
.feature--rev .feature__text { order: 2; }
.feature h3 { font: 700 clamp(24px, 2.7vw, 34px)/1.15 var(--fh); letter-spacing: -.02em; margin: 16px 0 14px; }
.feature p { color: var(--muted); font-size: 16.5px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #bcd2ff; background: rgba(30,91,255,.14); border: 1px solid rgba(110,168,255,.25); }
.chip [data-lucide] { width: 15px; height: 15px; }
.chip--ai { color: #f0c8ff; background: rgba(217,70,239,.14); border-color: rgba(232,121,249,.3); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: #c9d3ec; font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: rgba(34,197,94,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticks b { color: #fff; }
.ticks.small li { font-size: 14.5px; }
.feature__media { position: relative; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 6px rgba(255,255,255,.03); background: #0b1020; transition: transform .25s ease-out; transform-style: preserve-3d; }
.shot img { width: 100%; height: auto; }
.stack { padding-bottom: 60px; }
.stack .shot--over { position: absolute; width: 56%; right: -26px; bottom: 0; box-shadow: 0 30px 70px rgba(0,0,0,.7); animation: bob 7s ease-in-out infinite; }
.feature--rev .stack .shot--over { right: auto; left: -26px; }
.sign-demo { padding-right: 70px; }
.phone { position: absolute; right: -10px; bottom: -40px; width: 210px; aspect-ratio: 9/19; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #2a3146, #0d1120); box-shadow: 0 40px 80px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.12); animation: bob 6s ease-in-out infinite; }
.phone__notch { position: absolute; top: 14px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #05070f; z-index: 2; }
.phone__screen { height: 100%; border-radius: 26px; overflow: hidden; background: #f4f6fb; color: #0f172a; padding: 40px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.ph-head { display: flex; align-items: center; gap: 6px; font-size: 12px; } .ph-head img { width: 18px; }
.ph-card { background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 2px 6px rgba(15,23,42,.08); }
.ph-card small { display: block; font-size: 8px; letter-spacing: .1em; color: #64748b; font-weight: 700; } .ph-card b { display: block; font-size: 12px; margin-top: 2px; } .ph-card span { font-size: 10px; color: #94a3b8; }
.ph-doc { background: #fff; border-radius: 10px; padding: 10px; display: grid; gap: 5px; } .ph-doc i { height: 4px; border-radius: 2px; background: #e2e8f0; } .ph-doc i.s { width: 60%; }
.ph-pad { flex: 1; border: 1.5px dashed #a5b4fc; border-radius: 12px; background: #fff; display: grid; place-items: center; min-height: 70px; }
.sig { width: 90%; } .sig path { fill: none; stroke: #1E3A8A; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: sign 4s ease-in-out infinite; }
@keyframes sign { 15% { stroke-dashoffset: 420; } 55%, 100% { stroke-dashoffset: 0; } }
.ph-btn { text-align: center; padding: 10px; border-radius: 12px; background: linear-gradient(90deg, #1E5BFF, #4338ca); color: #fff; font-weight: 800; font-size: 13px; }

/* голосовой ИИ */
.voice__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.call { padding: 22px; min-height: 420px; display: flex; flex-direction: column; }
.call__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.call__head b { display: block; } .call__head span { font-size: 13px; color: var(--muted); } .call__head em { font-style: normal; color: #4ade80; font-variant-numeric: tabular-nums; }
.call__ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 18px var(--fh); background: linear-gradient(135deg, #22c55e, #0ea5e9); flex-shrink: 0; }
.call__wave { margin-left: auto; display: flex; gap: 3px; align-items: center; height: 28px; }
.call__wave i { width: 4px; border-radius: 2px; background: linear-gradient(#4ade80, #22d3ee); animation: wave 1s ease-in-out infinite; }
.call__wave i:nth-child(1) { animation-delay: -.1s; } .call__wave i:nth-child(2) { animation-delay: -.5s; } .call__wave i:nth-child(3) { animation-delay: -.3s; } .call__wave i:nth-child(4) { animation-delay: -.8s; } .call__wave i:nth-child(5) { animation-delay: -.2s; } .call__wave i:nth-child(6) { animation-delay: -.6s; } .call__wave i:nth-child(7) { animation-delay: -.4s; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 26px; } }
.call__lines { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; overflow: hidden; }
.line { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; animation: pop .35s ease-out both; }
.line small { display: block; font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.line--op { align-self: flex-end; background: rgba(30,91,255,.22); border: 1px solid rgba(110,168,255,.25); } .line--op small { color: #8fb6ff; }
.line--cl { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid var(--line); } .line--cl small { color: #4ade80; }
.line mark { background: rgba(250,204,21,.22); color: #fde68a; border-radius: 4px; padding: 0 3px; }
.line.typing::after { content: '▍'; animation: blink .8s infinite; color: #8fb6ff; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.slots { padding: 22px; display: flex; flex-direction: column; }
.slots__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; } .slots__head [data-lucide] { color: #e879f9; }
.slots__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slot { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: all .4s; }
.slot span { display: block; font-size: 11.5px; color: var(--dim); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.slot b { font-size: 15px; color: var(--dim); transition: color .3s; }
.slot.on { border-color: rgba(74,222,128,.45); background: rgba(34,197,94,.1); box-shadow: 0 0 24px rgba(34,197,94,.18); }
.slot.on b { color: #fff; }
.slots__summary { margin-top: 14px; display: flex; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(124,58,237,.12); border: 1px solid rgba(167,139,250,.25); font-size: 14px; color: #d8ccff; line-height: 1.45; min-height: 74px; }
.slots__summary [data-lucide] { color: #a78bfa; margin-top: 2px; }
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 26px; }
.pipe { position: relative; padding: 22px 18px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); overflow: hidden; }
.pipe::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.pipe__n { position: absolute; right: 14px; top: 10px; font: 800 30px var(--fh); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .85; }
.pipe [data-lucide] { width: 26px; height: 26px; color: #8fb6ff; }
.pipe b { display: block; font: 700 16px var(--fh); margin: 12px 0 6px; } .pipe p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.voice__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.fact { padding: 20px; } .fact b { display: block; font: 800 26px var(--fh); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; } .fact span { font-size: 13.5px; color: var(--muted); }

/* кабинеты */
.cabinets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cab { padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, border-color .3s; }
.cab:hover { transform: translateY(-6px); border-color: rgba(110,168,255,.35); }
.cab img { border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 16/10; object-fit: cover; object-position: top left; }
.cab__top h4 { font: 700 19px var(--fh); margin: 8px 0 0; }
.role { display: inline-block; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; }
.role--op { background: rgba(34,197,94,.16); color: #4ade80; } .role--head { background: rgba(30,91,255,.2); color: #8fb6ff; } .role--own { background: rgba(217,70,239,.16); color: #f0abfc; }
.cab ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }

/* все функции */
.all { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.group { padding: 22px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.group:hover { border-color: rgba(110,168,255,.3); transform: translateY(-4px); }
.group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.group__ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(30,91,255,.3), rgba(124,58,237,.3)); }
.group__head b { font: 700 16.5px var(--fh); }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.group li { font-size: 14px; color: #c3cde6; padding-left: 16px; position: relative; line-height: 1.45; }
.group li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.group li em { font-style: normal; font-size: 11px; font-weight: 800; color: #f0abfc; background: rgba(217,70,239,.15); border-radius: 5px; padding: 1px 6px; margin-left: 4px; }

/* безопасность */
.security { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; padding: 50px; align-items: center; overflow: hidden; }
.security p { color: var(--muted); font-size: 17px; }
.sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.sec-list div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: start; }
.sec-list [data-lucide] { grid-row: span 2; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(30,91,255,.18); color: #8fb6ff; }
.sec-list b { font-size: 15px; } .sec-list span { font-size: 13.5px; color: var(--muted); }
.security__orb { position: relative; height: 320px; display: grid; place-items: center; }
.orb { width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #6ea8ff, #1E5BFF 45%, #3b1a8f); box-shadow: 0 0 80px rgba(30,91,255,.7), inset 0 0 30px rgba(255,255,255,.3); z-index: 2; }
.orb [data-lucide] { width: 56px; height: 56px; color: #fff; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(110,168,255,.3); animation: ring 4s ease-out infinite; }
.r1 { width: 180px; height: 180px; } .r2 { width: 250px; height: 250px; animation-delay: -1.3s; } .r3 { width: 320px; height: 320px; animation-delay: -2.6s; }
@keyframes ring { 0% { transform: scale(.7); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }

/* тарифы */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1000px; margin: 0 auto; align-items: start; }
.plan { position: relative; padding: 34px; }
.plan--pro { border-radius: var(--r); padding: 34px; background: linear-gradient(180deg, rgba(30,91,255,.22), rgba(124,58,237,.12)); border: 1px solid transparent; background-clip: padding-box; box-shadow: 0 30px 80px rgba(30,91,255,.25); }
.plan--pro::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__ribbon { position: absolute; top: 18px; right: 18px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--grad-btn); box-shadow: 0 6px 18px rgba(30,91,255,.5); }
.plan__name { font: 800 26px var(--fh); }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 8px; }
.plan__price b { font: 800 46px/1 var(--fh); letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__price span { color: var(--muted); font-weight: 700; }
.plan__alt { display: block; text-align: center; margin-top: 12px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.plan__alt:hover { color: #fff; }
.paybox { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(3,5,12,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.paybox.open { display: flex; animation: lbIn .25s ease-out; }
.paybox__card { position: relative; width: min(440px, 100%); padding: 34px 30px 28px; text-align: center; background: rgba(14,18,36,.95); }
.paybox__card h3 { font: 700 22px var(--fh); margin: 16px 0 10px; }
.paybox__card p { color: var(--muted); margin: 0 0 22px; }
.paybox__ic { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; background: var(--grad-btn); box-shadow: 0 12px 30px rgba(30,91,255,.45); }
.paybox__ic [data-lucide] { width: 30px; height: 30px; }
.paybox__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: #fff; cursor: pointer; }
.plan__desc { color: var(--muted); font-size: 15px; margin: 0 0 22px; min-height: 48px; }
.plan__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.plan__list li { display: flex; gap: 10px; font-size: 14.5px; color: #d3dcf2; align-items: flex-start; }
.plan__list li.no { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.15); }
.plan__list .mk { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; font-size: 12px; font-weight: 900; margin-top: 1px; }
.plan__list li .mk { background: rgba(34,197,94,.18); color: #4ade80; } .plan__list li.no .mk { background: rgba(255,255,255,.05); color: var(--dim); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0 24px; border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font: 700 17px var(--fb); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px/1 var(--fb); color: #8fb6ff; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--muted); }

/* форма */
.cta { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 50px; }
.cta p { color: var(--muted); font-size: 17px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; font: 600 15px var(--fb); color: #fff; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; padding: 13px 14px; outline: 0; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.pick { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pick__row { display: flex; gap: 6px; padding: 4px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; }
.pick__row label { flex: 1; display: block; cursor: pointer; }
.pick__row input { position: absolute; opacity: 0; pointer-events: none; }
.pick__row b { display: grid; place-items: center; height: 100%; min-height: 40px; padding: 0 8px; border-radius: 10px; font: 700 13.5px var(--fb); color: var(--muted); text-align: center; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.pick__row label:hover b { color: #fff; background: rgba(255,255,255,.05); }
.pick__row input:checked + b { color: #fff; background: linear-gradient(135deg, #1e5bff, #7b3dff); box-shadow: 0 6px 18px rgba(30,91,255,.35); }
.pick__row input:focus-visible + b { outline: 2px solid #4f7dff; outline-offset: 2px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: #4f7dff; box-shadow: 0 0 0 4px rgba(30,91,255,.22); }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.form .check input { width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg { min-height: 22px; font-size: 14.5px; font-weight: 700; }
.form__msg.ok { color: #4ade80; } .form__msg.err { color: #f87171; }

/* подвал */
.footer { width: min(var(--w), calc(100% - 32px)); margin: 120px auto 0; padding: 30px 0 40px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 20px; color: var(--dim); font-size: 14px; flex-wrap: wrap; }
.footer__legal { flex-basis: 100%; font-size: 12.5px; color: var(--dim); line-height: 1.5; }
.footer img { height: 34px; width: auto; } .footer a { margin-left: auto; color: var(--muted); } .footer a:hover { color: #fff; }

/* скриншоты открываются на весь экран */
.shot img, .cab img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 60px 70px; background: rgba(3,5,12,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lightbox.open { display: flex; animation: lbIn .25s ease-out; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.7); cursor: zoom-out; }
.lightbox__close, .lightbox__nav { position: absolute; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox__close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 18px; }
.lightbox__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 30px; line-height: 1; }
.lightbox__nav.prev { left: 12px; } .lightbox__nav.next { right: 12px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.18); }
.lightbox__cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .lightbox { padding: 60px 8px; } .lightbox__nav { top: auto; bottom: 14px; margin: 0; } }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* адаптив */
@media (max-width: 1100px) {
  .nav__links { gap: 16px; font-size: 13.5px; }
  .feature { gap: 40px; } .highlights { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-template-columns: repeat(3, 1fr); } .voice__facts { grid-template-columns: repeat(2, 1fr); }
  .all { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__logo img { height: 34px; }
  .nav__links, .nav__cta { display: none; } .nav__burger { display: flex; }
  .nav.open { background: rgba(8,11,24,.95); border-color: var(--line); flex-wrap: wrap; backdrop-filter: blur(18px); }
  .nav.open .nav__links { display: flex; flex-direction: column; width: 100%; gap: 0; order: 3; margin: 6px 0 0; }
  .nav.open .nav__links a { padding: 12px 6px; border-top: 1px solid var(--line); font-size: 16px; color: #fff; }
  .nav.open .nav__cta { display: flex; width: 100%; order: 4; padding: 8px 0 4px; } .nav.open .nav__cta .btn { flex: 1; }
  .hero { padding-top: 120px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .flow { flex-direction: column; } .flow__line { width: 2px; height: 26px; background: linear-gradient(180deg, transparent, #4f7dff, transparent); }
  .flow__line::after { display: none; }
  .feature, .feature--rev { grid-template-columns: 1fr; gap: 30px; margin-bottom: 90px; } .feature--rev .feature__text { order: 0; }
  .stack .shot--over { right: -8px; width: 58%; } .feature--rev .stack .shot--over { left: -8px; }
  .sign-demo { padding-right: 0; padding-bottom: 60px; } .phone { width: 150px; right: -6px; bottom: -20px; }
  .voice__grid { grid-template-columns: 1fr; } .pipeline { grid-template-columns: 1fr 1fr; }
  .cabinets { grid-template-columns: 1fr; } .all { grid-template-columns: 1fr; }
  .security { grid-template-columns: 1fr; padding: 28px; } .security__orb { height: 220px; order: -1; } .sec-list { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; } .cta { grid-template-columns: 1fr; padding: 28px; } .form { grid-template-columns: 1fr; }
  .section { padding-top: 96px; } .section__head { margin-bottom: 40px; }
}
@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; } .slots__list { grid-template-columns: 1fr 1fr; } .pipeline, .voice__facts { grid-template-columns: 1fr; }
  .phone { display: none; } .sign-demo { padding-bottom: 0; } .stack { padding-bottom: 0; } .stack .shot--over { display: none; }
  .plan, .plan--pro { padding: 24px; } .footer a { margin-left: 0; }
}

/* документация */
.docs-page .bg .grid-floor { display: none; }
.nav__links a.active { color: #fff; }
.docs { width: min(var(--w), calc(100% - 32px)); margin: 0 auto; padding-top: 110px; display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.docs__side { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 18px; border-radius: var(--r); background: rgba(10,14,30,.6); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.docs__search { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 42px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--line); margin-bottom: 14px; }
.docs__search input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: 600 14px var(--fb); }
.docs__search [data-lucide] { color: var(--dim); width: 16px; height: 16px; }
#toc { display: grid; gap: 2px; }
#toc b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 12px 0 4px 10px; }
#toc a { padding: 7px 10px; border-radius: 9px; font-size: 14px; color: var(--muted); transition: all .2s; }
#toc a:hover { color: #fff; background: var(--glass); }
#toc a.on { color: #fff; background: rgba(30,91,255,.22); box-shadow: inset 2px 0 0 #6ea8ff; }
.docs__hero h1 { font: 800 clamp(32px, 4.4vw, 52px)/1.08 var(--fh); letter-spacing: -.03em; margin: 0 0 14px; }
.docs__hero p { color: var(--muted); font-size: 18px; margin: 0 0 20px; }
.docs__body section { padding: 34px 0 12px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.docs__body h2 { display: flex; align-items: center; gap: 12px; font: 700 26px var(--fh); margin: 0 0 14px; }
.docs__body h2 [data-lucide] { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: linear-gradient(135deg, rgba(30,91,255,.35), rgba(124,58,237,.35)); }
.docs__body h3 { font: 700 17px var(--fh); margin: 22px 0 8px; color: #dbe5ff; }
.docs__body p { color: #c3cde6; font-size: 16px; }
.docs__body .list { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.docs__body .list li { position: relative; padding-left: 22px; color: #c3cde6; }
.docs__body .list li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 58px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); color: #c3cde6; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 800 14px var(--fh); background: var(--grad-btn); color: #fff; }
.steps b, .docs__body b { color: #fff; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 16px 0; border-radius: 14px; background: rgba(30,91,255,.12); border: 1px solid rgba(110,168,255,.25); color: #cfe0ff; font-size: 15px; }
.note [data-lucide] { color: #8fb6ff; margin-top: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.card { padding: 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.card b { display: block; margin-bottom: 4px; } .card span { color: var(--muted); font-size: 14.5px; }
.card--amber { border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.08); } .card--red { border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.08); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.tags span { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.docs__body details { padding: 0 20px; border-radius: 16px; margin-bottom: 10px; }
.docs__body summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; } .docs__body summary::-webkit-details-marker { display: none; }
.docs__help { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; margin: 40px 0 0; flex-wrap: wrap; }
.docs__help b { display: block; font: 700 19px var(--fh); } .docs__help span { color: var(--muted); }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; padding-top: 96px; } .docs__side { position: static; max-height: none; } .grid2 { grid-template-columns: 1fr; } }

/* техподдержка */
.support { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sup { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.sup:hover { transform: translateY(-6px); border-color: rgba(110,168,255,.35); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.sup__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.sup__ic [data-lucide] { width: 26px; height: 26px; }
.sup b { font: 700 18px var(--fh); } .sup span { color: var(--muted); font-size: 14.5px; min-height: 42px; }
.sup .btn { margin-top: auto; }
.sup.soon .btn { opacity: .55; pointer-events: none; }
.sup--mail .sup__ic { background: linear-gradient(135deg, #1E5BFF, #7c3aed); }
.sup--wa .sup__ic { background: #25D366; }
.sup__ic img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.sup--max .sup__ic { background: none; padding: 0; } .sup--max .sup__ic img { width: 54px; height: 54px; filter: none; }
.sup--tg .sup__ic { background: #26A5E4; }

.support__docs { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; flex-wrap: wrap; }
.support__docs b { display: block; font: 700 20px var(--fh); } .support__docs span { color: var(--muted); }
@media (max-width: 1100px) { .support { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .support { grid-template-columns: 1fr; } }

/* Серёга — ИИ-ассистент на сайте */
.sg { position: fixed; right: 22px; bottom: 22px; z-index: 90; font-family: var(--fb); }
.sg [hidden] { display: none !important; }
/* шар — как у Серёги в CRM */
.sg__orb { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #818cf8, #1E5BFF 55%, #0a0f1f 100%); animation: sgHalo 2.8s infinite; transition: transform .2s; }
.sg__orb:hover { transform: scale(1.06); }
.sg.open .sg__orb { animation: none; box-shadow: 0 10px 30px rgba(30,91,255,.45); }
@keyframes sgHalo { 0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,.5), 0 10px 30px rgba(30,91,255,.45); } 50% { box-shadow: 0 0 0 10px rgba(99,102,241,0), 0 10px 30px rgba(30,91,255,.45); } }
.sg__o { position: relative; width: 46px; height: 46px; display: block; flex-shrink: 0; }
.sg__cone { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #6366f1, #00a6ff, #22d3ee, #ec4899, #6366f1); animation: sgSpin 6s linear infinite; filter: blur(.3px); }
.sg__core { position: absolute; inset: 3px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #fff 0%, #c7d2fe 18%, #312e81 70%, #0a0f1f 100%); color: #fff; }
.sg__core svg { width: 45%; height: 45%; opacity: .9; }
@keyframes sgSpin { to { transform: rotate(360deg); } }
.sg__dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #22d3ee; border: 2px solid #0a0f1f; }
.sg.open .sg__dot { display: none; }
.sg__ava { width: 38px; height: 38px; flex-shrink: 0; display: block; }
.sg__ava .sg__o { width: 38px; height: 38px; }
.sg__ava .sg__cone { animation-duration: 4s; }
.sg__hello { position: absolute; right: 74px; bottom: 6px; width: 260px; padding: 12px 34px 12px 12px; border-radius: 20px; background: rgba(14,18,38,.94); border: 1px solid rgba(139,92,246,.35); box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 40px rgba(91,75,255,.25); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); cursor: pointer; animation: hello .45s cubic-bezier(.2,.9,.3,1.3) both; }
.sg__hello::after { content: ''; position: absolute; right: -8px; bottom: 20px; width: 16px; height: 16px; transform: rotate(-45deg); background: rgba(14,18,38,.94); border-right: 1px solid rgba(139,92,246,.35); border-bottom: 1px solid rgba(139,92,246,.35); }
@keyframes hello { from { opacity: 0; transform: translateY(14px) scale(.92); } }
.sg__hello-top { display: flex; gap: 10px; align-items: center; }
.sg__hello-top b { display: block; font-size: 15.5px; } .sg__hello-top small { color: #a5b4fc; font-size: 12.5px; }
.sg__hello p { margin: 6px 0 0 48px; color: #c3cde6; font-size: 13px; line-height: 1.35; }
.sg__x { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #cbd5e1; cursor: pointer; font-size: 12px; }
.sg__chips { display: flex; flex-direction: column; gap: 6px; }
.sg__chips button { text-align: left; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(110,168,255,.28); background: rgba(30,91,255,.12); color: #dbe5ff; font: 600 13px var(--fb); cursor: pointer; transition: background .2s; }
.sg__chips button:hover { background: rgba(30,91,255,.28); }
.sg__chips--in { flex-direction: row; flex-wrap: wrap; margin-top: 4px; }
.sg__panel { position: absolute; right: 0; bottom: 84px; width: 390px; height: min(600px, calc(100vh - 130px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: rgba(10,13,28,.96); border: 1px solid rgba(139,92,246,.35); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 50px rgba(91,75,255,.25); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: hello .35s cubic-bezier(.2,.9,.3,1.2) both; }
.sg__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(91,75,255,.18), transparent); }
.sg__head b { display: block; font: 700 16px var(--fh); } .sg__head small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #a5b4fc; }
.sg__head small i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.sg__close { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.sg__msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.sg__m { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; animation: pop .3s ease-out both; word-wrap: break-word; }
.sg__m--bot { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: #e2e8f8; }
.sg__m--me { align-self: flex-end; background: linear-gradient(135deg, #1E5BFF, #5b4bff); color: #fff; border-bottom-right-radius: 6px; }
.sg__cta { display: inline-block; margin-top: 10px; padding: 8px 14px; border-radius: 11px; background: var(--grad-btn); color: #fff; font-weight: 800; font-size: 13.5px; }
.sg__dots { display: inline-flex; gap: 4px; padding: 4px 0; } .sg__dots i { width: 7px; height: 7px; border-radius: 50%; background: #a5b4fc; animation: dots 1.2s infinite; }
.sg__dots i:nth-child(2) { animation-delay: .15s; } .sg__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.sg__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.sg__form input { flex: 1; height: 44px; padding: 0 14px; border-radius: 13px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.3); color: #fff; font: 600 14.5px var(--fb); outline: 0; }
.sg__form input:focus { border-color: #6d6bff; box-shadow: 0 0 0 4px rgba(91,75,255,.2); }
.sg__form button { width: 44px; height: 44px; border-radius: 13px; border: 0; background: var(--grad-btn); color: #fff; font-size: 17px; cursor: pointer; }
.sg__foot { text-align: center; font-size: 11.5px; color: var(--dim); padding: 0 0 10px; }
@media (max-width: 520px) {
  .sg { right: 14px; bottom: 14px; }
  .sg__panel { position: fixed; inset: 10px 10px 92px; width: auto; height: auto; }
  .sg__hello { width: calc(100vw - 104px); }
  .sg__hello-top b { font-size: 14px; }
}
.docs__body code { font: 600 13.5px ui-monospace, Consolas, monospace; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.08); color: #dbe5ff; word-break: break-all; }
