/* Device Changer — Neon Isometric landing (hologram theme) */
:root {
  color-scheme: dark;
  --bg: #05080a;
  --ink: #d9f5e8;
  --dim: #7fa08f;
  --neon: #38f2a4;
  --neon-2: #39c6ff;
  --card: rgba(14, 26, 21, 0.75);
  --line: rgba(56, 242, 164, 0.22);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(56, 242, 164, 0.07), transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

a { color: var(--neon); text-decoration: none; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.01em; }

/* ---------- header ---------- */
.lab-header {
  position: sticky;
  top: 12px;
  z-index: 50;
}
.header-in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-radius: 16px;
  background: rgba(8, 16, 12, 0.72);
  border: 1px solid rgba(56, 242, 164, 0.22);
  box-shadow: 0 12px 34px -14px rgba(0, 0, 0, 0.8), 0 0 24px rgba(56, 242, 164, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.lab-header.is-scrolled .header-in {
  background: rgba(6, 12, 9, 0.94);
  border-color: rgba(56, 242, 164, 0.42);
  box-shadow: 0 16px 44px -14px rgba(0, 0, 0, 0.9), 0 0 30px rgba(56, 242, 164, 0.2);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 16px; white-space: nowrap; flex: none; }
.logo-mark, .logo-icon {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--neon);
  background: linear-gradient(145deg, rgba(56, 242, 164, 0.25), rgba(56, 242, 164, 0.06));
  border: 1px solid rgba(56, 242, 164, 0.45);
  box-shadow: 0 0 16px rgba(56, 242, 164, 0.3), inset 0 0 8px rgba(56, 242, 164, 0.15);
  text-shadow: 0 0 10px rgba(56, 242, 164, 0.8);
  transform: rotate(-6deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s;
}
.logo:hover .logo-mark, .logo:hover .logo-icon { transform: rotate(6deg) scale(1.08); box-shadow: 0 0 24px rgba(56, 242, 164, 0.55), inset 0 0 8px rgba(56, 242, 164, 0.2); }
.nav { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1; }
.nav > * { flex: none; }
.nav a { color: var(--dim); transition: color 0.2s, text-shadow 0.2s; }
.nav a:hover { color: var(--neon); text-shadow: 0 0 12px rgba(56, 242, 164, 0.6); }
.nav > a, .nav-user-telegram, .nav-telegram-login, .nav-docs > summary {
  display: inline-flex;
  align-items: center;
  height: 36px;
  white-space: nowrap;
}
.nav > a:not([class*="btn"]) { position: relative; padding: 0 2px; }
.nav > a:not([class*="btn"])::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  transition: right 0.25s ease;
}
.nav > a:not([class*="btn"]):hover::after { right: 0; }
.nav-user-telegram { color: var(--neon); font-family: "JetBrains Mono", monospace; font-size: 13px; }
.chat-link-with-badge { position: relative; }
.chat-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--neon);
  color: #042016;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 8px var(--neon);
}
.nav-telegram-login { display: inline-flex; align-items: center; }

/* dropdown groups */
.nav-docs { position: relative; }
.nav-docs summary {
  list-style: none;
  cursor: pointer;
  color: var(--dim);
  transition: color 0.2s;
  user-select: none;
}
.nav-docs summary::-webkit-details-marker { display: none; }
.nav-docs summary::marker { content: ""; }
.nav-docs summary::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  border-bottom: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), border-color 0.2s;
}
.nav-docs[open] summary::after { transform: rotate(180deg); }
.nav-docs summary:hover, .nav-docs[open] summary { color: var(--neon); }
.nav-docs-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 20, 15, 0.97), rgba(6, 12, 9, 0.97));
  border: 1px solid rgba(56, 242, 164, 0.3);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.9), 0 0 28px rgba(56, 242, 164, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-origin: top center;
  animation: menu-pop 0.35s cubic-bezier(0.2, 0.9, 0.25, 1.15) both;
}
.nav-docs[open] .nav-docs-menu { border-color: rgba(56, 242, 164, 0.45); }
.nav-docs-menu::before {
  content: "";
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0.7;
  pointer-events: none;
}
@keyframes menu-pop {
  from { opacity: 0; transform: translateY(-10px) scale(0.96) rotateX(-14deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
}
.nav-docs-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, padding-left 0.25s;
  animation: item-in 0.3s ease both;
}
.nav-docs-menu a:nth-child(1) { animation-delay: 0.04s; }
.nav-docs-menu a:nth-child(2) { animation-delay: 0.08s; }
.nav-docs-menu a:nth-child(3) { animation-delay: 0.12s; }
.nav-docs-menu a:nth-child(4) { animation-delay: 0.16s; }
.nav-docs-menu a:nth-child(5) { animation-delay: 0.2s; }
.nav-docs-menu a:nth-child(6) { animation-delay: 0.24s; }
.nav-docs-menu a:nth-child(7) { animation-delay: 0.28s; }
.nav-docs-menu a:nth-child(8) { animation-delay: 0.32s; }
@keyframes item-in {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}
.nav-docs-menu a::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--neon);
  opacity: 0;
  flex: none;
  transition: opacity 0.2s, box-shadow 0.2s;
}
.nav-docs-menu a::after {
  content: "→";
  margin-left: auto;
  color: var(--neon);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.25s;
}
.nav-docs-menu a:hover {
  background: rgba(56, 242, 164, 0.1);
  padding-left: 16px;
  color: var(--neon);
}
.nav-docs-menu a:hover::before { opacity: 1; box-shadow: 0 0 8px var(--neon); }
.nav-docs-menu a:hover::after { opacity: 1; transform: translateX(0); }

/* mobile menu button */
.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(56, 242, 164, 0.06);
  cursor: pointer;
  position: relative;
}
.menu-toggle::before, .menu-toggle::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: var(--neon);
  transition: transform 0.25s, top 0.25s;
}
.menu-toggle::before { top: 14px; box-shadow: 0 6px 0 var(--neon); }
.menu-toggle::after { top: 26px; }
.menu-toggle-open::before { top: 18px; transform: rotate(45deg); box-shadow: none; }
.menu-toggle-open::after { top: 18px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  font-family: "JetBrains Mono", monospace;
  transition: translate 0.2s ease, box-shadow 0.2s ease;
  translate: 0 0;
  scale: 1;
}
.btn:active { scale: 0.97; }
.btn-neon, .btn-primary {
  color: #04120c;
  background: linear-gradient(120deg, var(--neon), #6ef7c5);
  box-shadow: 0 0 22px rgba(56, 242, 164, 0.45), 0 10px 30px -12px rgba(56, 242, 164, 0.5);
}
.btn-neon:hover, .btn-primary:hover { translate: 0 -2px; box-shadow: 0 0 34px rgba(56, 242, 164, 0.65), 0 16px 36px -12px rgba(56, 242, 164, 0.6); }
.btn-wire, .btn-outline {
  color: var(--neon);
  border: 1px solid var(--line);
  background: rgba(56, 242, 164, 0.05);
}
.btn-wire:hover, .btn-outline:hover { translate: 0 -2px; border-color: var(--neon); box-shadow: 0 0 20px rgba(56, 242, 164, 0.3); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.lab-header .nav .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  line-height: 1;
}
.btn-sm.btn-neon, .btn-sm.btn-primary { color: #04120c !important; }
.btn-lg { padding: 17px 38px; font-size: 16px; }
.btn-telegram-login { color: var(--neon-2); border: 1px solid rgba(57, 198, 255, 0.35); background: rgba(57, 198, 255, 0.07); padding: 9px 16px; font-size: 13px; }
.form-error { color: #ff9d9d; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 100px 0 80px; overflow: clip; }
.iso-floor {
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 160vw;
  height: 80vh;
  translate: -50% 0;
  transform: rotateX(62deg);
  transform-origin: center top;
  background:
    linear-gradient(rgba(56, 242, 164, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 242, 164, 0.14) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 85%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  padding: 7px 15px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--neon);
  background: rgba(56, 242, 164, 0.06);
  box-shadow: 0 0 18px rgba(56, 242, 164, 0.18);
  margin-bottom: 24px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--neon); text-shadow: 0 0 26px rgba(56, 242, 164, 0.55); }
.lead { font-size: 18px; color: var(--dim); max-width: 54ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-stats { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats div { font-family: "JetBrains Mono", monospace; }
.hero-stats b { display: block; color: var(--neon); font-size: 21px; text-shadow: 0 0 16px rgba(56, 242, 164, 0.5); }
.hero-stats span { color: var(--dim); font-size: 11px; letter-spacing: 0.08em; }

/* ---------- hologram ---------- */
.hero-stage { position: relative; perspective: 1400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; min-height: 620px; }
.stage-hint { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--dim); opacity: 0.75; transition: opacity 0.4s; }
.hero-stage:hover .stage-hint { opacity: 0.15; }
.holo { position: relative; width: 270px; height: 585px; }
.holo-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 14px;
  background: rgba(6, 16, 12, 0.6);
  border: 1px solid rgba(56, 242, 164, 0.45);
  box-shadow: 0 0 44px rgba(56, 242, 164, 0.25), inset 0 0 30px rgba(56, 242, 164, 0.06);
  overflow: hidden;
  animation: holo-flicker 7s linear infinite;
  cursor: grab;
}
.holo-screen:active { cursor: grabbing; }
.holo-screen .slide { position: absolute; inset: 0; opacity: 0; }
.holo-screen .slide.active { opacity: 1; animation: glitch-in 0.55s steps(3, end) both; }
.holo-screen .slide.leaving { animation: glitch-out 0.45s steps(3, end) both; }
@keyframes glitch-in {
  0% { opacity: 0.6; transform: translateX(-10px); clip-path: inset(18% 0 42% 0); filter: hue-rotate(50deg); }
  40% { transform: translateX(7px); clip-path: inset(58% 0 8% 0); }
  70% { transform: translateX(-4px); clip-path: inset(4% 0 62% 0); filter: none; }
  100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes glitch-out {
  0% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
  40% { transform: translateX(9px); clip-path: inset(40% 0 20% 0); filter: hue-rotate(-50deg); }
  100% { opacity: 0; transform: translateX(-6px); clip-path: inset(70% 0 10% 0); }
}
@keyframes holo-flicker {
  0%, 91%, 94%, 96%, 100% { opacity: 1; }
  92% { opacity: 0.82; }
  95% { opacity: 0.9; }
}
.holo-scan {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(56, 242, 164, 0.06) 0 2px, transparent 2px 5px);
  animation: scan-move 6s linear infinite;
}
@keyframes scan-move { from { background-position: 0 0; } to { background-position: 0 100px; } }
.holo-beam {
  position: absolute; left: 0; right: 0; top: 0; height: 16%; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(56, 242, 164, 0.28) 42%, rgba(56, 242, 164, 0.6) 50%, rgba(56, 242, 164, 0.28) 58%, transparent);
  filter: drop-shadow(0 0 12px rgba(56, 242, 164, 0.45));
  animation: beam-scan 3.6s linear infinite;
}
@keyframes beam-scan {
  0% { top: -16%; }
  100% { top: 100%; }
}
.holo-corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--neon);
  filter: drop-shadow(0 0 6px rgba(56, 242, 164, 0.7));
  z-index: 5;
  pointer-events: none;
}
.hc-tl { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.hc-tr { top: -12px; right: -12px; border-left: 0; border-bottom: 0; }
.hc-bl { bottom: -12px; left: -12px; border-right: 0; border-top: 0; }
.hc-br { bottom: -12px; right: -12px; border-left: 0; border-top: 0; }
.tele {
  position: absolute;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--neon-2);
  pointer-events: none;
}
.tele-l { right: calc(100% + 26px); transform: translateY(-50%); text-align: right; }
.tele-r { left: calc(100% + 26px); transform: translateY(-50%); }
.tele span { opacity: 0.8; animation: tele-blink 2.4s steps(2, end) infinite; }
.tele span:nth-child(2n) { animation-delay: -1.1s; color: var(--neon); }
@keyframes tele-blink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.95; }
}
.tele i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon), transparent);
  animation: tele-bar 3s ease-in-out infinite alternate;
}
.tele i:nth-child(2n) { animation-delay: -1.4s; }
@keyframes tele-bar {
  from { width: 22px; opacity: 0.4; }
  to { width: 64px; opacity: 0.9; }
}
.holo-base {
  position: absolute;
  left: 50%; bottom: -46px;
  width: 420px; height: 90px;
  transform: translateX(-50%) rotateX(70deg);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(56, 242, 164, 0.35), transparent 65%);
  pointer-events: none;
  animation: base-pulse 4s ease-in-out infinite;
}
@keyframes base-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.slide-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 6;
}
.slide-dots i {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(217, 245, 232, 0.3);
  cursor: pointer;
  transition: background 0.3s, width 0.35s ease;
}
.slide-dots i.on { width: 18px; background: var(--neon); box-shadow: 0 0 8px var(--neon); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.sec-num {
  font-family: "JetBrains Mono", monospace;
  color: var(--neon);
  font-size: 13px;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
}
.section h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
.dim { color: var(--dim); }
.sec-head { margin-bottom: 36px; }

/* ---------- neon card primitive ---------- */
.neon-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.neon-card:hover {
  border-color: rgba(56, 242, 164, 0.6);
  box-shadow: 0 0 0 1px rgba(56, 242, 164, 0.25), 0 18px 44px -18px rgba(56, 242, 164, 0.35);
}
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.panel { padding: 28px 24px; overflow: hidden; }
.panel h3 { margin-bottom: 8px; font-size: 18px; }
.panel p { color: var(--dim); font-size: 14.5px; }
.panel-glow {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0.7;
}

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.feat { padding: 22px 20px; }
.feat-ic {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--neon);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 10px;
  margin-bottom: 14px;
  background: rgba(56, 242, 164, 0.06);
  text-shadow: 0 0 10px rgba(56, 242, 164, 0.6);
}
.feat h3 { font-size: 16.5px; margin-bottom: 6px; }
.feat p { font-size: 13.5px; color: var(--dim); }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 20px 22px; }
.step b {
  flex: 0 0 auto;
  font-family: "JetBrains Mono", monospace;
  color: var(--neon);
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  background: rgba(56, 242, 164, 0.06);
  text-shadow: 0 0 12px rgba(56, 242, 164, 0.7);
}
.step h3 { font-size: 16.5px; margin-bottom: 3px; }
.step p { font-size: 14px; color: var(--dim); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.price-card { padding: 26px 22px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.price-card.featured { border-color: var(--neon); box-shadow: 0 0 30px rgba(56, 242, 164, 0.25); }
.price-flag {
  position: absolute;
  top: -11px; left: 50%;
  translate: -50% 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 999px;
  color: #04120c;
  background: var(--neon);
  box-shadow: 0 0 16px rgba(56, 242, 164, 0.6);
}
.price-label { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--dim); }
.price-amount { font-size: 34px; font-weight: 700; color: var(--neon); text-shadow: 0 0 20px rgba(56, 242, 164, 0.5); font-family: "JetBrains Mono", monospace; }
.price-note { margin-top: 22px; color: var(--dim); font-size: 14px; text-align: center; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 58px 32px; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--dim); max-width: 52ch; margin: 0 auto; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid rgba(56, 242, 164, 0.12); padding: 26px 0; margin-top: 40px; }
.footer-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--dim); font-size: 13.5px; font-family: "JetBrains Mono", monospace; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.7s ease var(--reveal-delay, 0ms), translate 0.7s cubic-bezier(0.2, 0.8, 0.25, 1) var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed { opacity: 1; translate: 0 0; }

/* ---------- native scroll-driven parallax ---------- */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @keyframes lab-parallax {
    from { translate: 0 40px; }
    to { translate: 0 -40px; }
  }
  [data-parallax] {
    animation: lab-parallax linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tele { display: none; }
}
@media (max-width: 1170px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 20px 18px;
    border-radius: 14px;
    background: rgba(8, 16, 12, 0.97);
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.9), 0 0 24px rgba(56, 242, 164, 0.12);
  }
  .nav.nav-open { display: flex; }
  .nav a { padding: 8px 0; }
  .nav-docs-menu { position: static; margin-top: 6px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { order: -1; min-height: 560px; }
  .holo { scale: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  .holo-screen, .holo-scan, .holo-beam, .tele span, .tele i, .holo-base { animation: none; }
  [data-parallax] { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- capability ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid rgba(56, 242, 164, 0.14); padding: 15px 0; background: rgba(56, 242, 164, 0.02); }
.ticker-track { display: flex; gap: 38px; width: max-content; white-space: nowrap; animation: ticker-run 28s linear infinite; }
.ticker-track span { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--dim); letter-spacing: 0.08em; }
.ticker-track span::before { content: "◆ "; color: var(--neon); font-size: 10px; }
@keyframes ticker-run { to { transform: translateX(-50%); } }

/* ---------- module orbit ---------- */
.orbit-stage { position: relative; height: 480px; perspective: 1100px; display: grid; place-items: center; }
.orbit { position: relative; width: 340px; height: 340px; transform-style: preserve-3d; }
.orbit-ring { position: absolute; inset: 0; transform-style: preserve-3d; animation: orbit-rot 26s linear infinite; }
.orbit-stage:hover .orbit-ring { animation-play-state: paused; }
@keyframes orbit-rot {
  from { transform: rotateX(-16deg) rotateY(0deg); }
  to { transform: rotateX(-16deg) rotateY(360deg); }
}
.orbit-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 120px; height: 120px;
  margin: -60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 26px;
  color: var(--neon);
  background: radial-gradient(circle at 35% 30%, rgba(56, 242, 164, 0.35), rgba(6, 18, 12, 0.9) 70%);
  border: 1px solid rgba(56, 242, 164, 0.5);
  box-shadow: 0 0 50px rgba(56, 242, 164, 0.4), inset 0 0 26px rgba(56, 242, 164, 0.25);
  text-shadow: 0 0 18px rgba(56, 242, 164, 0.9);
  animation: core-pulse 4s ease-in-out infinite;
}
@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(56, 242, 164, 0.3), inset 0 0 22px rgba(56, 242, 164, 0.2); }
  50% { box-shadow: 0 0 70px rgba(56, 242, 164, 0.55), inset 0 0 30px rgba(56, 242, 164, 0.35); }
}
.orbit-halo {
  position: absolute;
  left: 50%; top: 50%;
  width: 430px; height: 430px;
  margin: -215px;
  border-radius: 50%;
  border: 1px dashed rgba(57, 198, 255, 0.25);
  transform: rotateX(72deg);
  pointer-events: none;
}
.orbit-item {
  position: absolute;
  left: 50%; top: 50%;
  width: 158px;
  margin: -34px 0 0 -79px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(150deg, #0d1f18, #081410);
  border: 1px solid rgba(56, 242, 164, 0.4);
  box-shadow: 0 0 24px rgba(56, 242, 164, 0.18);
  backface-visibility: hidden;
  transform: rotateY(var(--a)) translateZ(230px);
}
.orbit-item b { display: block; font-family: "JetBrains Mono", monospace; color: var(--neon); font-size: 13px; margin-bottom: 3px; }
.orbit-item span { font-size: 11.5px; color: var(--dim); line-height: 1.4; display: block; }

/* ---------- app showcase (iso panels that straighten on hover) ---------- */
.showcase { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; perspective: 1300px; }
.iso-panel {
  width: 230px;
  height: 380px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(150deg, #0d1f18, #081410);
  border: 1px solid rgba(56, 242, 164, 0.35);
  box-shadow: 0 0 22px rgba(56, 242, 164, 0.15), 0 24px 40px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  opacity: 0.85;
  transform: rotateX(42deg) rotateZ(-22deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.4s, box-shadow 0.4s, border-color 0.4s;
  cursor: pointer;
}
.iso-panel .au { border-radius: 10px; }
.iso-panel:hover {
  opacity: 1;
  z-index: 5;
  border-color: var(--neon);
  box-shadow: 0 0 44px rgba(56, 242, 164, 0.45), 0 30px 50px -20px rgba(0, 0, 0, 0.85);
  transform: rotateX(0deg) rotateZ(0deg) translateZ(50px) scale(1.08);
}
.iso-panel:nth-child(2) { transform: rotateX(42deg) rotateZ(-22deg) translateY(34px); }
.iso-panel:nth-child(2):hover { transform: rotateX(0deg) rotateZ(0deg) translateZ(50px) scale(1.08); }
.showcase-caption { text-align: center; margin-top: 26px; font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--dim); }

/* ---------- install pipeline + terminal ---------- */
.pipe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pipe { list-style: none; position: relative; display: grid; gap: 26px; }
.pipe::before {
  content: "";
  position: absolute;
  left: 23px; top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--neon), rgba(56, 242, 164, 0.05));
  box-shadow: 0 0 12px rgba(56, 242, 164, 0.4);
}
.pipe li { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.pipe-node {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: "JetBrains Mono", monospace;
  color: var(--neon);
  background: #0a1710;
  border: 1px solid rgba(56, 242, 164, 0.45);
  box-shadow: 0 0 18px rgba(56, 242, 164, 0.25);
  z-index: 1;
}
.pipe h3 { font-size: 17px; margin-bottom: 4px; }
.pipe p { font-size: 14px; color: var(--dim); }
.terminal {
  border-radius: 14px;
  background: #050b08;
  border: 1px solid rgba(56, 242, 164, 0.35);
  box-shadow: 0 0 30px rgba(56, 242, 164, 0.15), inset 0 0 30px rgba(56, 242, 164, 0.04);
  overflow: hidden;
  font-family: "JetBrains Mono", monospace;
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(56, 242, 164, 0.15); }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(56, 242, 164, 0.25); }
.terminal-bar i:first-child { background: rgba(56, 242, 164, 0.7); }
.terminal-bar span { margin-left: auto; font-size: 11px; color: var(--dim); }
.terminal-body { padding: 18px 16px; min-height: 240px; font-size: 13px; line-height: 1.9; color: var(--ink); white-space: pre-wrap; }
.terminal-body .t-cmd { color: var(--neon); }
.terminal-body .t-ok { color: var(--neon-2); }
.terminal-cursor { display: inline-block; width: 8px; height: 15px; background: var(--neon); vertical-align: -2px; animation: cursor-blink 0.9s steps(2, end) infinite; }
@keyframes cursor-blink { 50% { opacity: 0; } }

/* ---------- responsive extras ---------- */
@media (max-width: 900px) {
  .pipe-grid { grid-template-columns: 1fr; }
  .orbit-stage { height: 400px; }
  .orbit { scale: 0.8; }
  .iso-panel:nth-child(2) { transform: rotateX(42deg) rotateZ(-22deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .orbit-ring, .orbit-core, .terminal-cursor { animation: none; }
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--neon), var(--neon-2));
  box-shadow: 0 0 12px rgba(56, 242, 164, 0.7);
  z-index: 100;
  pointer-events: none;
}

/* ---------- top status bar ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 26px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
  border-bottom: 1px solid rgba(56, 242, 164, 0.1);
  background: rgba(5, 10, 8, 0.85);
}
.topbar .live { color: var(--neon); }
.topbar .live::before {
  content: "●";
  margin-right: 7px;
  animation: live-blink 1.6s ease-in-out infinite;
}
@keyframes live-blink {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px var(--neon); }
  50% { opacity: 0.25; text-shadow: none; }
}
.topbar .lab-header + & { margin-top: 0; }
@media (max-width: 700px) { .topbar .topbar-right { display: none; } }

/* ---------- center hero ---------- */
.hero-center { text-align: center; padding: 70px 0 40px; }
.hero-center .lead { margin: 0 auto; min-height: 58px; }
.hero-center .hero-actions { justify-content: center; }
.hero-center .hero-stage { margin-top: 30px; min-height: 620px; }
.badge-live { display: inline-flex; align-items: center; gap: 8px; }
.badge-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: live-blink 1.6s ease-in-out infinite; }
.typer { border-right: 2px solid var(--neon); padding-right: 4px; }
.hero-center .hero-stats { justify-content: center; }
.count { font-variant-numeric: tabular-nums; }

/* glitch headline */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg);
  pointer-events: none;
  opacity: 0;
}
.glitch::before { color: var(--neon-2); animation: glitch-a 4.2s steps(2, end) infinite; }
.glitch::after { color: var(--neon); animation: glitch-b 4.2s steps(2, end) infinite; }
@keyframes glitch-a {
  0%, 88%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); }
  90% { opacity: 0.85; clip-path: inset(18% 0 44% 0); transform: translateX(-5px); }
  93% { opacity: 0.85; clip-path: inset(62% 0 12% 0); transform: translateX(4px); }
  96% { opacity: 0; }
}
@keyframes glitch-b {
  0%, 88%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); }
  90% { opacity: 0.85; clip-path: inset(46% 0 22% 0); transform: translateX(5px); }
  93% { opacity: 0.85; clip-path: inset(8% 0 66% 0); transform: translateX(-4px); }
  96% { opacity: 0; }
}

/* hero particles */
.p-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  pointer-events: none;
  animation: p-float 9s ease-in-out infinite alternate;
}
.p-dot:nth-child(2n) { background: var(--neon-2); box-shadow: 0 0 12px var(--neon-2); }
@keyframes p-float {
  from { translate: 0 0; opacity: 0.2; }
  to { translate: 24px -40px; opacity: 0.95; }
}

/* ---------- magnetic buttons + shine ---------- */
.btn { position: relative; overflow: hidden; }
.btn.chat-link-with-badge { overflow: visible; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -65%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 135%; }
.btn-magnet { will-change: transform; transition: translate 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease-out; }

/* ---------- spotlight cards ---------- */
.spot-card { position: relative; overflow: hidden; }
.spot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 242, 164, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.spot-card:hover::before { opacity: 1; }
.spot-card > * { position: relative; }

/* ---------- conic animated border (CTA) ---------- */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.cta-glow { position: relative; }
.cta-glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 65%, var(--neon) 82%, var(--neon-2) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-rot 4.5s linear infinite;
  pointer-events: none;
}
@keyframes border-rot { to { --angle: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  .glitch::before, .glitch::after, .p-dot, .cta-glow::before, .badge-live i, .topbar .live::before { animation: none; }
}

/* ---------- /01 flip wall ---------- */
.flip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1400px; }
.flip-card { height: 168px; }
.flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.25, 1);
  animation: flip-bob 6s ease-in-out infinite alternate;
}
.flip-card:nth-child(2n) .flip-inner { animation-delay: -1.7s; }
.flip-card:nth-child(3n) .flip-inner { animation-delay: -3.4s; }
.flip-card:nth-child(4n) .flip-inner { animation-delay: -4.6s; }
.flip-card:hover .flip-inner, .flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  padding: 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.flip-front { opacity: 1; transition: opacity 0.35s; }
.flip-back {
  opacity: 0;
  transform: rotateY(180deg);
  background: linear-gradient(150deg, #0d1f18, #081410);
  border-color: rgba(56, 242, 164, 0.55);
  box-shadow: 0 0 26px rgba(56, 242, 164, 0.22);
  transition: opacity 0.35s;
}
.flip-card:hover .flip-front, .flip-card.flipped .flip-front { opacity: 0; }
.flip-card:hover .flip-back, .flip-card.flipped .flip-back { opacity: 1; }
.flip-back p { font-size: 13px; color: var(--ink); line-height: 1.55; }
@keyframes flip-bob {
  from { translate: 0 -4px; }
  to { translate: 0 6px; }
}
@media (max-width: 1100px) { .flip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .flip-inner { animation: none; } }

/* ---------- /02 coverflow ---------- */
.coverflow { position: relative; height: 480px; perspective: 1400px; }
.cf-panel {
  position: absolute;
  left: 50%; top: 50%;
  width: 230px; height: 400px;
  margin: -200px 0 0 -115px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(150deg, #0d1f18, #081410);
  border: 1px solid rgba(56, 242, 164, 0.4);
  box-shadow: 0 0 24px rgba(56, 242, 164, 0.18);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.6s;
}
.cf-panel .au { border-radius: 10px; }
.cf-panel[data-pos="0"] { transform: translateZ(150px); z-index: 5; opacity: 1; }
.cf-panel[data-pos="-1"] { transform: translateX(-215px) rotateY(28deg); z-index: 4; opacity: 0.7; }
.cf-panel[data-pos="1"] { transform: translateX(215px) rotateY(-28deg); z-index: 4; opacity: 0.7; }
.cf-panel[data-pos="-2"] { transform: translateX(-370px) translateZ(-170px) rotateY(38deg); z-index: 3; opacity: 0.35; }
.cf-panel[data-pos="2"] { transform: translateX(370px) translateZ(-170px) rotateY(-38deg); z-index: 3; opacity: 0.35; }
.cf-panel[data-pos="0"]:hover { transform: translateZ(175px) scale(1.03); }
@media (max-width: 900px) { .coverflow { scale: 0.78; height: 420px; } }
@media (max-width: 600px) { .coverflow { scale: 0.6; height: 360px; } }

/* ---------- /01 signal grid (iso prisms) ---------- */
@property --h { syntax: "<length>"; initial-value: 30px; inherits: false; }
.eq-scene { position: relative; height: 480px; perspective: 1300px; }
.eq-board {
  position: absolute;
  left: 50%; top: 56%;
  transform: translate(-50%, -50%) rotateX(56deg) rotateZ(-32deg);
  transform-style: preserve-3d;
  display: grid;
  grid-template-columns: repeat(4, 58px);
  gap: 24px;
}
.eq-cell {
  position: relative;
  width: 58px; height: 58px;
  transform-style: preserve-3d;
  transform: translateZ(var(--h, 30px));
  cursor: pointer;
  animation: eq-wave 3.4s ease-in-out var(--d, 0s) infinite alternate;
}
.eq-top {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: #04140b;
  background: rgba(56, 242, 164, 0.55);
  border: 1px solid rgba(56, 242, 164, 0.8);
  box-shadow: 0 0 16px rgba(56, 242, 164, 0.35);
  transition: background 0.3s, box-shadow 0.3s;
}
.eq-front {
  position: absolute;
  left: 0; top: 100%;
  width: 100%; height: var(--h, 30px);
  background: #0a2a1a;
  border: 1px solid rgba(56, 242, 164, 0.25);
  border-top: 0;
  transform-origin: top;
  transform: rotateX(-90deg);
}
.eq-side {
  position: absolute;
  left: 100%; top: 0;
  width: var(--h, 30px); height: 100%;
  background: #061a10;
  border: 1px solid rgba(56, 242, 164, 0.2);
  border-top: 0;
  transform-origin: left;
  transform: rotateY(90deg);
}
.eq-cell.active .eq-top, .eq-cell:hover .eq-top {
  background: var(--neon);
  box-shadow: 0 0 34px rgba(56, 242, 164, 0.85);
}
@keyframes eq-wave {
  from { --h: 16px; }
  to { --h: 52px; }
}
.eq-scan {
  position: absolute;
  left: 50%; top: 56%;
  width: 60px; height: 340px;
  background: linear-gradient(90deg, transparent, rgba(56, 242, 164, 0.16), transparent);
  transform: translate(-50%, -50%) rotateX(56deg) rotateZ(-32deg);
  filter: blur(6px);
  pointer-events: none;
  animation: eq-sweep 6s linear infinite;
}
@keyframes eq-sweep {
  from { translate: -260px 0; }
  to { translate: 260px 0; }
}
.eq-info {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(420px, 90%);
  min-height: 76px;
  text-align: center;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.eq-info b { display: block; color: var(--neon); font-family: "JetBrains Mono", monospace; font-size: 15px; margin-bottom: 4px; }
.eq-info p { color: var(--dim); font-size: 13px; }
@media (max-width: 900px) {
  .eq-scene { scale: 0.8; height: 420px; }
  .eq-info { scale: 1.1; }
}
@media (max-width: 600px) {
  .eq-scene { scale: 0.62; height: 340px; }
  .eq-info { scale: 1.4; top: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  .eq-cell, .eq-scan { animation: none; }
}

/* ---------- /01 module radar ---------- */
.radar-scene { position: relative; padding-top: 10px; }
.radar { position: relative; width: 400px; height: 400px; margin: 0 auto; }
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(56, 242, 164, 0.2); }
.radar-ring.r1 { inset: 22%; }
.radar-ring.r2 { inset: 7%; }
.radar-ring.r3 { inset: -8%; }
.radar-sweep {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 242, 164, 0.45), transparent 70deg);
  animation: radar-rot 5s linear infinite;
  pointer-events: none;
}
@keyframes radar-rot { to { transform: rotate(360deg); } }
.radar-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 22px var(--neon);
}
.radar-blip {
  position: absolute;
  width: 10px; height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: rgba(56, 242, 164, 0.4);
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s, scale 0.3s;
}
.radar-blip span {
  position: absolute;
  left: 15px; top: -4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--dim);
  white-space: nowrap;
  transition: color 0.3s;
}
.radar-blip.active, .radar-blip:hover {
  background: var(--neon);
  box-shadow: 0 0 18px var(--neon);
  scale: 1.5;
}
.radar-blip.active span, .radar-blip:hover span { color: var(--neon); }
#radar-info { margin-top: 24px; }
@media (max-width: 600px) {
  .radar { width: 300px; height: 300px; }
  .radar-blip span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .radar-sweep { animation: none; }
}

/* ---------- language switcher ---------- */
.i18n-switcher { margin-left: auto; }
.i18n-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(56, 242, 164, 0.06);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.i18n-switcher summary:hover, .i18n-switcher[open] summary { border-color: var(--neon); box-shadow: 0 0 14px rgba(56, 242, 164, 0.25); }
.i18n-flag { font-size: 15px; line-height: 1; }
.i18n-menu { min-width: 160px; left: auto; right: -10px; }
.i18n-option { display: flex; align-items: center; gap: 8px; }
.i18n-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  background: none;
  border: 0;
  color: var(--dim);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.i18n-option:hover { background: rgba(56, 242, 164, 0.1); color: var(--neon); }
.i18n-option.active { color: var(--neon); background: rgba(56, 242, 164, 0.1); }
@media (max-width: 1170px) {
  .i18n-switcher { margin-left: 0 !important; align-self: flex-start; }
}
