/*
Theme Name: Atlas AI
Theme URI: https://atlasai.su
Description: Экосистема Atlas AI — оркестратор + страницы продуктов. Живые арт-режимы, рой частиц, мультиязычность (RU/EN/ZH/ES/FR/DE), ассистент. Лёгкая, без сборки.
Author: Atlas AI
Version: 2.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: atlasai
*/



:root {
  --blue: #3418a5;
  --electric: #732fff;
  --cyan: #7778ff;
  --ice: #e5dcff;
  --night: #090310;
  --navy: #130727;
  --ink: #190b30;
  --white: #f8f6ff;
  --line-light: rgba(47, 19, 138, .16);
  --line-dark: rgba(176, 154, 255, .16);
  --font-geist-sans: -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-geist-mono: ui-monospace,"SF Mono","Cascadia Code","Segoe UI Mono",Consolas,monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; font-family: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif; background: var(--night); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
::selection { color: #fff; background: var(--electric); }

.atlas-site { position: relative; overflow: clip; background: transparent; }
.space-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #e2dcf7;
  transition: background 1.2s ease;
}
.space-field::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.atmosphere {
  position: absolute;
  display: block;
  width: 108vmax;
  height: 108vmax;
  border-radius: 44% 56% 63% 37% / 54% 39% 61% 46%;
  filter: blur(28px);
  will-change: transform, border-radius;
  transition: background 1.2s ease, opacity 1.2s ease;
}
.atmosphere-a { z-index: 1; left: 31vw; top: -74vmax; background: radial-gradient(circle at 45% 50%, #07020d 0 20%, #14072e 37%, rgba(20, 7, 46,.65) 50%, transparent 68%); animation: liquidA 20s ease-in-out infinite alternate; }
.atmosphere-b { z-index: 2; left: -71vmax; top: -48vmax; background: radial-gradient(circle, #fff 0 31%, rgba(251, 250, 255,.96) 48%, rgba(236, 230, 255,.3) 64%, transparent 72%); animation: liquidB 24s ease-in-out infinite alternate; }
.atmosphere-c { z-index: 3; right: -75vmax; bottom: -89vmax; background: radial-gradient(circle, rgba(52, 24, 165,.92), rgba(81, 31, 218,.58) 31%, rgba(107, 47, 255,.18) 51%, transparent 68%); mix-blend-mode: screen; animation: liquidC 18s ease-in-out infinite alternate; }
.atmosphere-d { z-index: 2; left: -82vmax; bottom: -93vmax; background: radial-gradient(circle, #090312 0 27%, rgba(14, 4, 31,.94) 43%, rgba(31, 11, 74,.32) 58%, transparent 70%); animation: liquidD 27s ease-in-out infinite alternate; }

.atlas-site[data-visual="eclipse"] .space-field { background: #07020d; }
.atlas-site[data-visual="eclipse"] .atmosphere-a { left: 5vw; top: -83vmax; opacity: .92; background: radial-gradient(circle at 50% 50%, #190639 0 22%, #05010a 42%, transparent 67%); }
.atlas-site[data-visual="eclipse"] .atmosphere-b { left: -50vmax; top: -54vmax; opacity: .74; background: radial-gradient(circle, rgba(255, 255, 255,.98) 0 18%, rgba(221, 213, 255,.72) 35%, rgba(135, 97, 242,.16) 51%, transparent 66%); mix-blend-mode: screen; }
.atlas-site[data-visual="eclipse"] .atmosphere-c { right: -46vmax; bottom: -74vmax; opacity: .72; }
.atlas-site[data-visual="eclipse"] .atmosphere-d { left: -30vmax; bottom: -95vmax; background: radial-gradient(circle, #000 0 38%, transparent 68%); }

.atlas-site[data-visual="signature"] .space-field { background: #efeef5; }
.atlas-site[data-visual="signature"] .atmosphere-a { left: 40vw; top: -70vmax; opacity: .9; background: radial-gradient(circle, #09050f 0 25%, #180b30 41%, rgba(35, 16, 75,.45) 54%, transparent 69%); animation-duration: 32s; }
.atlas-site[data-visual="signature"] .atmosphere-b { left: -63vmax; top: -57vmax; opacity: 1; background: radial-gradient(circle, #fff 0 34%, rgba(255, 255, 255,.92) 48%, transparent 68%); animation-duration: 36s; }
.atlas-site[data-visual="signature"] .atmosphere-c { right: -69vmax; bottom: -88vmax; opacity: .56; background: radial-gradient(circle, rgba(96, 42, 229,.76), rgba(85, 31, 207,.3) 38%, transparent 67%); animation-duration: 28s; }
.atlas-site[data-visual="signature"] .atmosphere-d { left: -89vmax; bottom: -104vmax; opacity: .82; animation-duration: 40s; }

.atlas-site[data-visual="aether"] .space-field { background: #f0edff; }
.atlas-site[data-visual="aether"] .atmosphere-a { left: 48vw; top: -72vmax; opacity: .47; background: radial-gradient(circle, #220c53 0 20%, rgba(52, 23, 128,.72) 39%, rgba(106, 66, 217,.16) 56%, transparent 70%); }
.atlas-site[data-visual="aether"] .atmosphere-b { left: -59vmax; top: -44vmax; opacity: 1; }
.atlas-site[data-visual="aether"] .atmosphere-c { right: -61vmax; bottom: -74vmax; opacity: .36; }
.atlas-site[data-visual="aether"] .atmosphere-d { left: -76vmax; bottom: -91vmax; opacity: .22; }

.atlas-site[data-visual="pearl"] .space-field { background: #f3f1ed; }
.atlas-site[data-visual="pearl"] .atmosphere-a { left: 44vw; top: -78vmax; opacity: .34; background: radial-gradient(circle, #31264d 0 21%, rgba(78, 64, 109,.52) 40%, rgba(132, 113, 178,.12) 57%, transparent 70%); }
.atlas-site[data-visual="pearl"] .atmosphere-b { left: -54vmax; top: -43vmax; opacity: 1; background: radial-gradient(circle, #fff 0 36%, rgba(255, 255, 255,.94) 52%, transparent 71%); }
.atlas-site[data-visual="pearl"] .atmosphere-c { right: -58vmax; bottom: -76vmax; opacity: .22; background: radial-gradient(circle, rgba(105, 73, 203,.55), rgba(126, 98, 214,.2) 41%, transparent 68%); }
.atlas-site[data-visual="pearl"] .atmosphere-d { left: -82vmax; bottom: -94vmax; opacity: .12; }
.swarm-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  pointer-events: auto;
}
.atlas-site > section,
.atlas-nav,
.atlas-footer { position: relative; z-index: 2; }

.visual-switcher {
  width: 372px;
  position: fixed;
  left: 24px;
  bottom: 22px;
  z-index: 60;
  overflow: hidden;
  border: 1px solid rgba(166, 143, 240,.24);
  border-radius: 13px;
  color: #d9cff8;
  background: rgba(10, 3, 22,.7);
  box-shadow: inset 0 1px rgba(255, 255, 255,.07), 0 20px 60px rgba(0, 0, 0,.23);
  backdrop-filter: blur(14px) saturate(120%);
}
.switcher-title { height: 32px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(166, 143, 240,.14); font-family: var(--font-geist-mono), monospace; font-size: 7px; letter-spacing: .13em; }
.switcher-title i { width: 5px; height: 5px; border-radius: 50%; background: #61d6a5; box-shadow: 0 0 9px #4dd49c; }
.switcher-options { display: grid; grid-template-columns: repeat(4, 1fr); }
.switcher-options button { min-height: 70px; padding: 9px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; border: 0; border-right: 1px solid rgba(166, 143, 240,.12); color: #6e6195; background: transparent; cursor: pointer; text-align: left; }
.switcher-options button:last-child { border-right: 0; }
.switcher-options button > span { font-family: var(--font-geist-mono), monospace; font-size: 7px; }
.switcher-options button b { color: #a89dca; font-size: 9px; font-weight: 560; }
.switcher-options button small { font-size: 6px; line-height: 1.3; }
.switcher-options button.active { background: rgba(82, 37, 194,.27); box-shadow: inset 0 2px #8366ff; }
.switcher-options button.active > span { color: #876dff; }
.switcher-options button.active b { color: #fff; }

.atlas-nav {
  position: fixed;
  top: 18px;
  left: 24px;
  right: 24px;
  height: 62px;
  padding: 0 13px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(143, 119, 218, .23);
  border-radius: 15px;
  color: #efeaff;
  background: rgba(13, 4, 27, .64);
  box-shadow: inset 0 1px rgba(255, 255, 255,.08), 0 15px 50px rgba(0, 0, 0,.12);
  backdrop-filter: blur(14px) saturate(120%);
  z-index: 50;
}
.atlas-logo { display: flex; align-items: center; gap: 11px; color: #f8f5ff; font-size: 14px; font-weight: 760; letter-spacing: .22em; }
.atlas-glyph {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(161, 132, 255, .5);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, rgba(113, 50, 255, .66), rgba(48, 17, 124, .24));
  box-shadow: inset 0 0 14px rgba(142, 121, 255, .2), 0 0 18px rgba(112, 44, 255, .18);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.atlas-links { display: flex; gap: 32px; }
.atlas-links a { color: #aa9fca; font-size: 11px; font-weight: 580; letter-spacing: .04em; transition: color .2s; }
.atlas-links a:hover { color: #fff; }
.nav-action {
  min-width: 145px;
  height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(170, 141, 255, .27);
  border-radius: 9px;
  color: #fff;
  background: rgba(101, 41, 226, .2);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .04em;
}
.nav-action span { color: var(--cyan); }

.atlas-hero {
  min-height: 100svh;
  padding: 150px clamp(28px, 7vw, 110px) 55px;
  display: grid;
  align-content: center;
  background: rgba(255, 255, 255,.035);
}
.hero-content { max-width: 800px; position: relative; z-index: 3; isolation: isolate; }
.hero-content::before { content: ""; position: absolute; z-index: -1; inset: -42px -55px -42px -50px; border: 1px solid rgba(255, 255, 255,.22); border-radius: 30px; background: rgba(249, 248, 255,.3); box-shadow: inset 0 1px rgba(255, 255, 255,.38), 0 30px 90px rgba(36, 16, 83,.06); backdrop-filter: blur(10px) saturate(105%); -webkit-mask-image: linear-gradient(90deg, #000 58%, transparent 100%); mask-image: linear-gradient(90deg, #000 58%, transparent 100%); }
.signal-label, .section-code {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #605291;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .17em;
}
.signal-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(115, 47, 255,.12), 0 0 16px rgba(115, 47, 255,.5);
}
.hero-content h1 {
  margin: 30px 0 0;
  max-width: 850px;
  font-size: clamp(58px, 7.5vw, 116px);
  line-height: .89;
  letter-spacing: -.072em;
  font-weight: 530;
}
.hero-content h1 em,
.transition-copy h2 em,
.section-intro h2 em,
.architecture-copy h2 em,
.deploy-head h2 em,
.atlas-contact h2 em {
  font-style: normal;
  color: var(--electric);
  text-shadow: 0 0 35px rgba(126, 65, 255, .12);
}
.hero-content > p {
  max-width: 610px;
  margin: 31px 0 0;
  color: #584d7a;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  letter-spacing: -.015em;
}
.hero-buttons { margin-top: 36px; display: flex; gap: 12px; align-items: center; }
.primary-action, .quiet-action {
  height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .03em;
  transition: transform .2s, box-shadow .2s;
}
.primary-action { color: #fff; background: linear-gradient(135deg, #571de9, #4112a8); box-shadow: 0 15px 35px rgba(80, 25, 209, .24), inset 0 1px rgba(255, 255, 255,.25); }
.quiet-action { border: 1px solid rgba(56, 31, 133, .17); color: #362476; background: rgba(255, 255, 255,.42); backdrop-filter: blur(14px); }
.quiet-action i { width: 7px; height: 7px; border-radius: 50%; background: #15a96b; box-shadow: 0 0 10px rgba(21, 169, 107,.5); }
.primary-action:hover, .quiet-action:hover { transform: translateY(-2px); }
.hero-telemetry {
  position: absolute;
  right: clamp(28px, 5vw, 80px);
  bottom: 56px;
  display: flex;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background: rgba(255, 255, 255,.36);
  backdrop-filter: blur(16px);
}
.hero-telemetry div { min-width: 118px; padding: 13px 16px; border-right: 1px solid var(--line-light); }
.hero-telemetry div:last-child { border: 0; }
.hero-telemetry span, .hero-telemetry strong { display: block; }
.hero-telemetry span { color: #8378aa; font-family: var(--font-geist-mono), monospace; font-size: 7px; letter-spacing: .12em; }
.hero-telemetry strong { margin-top: 5px; color: #352476; font-family: var(--font-geist-mono), monospace; font-size: 11px; }
.hero-telemetry .online { display: flex; align-items: center; gap: 7px; color: #098655; }
.hero-telemetry .online i { width: 5px; height: 5px; border-radius: 50%; background: #0aa96a; }
.scroll-marker { position: absolute; left: 28px; bottom: 50px; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.scroll-marker span { color: #8278a8; font-family: var(--font-geist-mono), monospace; font-size: 7px; letter-spacing: .14em; writing-mode: vertical-rl; }
.scroll-marker i { width: 1px; height: 35px; background: linear-gradient(#7d6fab, transparent); }

.transition-section {
  min-height: 120svh;
  padding: 145px clamp(28px, 7vw, 110px) 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: rgba(19, 8, 36,.08);
}
.transition-copy { max-width: 850px; padding: clamp(28px, 4vw, 55px); border: 1px solid rgba(255, 255, 255,.3); border-radius: 24px; background: rgba(249, 248, 255,.4); box-shadow: inset 0 1px rgba(255, 255, 255,.46), 0 35px 90px rgba(25, 8, 63,.08); backdrop-filter: blur(12px) saturate(105%); }
.transition-copy h2, .section-intro h2, .architecture-copy h2, .deploy-head h2, .atlas-contact h2 {
  margin: 26px 0 0;
  font-size: clamp(45px, 6vw, 86px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 500;
}
.transition-copy p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #5b4e7d;
  font-size: 17px;
  line-height: 1.7;
}
.glass-facts { width: min(1020px, 100%); margin-left: auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.fact-card {
  min-height: 225px;
  padding: 24px;
  border: 1px solid rgba(192, 174, 245, .24);
  border-right: 0;
  color: #f0eaff;
  background: rgba(33, 14, 65, .34);
  backdrop-filter: blur(12px);
}
.fact-card:first-child { border-radius: 14px 0 0 14px; }
.fact-card:last-child { border-right: 1px solid rgba(192, 174, 245, .24); border-radius: 0 14px 14px 0; }
.fact-card > span { color: #886fd2; font-family: var(--font-geist-mono), monospace; font-size: 9px; }
.fact-card strong { display: block; margin-top: 75px; font-size: 20px; font-weight: 580; }
.fact-card p { margin: 9px 0 0; color: #9f93c2; font-size: 12px; line-height: 1.55; }

.modules-section, .experience-section, .architecture-section, .deploy-section, .atlas-contact {
  color: var(--white);
  background: rgba(9, 3, 17, .52);
}
.transition-section, .modules-section, .experience-section, .architecture-section, .deploy-section, .atlas-contact {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}
.atlas-site[data-visual="aether"] :is(.modules-section, .experience-section, .architecture-section, .deploy-section, .atlas-contact) { background-color: rgba(20, 8, 48,.42); }
.atlas-site[data-visual="pearl"] :is(.modules-section, .experience-section, .architecture-section, .deploy-section, .atlas-contact) { background-color: rgba(22, 15, 38,.45); }
.modules-section { min-height: 135svh; padding: 135px clamp(28px, 7vw, 110px); }
.section-code.light { color: #8170b6; }
.section-intro { display: grid; grid-template-columns: .42fr 1fr; gap: 50px; align-items: start; }
.section-intro h2 { margin-top: 0; }
.section-intro h2 em, .architecture-copy h2 em, .deploy-head h2 em, .atlas-contact h2 em { color: #9376ff; }
.section-intro > div:last-child > p { max-width: 610px; margin: 25px 0 0; color: #9387b5; font-size: 16px; line-height: 1.65; }
.module-console { margin-top: 80px; display: grid; grid-template-columns: .75fr 1.25fr; border-top: 1px solid var(--line-dark); }
.module-list { border-left: 1px solid var(--line-dark); }
.module-button {
  width: 100%;
  min-height: 85px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 42px 1fr 145px 25px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  color: #8477ad;
  background: rgba(24, 10, 45, .2);
  cursor: pointer;
  text-align: left;
  transition: color .22s, background .22s;
}
.module-button > span { font-family: var(--font-geist-mono), monospace; font-size: 8px; }
.module-button b { font-size: 15px; font-weight: 540; }
.module-button small { color: #5e5086; font-size: 9px; }
.module-button > i { font-style: normal; text-align: right; opacity: 0; transform: translate(-8px, 8px); transition: .22s; }
.module-button:hover { color: #e1d8ff; background: rgba(49, 23, 105, .22); }
.module-button.active { color: #fff; background: linear-gradient(90deg, rgba(77, 25, 196,.28), rgba(34, 13, 77,.15)); box-shadow: inset 2px 0 #8056ff; }
.module-button.active small { color: #8f77dc; }
.module-button.active > i { opacity: 1; transform: translate(0); color: var(--cyan); }
.glass-panel { border: 1px solid rgba(162, 137, 244, .18); background: rgba(24, 10, 47, .58); box-shadow: inset 0 1px rgba(255, 255, 255,.04), 0 40px 90px rgba(0, 0, 0,.18); backdrop-filter: blur(12px) saturate(110%); }
.module-detail { min-height: 510px; padding: 30px clamp(28px, 4vw, 60px) 40px; position: relative; overflow: hidden; border-top: 0; }
.detail-top { display: flex; justify-content: space-between; color: #74679d; font-family: var(--font-geist-mono), monospace; font-size: 8px; letter-spacing: .12em; }
.detail-top b { display: flex; align-items: center; gap: 8px; color: #5b9d82; font-size: 7px; }
.detail-top b i { width: 5px; height: 5px; border-radius: 50%; background: #45d39b; box-shadow: 0 0 10px rgba(69, 211, 155,.7); }
.module-symbol {
  width: 104px;
  height: 104px;
  margin: 62px 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(146, 105, 255, .28);
  border-radius: 50%;
  color: #ad9aff;
  background: radial-gradient(circle, rgba(91, 35, 211,.25), rgba(24, 8, 49,.15) 65%);
  box-shadow: 0 0 50px rgba(93, 35, 217,.18), inset 0 0 30px rgba(104, 43, 236,.14);
}
.module-symbol > span { font-family: var(--font-geist-mono), monospace; font-size: 18px; letter-spacing: .06em; }
.module-symbol > i { position: absolute; border: 1px solid rgba(148, 109, 255,.17); border-radius: 50%; }
.module-symbol > i:nth-of-type(1) { inset: -13px; }
.module-symbol > i:nth-of-type(2) { inset: -28px; border-style: dashed; animation: spin 18s linear infinite; }
.module-detail h3 { max-width: 650px; margin: 0; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.05; letter-spacing: -.045em; font-weight: 510; }
.module-detail > p { max-width: 620px; margin: 18px 0 0; color: #998ebc; font-size: 14px; line-height: 1.7; }
.module-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 7px; }
.module-tags span { padding: 7px 9px; border: 1px solid rgba(143, 117, 221,.2); border-radius: 6px; color: #8d7fbd; background: rgba(42, 20, 92,.16); font-family: var(--font-geist-mono), monospace; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.module-signal { position: absolute; right: 42px; bottom: 36px; padding-left: 25px; border-left: 1px solid var(--line-dark); }
.module-signal strong { display: block; color: #a28cff; font-size: 38px; line-height: 1; letter-spacing: -.05em; font-weight: 450; }
.module-signal span { display: block; margin-top: 8px; color: #6d5f96; font-family: var(--font-geist-mono), monospace; font-size: 7px; text-transform: uppercase; letter-spacing: .1em; }
.panel-orbit { width: 520px; height: 520px; position: absolute; right: -265px; top: 20px; border: 1px solid rgba(103, 56, 213,.12); border-radius: 50%; }
.panel-orbit::after { content: ""; position: absolute; inset: 90px; border: 1px solid rgba(103, 56, 213,.1); border-radius: 50%; }
.panel-orbit i { width: 5px; height: 5px; position: absolute; border-radius: 50%; background: #7b5cff; box-shadow: 0 0 12px #764bff; }
.panel-orbit i:nth-child(1) { left: 60px; top: 72px; }
.panel-orbit i:nth-child(2) { left: 4px; top: 270px; }
.panel-orbit i:nth-child(3) { left: 120px; bottom: 50px; }

.experience-section { min-height: 115svh; padding: 130px clamp(28px, 7vw, 110px); background: rgba(10, 4, 19, .38); }
.experience-head { display: grid; grid-template-columns: .4fr .8fr .6fr; gap: 50px; align-items: end; }
.experience-head h2 { margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: .96; letter-spacing: -.055em; font-weight: 500; }
.experience-head > p { margin: 0 0 6px; color: #8a7fab; font-size: 14px; line-height: 1.65; }
.scenario-tabs { margin-top: 65px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-dark); }
.scenario-tabs button { padding: 0 0 17px; border: 0; border-bottom: 2px solid transparent; color: #716498; background: transparent; text-align: left; cursor: pointer; font-size: 13px; }
.scenario-tabs button span { margin-right: 15px; color: #4c4073; font-family: var(--font-geist-mono), monospace; font-size: 8px; }
.scenario-tabs button.active { color: #fff; border-color: #7f64ff; }
.scenario-tabs button.active span { color: #8669ff; }
.experience-console { min-height: 500px; margin-top: 35px; display: grid; grid-template-columns: .75fr 1.25fr 170px; overflow: hidden; }
.scenario-copy { padding: 48px 38px; border-right: 1px solid var(--line-dark); }
.micro-label { color: #7566a5; font-family: var(--font-geist-mono), monospace; font-size: 7px; letter-spacing: .12em; }
.scenario-copy h3 { margin: 70px 0 0; font-size: clamp(29px, 3vw, 43px); line-height: 1.08; letter-spacing: -.045em; font-weight: 500; }
.scenario-copy p { margin: 20px 0 0; color: #8f84b2; font-size: 13px; line-height: 1.7; }
.scenario-copy button { width: 100%; height: 45px; margin-top: 31px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(137, 98, 244,.28); border-radius: 8px; color: #eeeaff; background: rgba(76, 30, 183,.28); cursor: pointer; font-size: 10px; font-weight: 650; }
.scenario-copy button span { color: var(--cyan); }
.scenario-copy button:disabled { cursor: wait; opacity: .75; }
.neural-flow { min-height: 500px; position: relative; background-image: radial-gradient(rgba(146, 117, 230,.16) .7px, transparent .7px); background-size: 20px 20px; }
.flow-core {
  width: 86px;
  height: 86px;
  position: absolute;
  left: calc(50% - 43px);
  top: calc(50% - 43px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(135, 94, 255,.3);
  border-radius: 50%;
  color: #c7b9ff;
  background: rgba(50, 18, 116,.47);
  box-shadow: 0 0 45px rgba(89, 31, 232,.22), inset 0 0 25px rgba(112, 58, 244,.16);
}
.flow-core > span { font-size: 20px; font-weight: 650; }
.flow-core i { position: absolute; border: 1px solid rgba(141, 100, 255,.14); border-radius: 50%; }
.flow-core i:nth-of-type(1) { inset: -18px; }
.flow-core i:nth-of-type(2) { inset: -37px; border-style: dashed; animation: spin 20s linear infinite reverse; }
.flow-step {
  width: 150px;
  min-height: 62px;
  padding: 11px;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(137, 111, 215,.2);
  border-radius: 8px;
  color: #c0b7de;
  background: rgba(24, 10, 50,.72);
  box-shadow: 0 10px 25px rgba(0, 0, 0,.15);
}
.flow-step > span { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 6px; color: #9a7cff; background: rgba(94, 45, 211,.22); font-size: 9px; }
.flow-step small, .flow-step b { display: block; }
.flow-step small { color: #65588e; font-family: var(--font-geist-mono), monospace; font-size: 6px; letter-spacing: .09em; }
.flow-step b { margin-top: 4px; font-size: 9px; font-weight: 580; }
.flow-step > i { position: absolute; border-top: 1px dashed rgba(122, 90, 213,.34); }
.step-0 { left: 5%; top: 50px; }
.step-1 { right: 5%; top: 50px; }
.step-2 { right: 5%; bottom: 50px; }
.step-3 { left: 5%; bottom: 50px; }
.step-0 > i { width: 110px; left: 100%; top: 50%; transform: rotate(27deg); transform-origin: left; }
.step-1 > i { width: 110px; right: 80%; top: 100%; transform: rotate(116deg); transform-origin: right; }
.step-2 > i { width: 110px; right: 100%; top: 50%; transform: rotate(27deg); transform-origin: right; }
.running .flow-step { animation: flowPulse 3s ease-in-out; }
.running .step-1 { animation-delay: .35s; }
.running .step-2 { animation-delay: .7s; }
.running .step-3 { animation-delay: 1.05s; }
.running .flow-core { animation: corePulse 1.1s ease-in-out infinite; }
.scenario-result { padding: 42px 25px; border-left: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: flex-end; }
.scenario-result > span { color: #6d5f96; font-family: var(--font-geist-mono), monospace; font-size: 7px; letter-spacing: .1em; }
.scenario-result strong { margin-top: 16px; color: #9e8dff; font-size: 48px; line-height: 1; letter-spacing: -.06em; font-weight: 420; }
.scenario-result p { margin: 8px 0 0; color: #7c71a0; font-size: 10px; line-height: 1.4; }

.architecture-section { min-height: 85svh; padding: 130px clamp(28px, 7vw, 110px) 95px; background: rgba(8, 3, 15,.46); }
.architecture-grid { display: grid; grid-template-columns: 1fr .78fr; gap: clamp(55px, 8vw, 120px); align-items: center; }
.architecture-copy p { max-width: 600px; margin: 25px 0 0; color: #8b7fae; font-size: 15px; line-height: 1.7; }
.trust-console { padding: 28px; border-radius: 14px; }
.trust-row { height: 60px; padding: 0 4px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); font-family: var(--font-geist-mono), monospace; font-size: 8px; letter-spacing: .08em; }
.trust-row > span { color: #6f6299; }
.trust-row b { display: flex; align-items: center; gap: 8px; color: #72c2a2; font-size: 7px; }
.trust-row b i { width: 5px; height: 5px; border-radius: 50%; background: #54d5a0; box-shadow: 0 0 9px rgba(84, 213, 160,.7); }
.security-line { height: 70px; display: flex; align-items: flex-end; justify-content: space-between; gap: 7px; }
.security-line i { width: 100%; border-radius: 2px 2px 0 0; background: linear-gradient(#6f3de8, rgba(60, 20, 151,.18)); animation: bars 2.8s ease-in-out infinite alternate; }
.security-line i:nth-child(1) { height: 16px; }
.security-line i:nth-child(2) { height: 32px; animation-delay: .2s; }
.security-line i:nth-child(3) { height: 23px; animation-delay: .4s; }
.security-line i:nth-child(4) { height: 43px; animation-delay: .6s; }
.security-line i:nth-child(5) { height: 28px; animation-delay: .8s; }
.security-line i:nth-child(6) { height: 49px; animation-delay: 1s; }
.security-line i:nth-child(7) { height: 38px; animation-delay: 1.2s; }
.security-line i:nth-child(8) { height: 54px; animation-delay: 1.4s; }
.trust-badges { margin-top: 95px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.trust-badges span { padding: 24px 10px; border-right: 1px solid var(--line-dark); color: #73669b; font-family: var(--font-geist-mono), monospace; font-size: 8px; letter-spacing: .08em; text-align: center; }
.trust-badges span:last-child { border: 0; }

.deploy-section { padding: 135px clamp(28px, 7vw, 110px); background: rgba(12, 4, 24,.42); }
.deploy-head { display: grid; grid-template-columns: .4fr 1fr; gap: 50px; }
.deploy-head h2 { margin-top: 0; }
.deploy-grid { margin-top: 75px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.deploy-card { min-height: 520px; padding: 27px; position: relative; border-radius: 12px; }
.deploy-card.featured { border-color: rgba(134, 91, 255,.46); background: linear-gradient(160deg, rgba(69, 30, 154,.37), rgba(24, 8, 52,.53)); box-shadow: inset 0 1px rgba(204, 190, 255,.1), 0 0 60px rgba(72, 25, 179,.12); }
.deploy-index { position: absolute; right: 23px; top: 23px; color: #5b4d85; font-family: var(--font-geist-mono), monospace; font-size: 9px; }
.deploy-card > small { color: #7c62d0; font-family: var(--font-geist-mono), monospace; font-size: 7px; letter-spacing: .14em; }
.deploy-card h3 { margin: 72px 0 0; font-size: 29px; letter-spacing: -.04em; font-weight: 520; }
.deploy-card > p { min-height: 85px; margin: 18px 0 0; color: #8b80ae; font-size: 13px; line-height: 1.65; }
.deploy-card ul { margin: 36px 0 0; padding: 25px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 15px; list-style: none; }
.deploy-card li { display: flex; align-items: center; gap: 9px; color: #a69bc8; font-size: 11px; }
.deploy-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #7a4dff; box-shadow: 0 0 8px rgba(122, 77, 255,.5); }
.deploy-card > a { height: 45px; padding: 0 14px; position: absolute; left: 27px; right: 27px; bottom: 27px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(140, 105, 242,.25); border-radius: 8px; color: #e5dcff; background: rgba(75, 32, 178,.17); font-size: 10px; font-weight: 650; }
.deploy-card > a span { color: var(--cyan); }

.atlas-contact { min-height: 88svh; padding: 120px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: radial-gradient(circle at 50% 55%, rgba(69, 26, 163,.18), rgba(7, 2, 13,.5) 50%); }
.atlas-contact h2 { position: relative; z-index: 1; }
.atlas-contact > p { max-width: 560px; margin: 26px 0 32px; position: relative; z-index: 1; color: #8e82b4; font-size: 15px; line-height: 1.65; }
.atlas-contact > a { height: 52px; padding: 0 20px; position: relative; z-index: 1; display: flex; align-items: center; gap: 40px; border: 1px solid rgba(162, 135, 255,.35); border-radius: 10px; color: #fff; background: linear-gradient(135deg, rgba(99, 42, 238,.6), rgba(63, 22, 146,.46)); box-shadow: 0 20px 60px rgba(74, 22, 193,.2), inset 0 1px rgba(255, 255, 255,.15); font-size: 11px; font-weight: 650; }
.atlas-contact > a span { color: var(--cyan); }
.contact-rings { width: 720px; height: 720px; position: absolute; border: 1px solid rgba(115, 75, 219,.13); border-radius: 50%; animation: spin 50s linear infinite; }
.contact-rings::before, .contact-rings::after { content: ""; position: absolute; border: 1px solid rgba(115, 75, 219,.11); border-radius: 50%; }
.contact-rings::before { inset: 95px; }
.contact-rings::after { inset: 205px; }
.contact-rings i { width: 7px; height: 7px; position: absolute; border-radius: 50%; background: #8a6eff; box-shadow: 0 0 14px #7c5cff; }
.contact-rings i:nth-child(1) { left: 92px; top: 95px; }
.contact-rings i:nth-child(2) { right: -3px; top: 340px; }
.contact-rings i:nth-child(3) { left: 250px; bottom: -1px; }

.atlas-footer {
  min-height: 120px;
  padding: 0 clamp(28px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  color: #605388;
  background: rgba(6, 2, 11,.76);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(151, 126, 225,.13);
}
.atlas-footer p { margin: 0; font-size: 10px; text-align: center; }
.atlas-footer > div { display: flex; justify-content: flex-end; gap: 22px; font-family: var(--font-geist-mono), monospace; font-size: 7px; letter-spacing: .08em; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes liquidA {
  0% { transform: translate3d(-6vw,-4vh,0) rotate(-7deg) scale(1); border-radius: 44% 56% 63% 37% / 54% 39% 61% 46%; }
  50% { transform: translate3d(-18vw,18vh,0) rotate(9deg) scale(1.12); border-radius: 61% 39% 45% 55% / 39% 56% 44% 61%; }
  100% { transform: translate3d(7vw,29vh,0) rotate(19deg) scale(.96); border-radius: 36% 64% 53% 47% / 61% 36% 64% 39%; }
}
@keyframes liquidB {
  0% { transform: translate3d(0,0,0) rotate(0) scale(1); }
  50% { transform: translate3d(23vw,7vh,0) rotate(-12deg) scale(.9); }
  100% { transform: translate3d(36vw,21vh,0) rotate(8deg) scale(1.08); }
}
@keyframes liquidC {
  0% { transform: translate3d(0,0,0) scale(.92) rotate(0); }
  55% { transform: translate3d(-25vw,-18vh,0) scale(1.08) rotate(13deg); }
  100% { transform: translate3d(-12vw,-36vh,0) scale(.98) rotate(-8deg); }
}
@keyframes liquidD {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(17vw,-21vh,0) scale(1.15); }
  100% { transform: translate3d(34vw,-11vh,0) scale(.93); }
}
@keyframes flowPulse { 0%,100% { border-color: rgba(137, 111, 215,.2); transform: scale(1); } 35%,65% { border-color: rgba(131, 94, 255,.8); transform: scale(1.035); box-shadow: 0 0 28px rgba(102, 54, 239,.22); } }
@keyframes corePulse { 50% { box-shadow: 0 0 70px rgba(114, 61, 255,.4), inset 0 0 35px rgba(112, 58, 244,.24); transform: scale(1.04); } }
@keyframes bars { to { transform: scaleY(.55); opacity: .5; } }

@media (max-width: 1050px) {
  .atlas-links { display: none; }
  .hero-content { max-width: 660px; }
  .section-intro, .experience-head, .deploy-head { grid-template-columns: 1fr; }
  .module-console { grid-template-columns: 1fr; }
  .module-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
  .module-button { min-height: 105px; padding: 16px; grid-template-columns: 1fr 25px; grid-template-rows: 20px 1fr 20px; border-right: 1px solid var(--line-dark); }
  .module-button > span { grid-column: 1; }
  .module-button b { grid-column: 1 / 3; }
  .module-button small { grid-column: 1; }
  .module-button > i { grid-column: 2; grid-row: 3; }
  .experience-console { grid-template-columns: .8fr 1.2fr; }
  .scenario-result { grid-column: 1 / 3; min-height: 120px; border-left: 0; border-top: 1px solid var(--line-dark); flex-direction: row; align-items: center; gap: 16px; }
  .scenario-result strong { margin: 0; }
  .scenario-result p { margin: 0; }
  .architecture-grid { grid-template-columns: 1fr; }
  .deploy-grid { grid-template-columns: 1fr; }
  .deploy-card { min-height: 430px; }
}

@media (max-width: 720px) {
  .atlas-nav { top: 10px; left: 10px; right: 10px; height: 56px; }
  .nav-action { min-width: 120px; }
  .visual-switcher { width: auto; left: 10px; right: 10px; bottom: 10px; }
  .switcher-title { display: none; }
  .switcher-options button { min-height: 53px; flex-direction: row; flex-wrap: wrap; align-content: center; gap: 4px 7px; }
  .switcher-options button small { width: 100%; }
  .atlas-hero { min-height: 100svh; padding: 125px 20px 55px; align-content: start; }
  .hero-content::before { inset: -25px -15px; border-radius: 20px; -webkit-mask-image: none; mask-image: none; }
  .hero-content h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-content > p { max-width: 90%; font-size: 15px; }
  .hero-buttons { max-width: 300px; flex-direction: column; align-items: stretch; }
  .primary-action, .quiet-action { justify-content: space-between; }
  .hero-telemetry { left: 20px; right: 20px; bottom: 25px; }
  .hero-telemetry div { min-width: 0; flex: 1; padding: 11px; }
  .scroll-marker { display: none; }
  .transition-section, .modules-section, .experience-section, .architecture-section, .deploy-section { padding-left: 20px; padding-right: 20px; }
  .transition-copy h2, .section-intro h2, .architecture-copy h2, .deploy-head h2, .atlas-contact h2 { font-size: 45px; }
  .glass-facts { grid-template-columns: 1fr; margin-top: 80px; }
  .fact-card { min-height: 160px; border-right: 1px solid rgba(192, 174, 245,.24); border-bottom: 0; }
  .fact-card:first-child { border-radius: 12px 12px 0 0; }
  .fact-card:last-child { border-bottom: 1px solid rgba(192, 174, 245,.24); border-radius: 0 0 12px 12px; }
  .fact-card strong { margin-top: 35px; }
  .module-list { grid-template-columns: repeat(2, 1fr); }
  .module-button { grid-template-columns: 1fr; grid-template-rows: 18px 1fr 20px; }
  .module-button b { grid-column: 1; }
  .module-button > i { display: none; }
  .module-button small { display: none; }
  .module-detail { min-height: 560px; padding: 25px 20px; }
  .module-symbol { margin-top: 55px; }
  .module-signal { left: 20px; right: auto; bottom: 28px; }
  .experience-head { gap: 24px; }
  .scenario-tabs { margin-top: 45px; }
  .scenario-tabs button { font-size: 10px; }
  .scenario-tabs button span { display: block; margin: 0 0 7px; }
  .experience-console { grid-template-columns: 1fr; }
  .scenario-copy { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 32px 22px; }
  .scenario-copy h3 { margin-top: 40px; }
  .neural-flow { min-height: 520px; }
  .flow-step { width: 130px; }
  .step-0, .step-3 { left: 3%; }
  .step-1, .step-2 { right: 3%; }
  .scenario-result { grid-column: 1; }
  .trust-badges { grid-template-columns: 1fr 1fr; }
  .trust-badges span { border-bottom: 1px solid var(--line-dark); }
  .deploy-card { padding: 24px 20px; }
  .deploy-card > a { left: 20px; right: 20px; }
  .atlas-footer { padding: 35px 20px; grid-template-columns: 1fr; gap: 24px; justify-items: center; }
  .atlas-footer > div { justify-content: center; }
  .swarm-canvas { pointer-events: none; }
  .atmosphere { filter: blur(18px); }
  .glass-panel, .fact-card, .transition-copy, .hero-content::before { backdrop-filter: none; }
}

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

/* ===== СЛОЙ КОНТЕНТА ATLASAI (поверх аутентичного globals) ===== */
.atlas-view{position:relative;z-index:2}

/* продукты и связи — полупрозрачный фон, чтобы «атмосфера» просвечивала */
.products-section,.relations-section{color:var(--white);background:rgba(9, 3, 17,.5);
  content-visibility:auto;contain-intrinsic-size:1000px}
.atlas-site[data-visual="aether"] :is(.products-section,.relations-section){background-color:rgba(20, 8, 48,.42)}
.atlas-site[data-visual="pearl"] :is(.products-section,.relations-section){background-color:rgba(22, 15, 38,.45)}
.products-section{padding:130px clamp(28px,7vw,110px)}

/* грид продуктов */
.product-grid{margin-top:64px;display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
.cat-head{grid-column:1/-1;display:flex;align-items:center;gap:14px;margin:34px 0 2px}
.cat-head:first-child{margin-top:0}
.cat-head > span{font-family:var(--font-geist-mono);font-size:8px;letter-spacing:.14em;color:var(--accent,#732fff)}
.cat-head h4{margin:0;font-size:13px;font-weight:560;letter-spacing:.02em;color:#d3c9f3}
.cat-head .rule{flex:1;height:1px;background:linear-gradient(90deg,rgba(var(--accent-rgb,47,125,255),.55),transparent)}
.product-card{--accent:#732fff;--accent-rgb:47,125,255;position:relative;min-height:212px;padding:24px;border-radius:12px;
  display:flex;flex-direction:column;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s;overflow:hidden}
.product-card::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;border-radius:12px 12px 0 0;
  background:linear-gradient(90deg,rgba(var(--accent-rgb),.9),rgba(var(--accent-rgb),0));opacity:.5;transition:opacity .2s}
.product-card:hover{transform:translateY(-4px);border-color:rgba(var(--accent-rgb),.6);
  box-shadow:0 30px 60px rgba(0, 0, 0,.28),0 0 40px rgba(var(--accent-rgb),.1)}
.product-card:hover::after{opacity:1}
.pc-top{display:flex;align-items:center;justify-content:space-between}
.pc-idx{font-family:var(--font-geist-mono);font-size:9px;color:#5b4d85}
.pc-cat{font-family:var(--font-geist-mono);font-size:7px;letter-spacing:.12em;text-transform:uppercase;color:rgba(var(--accent-rgb),.95)}
.product-card h3{margin:24px 0 0;font-size:23px;font-weight:540;letter-spacing:-.03em;color:#f0eaff}
.product-card > p{margin:10px 0 0;color:#8b80ae;font-size:12.5px;line-height:1.6;flex:1}
.pc-go{margin-top:18px;display:flex;align-items:center;justify-content:space-between;
  font-family:var(--font-geist-mono);font-size:8px;letter-spacing:.08em}
.pc-go .sub{color:#6d5f96}
.pc-go .sub b{color:rgba(var(--accent-rgb),.95);font-weight:500}
.pc-go .arrow{color:var(--accent);font-size:12px}

/* легенда взаимосвязи */
.relations-section{padding:130px clamp(28px,7vw,110px)}
.rel-map{margin-top:56px;display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(32px,5vw,64px);align-items:center}
@media(max-width:900px){.rel-map{grid-template-columns:1fr;gap:36px}}
.rel-svg{width:100%;height:auto;display:block;overflow:visible}
.rel-svg .rel-node-title{font-family:var(--font-geist-sans);font-size:19px;font-weight:600;fill:#e4dbfb}
.rel-svg .rel-core-title{font-family:var(--font-geist-mono);font-size:15px;letter-spacing:.14em;fill:#f0eaff}
.rel-svg .rel-core-sub{font-family:var(--font-geist-mono);font-size:11px;letter-spacing:.12em;fill:#a78fe6}
.rel-legend h4{margin:0 0 16px;font-family:var(--font-geist-mono);font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:#907fc0}
.rel-key{display:flex;flex-direction:column;gap:11px;margin-bottom:26px}
.rel-key div{display:flex;align-items:center;gap:12px;font-size:13px;color:#b3a7d8}
.rel-key .ln{width:34px;height:0;flex:0 0 34px}
.rel-key .solid{border-top:2px solid #966aff}
.rel-key .dash{border-top:2px dashed #9886c8}
.rel-key .core{width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:#732fff;box-shadow:0 0 10px rgba(115, 47, 255,.6)}
.rel-notes{display:grid;gap:12px;border-top:1px solid var(--line-dark);padding-top:22px}
.rel-notes div{display:flex;gap:11px;font-size:13px;line-height:1.5;color:#9f93c2}
.rel-notes b{color:#d9cff5;font-weight:600}
.rel-notes .rn-dot{width:7px;height:7px;flex:0 0 7px;margin-top:6px;border-radius:50%}

/* панели возможностей на странице продукта */
.feat-panel[hidden]{display:none}

@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.product-grid{grid-template-columns:1fr}}

/* ===== переключатель языков ===== */
.lang-select{appearance:none;-webkit-appearance:none;background:rgba(101, 41, 226,.18);border:1px solid rgba(170, 141, 255,.27);
  color:#e4dbfb;font-family:var(--font-geist-mono);font-size:10px;letter-spacing:.04em;padding:7px 22px 7px 9px;border-radius:8px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 0h8L4 6z' fill='%237fb2ec'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}
.lang-select:focus-visible{outline:2px solid var(--cyan)}
.atlas-nav .nav-right{display:flex;align-items:center;gap:10px}

/* ===== аватар-ассистент ===== */
.avatar-dock{position:fixed;right:20px;bottom:22px;z-index:70;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.avatar-launch{display:flex;align-items:center;gap:10px;height:54px;padding:0 16px 0 8px;border-radius:28px;
  border:1px solid rgba(170, 141, 255,.3);background:rgba(15, 6, 30,.82);backdrop-filter:blur(12px);color:#f0eaff;cursor:pointer;
  box-shadow:0 16px 40px rgba(0, 0, 0,.32);transition:transform .2s}
.avatar-launch:hover{transform:translateY(-2px)}
.avatar-face{width:40px;height:40px;border-radius:50%;flex:0 0 40px;display:grid;place-items:center;overflow:hidden;
  background:radial-gradient(circle at 40% 34%,#947cff,#401a9c 58%,#1d0a42);box-shadow:inset 0 0 12px rgba(255, 255, 255,.15)}
.avatar-face svg{width:26px;height:26px}
.avatar-launch .lbl{line-height:1.15;text-align:left}
.avatar-launch .lbl b{font-size:12.5px;font-weight:650}
.avatar-launch .lbl small{display:block;font-family:var(--font-geist-mono);font-size:8px;color:#a78fe6;letter-spacing:.06em}
.avatar-panel{width:min(348px,calc(100vw - 40px));border-radius:18px;overflow:hidden;border:1px solid rgba(170, 141, 255,.28);
  background:rgba(14, 6, 26,.94);backdrop-filter:blur(18px);box-shadow:0 30px 80px rgba(0, 0, 0,.45);display:none}
.avatar-dock.open .avatar-panel{display:block}
.av-head{position:relative;height:158px;background:linear-gradient(160deg,#2f146a,#1c0a3a 70%);display:grid;place-items:center;overflow:hidden}
.av-head::after{content:"";position:absolute;inset:0;background:radial-gradient(60% 60% at 50% 40%,rgba(136, 90, 255,.35),transparent 70%)}
.av-face-lg{position:relative;z-index:1;width:100px;height:100px;border-radius:50%;display:grid;place-items:center;
  background:radial-gradient(circle at 42% 36%,#a08fff,#401a9c 58%,#1d0a42);box-shadow:0 0 44px rgba(116, 60, 255,.45)}
.av-face-lg svg{width:60px;height:60px}
.av-badge{position:absolute;left:13px;top:12px;z-index:2;font-family:var(--font-geist-mono);font-size:8px;letter-spacing:.12em;color:#b19fee}
.av-live{position:absolute;right:12px;top:12px;z-index:2;display:flex;align-items:center;gap:6px;font-family:var(--font-geist-mono);font-size:8px;color:#61d6a5}
.av-live i{width:6px;height:6px;border-radius:50%;background:#61d6a5;box-shadow:0 0 8px #61d6a5}
.av-close{position:absolute;right:10px;bottom:10px;z-index:2;width:26px;height:26px;border-radius:50%;border:1px solid rgba(255, 255, 255,.2);
  background:rgba(0, 0, 0,.3);color:#d9cff5;cursor:pointer;font-size:13px;line-height:1}
.av-body{padding:16px}
.av-title{font-size:15px;font-weight:640;color:#f0eaff}
.av-intro{margin:6px 0 13px;font-size:12.5px;color:#9f93c2;line-height:1.5}
.av-chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:13px}
.av-chips button{padding:7px 11px;border:1px solid rgba(143, 117, 221,.25);border-radius:15px;background:rgba(42, 20, 92,.32);color:#c9bcee;font-size:11px;cursor:pointer}
.av-chips button:hover{border-color:rgba(143, 117, 221,.5);color:#fff}
.av-input{display:flex;gap:8px}
.av-input input{flex:1;height:40px;padding:0 12px;border-radius:10px;border:1px solid rgba(143, 117, 221,.25);background:rgba(24, 10, 47,.6);color:#f0eaff;font:inherit;font-size:12px}
.av-input button{width:40px;border-radius:10px;border:0;background:linear-gradient(135deg,#571de9,#4112a8);color:#fff;cursor:pointer;font-size:15px}
.av-note{margin-top:11px;font-size:10px;color:#6d5f96;line-height:1.45}
@media(max-width:720px){.avatar-launch .lbl{display:none}.avatar-launch{padding:0 8px}}

/* переключатель языков (ссылки) */
.lang-switch{display:flex;gap:1px;align-items:center}
.lang-switch a{padding:5px 6px;color:#aa9fca;font-family:var(--font-geist-mono);font-size:10px;letter-spacing:.03em;border-radius:6px;transition:color .2s}
.lang-switch a:hover{color:#fff}
.lang-switch a.active{color:#fff;background:rgba(115, 47, 255,.28)}
@media(max-width:720px){.lang-switch a{padding:5px 4px;font-size:9px}}

/* форма заявки */
.lead-form{max-width:520px;margin:28px auto 0;display:grid;gap:12px;text-align:left;position:relative;z-index:1}
.lead-form .row{display:grid;gap:12px;grid-template-columns:1fr 1fr}
@media(max-width:520px){.lead-form .row{grid-template-columns:1fr}}
.lead-form input,.lead-form textarea{width:100%;padding:13px 15px;border-radius:10px;border:1px solid rgba(162, 135, 255,.28);background:rgba(24, 10, 47,.5);color:#f0eaff;font:inherit;font-size:14px}
.lead-form textarea{min-height:92px;resize:vertical}
.lead-form input::placeholder,.lead-form textarea::placeholder{color:#7e6fa8}
.lead-form input:focus,.lead-form textarea:focus{outline:none;border-color:rgba(130, 90, 255,.7)}
.lead-form .hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.lead-form button{height:50px;border:0;border-radius:10px;background:linear-gradient(135deg,#571de9,#4112a8);color:#fff;font-weight:650;font-size:12px;letter-spacing:.03em;cursor:pointer;box-shadow:0 15px 35px rgba(80, 25, 209,.24);transition:transform .2s}
.lead-form button:hover{transform:translateY(-2px)}
.lead-privacy{font-size:10.5px;color:#6d5f96;line-height:1.4}
.lead-sent{max-width:520px;margin:28px auto 0;padding:16px 18px;border-radius:12px;border:1px solid rgba(87, 201, 138,.4);background:rgba(20, 60, 45,.4);color:#bfeacc;position:relative;z-index:1}
.lead-err{margin-top:10px;font-size:12px;color:#ff9ab0}

/* == AI-consultant: avatar stage + chat transcript ================== */
.av-head{height:42px;background:linear-gradient(160deg,#2f146a,#1c0a3a 70%);border-bottom:1px solid rgba(170, 141, 255,.16)}
.av-badge{left:13px;top:15px}
.av-live{right:44px;top:15px}
.av-close{top:9px;bottom:auto;right:10px}
.av-stage{position:relative;height:236px;overflow:hidden;background:radial-gradient(70% 70% at 50% 38%,#32166e,#1c0a3a 72%)}
.av-stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(60% 60% at 50% 40%,rgba(136, 90, 255,.22),transparent 70%);transition:background .6s}
.av-frame{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;z-index:1}
.av-face-poster{position:absolute;inset:0;z-index:2;display:grid;place-items:center;transition:opacity .5s}
.avatar-dock.av-ready .av-face-poster{opacity:0;pointer-events:none}
.av-face-poster>*{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(150deg,#682be0,#3c128f);box-shadow:0 12px 40px rgba(82, 30, 190,.5);animation:avpulse 3s ease-in-out infinite}
.av-face-poster svg{width:58px;height:58px}
@keyframes avpulse{0%,100%{transform:scale(1);box-shadow:0 12px 40px rgba(82, 30, 190,.4)}50%{transform:scale(1.045);box-shadow:0 14px 52px rgba(116, 60, 255,.6)}}
.avatar-dock.av-speaking .av-stage::after{background:radial-gradient(60% 60% at 50% 42%,rgba(103, 80, 255,.42),transparent 72%)}
.av-body{padding:14px}
.av-title{font-size:14.5px;font-weight:640;color:#f0eaff}
.av-log{display:flex;flex-direction:column;gap:8px;max-height:210px;overflow-y:auto;margin:11px 0 12px;padding-right:2px}
.av-log:empty{display:none;margin:0}
.av-msg{max-width:86%;padding:9px 12px;border-radius:13px;font-size:12.5px;line-height:1.48;white-space:pre-wrap;word-wrap:break-word}
.av-bot{align-self:flex-start;background:rgba(42, 20, 92,.42);border:1px solid rgba(143, 117, 221,.16);color:#ddd3f8;border-bottom-left-radius:4px}
.av-user{align-self:flex-end;background:linear-gradient(135deg,#571de9,#4112a8);color:#fff;border-bottom-right-radius:4px}
.av-typing{display:flex;gap:4px;align-items:center}
.av-typing i{width:6px;height:6px;border-radius:50%;background:#967fe6;opacity:.5;animation:avtype 1s infinite}
.av-typing i:nth-child(2){animation-delay:.15s}
.av-typing i:nth-child(3){animation-delay:.3s}
@keyframes avtype{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.av-lead{display:flex;flex-direction:column;gap:7px;max-width:100%}
.av-lead-t{font-size:12px;color:#f0eaff;font-weight:560}
.av-lead input{height:36px;padding:0 11px;border-radius:9px;border:1px solid rgba(143, 117, 221,.25);background:rgba(24, 10, 47,.6);color:#f0eaff;font:inherit;font-size:12px}
.av-lead button{height:36px;border-radius:9px;border:0;background:linear-gradient(135deg,#571de9,#4112a8);color:#fff;cursor:pointer;font-size:12px}
.av-lead-note{font-size:9.5px;color:#6d5f96;line-height:1.4}
.av-input input:focus{outline:0;border-color:rgba(143, 117, 221,.55)}