/* AkulaVozit — «диджитал» слой. Подключается после styles-*.css, перекрывает токены и добавляет HUD-оформление. */
:root {
  --color-bg: #050914;
  --color-surface: #0a1226;
  --color-elevated: #111b3a;
  --color-line: rgba(93, 140, 255, 0.22);
  --color-muted: #9db0d9;
  --color-primary: #3d7eff;
  --radius-3xl: 1.1rem;
  --radius-4xl: 1.35rem;
  --ak-cyan: #27e0ff;
  --ak-blue: #3d7eff;
  --ak-violet: #8b5cff;
  --ak-mint: #35f2b0;
  --ak-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- фон: сетка + свечение ---------- */
body {
  background:
    radial-gradient(1100px 640px at 82% -8%, rgba(61, 126, 255, 0.2), transparent 62%),
    radial-gradient(900px 560px at -8% 28%, rgba(139, 92, 255, 0.14), transparent 62%),
    #050914;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(93, 140, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 140, 255, 0.075) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 18%, #000 18%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 18%, #000 18%, transparent 78%);
}
.min-h-screen.bg-bg { background: transparent; }
.bg-orb-a { background: radial-gradient(circle, rgba(39, 224, 255, 0.35), transparent 68%); }
.bg-orb-b { background: radial-gradient(circle, rgba(139, 92, 255, 0.35), transparent 70%); }
::selection { background: var(--ak-cyan); color: #04101a; }

/* ---------- шапка ---------- */
header > .glass {
  background-color: rgba(7, 13, 30, 0.72);
  border-color: rgba(93, 140, 255, 0.3);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.55), 0 0 36px rgba(61, 126, 255, 0.14), inset 0 0 0 1px rgba(39, 224, 255, 0.05);
}
header nav a { font-family: var(--ak-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color .2s, text-shadow .2s; }
header nav a:hover { color: #fff; text-shadow: 0 0 14px var(--ak-cyan); }
header nav a.text-primary { color: var(--ak-cyan); text-shadow: 0 0 16px rgba(39, 224, 255, 0.7); }

/* ---------- карточки: HUD-уголки + «прожектор» за курсором ---------- */
.glass {
  background-color: rgba(9, 17, 38, 0.6);
  border-color: rgba(93, 140, 255, 0.24);
  --hud: var(--ak-cyan);
  background-image:
    radial-gradient(240px circle at var(--mx, -300px) var(--my, -300px), rgba(61, 126, 255, 0.2), transparent 70%),
    linear-gradient(var(--hud), var(--hud)), linear-gradient(var(--hud), var(--hud)),
    linear-gradient(var(--hud), var(--hud)), linear-gradient(var(--hud), var(--hud)),
    linear-gradient(var(--hud), var(--hud)), linear-gradient(var(--hud), var(--hud)),
    linear-gradient(var(--hud), var(--hud)), linear-gradient(var(--hud), var(--hud));
  background-position: 0 0, 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-size: 100% 100%, 14px 2px, 2px 14px, 14px 2px, 2px 14px, 14px 2px, 2px 14px, 14px 2px, 2px 14px;
  background-repeat: no-repeat;
}
.glass::before { background: linear-gradient(135deg, rgba(120, 170, 255, 0.1) 0%, transparent 38%); }
.glass.bg-primary\/25 { background-color: rgba(61, 126, 255, 0.2); }
.lift:hover { border-color: rgba(39, 224, 255, 0.55); box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 18px 46px rgba(61, 126, 255, 0.25), 0 0 0 1px rgba(39, 224, 255, 0.12); }

/* ---------- кнопки ---------- */
.bg-primary:not(.akh-chip) {
  background-image: linear-gradient(135deg, #3d7eff 0%, #2aa6ff 55%, #27d3ff 100%);
  box-shadow: 0 8px 26px rgba(61, 126, 255, 0.45), inset 0 1px rgba(255, 255, 255, 0.35);
  transition: filter .2s, transform .2s, box-shadow .2s;
}
a.bg-primary:hover, button.bg-primary:hover { filter: brightness(1.12); box-shadow: 0 10px 34px rgba(39, 224, 255, 0.5), inset 0 1px rgba(255, 255, 255, 0.4); }

/* ---------- типографика ---------- */
h1, h2, h3 { letter-spacing: -0.035em; }
p.text-xs.text-muted, .text-xs.text-muted { font-family: var(--ak-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; }
.font-display.text-primary, .text-primary.font-display { text-shadow: 0 0 22px rgba(61, 126, 255, 0.65); font-variant-numeric: tabular-nums; }
main { counter-reset: aksec; }
main h2.text-3xl::before {
  counter-increment: aksec; content: "0" counter(aksec) "  //  AKULAVOZIT";
  display: block; margin-bottom: 0.65rem; font: 500 0.68rem/1 var(--ak-mono); letter-spacing: 0.22em; color: var(--ak-cyan); text-shadow: 0 0 12px rgba(39, 224, 255, 0.6);
}
main h2.text-3xl { background: linear-gradient(180deg, #fff 30%, #b9cdff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
main h2.text-3xl::before { -webkit-text-fill-color: var(--ak-cyan); }

/* активные фильтры-чипы */
button.rounded-full.bg-fg, a.rounded-full.bg-fg { background-image: linear-gradient(135deg, #7db0ff, #27e0ff); color: #031018; box-shadow: 0 0 18px rgba(39, 224, 255, 0.45); }
.bg-primary button.rounded-full.bg-fg, .bg-primary a.rounded-full.bg-fg { background-image: none; background-color: #fff; color: #0a1226; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }

/* ---------- квиз / формы ---------- */
#quiz .glass { box-shadow: 0 0 0 1px rgba(39, 224, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(61, 126, 255, 0.12); }
#quiz .bg-elevated { background: rgba(93, 140, 255, 0.16); }
#quiz .bg-fg { background: linear-gradient(90deg, var(--ak-blue), var(--ak-cyan)); box-shadow: 0 0 14px rgba(39, 224, 255, 0.7); }
button.border-line, a.border-line { background: rgba(93, 140, 255, 0.05); transition: background .2s, border-color .2s, box-shadow .2s; }
button.border-line:hover { box-shadow: 0 0 22px rgba(61, 126, 255, 0.4); }
input, select, textarea { background-color: rgba(10, 18, 40, 0.7); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ak-cyan); box-shadow: 0 0 0 3px rgba(39, 224, 255, 0.2); }

/* ============ HERO ============ */
.akh { position: relative; overflow: hidden; isolation: isolate; padding-bottom: 0; }
.akh-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.akh-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.akh-glow--a { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; left: 50%; top: 4%; transform: translateX(-50%); background: radial-gradient(circle, rgba(61, 126, 255, 0.4), transparent 68%); }
.akh-glow--b { width: 34vw; height: 34vw; right: -6%; top: 36%; background: radial-gradient(circle, rgba(139, 92, 255, 0.3), transparent 70%); }
.akh-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, #050914 100%); }

.akh-wrap { position: relative; max-width: 72rem; margin: 0 auto; padding: 22px 16px 30px; text-align: center; }
@media (min-width: 640px) { .akh-wrap { padding: 30px 24px 36px; } }

.akh-status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 16px; border-radius: 999px;
  font: 500 0.72rem/1 var(--ak-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #b8d4ff;
  background: rgba(39, 224, 255, 0.07); border: 1px solid rgba(39, 224, 255, 0.28); box-shadow: 0 0 24px rgba(39, 224, 255, 0.12);
}
.akh-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ak-mint); box-shadow: 0 0 0 0 rgba(53, 242, 176, 0.7); animation: akh-ping 1.8s infinite; }
.akh-sep { color: var(--ak-cyan); opacity: 0.7; }

.akh-h1 {
  margin: 18px auto 0; max-width: 56rem; font-family: var(--font-display); font-weight: 700; text-wrap: balance;
  font-size: clamp(1.85rem, 1rem + 3.6vw, 3.3rem); line-height: 1.08; letter-spacing: -0.04em; color: #fff;
  text-shadow: 0 0 40px rgba(61, 126, 255, 0.35);
}
.akh-chip {
  display: inline-block; vertical-align: middle; margin-left: 4px; padding: 0.08em 0.4em 0.14em; border-radius: 0.3em; font-size: 0.62em; letter-spacing: -0.02em;
  color: #031018; background: linear-gradient(135deg, var(--ak-cyan), #6da6ff); box-shadow: 0 0 34px rgba(39, 224, 255, 0.55), inset 0 1px rgba(255, 255, 255, 0.5);
  text-shadow: none;
}
.akh-lead { margin: 14px auto 0; max-width: 40rem; font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.1rem); line-height: 1.55; color: var(--color-muted); }

/* ---------- сцена с авто ---------- */
.akh-stage { position: relative; max-width: 1040px; margin: 16px auto 0; padding-top: 76px; }
.akh-car { position: relative; z-index: 3; display: block; width: 100%; height: auto; filter: brightness(1.55) contrast(1.1) saturate(1.2) drop-shadow(0 28px 36px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 30px rgba(80, 150, 255, 0.45)); animation: akh-float 6s ease-in-out infinite; }
.akh-stage::before { content: ''; position: absolute; z-index: 2; left: -4%; right: -4%; top: 4%; bottom: 0; pointer-events: none;
  background: radial-gradient(ellipse 52% 58% at 50% 56%, rgba(120, 190, 255, 0.34), rgba(80, 120, 255, 0.14) 48%, transparent 72%); mix-blend-mode: screen; }
.akh-floor {
  position: absolute; z-index: 0; left: 4%; right: 4%; bottom: -4%; height: 62%;
  background-image: linear-gradient(rgba(39, 224, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(39, 224, 255, 0.5) 1px, transparent 1px);
  background-size: 48px 28px; transform: perspective(380px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 5%, transparent 68%); mask-image: radial-gradient(ellipse at 50% 100%, #000 5%, transparent 68%);
  opacity: 0.55; animation: akh-grid 4s linear infinite;
}
.akh-ring { position: absolute; z-index: 1; left: 50%; bottom: 3%; border-radius: 50%; border: 2px solid rgba(39, 224, 255, 0.55); transform: translateX(-50%) scaleY(0.13); transform-origin: 50% 100%; box-shadow: 0 0 30px rgba(39, 224, 255, 0.5), inset 0 0 30px rgba(39, 224, 255, 0.3); }
.akh-ring--1 { width: 86%; aspect-ratio: 1; }
.akh-ring--2 { width: 62%; aspect-ratio: 1; border-color: rgba(139, 92, 255, 0.6); box-shadow: 0 0 30px rgba(139, 92, 255, 0.5), inset 0 0 30px rgba(139, 92, 255, 0.3); animation: akh-ringpulse 3.2s ease-in-out infinite; }
.akh-scan { position: absolute; z-index: 4; top: 76px; bottom: 0; left: 0; width: 12%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(90deg, transparent, rgba(39, 224, 255, 0.16) 70%, rgba(39, 224, 255, 0.55) 99%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  animation: akh-sweep 5.5s cubic-bezier(.5, 0, .5, 1) infinite; }
.akh-corner { position: absolute; z-index: 5; width: 22px; height: 22px; border: 0 solid var(--ak-cyan); filter: drop-shadow(0 0 6px rgba(39, 224, 255, 0.8)); }
.akh-corner--tl { left: 0; top: 76px; border-left-width: 2px; border-top-width: 2px; }
.akh-corner--tr { right: 0; top: 76px; border-right-width: 2px; border-top-width: 2px; }
.akh-corner--bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.akh-corner--br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }

/* метки-«пины» над машинами */
.akh-pin { position: absolute; z-index: 6; top: 0; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.akh-pin--a { left: 19%; } .akh-pin--b { left: 50%; } .akh-pin--c { left: 81%; }
.akh-pin-card {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 12px; text-align: left; white-space: nowrap;
  background: rgba(7, 14, 34, 0.78); border: 1px solid rgba(39, 224, 255, 0.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 24px rgba(39, 224, 255, 0.14);
}
.akh-pin-flag { font-size: 1.35rem; line-height: 1; }
.akh-pin-t { display: block; font: 700 0.82rem/1.2 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.akh-pin-m { display: block; margin-top: 2px; font: 500 0.64rem/1.2 var(--ak-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ak-cyan); }
.akh-pin-line { width: 1px; height: 24px; background: linear-gradient(180deg, var(--ak-cyan), rgba(39, 224, 255, 0)); }
.akh-pin-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: -2px; background: var(--ak-cyan); box-shadow: 0 0 0 0 rgba(39, 224, 255, 0.7), 0 0 14px var(--ak-cyan); animation: akh-ping 2s infinite; }
.akh-pin--b .akh-pin-line { height: 30px; }

/* ---------- кнопки hero ---------- */
.akh-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; }
.akh-btn { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; transition: transform .2s, box-shadow .2s, filter .2s, background .2s; }
.akh-btn--main {
  padding-right: 10px; color: #03101c; background: linear-gradient(135deg, #5b9bff 0%, #27e0ff 100%);
  box-shadow: 0 10px 34px rgba(39, 224, 255, 0.45), inset 0 1px rgba(255, 255, 255, 0.55);
}
.akh-btn--main:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(39, 224, 255, 0.65), inset 0 1px rgba(255, 255, 255, 0.6); }
.akh-btn-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #04121f; color: var(--ak-cyan); font-size: 1.15rem; transition: transform .2s; }
.akh-btn--main:hover .akh-btn-ic { transform: translateX(3px); }
.akh-btn--ghost { color: #fff; border: 1px solid rgba(93, 140, 255, 0.5); background: rgba(61, 126, 255, 0.08); backdrop-filter: blur(8px); }
.akh-btn--ghost:hover { background: rgba(61, 126, 255, 0.22); border-color: var(--ak-cyan); box-shadow: 0 0 28px rgba(39, 224, 255, 0.3); transform: translateY(-2px); }
.akh-btn:focus-visible { outline: 2px solid var(--ak-cyan); outline-offset: 3px; }
.akh-note { margin: 14px 0 0; font: 500 0.7rem/1 var(--ak-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #7f93c0; }

/* ---------- панель цифр ---------- */
.akh-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); margin: 34px auto 0; max-width: 62rem; border-radius: 20px; overflow: hidden;
  background: rgba(8, 15, 34, 0.62); border: 1px solid rgba(93, 140, 255, 0.28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(61, 126, 255, 0.12), inset 0 1px rgba(255, 255, 255, 0.12);
}
@media (min-width: 760px) { .akh-stats { grid-template-columns: repeat(4, 1fr); } }
.akh-stat { position: relative; padding: 18px 16px; text-align: left; }
.akh-stat::after { content: ""; position: absolute; right: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, rgba(93, 140, 255, 0.4), transparent); }
.akh-stat:last-child::after { display: none; }
.akh-stat-v { margin: 0; display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); letter-spacing: -0.04em; color: #fff; text-shadow: 0 0 24px rgba(61, 126, 255, 0.7); }
.akh-num { font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #8fd2ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.akh-stat-u { font: 500 0.7rem/1 var(--ak-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ak-cyan); -webkit-text-fill-color: var(--ak-cyan); }
.akh-stat-l { margin: 6px 0 0; font-size: 0.8rem; line-height: 1.35; color: var(--color-muted); }

/* ---------- бегущая строка площадок ---------- */
.akh-ticker { position: relative; overflow: hidden; border-block: 1px solid rgba(93, 140, 255, 0.22); background: rgba(6, 12, 28, 0.7); padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.akh-ticker-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: akh-ticker 34s linear infinite; }
.akh-tk { display: inline-flex; align-items: center; gap: 14px; padding: 0 26px; font: 700 0.95rem/1 var(--ak-mono); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(190, 210, 255, 0.78); white-space: nowrap; }
.akh-tk-dot { width: 6px; height: 6px; background: var(--ak-cyan); transform: rotate(45deg); box-shadow: 0 0 10px var(--ak-cyan); }

/* ---------- анимации ---------- */
@keyframes akh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes akh-ping { 0% { box-shadow: 0 0 0 0 rgba(39, 224, 255, 0.65), 0 0 14px currentColor; } 70% { box-shadow: 0 0 0 12px rgba(39, 224, 255, 0), 0 0 14px currentColor; } 100% { box-shadow: 0 0 0 0 rgba(39, 224, 255, 0), 0 0 14px currentColor; } }
@keyframes akh-grid { from { background-position: 0 0; } to { background-position: 0 28px; } }
@keyframes akh-ringpulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes akh-sweep { 0% { transform: translateX(-30%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(460%); opacity: 0; } }
@keyframes akh-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .akh *, .akh *::before, .akh *::after { animation: none !important; transition: none !important; }
  .akh-scan { display: none; }
}

/* ---------- мобильная версия ---------- */
@media (max-width: 760px) {
  .akh-stage { padding-top: 12px; margin-top: 10px; }
  .akh-pin { display: none; }
  .akh-scan, .akh-corner--tl, .akh-corner--tr { top: 12px; }
  .akh-btn--main { width: 100%; justify-content: space-between; padding-left: 22px; }
  .akh-btn--ghost { width: 100%; justify-content: center; }
  .akh-stat { padding: 14px 12px; }
  .akh-stat:nth-child(2)::after { display: none; }
  .akh-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(93, 140, 255, 0.2); }
  .akh-tk { font-size: 0.78rem; padding: 0 18px; }
}
@media (max-width: 1000px) and (min-width: 761px) { .akh-pin-card { padding: 6px 10px 6px 8px; } .akh-pin-t { font-size: 0.74rem; } }

/* плашка «ИИ-подбор / цена под ключ в РБ» убрана по запросу (разметка оставлена ради гидратации) */
.akh-status { display: none; }
