/*
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: #a5184c;
  --electric: #ff2f61;
  --cyan: #77ffbf;
  --ice: #ffdce8;
  --night: #100304;
  --navy: #27070d;
  --ink: #300b12;
  --white: #fff6f9;
  --line-light: rgba(138, 19, 58, .16);
  --line-dark: rgba(255, 154, 189, .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: #f7dce6;
  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%, #0d0203 0 20%, #2e0710 37%, rgba(46, 7, 16,.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(255, 250, 252,.96) 48%, rgba(255, 230, 237,.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(165, 24, 76,.92), rgba(218, 31, 87,.58) 31%, rgba(255, 47, 105,.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, #120305 0 27%, rgba(31, 4, 10,.94) 43%, rgba(74, 11, 26,.32) 58%, transparent 70%); animation: liquidD 27s ease-in-out infinite alternate; }

.atlas-site[data-visual="eclipse"] .space-field { background: #0d0203; }
.atlas-site[data-visual="eclipse"] .atmosphere-a { left: 5vw; top: -83vmax; opacity: .92; background: radial-gradient(circle at 50% 50%, #390610 0 22%, #0a0102 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(255, 213, 228,.72) 35%, rgba(242, 97, 140,.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: #f5eef1; }
.atlas-site[data-visual="signature"] .atmosphere-a { left: 40vw; top: -70vmax; opacity: .9; background: radial-gradient(circle, #0f0507 0 25%, #300b13 41%, rgba(75, 16, 30,.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(229, 42, 94,.76), rgba(207, 31, 77,.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: #ffedf5; }
.atlas-site[data-visual="aether"] .atmosphere-a { left: 48vw; top: -72vmax; opacity: .47; background: radial-gradient(circle, #530c1e 0 20%, rgba(128, 23, 53,.72) 39%, rgba(217, 66, 112,.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, #4d2631 0 21%, rgba(109, 64, 75,.52) 40%, rgba(178, 113, 132,.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(203, 73, 115,.55), rgba(214, 98, 136,.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(240, 143, 175,.24);
  border-radius: 13px;
  color: #f8cfdc;
  background: rgba(22, 3, 7,.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(240, 143, 175,.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 #d44d92; }
.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(240, 143, 175,.12); color: #956171; 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: #ca9dab; font-size: 9px; font-weight: 560; }
.switcher-options button small { font-size: 6px; line-height: 1.3; }
.switcher-options button.active { background: rgba(194, 37, 81,.27); box-shadow: inset 0 2px #ff669f; }
.switcher-options button.active > span { color: #ff6da6; }
.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(218, 119, 151, .23);
  border-radius: 15px;
  color: #ffeaf1;
  background: rgba(27, 4, 8, .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: #fff5f8; 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(255, 132, 172, .5);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 50, 103, .66), rgba(124, 17, 47, .24));
  box-shadow: inset 0 0 14px rgba(255, 121, 176, .2), 0 0 18px rgba(255, 44, 96, .18);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.atlas-links { display: flex; gap: 32px; }
.atlas-links a { color: #ca9fac; 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(255, 141, 176, .27);
  border-radius: 9px;
  color: #fff;
  background: rgba(226, 41, 87, .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(255, 248, 251,.3); box-shadow: inset 0 1px rgba(255, 255, 255,.38), 0 30px 90px rgba(83, 16, 34,.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: #915267;
  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(255, 47, 97,.12), 0 0 16px rgba(255, 47, 97,.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(255, 65, 112, .12);
}
.hero-content > p {
  max-width: 610px;
  margin: 31px 0 0;
  color: #7a4d5c;
  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, #e91d56, #a81238); box-shadow: 0 15px 35px rgba(209, 25, 74, .24), inset 0 1px rgba(255, 255, 255,.25); }
.quiet-action { border: 1px solid rgba(133, 31, 63, .17); color: #762440; 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: #aa7889; font-family: var(--font-geist-mono), monospace; font-size: 7px; letter-spacing: .12em; }
.hero-telemetry strong { margin-top: 5px; color: #762441; font-family: var(--font-geist-mono), monospace; font-size: 11px; }
.hero-telemetry .online { display: flex; align-items: center; gap: 7px; color: #860946; }
.hero-telemetry .online i { width: 5px; height: 5px; border-radius: 50%; background: #a90a59; }
.scroll-marker { position: absolute; left: 28px; bottom: 50px; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.scroll-marker span { color: #a8788a; 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(#ab6f83, 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(36, 8, 13,.08);
}
.transition-copy { max-width: 850px; padding: clamp(28px, 4vw, 55px); border: 1px solid rgba(255, 255, 255,.3); border-radius: 24px; background: rgba(255, 248, 251,.4); box-shadow: inset 0 1px rgba(255, 255, 255,.46), 0 35px 90px rgba(63, 8, 22,.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: #7d4e5c;
  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(245, 174, 196, .24);
  border-right: 0;
  color: #ffeaf0;
  background: rgba(65, 14, 24, .34);
  backdrop-filter: blur(12px);
}
.fact-card:first-child { border-radius: 14px 0 0 14px; }
.fact-card:last-child { border-right: 1px solid rgba(245, 174, 196, .24); border-radius: 0 14px 14px 0; }
.fact-card > span { color: #d26f8e; 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: #c293a2; font-size: 12px; line-height: 1.55; }

.modules-section, .experience-section, .architecture-section, .deploy-section, .atlas-contact {
  color: var(--white);
  background: rgba(17, 3, 5, .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(48, 8, 19,.42); }
.atlas-site[data-visual="pearl"] :is(.modules-section, .experience-section, .architecture-section, .deploy-section, .atlas-contact) { background-color: rgba(38, 15, 21,.45); }
.modules-section { min-height: 135svh; padding: 135px clamp(28px, 7vw, 110px); }
.section-code.light { color: #b67087; }
.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: #ff76a7; }
.section-intro > div:last-child > p { max-width: 610px; margin: 25px 0 0; color: #b58795; 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: #ad7788;
  background: rgba(45, 10, 16, .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: #865060; font-size: 9px; }
.module-button > i { font-style: normal; text-align: right; opacity: 0; transform: translate(-8px, 8px); transition: .22s; }
.module-button:hover { color: #ffd8e5; background: rgba(105, 23, 43, .22); }
.module-button.active { color: #fff; background: linear-gradient(90deg, rgba(196, 25, 70,.28), rgba(77, 13, 28,.15)); box-shadow: inset 2px 0 #ff568c; }
.module-button.active small { color: #dc7798; }
.module-button.active > i { opacity: 1; transform: translate(0); color: var(--cyan); }
.glass-panel { border: 1px solid rgba(244, 137, 173, .18); background: rgba(47, 10, 17, .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: #9d6778; font-family: var(--font-geist-mono), monospace; font-size: 8px; letter-spacing: .12em; }
.detail-top b { display: flex; align-items: center; gap: 8px; color: #9d5b7d; font-size: 7px; }
.detail-top b i { width: 5px; height: 5px; border-radius: 50%; background: #d3458b; box-shadow: 0 0 10px rgba(211, 69, 139,.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(255, 105, 149, .28);
  border-radius: 50%;
  color: #ff9ac0;
  background: radial-gradient(circle, rgba(211, 35, 79,.25), rgba(49, 8, 15,.15) 65%);
  box-shadow: 0 0 50px rgba(217, 35, 80,.18), inset 0 0 30px rgba(236, 43, 91,.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(255, 109, 153,.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: #bc8e9d; 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(221, 117, 150,.2); border-radius: 6px; color: #bd7f94; background: rgba(92, 20, 38,.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: #ff8cb8; font-size: 38px; line-height: 1; letter-spacing: -.05em; font-weight: 450; }
.module-signal span { display: block; margin-top: 8px; color: #965f71; 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(213, 56, 98,.12); border-radius: 50%; }
.panel-orbit::after { content: ""; position: absolute; inset: 90px; border: 1px solid rgba(213, 56, 98,.1); border-radius: 50%; }
.panel-orbit i { width: 5px; height: 5px; position: absolute; border-radius: 50%; background: #ff5c99; box-shadow: 0 0 12px #ff4b86; }
.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(19, 4, 6, .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: #ab7f8d; 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: #986474; background: transparent; text-align: left; cursor: pointer; font-size: 13px; }
.scenario-tabs button span { margin-right: 15px; color: #734051; font-family: var(--font-geist-mono), monospace; font-size: 8px; }
.scenario-tabs button.active { color: #fff; border-color: #ff64a0; }
.scenario-tabs button.active span { color: #ff69a1; }
.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: #a5667a; 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: #b28493; 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(244, 98, 142,.28); border-radius: 8px; color: #ffeaf2; background: rgba(183, 30, 70,.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(230, 117, 152,.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(255, 94, 144,.3);
  border-radius: 50%;
  color: #ffb9d3;
  background: rgba(116, 18, 42,.47);
  box-shadow: 0 0 45px rgba(232, 31, 87,.22), inset 0 0 25px rgba(244, 58, 110,.16);
}
.flow-core > span { font-size: 20px; font-weight: 650; }
.flow-core i { position: absolute; border: 1px solid rgba(255, 100, 147,.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(215, 111, 144,.2);
  border-radius: 8px;
  color: #deb7c4;
  background: rgba(50, 10, 19,.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: #ff7ca8; background: rgba(211, 45, 90,.22); font-size: 9px; }
.flow-step small, .flow-step b { display: block; }
.flow-step small { color: #8e5869; 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(213, 90, 127,.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: #965f71; font-family: var(--font-geist-mono), monospace; font-size: 7px; letter-spacing: .1em; }
.scenario-result strong { margin-top: 16px; color: #ff8dbc; font-size: 48px; line-height: 1; letter-spacing: -.06em; font-weight: 420; }
.scenario-result p { margin: 8px 0 0; color: #a07181; font-size: 10px; line-height: 1.4; }

.architecture-section { min-height: 85svh; padding: 130px clamp(28px, 7vw, 110px) 95px; background: rgba(15, 3, 4,.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: #ae7f8e; 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: #996273; }
.trust-row b { display: flex; align-items: center; gap: 8px; color: #c2729a; font-size: 7px; }
.trust-row b i { width: 5px; height: 5px; border-radius: 50%; background: #d55496; box-shadow: 0 0 9px rgba(213, 84, 150,.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(#e83d6c, rgba(151, 20, 54,.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: #9b6677; 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(24, 4, 7,.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(255, 91, 141,.46); background: linear-gradient(160deg, rgba(154, 30, 61,.37), rgba(52, 8, 17,.53)); box-shadow: inset 0 1px rgba(255, 190, 214,.1), 0 0 60px rgba(179, 25, 65,.12); }
.deploy-index { position: absolute; right: 23px; top: 23px; color: #854d5f; font-family: var(--font-geist-mono), monospace; font-size: 9px; }
.deploy-card > small { color: #d06286; 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: #ae808f; 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: #c89baa; font-size: 11px; }
.deploy-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #ff4d85; box-shadow: 0 0 8px rgba(255, 77, 133,.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(242, 105, 148,.25); border-radius: 8px; color: #ffdce8; background: rgba(178, 32, 72,.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(163, 26, 61,.18), rgba(13, 2, 3,.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: #b48292; 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(255, 135, 176,.35); border-radius: 10px; color: #fff; background: linear-gradient(135deg, rgba(238, 42, 96,.6), rgba(146, 22, 51,.46)); box-shadow: 0 20px 60px rgba(193, 22, 67,.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(219, 75, 116,.13); border-radius: 50%; animation: spin 50s linear infinite; }
.contact-rings::before, .contact-rings::after { content: ""; position: absolute; border: 1px solid rgba(219, 75, 116,.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: #ff6ea4; box-shadow: 0 0 14px #ff5c98; }
.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: #885364;
  background: rgba(11, 2, 3,.76);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(225, 126, 157,.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(215, 111, 144,.2); transform: scale(1); } 35%,65% { border-color: rgba(255, 94, 148,.8); transform: scale(1.035); box-shadow: 0 0 28px rgba(239, 54, 111,.22); } }
@keyframes corePulse { 50% { box-shadow: 0 0 70px rgba(255, 61, 118,.4), inset 0 0 35px rgba(244, 58, 110,.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(245, 174, 196,.24); border-bottom: 0; }
  .fact-card:first-child { border-radius: 12px 12px 0 0; }
  .fact-card:last-child { border-bottom: 1px solid rgba(245, 174, 196,.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(17, 3, 5,.5);
  content-visibility:auto;contain-intrinsic-size:1000px}
.atlas-site[data-visual="aether"] :is(.products-section,.relations-section){background-color:rgba(48, 8, 19,.42)}
.atlas-site[data-visual="pearl"] :is(.products-section,.relations-section){background-color:rgba(38, 15, 21,.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,#ff2f61)}
.cat-head h4{margin:0;font-size:13px;font-weight:560;letter-spacing:.02em;color:#f3c9d6}
.cat-head .rule{flex:1;height:1px;background:linear-gradient(90deg,rgba(var(--accent-rgb,47,125,255),.55),transparent)}
.product-card{--accent:#ff2f61;--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:#854d5f}
.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:#ffeaf0}
.product-card > p{margin:10px 0 0;color:#ae808f;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:#965f71}
.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:#fbdbe4}
.rel-svg .rel-core-title{font-family:var(--font-geist-mono);font-size:15px;letter-spacing:.14em;fill:#ffeaf0}
.rel-svg .rel-core-sub{font-family:var(--font-geist-mono);font-size:11px;letter-spacing:.12em;fill:#e68fa9}
.rel-legend h4{margin:0 0 16px;font-family:var(--font-geist-mono);font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:#c07f93}
.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:#d8a7b7}
.rel-key .ln{width:34px;height:0;flex:0 0 34px}
.rel-key .solid{border-top:2px solid #ff6a92}
.rel-key .dash{border-top:2px dashed #c8869a}
.rel-key .core{width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:#ff2f61;box-shadow:0 0 10px rgba(255, 47, 97,.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:#c293a2}
.rel-notes b{color:#f5cfdb;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(226, 41, 87,.18);border:1px solid rgba(255, 141, 176,.27);
  color:#fbdbe4;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(255, 141, 176,.3);background:rgba(30, 6, 10,.82);backdrop-filter:blur(12px);color:#ffeaf0;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%,#ff7cae,#9c1a3e 58%,#420a17);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:#e68fa9;letter-spacing:.06em}
.avatar-panel{width:min(348px,calc(100vw - 40px));border-radius:18px;overflow:hidden;border:1px solid rgba(255, 141, 176,.28);
  background:rgba(26, 6, 9,.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,#6a142a,#3a0a14 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(255, 90, 137,.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%,#ff8fbd,#9c1a3e 58%,#420a17);box-shadow:0 0 44px rgba(255, 60, 114,.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:#ee9fba}
.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:#f5cfdb;cursor:pointer;font-size:13px;line-height:1}
.av-body{padding:16px}
.av-title{font-size:15px;font-weight:640;color:#ffeaf0}
.av-intro{margin:6px 0 13px;font-size:12.5px;color:#c293a2;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(221, 117, 150,.25);border-radius:15px;background:rgba(92, 20, 38,.32);color:#eebccb;font-size:11px;cursor:pointer}
.av-chips button:hover{border-color:rgba(221, 117, 150,.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(221, 117, 150,.25);background:rgba(47, 10, 17,.6);color:#ffeaf0;font:inherit;font-size:12px}
.av-input button{width:40px;border-radius:10px;border:0;background:linear-gradient(135deg,#e91d56,#a81238);color:#fff;cursor:pointer;font-size:15px}
.av-note{margin-top:11px;font-size:10px;color:#965f71;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:#ca9fac;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(255, 47, 97,.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(255, 135, 176,.28);background:rgba(47, 10, 17,.5);color:#ffeaf0;font:inherit;font-size:14px}
.lead-form textarea{min-height:92px;resize:vertical}
.lead-form input::placeholder,.lead-form textarea::placeholder{color:#a86f81}
.lead-form input:focus,.lead-form textarea:focus{outline:none;border-color:rgba(255, 90, 144,.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,#e91d56,#a81238);color:#fff;font-weight:650;font-size:12px;letter-spacing:.03em;cursor:pointer;box-shadow:0 15px 35px rgba(209, 25, 74,.24);transition:transform .2s}
.lead-form button:hover{transform:translateY(-2px)}
.lead-privacy{font-size:10.5px;color:#965f71;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(60, 20, 39,.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,#6a142a,#3a0a14 70%);border-bottom:1px solid rgba(255, 141, 176,.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%,#6e162c,#3a0a14 72%)}
.av-stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(60% 60% at 50% 40%,rgba(255, 90, 137,.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,#e02b55,#8f122e);box-shadow:0 12px 40px rgba(190, 30, 69,.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(190, 30, 69,.4)}50%{transform:scale(1.045);box-shadow:0 14px 52px rgba(255, 60, 114,.6)}}
.avatar-dock.av-speaking .av-stage::after{background:radial-gradient(60% 60% at 50% 42%,rgba(255, 80, 156,.42),transparent 72%)}
.av-body{padding:14px}
.av-title{font-size:14.5px;font-weight:640;color:#ffeaf0}
.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(92, 20, 38,.42);border:1px solid rgba(221, 117, 150,.16);color:#f8d3de;border-bottom-left-radius:4px}
.av-user{align-self:flex-end;background:linear-gradient(135deg,#e91d56,#a81238);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:#e67fa2;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:#ffeaf0;font-weight:560}
.av-lead input{height:36px;padding:0 11px;border-radius:9px;border:1px solid rgba(221, 117, 150,.25);background:rgba(47, 10, 17,.6);color:#ffeaf0;font:inherit;font-size:12px}
.av-lead button{height:36px;border-radius:9px;border:0;background:linear-gradient(135deg,#e91d56,#a81238);color:#fff;cursor:pointer;font-size:12px}
.av-lead-note{font-size:9.5px;color:#965f71;line-height:1.4}
.av-input input:focus{outline:0;border-color:rgba(221, 117, 150,.55)}
/* кнопка ЛК в навигации */
.nav-lk{margin-right:10px;padding:9px 16px;border-radius:10px;border:1px solid rgba(199, 35, 74,.45);color:#e67f99;font-weight:600;font-size:13px;text-decoration:none;transition:.15s;white-space:nowrap}
.nav-lk:hover{background:rgba(199, 35, 74,.12);color:#fff}
@media(max-width:760px){.nav-lk{display:none}}

/* ── Мобильные правки (фидбек команды 29.07): заголовок, зум форм, арт-переключатель ── */
html{-webkit-text-size-adjust:100%}
@media (max-width:720px){
  .hero-content h1{font-size:clamp(30px,9.2vw,58px)!important;overflow-wrap:break-word;word-break:break-word;hyphens:auto}
  .transition-copy h2,.section-intro h2,.architecture-copy h2,.deploy-head h2,.atlas-contact h2{font-size:clamp(30px,8.5vw,54px)!important;overflow-wrap:break-word;hyphens:auto}
  .visual-switcher{display:none!important}
  input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),textarea,select{font-size:16px!important}
}

/* якорь «Связаться»/#contact не должен прыгать: ленивый рендер секций ломал скролл */
.transition-section,.modules-section,.experience-section,.architecture-section,.deploy-section,.atlas-contact,.products-section,.relations-section{content-visibility:visible!important;contain-intrinsic-size:auto!important}
:target{scroll-margin-top:84px}

/* мобильная шапка: показываем ЛК компактно, ужимаем логотип и CTA под место */
@media (max-width:720px){
  .nav-lk{display:inline-block!important;margin-right:7px;padding:7px 11px;font-size:12px}
  .atlas-nav .nav-action{padding:8px 12px;font-size:12px}
  .atlas-nav .nav-action span{display:none}
  .atlas-logo{font-size:13.5px;letter-spacing:.01em}
  .atlas-logo .atlas-glyph{width:26px;height:26px}
}

/* ── ЖИВОЙ АРТ-РЕЖИМ: сворачиваемый (не перегораживает, особенно на мобильном) ── */
.switcher-title{cursor:pointer}
.switcher-title::after{content:"⌄";margin-left:8px;font-size:12px;line-height:1;opacity:.75;transition:transform .2s}
.visual-switcher.sw-open .switcher-title::after{transform:rotate(180deg)}
.visual-switcher:not(.sw-open){width:auto!important;right:auto!important}
.visual-switcher:not(.sw-open) .switcher-options{display:none!important}
@media (max-width:720px){
  .visual-switcher{display:block!important}
  .switcher-title{display:flex!important;height:34px}
  .visual-switcher.sw-open{left:10px!important;right:10px!important}
}

/* языковой свитчер — вправо над аватаром, чтобы арт-режим его не перекрывал */
.lang-switch{left:auto!important;right:16px!important;bottom:84px!important}

/* языковой свитчер — в шапке, как на atlasai.su (плавающий низ убран) */
.lang-switch{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;display:flex;gap:1px;align-items:center;z-index:auto}
.lang-switch a{padding:5px 6px!important;font-size:10px!important;border:0!important;border-radius:6px}
@media(max-width:720px){.lang-switch a{padding:4px 3px!important;font-size:9px!important}}

/* мобильный: логотип = только глиф (место для языков+ЛК+CTA в шапке) */
@media (max-width:720px){
  .atlas-logo span:last-child{display:none}
  .atlas-nav{gap:6px}
}

/* «плашка» главного аргумента — прозрачно-тёмная под тёмную тему (была светлой) */
.transition-copy{background:rgba(18, 10, 12,.26)!important;border:1px solid rgba(255, 255, 255,.09)!important;box-shadow:none!important;backdrop-filter:blur(8px)!important}
.transition-copy h2{color:#fff!important}
.transition-copy p{color:#e0cccc!important}

/* мобильный контраст (VC на светлом signature — секции серо-мутные): тёмные секции + светлый текст */
@media (max-width:720px){
  .modules-section,.experience-section,.architecture-section,.deploy-section,.atlas-contact,.products-section,.relations-section{background-color:rgba(7, 18, 22,.93)!important}
  .fact-card{background:rgba(12, 32, 34,.9)!important}
  .fact-card strong{color:#fff!important}
  .fact-card p{color:#eacfd6!important}
  .fact-card>span{color:#c73359!important}
  .section-intro>div:last-child>p{color:#e6c6cf!important}
  .cmp-wrap td,.cmp-wrap th{color:#e8d4da!important}
  .cmp-wrap .no{color:#b58f9a!important}
  .module-list button b{color:#ffeaf0!important}
  .transition-copy p{color:#f0e0e6!important}
}

/* дропдаун языков нейтральный (VC) */
.lang-menu{background:rgba(14, 11, 11,.98)!important;border-color:rgba(255, 255, 255,.14)!important}
.lang-menu a{color:#d3d0cd!important}.lang-menu a.active{background:rgba(255, 255, 255,.14)!important;color:#fff!important}

/* deploy-card: кнопка absolute внизу — на мобильном контент налезал на неё (почта под кнопкой). Высота по контенту + резерв под кнопку */
@media (max-width:720px){
  .deploy-card{min-height:auto!important;padding-bottom:92px!important}
  .deploy-card>p{min-height:0!important}
}

/* ── читаемость VC (заказчик 29.07): крупнее + ярче тело-текст, заголовки не трогаем ── */
.hero-content>p{font-size:16px!important;color:#ecd8de!important}
.fact-card p{font-size:14px!important;color:#ead6dc!important}
.dev-card p{font-size:14px!important;color:#e6cfd6!important}
.deploy-card>p,.spec-card p{font-size:14px!important;color:#e6cfd6!important}
.cmp-wrap td,.cmp-wrap th{font-size:14px!important}
.module-list button small{font-size:11px!important}
.atlas-footer{color:#cba9b3!important}
.atlas-footer p{font-size:12px!important;color:#eedae1!important}
.atlas-footer>div{font-size:9px!important;color:#cba9b3!important}

/* дропдаун языков — core (VC): скрыть список, показывать по клику */
.lang-switch{position:relative;display:inline-flex;align-items:center}
.lang-cur{cursor:pointer;background:none;border:0;color:#d3d0cd;font-family:var(--font-geist-mono),monospace;font-size:11px;letter-spacing:.04em;padding:7px 9px;border-radius:8px;display:inline-flex;align-items:center;gap:4px}
.lang-cur:hover{background:rgba(143, 188, 240,.12)}
.lang-cur i{font-size:8px;opacity:.7;font-style:normal;transition:transform .2s}
.lang-switch.open .lang-cur i{transform:rotate(180deg)}
.lang-menu{display:none;position:absolute;top:100%;right:0;margin-top:7px;flex-direction:column;min-width:118px;border-radius:11px;padding:5px;box-shadow:0 14px 34px rgba(0, 0, 0,.45);z-index:90}
.lang-switch.open .lang-menu{display:flex}
.lang-menu a{padding:9px 14px!important;border-radius:7px;font-size:12px!important;display:block!important}
.lang-menu a:hover{background:rgba(143, 188, 240,.14);color:#fff!important}

/* активный язык в дропдауне — в цвет темы */
.lang-menu a.active{background:rgba(199, 35, 74,.3)!important;color:#fff!important}
.lang-menu a:hover{background:rgba(199, 35, 74,.16)!important}
/* === ctrl-readability: крупнее и белее, по аналогии с хабом === */
.atlas-links a{font-size:14px}
.hero-content>p{font-size:18px;line-height:1.6}
.transition-copy p{font-size:18px}
.fact-card p{color:#eef2ff!important;font-size:14.5px}
.fact-card strong{color:#fff}
.feat-panel p{font-size:15.5px;color:#e8eefb}
.module-button b{font-size:15px}
.module-button small{font-size:11px}
.deploy-card p{font-size:14.5px}
.cmp-wrap table{font-size:14px}
.atlas-footer p{color:#dbe8fb;font-size:13px}

/* === ctrl-contrast-2: тёмные подложки на светлых зонах градиента + крупнее мелочь === */
.transition-copy{background:rgba(17, 11, 30,.52)!important;border-radius:16px}
.transition-copy h2{color:#fff}
.transition-copy p{color:#e6e0f8}
.module-console .module-list{background:rgba(13, 8, 24,.45);border-radius:14px}
.module-button b{color:#eae4ff!important;font-size:15px}
.module-button small{color:#b3a6dd!important;font-size:12px}
.module-button>span{color:#9d8bff}
.module-button.active{background:rgba(199, 35, 74,.18)}
.module-button.active b{color:#fff!important}
.module-button.active small{color:#d6ccf5!important}
.cmp-wrap{background:rgba(10, 6, 20,.5)}
.cmp-wrap td{color:#c9d2e6}
.cmp-wrap .no{color:#9aa8c4!important}
.cmp-wrap thead th{font-size:10px}
.deploy-card p{color:#dcd6f0!important;font-size:15px!important}
.deploy-card ul li{color:#cfc8ea;font-size:14px}
.deploy-card small{color:#b3a6dd;font-size:10px}

/* === ctrl-hero-lede: насыщенный цвет лида на светлом hero === */
.atlas-site[data-visual="signature"] .hero-content>p,
.atlas-site[data-visual="aether"] .hero-content>p,
.atlas-site[data-visual="pearl"] .hero-content>p{color:#6d3748!important}
