/* =========================================================
   НЕЙРОСИСТЕМА · 2040 — дизайн-система
   ========================================================= */
:root {
  --bg: #17102B;
  --bg2: #0A0D1F;
  --panel: rgba(16, 20, 44, .55);
  --ink: #F4EFFF;
  --soft: rgba(232,224,255, .72);
  --mute: rgba(232,224,255, .5);
  --line: rgba(200,180,240, .14);
  --blue: #C4A3FF;
  --violet: #A97BF0;
  --cyan: #E9C46A;
  --pink: #F472B6;
  --grad: linear-gradient(95deg, #E9C46A 0%, #C4A3FF 45%, #D6B4FF 100%);
  --f-d: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-b: "Manrope", system-ui, sans-serif;
  --r: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --pad: 20px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-b); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::before { /* глубина пространства */
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(196,163,255,.16), transparent 70%),
    radial-gradient(50% 45% at 90% 35%, rgba(169,123,240,.14), transparent 70%),
    radial-gradient(60% 50% at 50% 110%, rgba(233,196,106,.10), transparent 70%),
    var(--bg);
}
body::after { /* технологичная сетка */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(190,165,240,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(190,165,240,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 85%); mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 85%);
}
.noise { position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 2; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

/* ---------- Типографика ---------- */
.h1, .h2 { font-family: var(--f-d); font-weight: 500; margin: 0; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.h1 { font-size: clamp(36px, 4.5vw, 70px); }
.h2 { font-size: clamp(30px, 4vw, 56px); margin-bottom: 28px; }
h3 { font: 600 20px/1.25 var(--f-d); letter-spacing: -.02em; margin: 0 0 10px; }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }
.lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--soft); max-width: 580px; margin: 22px 0 0; }
.sub { color: var(--soft); max-width: 640px; margin: -10px 0 32px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 600 12px/1 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.kicker span { font-family: var(--f-d); color: var(--cyan); letter-spacing: .05em; }
.note { margin: 14px 0 0; font-size: 14px; color: var(--mute); }

/* ---------- Стекло и голография ---------- */
.glass {
  background: linear-gradient(150deg, rgba(52,40,92,.42), rgba(36,26,60,.55));
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line); border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.7);
}
.holo {
  --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg;
  position: relative; padding: 28px; border-radius: var(--r); isolation: isolate;
  background: linear-gradient(160deg, rgba(50,38,88,.5), rgba(34,24,56,.7));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty, 0));
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.holo::before { /* голографический перелив, следует за курсором */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(233,196,106,.16), rgba(196,163,255,.12) 30%, rgba(214,180,255,.08) 50%, transparent 70%);
}
.holo::after { /* светящаяся кромка */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: .0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(233,196,106,.9), rgba(169,123,240,.6) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.holo:hover { --ty: -4px; box-shadow: 0 30px 60px -30px rgba(196,163,255,.45); }
.holo:hover::before, .holo:hover::after { opacity: 1; }
.holo p { color: var(--soft); margin: 0; }

/* ---------- Кнопки ---------- */
.btn {
  --bh: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--bh);
  padding: 6px 6px 6px 24px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 16px/1 var(--f-b); color: var(--ink); -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--spring), box-shadow .3s, background .3s;
}
.btn:active { transform: scale(.95) !important; transition-duration: .08s; }
.btn-sm { --bh: 42px; font-size: 14px; padding-left: 16px; gap: 10px; }
.btn-lg { --bh: 62px; font-size: 17px; padding-left: 28px; }
.btn-ic { width: calc(var(--bh) - 12px); height: calc(var(--bh) - 12px); border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .5s var(--spring); }
.btn-ic svg { width: 44%; height: 44%; transform: rotate(-45deg); transition: transform .5s var(--spring); }
.btn:hover .btn-ic { transform: rotate(360deg); } .btn:hover .btn-ic svg { transform: rotate(0); }
.btn-ic:has(use[href="#i-tg"]) svg, .btn-ic:has(use[href="#i-copy"]) svg { transform: none !important; }
.btn-primary { background: linear-gradient(95deg, #E9C46A, #C4A3FF 55%, #A97BF0); color: #120C22; box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 12px 40px -10px rgba(196,163,255,.7); }
.btn-primary::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; background: inherit; filter: blur(14px); opacity: .55; transition: opacity .3s; }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 18px 50px -10px rgba(196,163,255,.9); }
.btn-primary:hover::before { opacity: .9; }
.btn-primary .btn-ic { background: #17102B; color: var(--cyan); }
.btn-ghost { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(200,180,240,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(196,163,255,.12); box-shadow: inset 0 0 0 1px rgba(233,196,106,.6), 0 0 30px -8px rgba(233,196,106,.5); }
.btn-ghost .btn-ic { background: rgba(255,255,255,.08); color: var(--cyan); }
.btn-ghost:not(:has(.btn-ic)) { padding: 6px 26px; }

/* ---------- Навигация (две стеклянные капли) ---------- */
.hdr { position: fixed; top: 12px; left: 0; right: 0; z-index: 60; padding: 0 12px; transition: transform .45s var(--ease); }
.hdr.hide { transform: translateY(-130%); }
.hdr-in { max-width: 1240px; margin: 0 auto; display: flex; gap: 8px; }
.pill { display: flex; align-items: center; min-height: 56px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(44,32,74,.55), rgba(34,24,56,.45)); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(200,180,240,.14), 0 12px 32px -14px rgba(0,0,0,.8); }
.logo { gap: 10px; padding: 0 20px 0 10px; font: 600 15px var(--f-d); letter-spacing: -.02em; text-decoration: none; flex: none; }
.logo-orb { width: 30px; height: 30px; border-radius: 50%; flex: none; position: relative;
  background: radial-gradient(circle at 35% 30%, #fff, rgba(255,255,255,0) 30%), conic-gradient(from var(--a, 0deg), #E9C46A, #C4A3FF, #A97BF0, #E9C46A);
  box-shadow: 0 0 18px rgba(196,163,255,.8); animation: spinA 6s linear infinite; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinA { to { --a: 360deg; } }
.hdr-right { flex: 1; justify-content: space-between; padding: 6px 6px 6px 18px; gap: 8px; }
.nav { display: flex; gap: 2px; margin: 0 auto; }
.nav a { text-decoration: none; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--soft); transition: color .2s, background .2s; }
.nav a:hover, .nav a.on { color: var(--ink); background: rgba(196,163,255,.16); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
#core { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.core-fallback { position: absolute; right: 8%; top: 18%; width: 46vmin; aspect-ratio: 1; border-radius: 50%; z-index: 0; display: none;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.7), rgba(233,196,106,.4) 20%, rgba(196,163,255,.3) 45%, rgba(169,123,240,.15) 65%, transparent 72%);
  filter: blur(2px); animation: breathe 6s ease-in-out infinite; }
html.no-webgl .core-fallback { display: block; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 80% at 50% 120%, var(--bg) 20%, transparent 60%), linear-gradient(90deg, rgba(23,16,43,.85) 0%, rgba(23,16,43,.2) 55%, transparent 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.chip-live { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; margin: 0 0 24px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft);
  background: rgba(196,163,255,.1); box-shadow: inset 0 0 0 1px rgba(196,163,255,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; gap: 28px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-stats div { margin: 0; }
.hero-stats dt { font: 500 22px/1.1 var(--f-d); letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats dd { margin: 4px 0 0; font-size: 13px; color: var(--mute); }

.hero-vis { position: relative; height: min(640px, 76vh); }
.holo-frame { position: absolute; inset: 0 0 0 10%; }
.hero-photo { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; z-index: 2;
}
.holo-frame::before { /* контровой свет за фигурой — отдельным слоем, без прямоугольника */
  content: ""; position: absolute; right: 8%; bottom: 10%; width: 70%; height: 80%; z-index: 1; pointer-events: none; border-radius: 40% 40% 30% 30%;
  background: radial-gradient(60% 55% at 30% 40%, rgba(233,196,106,.22), transparent 70%), radial-gradient(60% 55% at 75% 45%, rgba(169,123,240,.3), transparent 70%); filter: blur(30px); }
.holo-frame::after { /* растворение низа фото в фон */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 30%; z-index: 3; background: linear-gradient(transparent, var(--bg) 85%); }
.scan { position: absolute; left: 20%; right: 0; top: 0; height: 2px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(233,196,106,.8), transparent); box-shadow: 0 0 18px rgba(233,196,106,.8); animation: scan 5.5s ease-in-out infinite; opacity: .7; }
@keyframes scan { 0% { top: 6%; opacity: 0; } 15% { opacity: .7; } 85% { opacity: .7; } 100% { top: 80%; opacity: 0; } }

/* летающие стеклянные 3D-иконки */
.ai-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 5px; border-radius: 16px; font: 700 12px var(--f-b); color: var(--ink);
  background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,.04)); -webkit-backdrop-filter: blur(12px) saturate(170%); backdrop-filter: blur(12px) saturate(170%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.1), 0 10px 26px -10px rgba(0,0,0,.8), 0 0 22px -6px var(--glow);
  animation: drift 7s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(5px, -12px) rotate(-2deg); } }
.ai-chip.c1 { --glow: #E9C46A; left: 6%; top: 12%; }
.ai-chip.c2 { --glow: #FF9A6A; right: 0; top: 34%; animation-delay: -2s; }
.ai-chip.c3 { --glow: #C4A3FF; left: 0; top: 40%; animation-delay: -4s; }
.ai-chip.c4 { --glow: #4CD27F; right: 8%; top: 4%; animation-delay: -5.5s; }
.ico { --c1: #3FE0C0; --c2: #0E8C77; position: relative; flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow: inset 0 2px 1px rgba(255,255,255,.7), inset 0 -3px 5px rgba(0,0,0,.25), 0 2px 0 color-mix(in srgb, var(--c2) 70%, black), 0 0 14px var(--c1);
  animation: tilt3d 5s ease-in-out infinite; }
.ico::before { content: ""; position: absolute; left: 2px; right: 2px; top: 2px; height: 45%; border-radius: 6px 6px 10px 10px; background: linear-gradient(rgba(255,255,255,.6), transparent); }
.ico svg { width: 15px; height: 15px; position: relative; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
.ico-claude { --c1: #FFB58A; --c2: #D9663A; } .ico-claude svg { animation: spin 12s linear infinite; }
.ico-deep { --c1: #D9B8FF; --c2: #1D4ED8; } .ico-giga { --c1: #8BF0A0; --c2: #1FA74F; }
@keyframes tilt3d { 0%, 100% { transform: perspective(200px) rotateX(12deg) rotateY(-18deg); } 50% { transform: perspective(200px) rotateX(-8deg) rotateY(18deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* чат на первом экране */
.chat { position: absolute; left: 0; bottom: 14%; z-index: 5; width: 270px; padding: 12px; border-radius: 22px; font-size: 13px; }
.chat-top, .b-out-top { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; margin-bottom: 10px; color: var(--soft); white-space: nowrap; }
.chat-dot { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(from var(--a, 0deg), #E9C46A, #C4A3FF, #A97BF0, #E9C46A); animation: spinA 3s linear infinite; box-shadow: 0 0 12px rgba(196,163,255,.8); }
.online { margin-left: auto; color: #4CE3A0; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4CE3A0; box-shadow: 0 0 8px #4CE3A0; animation: pulse 1.6s infinite; }
.msg-u { margin: 0 0 8px auto; width: fit-content; max-width: 88%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: linear-gradient(95deg, #C4A3FF, #A97BF0); color: #fff; }
.msg-a { margin: 0; min-height: 56px; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.07); color: var(--ink); line-height: 1.45; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--cyan); margin-left: 2px; vertical-align: -2px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(200,180,240,.4); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--cyan); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* бегущая строка */
.ticker { position: relative; z-index: 3; overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); background: rgba(10,13,31,.6); }
.ticker-track { display: flex; gap: 26px; width: max-content; animation: tick 34s linear infinite; font: 500 clamp(18px, 2vw, 26px)/1 var(--f-d); letter-spacing: -.02em; color: var(--soft); white-space: nowrap; }
.ticker-track i { font-style: normal; color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.sec { position: relative; padding: 110px 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 36px; }
.sec-head .h2 { margin: 0; } .sec-head .sub { margin: 0; }

/* 02 — переписка */
.chat-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.bubble { display: flex; align-items: flex-end; gap: 10px; }
.bubble.in:nth-child(even) { transform: translateX(22px); }
.bubble p { margin: 0; }
.bubble.in p { position: relative; padding: 14px 18px; border-radius: 22px 22px 22px 6px; font-weight: 600; font-size: 16px; line-height: 1.45;
  background: linear-gradient(150deg, rgba(52,40,92,.55), rgba(36,26,60,.6)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -16px rgba(0,0,0,.8); }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--f-b); color: #fff; box-shadow: 0 0 16px -2px currentColor; }
.av1 { background: linear-gradient(140deg, #A97BF0, #C4A3FF); color: #fff; } .av2 { background: linear-gradient(140deg, #F472B6, #FB923C); }
.av3 { background: linear-gradient(140deg, #E9C46A, #0EA5A0); } .av4 { background: linear-gradient(140deg, #C4A3FF, #E9C46A); }
.bubble.out { grid-column: 1 / -1; justify-content: flex-end; margin-top: 18px; }
.bubble.out > div { max-width: 600px; padding: 14px 20px 10px; border-radius: 24px 24px 6px 24px; background: linear-gradient(140deg, rgba(196,163,255,.28), rgba(169,123,240,.28)); box-shadow: inset 0 0 0 1px rgba(200,180,240,.35), 0 0 50px -12px rgba(196,163,255,.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bubble.out p { font: 500 clamp(19px, 2vw, 26px)/1.3 var(--f-d); letter-spacing: -.02em; }
.from { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--cyan); margin-bottom: 4px; }
.read { display: block; text-align: right; font-size: 11px; color: var(--mute); margin-top: 6px; }
.av-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 6%; flex: none; background: linear-gradient(140deg, #C4A3FF, #A97BF0); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--cyan), 0 0 20px rgba(233,196,106,.5); }

/* 03 — подход */
.features { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
.holo-num { display: block; font: 500 13px var(--f-d); color: var(--cyan); letter-spacing: .1em; margin-bottom: 34px; }
.holo p + * { margin-top: 22px; }
.term { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.05); font-size: 15px; color: var(--soft); }
.term b { font-family: var(--f-d); font-weight: 500; color: var(--ink); }
.tpl { padding: 16px; border-radius: 16px; background: rgba(23,16,43,.6); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.8; color: var(--soft); }
.slot { display: inline-block; padding: 0 8px; border-radius: 8px; background: rgba(233,196,106,.12); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(233,196,106,.3); transition: opacity .25s, transform .25s var(--spring); }
.slot.swap { opacity: 0; transform: translateY(6px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(196,163,255,.12); box-shadow: inset 0 0 0 1px rgba(196,163,255,.3); }

/* 04 — конструктор запроса */
.builder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0; overflow: hidden; }
.b-steps { padding: 28px; display: grid; gap: 22px; }
.b-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.b-step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-weight: 700; font-size: 15px; }
.b-step legend span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 500 12px var(--f-d); color: var(--bg); background: var(--grad); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; font: 600 14px var(--f-b); color: var(--soft);
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); transition: all .25s var(--ease); }
.opt:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(233,196,106,.5); }
.opt.is-on { color: #120C22; background: var(--grad); box-shadow: 0 0 24px -6px rgba(233,196,106,.7); }
.opt:active { transform: scale(.95); }
.b-out { position: relative; padding: 28px; background: rgba(23,16,43,.55); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.b-meter { margin-left: auto; display: flex; gap: 4px; }
.b-meter i { width: 18px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); transition: background .3s; }
.b-meter i.on { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.b-prompt { flex: 1; margin: 6px 0 22px; font-size: 16px; line-height: 1.65; color: var(--ink); min-height: 150px; }
.b-prompt .hl-role { color: #D9B8FF; } .b-prompt .hl-task { color: var(--cyan); } .b-prompt .hl-ctx { color: #C4B5FD; } .b-prompt .hl-fmt { color: #F9A8D4; }
.b-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.done { background: linear-gradient(95deg, #4CE3A0, #E9C46A); }

/* 05 — гайд */
.guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.fan { position: relative; height: 540px; --p: 0; perspective: 1200px; }
.pg { position: absolute; left: 50%; top: 50%; width: 290px; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); transform-origin: 50% 110%; transition: transform .25s linear; }
.pg1 { transform: translate(-50%,-50%) rotateY(calc(var(--p) * -8deg)) rotate(calc(var(--p) * -2deg)); z-index: 3; }
.pg2 { transform: translate(-50%,-50%) translateX(calc(var(--p) * 95px)) rotate(calc(var(--p) * 12deg)); z-index: 2; }
.pg3 { transform: translate(-50%,-50%) translateX(calc(var(--p) * -95px)) rotate(calc(var(--p) * -14deg)); z-index: 1; }
.fan picture { display: contents; }
.fan-glow { position: absolute; left: 50%; top: 55%; width: 70%; height: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(196,163,255,.45), transparent); filter: blur(30px); z-index: 0; }
.checks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; color: var(--soft); }
.ck { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--cyan); background: rgba(233,196,106,.1); box-shadow: inset 0 0 0 1px rgba(233,196,106,.45), 0 0 14px -4px var(--cyan); }
.ck svg { width: 14px; height: 14px; }

/* 06 — Бизнес.Мозг */
.brain { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding: 48px; }
.brain-vis { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.b-core { width: 40%; aspect-ratio: 1; border-radius: 50%; position: relative; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #fff, rgba(255,255,255,.1) 30%, transparent 55%), conic-gradient(from var(--a, 0deg), #E9C46A, #C4A3FF, #A97BF0, #F472B6, #E9C46A);
  box-shadow: 0 0 60px rgba(196,163,255,.7), 0 0 120px rgba(169,123,240,.4); animation: spinA 6s linear infinite, breathe 5s ease-in-out infinite; }
.b-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(200,180,240,.25); }
.b-ring.r1 { inset: 20%; border-top-color: var(--cyan); animation: spin 8s linear infinite; }
.b-ring.r2 { inset: 9%; border-right-color: var(--violet); border-style: dashed; animation: spin 16s linear infinite reverse; }
.b-ring.r3 { inset: 0; border-bottom-color: var(--blue); animation: spin 24s linear infinite; opacity: .6; }
.row-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tag-glass { padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--soft); box-shadow: inset 0 0 0 1px var(--line); background: rgba(255,255,255,.04); }

/* 07 — продукты */
.prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.prod { display: flex; flex-direction: column; min-width: 0; }
.prod p { flex: 1; font-size: 15px; }
.level { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: 30px; }
.price-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 26px; }
.price { font: 500 34px/1 var(--f-d); letter-spacing: -.03em; white-space: nowrap; }
.prod .btn { --bh: 46px; font-size: 14px; padding-left: 18px; gap: 8px; }
.prod.is-pop { border-color: rgba(233,196,106,.5); box-shadow: 0 0 0 1px rgba(233,196,106,.25), 0 30px 70px -30px rgba(233,196,106,.55); }
.prod.is-pop .price { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-pop { position: absolute; top: -12px; right: 20px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #120C22; background: var(--grad); box-shadow: 0 0 24px -4px rgba(233,196,106,.8); }
.prod.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 30% { box-shadow: 0 0 0 2px var(--cyan), 0 0 60px -10px var(--cyan); } }

.choose { margin-top: 40px; padding: 36px; }
.choose-title { font-size: 22px; margin-bottom: 16px; }
.rows { list-style: none; margin: 0 0 24px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr auto 44px; gap: 18px; align-items: center; padding: 16px 4px; border-top: 1px solid var(--line); text-decoration: none; color: var(--soft); transition: padding .3s var(--ease), color .3s; }
.row b { font: 500 16px var(--f-d); color: var(--ink); letter-spacing: -.01em; }
.row-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--cyan); transition: transform .5s var(--spring), background .3s; }
.row-ic svg { width: 16px; height: 16px; }
.row:hover { padding-left: 12px; color: var(--ink); } .row:hover .row-ic { transform: rotate(360deg); background: rgba(233,196,106,.18); }
.choose-foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.choose-foot p { margin: 0; font-weight: 600; }

.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 2px; background: var(--grad); box-shadow: 0 0 14px rgba(233,196,106,.6); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.steps.in::before { transform: scaleX(1); }
.step { position: relative; }
.step-n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; position: relative; font: 500 20px var(--f-d); background: var(--bg2); box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 24px -4px var(--cyan); }
.step p { color: var(--soft); margin: 0; font-size: 15px; }

/* 08 — об авторе */
.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.hud { position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 30%, rgba(196,163,255,.35), transparent 70%), linear-gradient(180deg, rgba(30,20,52,.8), rgba(23,16,43,.9));
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(196,163,255,.5); }
.hud::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(190,165,240,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(190,165,240,.07) 1px, transparent 1px); background-size: 32px 32px; }
.hud img { position: absolute; left: 50%; bottom: 0; height: 96%; width: auto; max-width: none; transform: translateX(-50%); }
.hud::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(23,16,43,.95)); }
.hud-c { position: absolute; width: 26px; height: 26px; border: 2px solid var(--cyan); z-index: 3; filter: drop-shadow(0 0 6px var(--cyan)); }
.hud-c.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.hud-c.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.hud-c.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.hud-c.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.hud-label { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4; white-space: nowrap; font: 500 10px var(--f-d); letter-spacing: .14em; color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }
.about-txt .lead + .lead { margin-top: 14px; }
.facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; color: var(--soft); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.facts b { color: var(--cyan); }

/* 09 — вопросы */
.faq-wrap { max-width: 900px; }
.qa { border-top: 1px solid var(--line); } .qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 500 clamp(16px, 1.6vw, 19px)/1.35 var(--f-d); letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.pl { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--cyan); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--spring), background .3s; }
.pl svg { width: 16px; height: 16px; }
.qa[open] .pl { transform: rotate(135deg); background: rgba(233,196,106,.16); }
html { interpolate-size: allow-keywords; }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.ans { padding: 0 56px 22px 0; color: var(--soft); }
.ans a { color: var(--cyan); }

/* 10 — финальный призыв */
.final { position: relative; padding: 150px 0; text-align: center; overflow: hidden; }
.final-core { position: absolute; left: 50%; top: 50%; width: 760px; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.final-core span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(196,163,255,.25); animation: ripple 6s ease-out infinite; }
.final-core span:nth-child(2) { animation-delay: 2s; } .final-core span:nth-child(3) { animation-delay: 4s; }
.final-core::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(196,163,255,.35), rgba(169,123,240,.15), transparent); filter: blur(20px); }
@keyframes ripple { from { transform: scale(.3); opacity: .9; } to { transform: scale(1); opacity: 0; } }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final .lead { margin-left: auto; margin-right: auto; }
.final .hero-cta { justify-content: center; }

/* подвал */
.ftr { position: relative; z-index: 2; padding: 44px 0 110px; border-top: 1px solid var(--line); background: rgba(23,16,43,.8); }
.ftr-in { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.ftr-brand { display: flex; align-items: center; gap: 12px; }
.ftr-brand b { display: block; font: 500 16px var(--f-d); }
.ftr-brand span:not(.logo-orb) { font-size: 13px; color: var(--mute); }
.ftr-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; font-size: 14px; }
.ftr-links a { color: var(--soft); text-decoration: none; } .ftr-links a:hover { color: var(--cyan); }
.ftr-legal { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--mute); }

/* липкая кнопка, окно, тост */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: none; transform: translateY(140%); transition: transform .5s var(--spring); }
.sticky .btn { width: 100%; justify-content: space-between; }
.sticky.show { transform: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(5,3,10,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .3s; }
.sheet { position: relative; width: min(480px, 100%); padding: 30px; animation: pop .5s var(--spring); }
.sheet h3 { font-size: 26px; }
.sheet p { color: var(--soft); margin: 0 0 18px; }
.sheet .btn { width: 100%; justify-content: space-between; }
.x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.06); }
.x svg { width: 18px; height: 18px; transform: rotate(45deg); transition: transform .4s var(--spring); } .x:hover svg { transform: rotate(225deg); }
.msg { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; margin-bottom: 14px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.copy { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--f-b); color: var(--ink); background: rgba(255,255,255,.08); }
.copy.done { color: #120C22; background: var(--grad); }
.m-offer { font-size: 13px; } .m-offer a { color: var(--cyan); }
@keyframes pop { from { transform: translateY(30px) scale(.94); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.toast { position: fixed; left: 50%; top: 90px; z-index: 120; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; padding: 13px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; background: rgba(16,20,44,.92); box-shadow: inset 0 0 0 1px rgba(233,196,106,.4), 0 0 30px -6px rgba(233,196,106,.5); transition: .4s var(--spring); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* курсор */
.cursor { position: fixed; inset: 0; z-index: 250; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(var(--cx, -100px), var(--cy, -100px)); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; box-shadow: inset 0 0 0 1px rgba(233,196,106,.55); transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s; transform: translate(var(--rx2, -100px), var(--ry2, -100px)); }
html.cursor-hover .cursor-ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(233,196,106,.08); }

/* ---------- Появление ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.bubble.in.reveal.in:nth-child(even) { transform: translateX(22px); }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 50ms); }
.split.in .w > span { transform: none; }
.split .grad .w > span, .split .w > .grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Планшет ---------- */
@media (max-width: 1100px) {
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { padding: 9px 10px; }
}

/* ---------- Телефон ---------- */
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .sec { padding: 64px 0; }
  .nav { display: none; }
  .hdr-right { flex: 1; justify-content: flex-end; padding: 5px; }
  .pill { min-height: 52px; }
  .hero { padding: 96px 0 40px; min-height: auto; display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .h1 { font-size: clamp(32px, 9.4vw, 42px); }
  .h2 { font-size: clamp(27px, 7.6vw, 34px); margin-bottom: 20px; }
  .chip-live { font-size: 10.5px; letter-spacing: .06em; padding: 8px 12px; line-height: 1.4; }
  .hero-cta .btn { width: 100%; justify-content: space-between; }
  .hero-cta .btn-ghost { justify-content: center; }
  .hero-stats { gap: 18px; justify-content: space-between; }
  .hero-stats dt { font-size: 17px; } .hero-stats dd { font-size: 11.5px; }
  .hero-vis { height: 440px; margin-top: 18px; }
  .holo-frame { inset: 0 -6% 0 18%; }
  .chat { width: 58%; bottom: 4%; font-size: 11.5px; padding: 10px; }
  .msg-a { min-height: 66px; }
  .ai-chip { font-size: 10.5px; padding: 4px 10px 4px 4px; border-radius: 13px; }
  .ico { width: 22px; height: 22px; border-radius: 7px; } .ico svg { width: 13px; height: 13px; }
  .ai-chip.c1 { left: 6%; top: 6%; } .ai-chip.c3 { left: 2%; top: 30%; } .ai-chip.c2 { right: 2%; top: 46%; } .ai-chip.c4 { display: none; }
  .scroll-cue { display: none; }
  .chat-flow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bubble.in:nth-child(even), .bubble.in.reveal.in:nth-child(even) { transform: translateX(14px); }
  .bubble.in p { font-size: 15px; padding: 12px 15px; }
  .av { width: 30px; height: 30px; font-size: 12px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .holo { padding: 22px; }
  .holo-num { margin-bottom: 18px; }
  .builder { grid-template-columns: minmax(0, 1fr); }
  .b-steps, .b-out { padding: 20px; }
  .b-out { border-left: 0; border-top: 1px solid var(--line); }
  .b-prompt { min-height: 120px; font-size: 15px; }
  .b-actions .btn { width: 100%; justify-content: space-between; }
  .b-actions .btn-ghost { justify-content: center; }
  .guide { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fan { height: 340px; order: 2; } .pg { width: 200px; }
  .pg2 { transform: translate(-50%,-50%) translateX(calc(var(--p) * 62px)) rotate(calc(var(--p) * 12deg)); }
  .pg3 { transform: translate(-50%,-50%) translateX(calc(var(--p) * -62px)) rotate(calc(var(--p) * -14deg)); }
  .guide-txt .btn { width: 100%; justify-content: space-between; }
  .brain { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 24px 20px; }
  .brain-vis { width: 62%; margin: 0 auto; }
  .row-cta .btn { width: 100%; justify-content: space-between; }
  .prods { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .level { margin-bottom: 18px; }
  .price { font-size: 30px; }
  .choose { padding: 22px 18px; }
  .row { grid-template-columns: minmax(0, 1fr) 40px; gap: 4px 12px; }
  .row span { grid-column: 1; } .row b { grid-column: 1; } .row .row-ic { grid-row: 1 / span 2; grid-column: 2; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .steps::before { top: 26px; bottom: 26px; left: 25px; right: auto; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; }
  .steps.in::before { transform: scaleY(1); }
  .step { display: flex; gap: 18px; } .step-n { margin: 0; flex: none; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .about-vis { width: 86%; margin: 0 auto; }
  .ans { padding-right: 0; }
  .qa summary { padding: 16px 0; }
  .final { padding: 90px 0; }
  .final-core { width: 520px; }
  .ftr-in { grid-template-columns: minmax(0, 1fr); }
  .ftr-links { justify-content: flex-start; }
  .sticky { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; filter: none; }
}

/* правки телефона */
@media (max-width: 860px) {
  .hero .h1 { font-size: clamp(28px, 7.9vw, 34px); }
  .bubble.in:nth-child(even), .bubble.in.reveal.in:nth-child(even) { transform: translateX(8px); }
  .bubble.in p { max-width: calc(100% - 8px); }
}

/* ===== Гайд: голографическая книга ===== */
.gbook { position: relative; height: 560px; --p: 0; --gx: 0deg; --gy: 0deg; perspective: 1400px; }
.gpage { position: absolute; left: 50%; top: 50%; width: 300px; aspect-ratio: 210 / 297; padding: 26px 24px; border-radius: 20px; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
  background: linear-gradient(160deg, rgba(56,40,100,.85), rgba(10,13,32,.95));
  box-shadow: inset 0 0 0 1px rgba(200,180,240,.22), inset 0 1px 0 rgba(255,255,255,.15), 0 40px 80px -30px rgba(0,0,0,.95), 0 0 50px -20px rgba(196,163,255,.6);
  transform-origin: 50% 110%; transition: transform .3s var(--ease); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gpage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(233,196,106,.9), rgba(196,163,255,.2) 35%, rgba(169,123,240,.1) 60%, rgba(214,180,255,.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.gp1 { z-index: 3; transform: translate(-50%,-50%) rotateX(var(--gx)) rotateY(calc(var(--gy) + var(--p) * -6deg)) rotate(calc(var(--p) * -2deg)); }
.gp2 { z-index: 2; transform: translate(-50%,-50%) translateX(calc(var(--p) * 110px)) translateZ(-40px) rotateY(var(--gy)) rotate(calc(var(--p) * 11deg)); }
.gp3 { z-index: 1; transform: translate(-50%,-50%) translateX(calc(var(--p) * -110px)) translateZ(-80px) rotateY(var(--gy)) rotate(calc(var(--p) * -13deg)); }
.gp-top { font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.gp-h { font: 500 17px/1.2 var(--f-d); letter-spacing: -.02em; }
.gp-brand { display: flex; align-items: center; gap: 8px; font: 500 12px var(--f-d); color: var(--soft); margin-bottom: 18px; }
.gp-brand .logo-orb { width: 18px; height: 18px; }
.gp-title { font: 500 34px/1.05 var(--f-d); letter-spacing: -.04em; margin-top: 4px; }
.gp-sub { font-size: 12px; line-height: 1.5; color: var(--soft); }
.gp-key { margin-top: auto; align-self: flex-end; width: 92px; height: 92px; color: var(--cyan); filter: drop-shadow(0 0 12px rgba(233,196,106,.8)); animation: keyfloat 5s ease-in-out infinite; }
.gp-key svg { width: 100%; height: 100%; }
@keyframes keyfloat { 50% { transform: translateY(-8px) rotate(-6deg); } }
.gp-scan { position: absolute; left: 0; right: 0; height: 40%; top: -40%; background: linear-gradient(transparent, rgba(233,196,106,.12), transparent); animation: gscan 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes gscan { to { top: 110%; } }
.gp-steps { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 9px; }
.gp-steps li { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); }
.gp-steps em { font: 500 11px var(--f-d); font-style: normal; color: #120C22; background: var(--grad); border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; flex: none; }
.gp-weak { font-size: 12px; padding: 10px; border-radius: 12px; background: rgba(244,114,182,.1); box-shadow: inset 0 0 0 1px rgba(244,114,182,.35); color: var(--soft); }
.gp-arrow { text-align: center; color: var(--cyan); }
.gp-strong { font-size: 12px; line-height: 1.5; padding: 10px; border-radius: 12px; background: rgba(233,196,106,.08); box-shadow: inset 0 0 0 1px rgba(233,196,106,.4); }
.gp-strong i { font-style: normal; color: var(--cyan); font-weight: 700; }

.gstats { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gstats li { display: flex; align-items: baseline; gap: 6px; padding: 9px 14px; border-radius: 14px; font-size: 13px; color: var(--soft); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.gstats b { font: 500 20px var(--f-d); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.peek { margin: 26px 0 0; padding: 18px; border-radius: 22px; }
.peek-label { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.peek-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px 14px; padding: 0 4px 2px; }
.peek-tabs::-webkit-scrollbar { display: none; }
.ptab { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; font: 600 13px var(--f-b); color: var(--soft); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); transition: all .25s var(--ease); }
.ptab:hover { color: var(--ink); }
.ptab[aria-selected="true"] { color: #120C22; background: var(--grad); box-shadow: 0 0 20px -6px rgba(233,196,106,.8); }
.ppanel { animation: panelIn .45s var(--ease); min-height: 196px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.pk-formula, .pk-list, .pk-err, .pk-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pk-formula li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; font-size: 14px; }
.pk-formula b { font: 500 13px var(--f-d); color: var(--cyan); }
.pk-formula span { color: var(--soft); }
.pk-tip { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: var(--soft); background: rgba(169,123,240,.12); box-shadow: inset 0 0 0 1px rgba(169,123,240,.3); }
.pk-ws { padding: 12px 14px; border-radius: 14px; background: rgba(244,114,182,.08); box-shadow: inset 0 0 0 1px rgba(244,114,182,.3); }
.pk-ws + .pk-ws { margin-top: 10px; }
.pk-ws.strong { background: rgba(233,196,106,.07); box-shadow: inset 0 0 0 1px rgba(233,196,106,.35); }
.pk-ws p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
.pk-ws small { display: block; margin-top: 6px; font-size: 12px; color: var(--mute); }
.pk-tag { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.pk-tag.weak { color: #F9A8D4; }
.pk-list li { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.04); }
.pk-list em { font: 500 12px var(--f-d); font-style: normal; color: var(--cyan); }
.pk-err li { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.04); }
.pk-err s { color: #F9A8D4; text-decoration-color: rgba(249,168,212,.6); }
.pk-err span { color: var(--ink); }
.pk-check li { position: relative; padding: 8px 12px 8px 40px; font-size: 14px; border-radius: 12px; background: rgba(255,255,255,.04); }
.pk-check li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--cyan); }
.pk-check li::after { content: ""; position: absolute; left: 17px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid var(--cyan); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.gflow { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.gflow li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--soft); }
.gflow span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 500 12px var(--f-d); color: var(--cyan); box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 14px -4px var(--cyan); }

@media (max-width: 860px) {
  .gbook { height: 400px; order: 2; margin-top: 24px; }
  .gpage { width: 220px; padding: 18px 16px; border-radius: 16px; gap: 7px; }
  .gp2 { transform: translate(-50%,-50%) translateX(calc(var(--p) * 70px)) rotate(calc(var(--p) * 11deg)); }
  .gp3 { transform: translate(-50%,-50%) translateX(calc(var(--p) * -70px)) rotate(calc(var(--p) * -13deg)); }
  .gp-title { font-size: 25px; } .gp-key { width: 64px; height: 64px; } .gp-h { font-size: 14px; }
  .gp-steps li { padding: 6px 8px; font-size: 10.5px; } .gp-steps em { width: 20px; height: 20px; font-size: 9px; }
  .gp-weak, .gp-strong { font-size: 10px; padding: 8px; }
  .pk-formula li { grid-template-columns: 78px 1fr; font-size: 13px; }
  .pk-err li { grid-template-columns: minmax(0,1fr); gap: 2px; }
  .gflow { grid-template-columns: minmax(0,1fr); }
  .ppanel { min-height: 0; }
}
@media (max-width: 860px) {
  .gbook { order: 0; height: 360px; margin: 0 0 8px; }
  .gpage { width: 196px; }
  .gp2 { transform: translate(-50%,-50%) translateX(calc(var(--p) * 52px)) rotate(calc(var(--p) * 9deg)); }
  .gp3 { transform: translate(-50%,-50%) translateX(calc(var(--p) * -52px)) rotate(calc(var(--p) * -10deg)); }
  .gp-title { font-size: 22px; }
}
.av-photo { object-position: 50% 13% !important; }

/* иконки нейросетей — вплотную к фигуре */
.hero-vis .ai-chip.c1 { left: 31%; right: auto; top: 13%; }
.hero-vis .ai-chip.c4 { right: 6%; left: auto; top: 8%; }
.hero-vis .ai-chip.c3 { left: 16%; right: auto; top: 36%; }
.hero-vis .ai-chip.c2 { right: 1%; left: auto; top: 46%; }
@media (max-width: 860px) {
  .hero-vis .ai-chip.c1 { left: 33%; top: 7%; }
  .hero-vis .ai-chip.c3 { left: 17%; top: 31%; }
  .hero-vis .ai-chip.c2 { right: 0; top: 45%; }
}

/* контровой свет: бирюзовый слева, фиолетовый справа — как от ядра */
.hero-photo { filter: drop-shadow(-5px -2px 6px rgba(233,196,106,.75)) drop-shadow(-2px 0 18px rgba(233,196,106,.35)) drop-shadow(6px -2px 8px rgba(214,180,255,.8)) drop-shadow(3px 0 22px rgba(169,123,240,.45)); }
@media (prefers-reduced-motion: no-preference) { .hero-photo { animation: rimPulse 6s ease-in-out infinite; } }
@keyframes rimPulse { 50% { filter: drop-shadow(-6px -2px 8px rgba(233,196,106,.9)) drop-shadow(-2px 0 24px rgba(233,196,106,.45)) drop-shadow(7px -2px 10px rgba(214,180,255,.95)) drop-shadow(3px 0 28px rgba(169,123,240,.55)); } }

/* плашки-спутники: позицию задаёт 3D-сцена */
.hero-vis .ai-chip.orbiting { left: 0 !important; top: 0 !important; right: auto !important; bottom: auto !important; animation: none !important; will-change: transform, opacity; transition: opacity .5s ease; }

/* «Обо мне»: такая же контровая подсветка, как у фото на первом экране */
.hud img.about-photo { z-index: 1; filter: drop-shadow(-5px -2px 6px rgba(233,196,106,.75)) drop-shadow(-2px 0 18px rgba(233,196,106,.35)) drop-shadow(6px -2px 8px rgba(214,180,255,.8)) drop-shadow(3px 0 22px rgba(169,123,240,.45)); }
@media (prefers-reduced-motion: no-preference) { .hud img.about-photo { animation: rimPulse 6s ease-in-out infinite; } }
.hud::after { z-index: 2; }
#m-pay + #m-tg { margin-top: 10px; }

/* Читаемость: мелкие подписи крупнее и контрастнее (минимум ~12px на телефоне) */
:root { --mute: #B4A9CC; }
.kicker { font-size: 13px; letter-spacing: .16em; }
.read, .level, .badge-pop, .peek-label { font-size: 12.5px; }
.pk-tag { font-size: 11.5px; }
.hud-label { font-size: 12px; letter-spacing: .1em; bottom: 24px; }
.gp-top { font-size: 10.5px; }
@media (max-width: 760px) {
  .chip-live { font-size: 11.5px; }
  .hero-stats dd { font-size: 12.5px; }
  .chat { font-size: 12.5px; }
  .ai-chip { font-size: 11.5px; }
  .gp-steps li { font-size: 11.5px; }
  .gp-steps em { font-size: 10px; }
  .gp-weak, .gp-strong { font-size: 11px; }
  .hud-label { font-size: 11px; letter-spacing: .08em; }
}
/* узкие телефоны (≤ 390px): шапка помещается целиком */
@media (max-width: 390px) {
  .hdr { padding: 0 8px; }
  .hdr-in { gap: 6px; }
  .hdr-in > .pill { min-width: 0; }
  .pill.logo { padding-left: 8px; padding-right: 14px; gap: 8px; font-size: 15px; }
  .hdr .btn-sm { padding-left: 14px; gap: 8px; font-size: 13px; }
}

/* Город будущего на обложке главной (js/city.js) */
.hero #city { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.hero .hero-vignette { background: linear-gradient(90deg, rgba(23,16,43,.82) 0%, rgba(23,16,43,.5) 36%, transparent 60%), linear-gradient(transparent 72%, var(--bg) 100%); }
@media (max-width: 860px) { .hero .hero-vignette { background: linear-gradient(rgba(23,16,43,.82) 0%, rgba(23,16,43,.5) 45%, transparent 62%), linear-gradient(transparent 85%, var(--bg)); } }
/* с городом на фоне низ фото растворяем маской, без тёмной плашки поверх города */
.hero .holo-frame::after { display: none; }
.hero .hero-photo { -webkit-mask: linear-gradient(#000 80%, transparent 99%); mask: linear-gradient(#000 80%, transparent 99%); }
