/* NEXUS / NYXX — premium landing (new_landing) */
:root {
  --void: #020403;
  --void2: #030807;
  --black: #000000;
  --acid: #00ff88;
  --acid-dim: rgba(0, 255, 136, 0.45);
  --cyan: #00e5ff;
  --violet: #8b5cf6;
  --text: #c8f0e4;
  --text-muted: rgba(200, 240, 228, 0.62);
  --glass: rgba(6, 18, 14, 0.55);
  --glass-border: rgba(0, 255, 136, 0.22);
  --glow-acid: 0 0 40px rgba(0, 255, 136, 0.25);
  --glow-cyan: 0 0 32px rgba(0, 229, 255, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --audio-beat: 0.35;
  --player-progress: 0%;
  --hero-fade: 0.22;
  /* Якоря / scrollIntoView: запас под sticky-нав (top + высота шапки, в т.ч. многострочная) */
  --nav-scroll-offset: clamp(104px, 14vmin + 56px, 240px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-scroll-offset);
}
[data-nav-anchor] {
  scroll-margin-top: var(--nav-scroll-offset);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Fullscreen photo + tint; sits under WebGL so back.jpg stays visible through semi-transparent canvas */
.site-back-plate {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% -18%, rgba(0, 255, 136, 0.07), transparent 52%),
    radial-gradient(ellipse 70% 50% at 100% 42%, rgba(139, 92, 246, 0.05), transparent 48%),
    radial-gradient(ellipse 60% 45% at 0% 82%, rgba(0, 229, 255, 0.035), transparent 44%),
    linear-gradient(180deg, rgba(2, 8, 6, 0.32) 0%, rgba(2, 4, 3, 0.28) 50%, rgba(0, 0, 0, 0.42) 100%),
    url("./back.jpg") center / cover no-repeat;
  background-color: var(--void);
}

.network-canvas-host {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  /* Bloom composite reads dark; high opacity hid back.jpg entirely */
  opacity: 0.48;
}
.network-canvas-host canvas {
  display: block;
  width: 100%;
  height: 100%;
}

body.site-landing-v2 {
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

.site-film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.site-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 49;
  /* Was 0.72 — crushed back.jpg; keep edges soft without killing the plate */
  background: radial-gradient(ellipse 92% 78% at 50% 48%, transparent 38%, rgba(0, 0, 0, 0.38) 100%);
}

/* ——— Nav ——— */
/* Flex column + min-height: при короткой секции футер прижимается к низу окна (margin-top: auto на .site-footer-stack) */
.content {
  position: relative;
  z-index: 4;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.site-footer-stack {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
}
.site-footer-strip {
  display: none;
  width: 100%;
  margin: 0;
  padding: 0 0 72px;
  box-sizing: border-box;
}
.site-footer-strip.active {
  display: block;
}
.site-footer-strip .footer.site-section-footer {
  margin-top: 64px;
}
.nav-container {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px auto 36px;
  padding: 12px 20px 12px 22px;
  background: rgba(2, 8, 6, 0.78);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(0, 255, 136, 0.18);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
}
/* Десктоп: строка бренда не меняет раскладку (дети участвуют во flex nav-container) */
.nav-brand-row {
  display: contents;
}
.nav-mobile-toggle {
  display: none;
}
.site-brand {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.1vw, 1.42rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.14);
  transition: color 0.2s, text-shadow 0.2s;
}
.site-brand:hover {
  color: var(--acid);
  text-shadow: 0 0 28px rgba(0, 255, 136, 0.35);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-wrap: wrap;
  gap: clamp(10px, 2.5vw, 28px);
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.35vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  min-width: 0;
}
.nav-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  margin-left: 2px;
  border-left: 1px solid rgba(0, 255, 136, 0.22);
}
.nav-link, .lang-link {
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  padding: 8px 6px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  user-select: none;
  white-space: nowrap;
}
.lang-link {
  padding: 6px 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.lang-link:hover {
  color: var(--acid);
  background: rgba(0, 255, 136, 0.08);
}
.nav-link.active {
  color: var(--acid);
  background: transparent;
  box-shadow: none;
  font-weight: 600;
  border-bottom: 2px solid var(--acid);
  border-radius: 0;
  padding-bottom: 6px;
}
.lang-link.active-lang {
  color: var(--void);
  background: linear-gradient(135deg, var(--acid), #00c96a);
  box-shadow: var(--glow-acid);
  font-weight: 700;
  border-radius: 999px;
}
.nav-login-btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--acid);
  background: transparent;
  border: 1px solid var(--acid);
  border-radius: 7px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-login-btn:hover {
  background: rgba(0, 255, 136, 0.12);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.22);
}
@media (max-width: 720px) {
  /* Сетка: гамбургер | NEXUS по центру | RU/EN; одинаковый column-gap слева/справа от средней колонки */
  .nav-container {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    /* одна явная строка — иначе вторая auto-трек иногда даёт лишнюю высоту в свёрнутом виде */
    grid-template-rows: auto;
    column-gap: 12px;
    row-gap: 0;
    align-items: center;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: clip;
    /* с веба тянется margin-bottom: 36px — визуально «низ» дальше «верха»; на мобиле симметрия как у padding */
    margin: 20px auto 20px;
    padding: 10px 14px;
  }
  .nav-container.nav-mobile-open {
    row-gap: 10px;
  }
  .nav-brand-row {
    display: contents;
  }
  #navMobileToggle.nav-mobile-toggle {
    grid-column: 1;
    grid-row: 1;
  }
  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  }
  .nav-mobile-toggle:hover,
  .nav-mobile-toggle:focus-visible {
    background: rgba(0, 255, 136, 0.12);
    color: #fff;
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.2);
    outline: none;
  }
  .nav-mobile-toggle__bars {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    box-shadow:
      0 -7px 0 0 currentColor,
      0 7px 0 0 currentColor,
      0 0 10px rgba(255, 255, 255, 0.45),
      0 -7px 10px rgba(255, 255, 255, 0.25),
      0 7px 10px rgba(255, 255, 255, 0.25);
  }
  #siteBrand.site-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    align-self: center;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0 2px;
    text-align: center;
    letter-spacing: 0.22em;
    font-size: clamp(1.12rem, 4.4vw, 1.52rem);
    line-height: 1;
  }
  /* Пункты горизонтальной навигации скрыты; раскрываются только из меню */
  .nav-container:not(.nav-mobile-open) .nav-bar {
    display: none;
  }
  .nav-container.nav-mobile-open .nav-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0;
    margin: 0;
    padding: 8px 4px 4px;
    border-top: 1px solid rgba(0, 255, 136, 0.14);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 0 0 8px 8px;
    box-sizing: border-box;
  }
  .nav-container.nav-mobile-open .nav-bar .nav-link {
    white-space: normal;
    padding: 12px 10px;
    border-radius: 8px;
    text-align: left;
    font-size: 0.95rem;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .nav-container.nav-mobile-open .nav-bar .nav-link.active {
    border-bottom: none;
    padding-bottom: 12px;
    background: rgba(0, 255, 136, 0.08);
  }
  .nav-container .nav-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: auto;
    max-width: none;
    flex: none;
    justify-content: flex-end;
    flex-wrap: nowrap;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }
  .nav-login-btn {
    display: none;
  }
  .lang-box {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
}

/* ——— Sound + floating cards ——— */
@supports selector(:has(*)) {
  body.site-landing-v2:has(.cyber-player.is-collapsed) .sound-toggle {
    bottom: 72px;
  }
}

.sound-toggle {
  position: fixed;
  bottom: 100px;
  right: 22px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: var(--glow-acid);
}
.sound-toggle::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--acid), var(--cyan), var(--violet), var(--acid));
  opacity: 0.85;
  animation: spin 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .sound-toggle::after { animation: none; } }
.sound-toggle.muted::after { opacity: 0.25; filter: grayscale(1); }
@keyframes spin { to { transform: rotate(360deg); } }

.apk-download-box.apk-desktop-only,
.b2b-lead-box.b2b-desktop-only {
  position: fixed;
  top: 100px;
  z-index: 90;
  width: 260px;
  padding: 14px 16px;
  background: rgba(2, 12, 10, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), var(--glow-acid);
  transition: transform 0.3s ease, border-color 0.3s;
}
.apk-download-box.apk-desktop-only { right: 20px; }
.b2b-lead-box.b2b-desktop-only { left: 20px; }
.apk-download-box.apk-desktop-only:hover,
.b2b-lead-box.b2b-desktop-only:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.35);
}
.apk-inner, .b2b-inner { display: flex; flex-direction: column; gap: 10px; }
.apk-head, .b2b-head { display: flex; align-items: center; gap: 10px; }
.apk-app-icon, .b2b-app-icon { width: 40px; height: 40px; border-radius: 10px; }
.apk-title-row, .b2b-title-row { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--acid); }
.apk-cta {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--acid), #00c978);
  color: var(--void) !important;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: filter 0.2s, transform 0.2s;
}
.apk-cta:hover { filter: brightness(1.08); transform: scale(1.02); }
.b2b-cta {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
}
.b2b-cta:hover {
  background: rgba(139, 92, 246, 0.32);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.35);
}
.apk-lang, .b2b-lang { display: none; }
.apk-lang.active, .b2b-lang.active { display: block; }
.apk-mobile-strip {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 20px auto;
  padding: 16px;
  background: rgba(2, 12, 10, 0.75);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}
@media (min-width: 901px) {
  .apk-mobile-strip { display: none; }
}
@media (max-width: 900px) {
  .apk-download-box.apk-desktop-only,
  .b2b-lead-box.b2b-desktop-only { display: none; }
}

/* ——— Sections ——— */
.section { display: none; animation: secIn 0.5s ease both; }
.section.active { display: block; }
@keyframes secIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .section { animation: none; }
}

/* ——— Hero ——— */
.home-hero {
  position: relative;
  /* Видео-блок: вписываем в первый экран (нав + отступы), без лишней прокрутки */
  --hero-avail: max(260px, calc(100svh - clamp(132px, 10vh + 76px, 232px)));
  min-height: min(780px, var(--hero-avail));
  max-height: var(--hero-avail);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid rgba(0, 255, 136, 0.15);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.03);
  --hero-fade: 0.22;
}
.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: calc(1 - var(--hero-fade) * 0.85);
  filter: saturate(1.05) contrast(1.08);
}
.hero-webgl {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, rgba(2,4,3,0.94) 0%, rgba(2,4,3,0.72) 42%, rgba(2,8,6,0.45) 68%, rgba(3,8,7,0.88) 100%);
  pointer-events: none;
}
.hero-scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(transparent 50%, rgba(0,255,136,0.02) 50%);
  background-size: 100% 4px;
  opacity: 0.35;
  animation: scanmove 14s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hero-scan { animation: none; opacity: 0.12; } }
@keyframes scanmove { to { background-position: 0 200px; } }

.hero-stack {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  min-height: min(780px, var(--hero-avail));
  max-height: var(--hero-avail);
  box-sizing: border-box;
}
@media (max-width: 960px) {
  .hero-stack {
    grid-template-columns: 1fr;
    text-align: center;
    max-height: none;
    align-content: start;
    padding-bottom: clamp(20px, 5vh, 40px);
  }
  .hero-cta-row { justify-content: center; flex-wrap: wrap; }
  .hero-visual {
    margin-top: clamp(4px, 2vw, 12px);
    padding-top: clamp(18px, 5vw, 32px);
    border-top: 1px solid rgba(0, 255, 136, 0.14);
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}
@media (max-height: 720px) {
  .hero-stack {
    padding: clamp(16px, 4vh, 40px);
    gap: clamp(14px, 2.5vw, 28px);
  }
  .home-hero .header { margin-bottom: 12px; }
  .tagline { margin-bottom: 18px; }
}
@media (max-height: 640px) {
  .device-mockup { width: min(100%, 300px); }
}

/* Под чистым hero-видео: на вебе не показываем */
.home-hero-mobile-plate {
  display: none;
}

/* Мобила: только видео в hero — без WebGL, градиента, скана и текста поверх */
@media (max-width: 768px) {
  .home-hero {
    --hero-fade: 0;
  }
  .home-hero .hero-webgl,
  .home-hero .hero-overlay,
  .home-hero .hero-scan,
  .home-hero .hero-stack {
    display: none;
  }
  .home-hero-video {
    opacity: 1;
    filter: none;
  }

  .home-hero-mobile-plate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* center сжимал детей по ширине текста — заголовок не совпадал с колонкой кнопок */
    align-items: stretch;
    width: 100%;
    margin-bottom: 36px;
    padding: clamp(28px, 6vw, 48px) clamp(22px, 5.5vw, 36px);
    min-height: clamp(300px, 44svh, 440px);
    text-align: center;
    border-radius: calc(var(--radius) + 8px);
    border: 1px solid rgba(0, 255, 136, 0.15);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    background: rgba(2, 8, 6, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
    overflow-x: visible;
    overflow: visible;
  }
  .home-hero-mobile-plate__column {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    box-sizing: border-box;
  }
  /* Одна ширина с кнопками: строка заголовка на всю колонку, N — у левого края как у кнопок */
  .home-hero-mobile-plate .home-hero-mobile-plate__head.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0 0 14px;
    padding: 0;
    overflow: visible;
    min-width: 0;
    box-sizing: border-box;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 12.65vw, 4.3rem);
    /* font-size: clamp(2.05rem, 9.5vw, 3.25rem); */
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: inherit;
    background: none;
    -webkit-text-fill-color: inherit;
    filter: none;
  }
  .home-hero-mobile-plate .home-hero-mobile-plate__title {
    display: block;
    flex: 0 1 auto;
    max-width: 100%;
    padding: 0.1em 0.08em 0.14em;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: visible;
    font: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    background: linear-gradient(135deg, #fff 0%, var(--acid) 45%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 28px rgba(0, 255, 136, 0.32));
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }
  .home-hero-mobile-plate .tagline {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 22px;
  }
  .home-hero-mobile-plate .hero-cta-row {
    width: 100%;
    max-width: 520px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.hero-headline-group {
  max-width: 560px;
  min-width: 0;
  overflow: visible;
}
@media (max-width: 960px) { .hero-headline-group { max-width: none; margin: 0 auto; } }

.android-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.12);
}

.home-hero .header {
  font-family: var(--font-display);
  font-weight: 800;
  /* Без экстремального vw — иначе «NEXUS» обрезается overflow у .home-hero */
  font-size: clamp(2.75rem, 7vw + 0.85rem, 5.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--acid) 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-right: 0.08em;
  padding-bottom: 0.06em;
  filter: drop-shadow(0 0 40px rgba(0,255,136,0.35));
  margin-bottom: 18px;
}
@media (min-width: 961px) {
  .home-hero .header {
    white-space: nowrap;
  }
}
@media (max-width: 960px) {
  .home-hero .header {
    white-space: normal;
    font-size: clamp(2.6rem, 14vw, 4rem);
  }
}

.tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 28px;
  font-weight: 300;
}
@media (max-width: 960px) { .tagline { margin-left: auto; margin-right: auto; } }

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-cta-row--dual {
  gap: 12px;
  align-items: stretch;
}
.hero-enter-cta {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  letter-spacing: 0.02em;
  padding: 16px 26px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: #020403;
  background: linear-gradient(180deg, #2cff9a 0%, var(--acid) 45%, #00c978 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 8px 28px rgba(0, 255, 136, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  flex: 1 1 160px;
  min-width: 0;
  text-align: center;
}
.hero-enter-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 12px 36px rgba(0, 255, 136, 0.45);
}
.hero-enter-cta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.hero-download-cta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  letter-spacing: 0.02em;
  padding: 16px 26px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  color: #fff;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 160px;
  min-width: 0;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.hero-download-cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #fff;
  transform: translateY(-2px);
}
.hero-download-cta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
@media (max-width: 520px) {
  .hero-cta-row--dual {
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-enter-cta,
  .hero-download-cta {
    flex: 1 1 auto;
    width: 100%;
  }
}
.hero-apk-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,136,0.45);
  color: var(--acid);
  text-decoration: none;
  background: rgba(0,255,136,0.06);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}
.hero-apk-cta:hover {
  background: rgba(0,255,136,0.14);
  border-color: var(--acid);
}

/* Device mockup */
.hero-visual {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}
@media (min-width: 961px) {
  .hero-visual {
    justify-content: flex-end;
    padding-left: clamp(12px, 2.5vw, 36px);
    margin-left: clamp(8px, 1.5vw, 24px);
  }
}
.device-mockup {
  width: min(100%, 340px);
  aspect-ratio: 9/19;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(0,0,0,0.5));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.65),
    0 0 60px rgba(0,255,136,0.12),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
}
.device-mockup:hover { transform: rotateY(-4deg) rotateX(2deg) scale(1.02); }
@media (max-width: 960px) {
  .device-mockup { transform: none; }
  .device-mockup:hover { transform: scale(1.02); }
}
.dm-notch {
  height: 22px;
  border-radius: 14px;
  background: #000;
  width: 36%;
  margin: 0 auto 10px;
}
.dm-screen {
  height: calc(100% - 34px);
  border-radius: 26px;
  background-image:
    linear-gradient(180deg, rgba(2, 8, 6, 0.82) 0%, rgba(2, 4, 3, 0.48) 42%, rgba(2, 4, 3, 0.78) 100%),
    url("phone-bg.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  border: 1px solid rgba(0,255,136,0.15);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.dm-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.dm-e2ee {
  font-size: 0.55rem;
  color: var(--acid);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.25);
}
.dm-chat {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dm-bubble {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 0.65rem;
  line-height: 1.4;
  color: var(--text);
}
.dm-bubble--in {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.dm-bubble--out {
  align-self: flex-end;
  background: rgba(0,255,136,0.12);
  border: 1px solid rgba(0,255,136,0.2);
}
.dm-youme {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  font-size: 0.62rem;
  color: #e9d5ff;
  font-family: var(--font-mono);
}
.dm-youme span { color: var(--violet); font-weight: 700; }
.dm-quest {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}
.dm-quest-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  margin-top: 6px;
  overflow: hidden;
}
.dm-quest-bar > i {
  display: block;
  height: 100%;
  width: 67%;
  background: linear-gradient(90deg, var(--cyan), var(--acid));
  border-radius: 2px;
}

/* Trust bar (single frame, icons + labels, cell dividers) */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-bottom: 56px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  overflow: visible;
  background: rgba(255, 255, 255, 0.1);
}
.trust-bar-cell {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 10px 20px;
  text-align: center;
  background: rgba(6, 16, 13, 0.94);
  overflow: hidden;
  cursor: default;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    background 0.35s ease,
    z-index 0s linear 0.42s;
}
.trust-bar-cell::before {
  content: "";
  position: absolute;
  inset: -20% -30%;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0, 255, 136, 0.22), transparent 72%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.trust-bar-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 60%
  );
  background-size: 260% 100%;
  background-position: 100% 0;
  opacity: 0;
  transition: opacity 0.35s ease, background-position 0.65s ease;
  pointer-events: none;
  z-index: 0;
}
.trust-bar-cell:hover {
  z-index: 3;
  transition-delay: 0s, 0s, 0s, 0s;
  transform: translateY(-8px) scale(1.04);
  box-shadow:
    0 0 0 1px rgba(0, 255, 136, 0.45),
    0 0 48px rgba(0, 255, 136, 0.18),
    0 22px 48px rgba(0, 0, 0, 0.45);
  background: rgba(5, 26, 20, 0.98);
}
.trust-bar-cell:hover::before {
  opacity: 1;
  transform: scale(1.08);
}
.trust-bar-cell:hover::after {
  opacity: 1;
  background-position: 0% 0;
}
.trust-bar-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--acid);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.3s ease,
    filter 0.4s ease;
}
.trust-bar-icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.trust-bar-cell:hover .trust-bar-icon {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.75));
}
.trust-bar-cell:hover .trust-bar-icon svg {
  transform: scale(1.1);
}
.trust-bar-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  line-height: 1.25;
  max-width: 11em;
  transition: color 0.3s ease, transform 0.35s ease, text-shadow 0.35s ease;
}
.trust-bar-cell:hover .trust-bar-label {
  color: #eafff5;
  transform: translateY(-2px);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.35);
}
.trust-bar-cell:nth-child(2):hover {
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.4),
    0 0 44px rgba(0, 229, 255, 0.16),
    0 22px 48px rgba(0, 0, 0, 0.45);
}
.trust-bar-cell:nth-child(2):hover::before {
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0, 229, 255, 0.2), transparent 72%);
}
.trust-bar-cell:nth-child(2):hover .trust-bar-icon {
  color: var(--cyan);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.65));
}
.trust-bar-cell:nth-child(3):hover {
  box-shadow:
    0 0 0 1px rgba(196, 181, 253, 0.45),
    0 0 48px rgba(139, 92, 246, 0.2),
    0 22px 48px rgba(0, 0, 0, 0.45);
}
.trust-bar-cell:nth-child(3):hover::before {
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(139, 92, 246, 0.22), transparent 72%);
}
.trust-bar-cell:nth-child(3):hover .trust-bar-icon {
  color: #d4c4ff;
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.65));
}
@media (prefers-reduced-motion: reduce) {
  .trust-bar-cell,
  .trust-bar-cell::before,
  .trust-bar-cell::after,
  .trust-bar-icon,
  .trust-bar-icon svg,
  .trust-bar-label {
    transition: none;
  }
  .trust-bar-cell:hover {
    transform: none;
  }
  .trust-bar-cell:hover .trust-bar-icon,
  .trust-bar-cell:hover .trust-bar-icon svg,
  .trust-bar-cell:hover .trust-bar-label {
    transform: none;
  }
  .trust-bar-cell:hover::after {
    opacity: 0;
  }
}
@media (max-width: 820px) {
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .trust-bar {
    grid-template-columns: 1fr;
  }
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: rgba(3, 12, 10, 0.65);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature--tone-violet {
  border-color: rgba(139, 92, 246, 0.18);
}
.feature--tone-cyan {
  border-color: rgba(0, 229, 255, 0.16);
}
.feature::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 20%, rgba(0,255,136,0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.feature--tone-violet::before {
  background: radial-gradient(circle at 30% 20%, rgba(139,92,246,0.12), transparent 50%);
}
.feature--tone-cyan::before {
  background: radial-gradient(circle at 30% 20%, rgba(0,229,255,0.1), transparent 50%);
}
.feature:hover::before { opacity: 1; }
.feature:hover {
  transform: translateY(-4px);
}
.feature--tone-acid:hover {
  border-color: rgba(0,255,136,0.38);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 42px rgba(0,255,136,0.1);
}
.feature--tone-violet:hover {
  border-color: rgba(139,92,246,0.45);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 48px rgba(139,92,246,0.14);
}
.feature--tone-cyan:hover {
  border-color: rgba(0,229,255,0.38);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 42px rgba(0,229,255,0.1);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--acid);
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.28);
  box-shadow:
    0 0 26px rgba(0,255,136,0.18),
    inset 0 0 22px rgba(0,255,136,0.04);
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 0 5px currentColor);
}
.feature--tone-violet .feature-icon {
  color: #c4b5fd;
  border-color: rgba(139,92,246,0.42);
  background: rgba(139,92,246,0.12);
  box-shadow:
    0 0 28px rgba(139,92,246,0.22),
    inset 0 0 22px rgba(139,92,246,0.06);
}
.feature--tone-cyan .feature-icon {
  color: var(--cyan);
  border-color: rgba(0,229,255,0.38);
  background: rgba(0,229,255,0.09);
  box-shadow:
    0 0 26px rgba(0,229,255,0.2),
    inset 0 0 22px rgba(0,229,255,0.05);
}
.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #fff;
}
.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* B2B promo (visual + chips) */
.nyxx-b2b-promo {
  margin: 40px 0 32px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.04) 0%, transparent 45%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(2, 8, 6, 0.92)),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(0, 255, 136, 0.03) 31px, rgba(0, 255, 136, 0.03) 32px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(0, 255, 136, 0.03) 31px, rgba(0, 255, 136, 0.03) 32px);
  border: 1px solid rgba(0, 255, 136, 0.14);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.nyxx-b2b-promo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.12fr);
  gap: clamp(24px, 4vw, 48px);
  /* end: нижний край мокапа совпадает с нижним краем блока текста (кнопка), если колонка с картинкой ниже */
  align-items: end;
}
.nyxx-b2b-promo__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.nyxx-b2b-promo__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acid);
}
.nyxx-b2b-promo__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}
.nyxx-b2b-promo__lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 34em;
}
.nyxx-b2b-promo__cta.b2b-cta {
  align-self: flex-start;
  margin: 6px 0 0;
  max-width: none;
  padding: 14px 22px;
  font-size: 0.7rem;
  background: transparent;
  color: var(--acid);
  border: 1px solid rgba(0, 255, 136, 0.55);
  box-shadow: none;
}
.nyxx-b2b-promo__cta.b2b-cta:hover {
  background: rgba(0, 255, 136, 0.08);
  border-color: var(--acid);
}
.nyxx-b2b-promo__visual {
  position: relative;
  min-width: 0;
  perspective: 1000px;
}
.nyxx-b2b-promo__zoom-hit {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  border-radius: 14px;
  font: inherit;
  color: inherit;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.nyxx-b2b-promo__zoom-hit:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}
.nyxx-b2b-promo__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 255, 136, 0.06);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.nyxx-b2b-promo__visual:hover .nyxx-b2b-promo__img {
  transform: rotateY(-2deg) rotateX(0deg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 136, 0.08);
}
@media (max-width: 900px) {
  .nyxx-b2b-promo__grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .nyxx-b2b-promo__visual {
    order: -1;
  }
  .nyxx-b2b-promo__img {
    transform: none;
  }
  .nyxx-b2b-promo__visual:hover .nyxx-b2b-promo__img {
    transform: none;
  }
}

/* B2B showcase */
.nyxx-b2b-showcase {
  margin: 48px 0 56px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(2,8,6,0.85));
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
  text-align: center;
}
.nyxx-b2b-showcase h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 14px;
  color: #fff;
}
.nyxx-b2b-showcase p {
  max-width: 640px;
  margin: 0 auto 22px;
  color: var(--text-muted);
  font-size: 1rem;
}
.nyxx-b2b-showcase .b2b-cta {
  max-width: 360px;
  margin: 0 auto;
  padding: 16px 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, rgba(139,92,246,0.35), rgba(0,255,136,0.2));
  border: 1px solid rgba(255,255,255,0.15);
}

/* Terminal welcome card (glass / design match) */
.terminal-frame.terminal-welcome {
  margin: 40px 0 48px;
  padding: clamp(32px, 4.5vw, 42px);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(165deg, rgba(10, 28, 20, 0.78), rgba(2, 8, 6, 0.58));
  border: 1px solid rgba(0, 255, 136, 0.45);
  box-shadow:
    0 0 0 1px rgba(0, 255, 136, 0.06) inset,
    0 28px 72px rgba(0, 0, 0, 0.55),
    0 0 56px rgba(0, 255, 136, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.terminal-welcome__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  line-height: 1.45;
  color: #fff;
  margin: 0 0 1rem;
}
.terminal-welcome__sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(220, 240, 232, 0.78);
  margin: 0 0 1.35rem;
}
.terminal-welcome__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.terminal-welcome__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 1.05rem;
}
.terminal-welcome__item:first-child {
  margin-top: 0.2rem;
}
.terminal-welcome__bar {
  flex-shrink: 0;
  width: 3px;
  margin-top: 0.32em;
  align-self: stretch;
  min-height: 2.4em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--acid), rgba(0, 255, 136, 0.28));
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.5);
}
.terminal-welcome__item-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(210, 235, 225, 0.9);
}
.terminal-welcome__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--acid);
}
.terminal-welcome__closing {
  margin: 1.25rem 0 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  font-style: italic;
  color: rgba(200, 230, 218, 0.72);
}
.terminal-welcome__btn.welcome-btn.btn-destroy {
  display: block;
  width: 100%;
  margin-top: clamp(22px, 3vw, 30px);
  padding: 18px 24px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.72rem, 1.8vw, 0.84rem);
  letter-spacing: 0.14em;
  border-radius: 999px;
  cursor: pointer;
  color: var(--void);
  border: none;
  overflow: hidden;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.32), transparent 42%), linear-gradient(135deg, var(--acid), #00b870);
  box-shadow:
    0 0 22px rgba(0, 255, 136, 0.55),
    0 0 52px rgba(0, 255, 136, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.terminal-welcome__btn.welcome-btn.btn-destroy:hover {
  transform: scale(1.01);
  box-shadow:
    0 0 28px rgba(0, 255, 136, 0.7),
    0 0 64px rgba(0, 255, 136, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Home outro */
.home-outro {
  text-align: center;
  padding: 72px 20px 48px;
}
.home-outro .statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Как на старом landing: нижняя CTA + футер секций */
.shadow-btn {
  display: block;
  width: 380px;
  max-width: 90vw;
  margin: 60px auto 0;
  padding: 24px 32px;
  font-size: 1.65em;
  background: linear-gradient(145deg, rgba(0, 30, 0, 0.7), rgba(0, 20, 0, 0.9));
  color: #00cc66;
  font-family: "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid rgba(0, 255, 136, 0.3);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 2.6px;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.35);
  box-shadow:
    0 6px 18px rgba(0, 30, 15, 0.65),
    inset 0 0 12px rgba(0, 204, 102, 0.09);
  transition: all 0.26s cubic-bezier(0.18, 0.89, 0.32, 1.15);
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  user-select: none;
  box-sizing: border-box;
}
.shadow-btn:hover {
  border-color: var(--acid);
  box-shadow:
    0 12px 35px rgba(0, 255, 136, 0.42),
    inset 0 0 22px rgba(0, 255, 136, 0.22);
  transform: translateY(-3px);
  color: #00ff99;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.6);
}
.shadow-btn:active {
  transform: translateY(2px) scale(0.99);
  box-shadow:
    0 4px 14px rgba(0, 25, 12, 0.6),
    inset 0 0 10px rgba(0, 204, 102, 0.12);
}
.shadow-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00cc66, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: scaleX(0.85);
  transform-origin: center;
}
.shadow-btn:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Home outro — «Скрыться в тени»: pill, стекло, щит + белый капс (не трогает .mobile-download-wrap .shadow-btn) */
.home-outro > .shadow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.5vw, 16px);
  width: fit-content;
  min-width: min(440px, 94vw);
  max-width: 94vw;
  margin: 40px auto 0;
  padding: 14px 32px 14px 26px;
  border-radius: 999px;
  background: rgba(10, 14, 16, 0.52);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid rgba(0, 255, 136, 0.55);
  color: #fff;
  font-family: "Rajdhani", var(--font-mono), ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.72rem, 2.4vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: none;
  line-height: 1.15;
  box-shadow:
    0 0 0 1px rgba(0, 255, 136, 0.12),
    0 0 32px rgba(0, 255, 136, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 28px rgba(0, 255, 136, 0.07);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.22s ease;
  overflow: visible;
}
.home-outro > .shadow-btn::after {
  display: none;
}
.home-outro > .shadow-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 136, 0.9);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 255, 136, 0.28),
    0 0 44px rgba(0, 255, 136, 0.38),
    inset 0 0 36px rgba(0, 255, 136, 0.12);
}
.home-outro > .shadow-btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 0 20px rgba(0, 255, 136, 0.2),
    inset 0 0 20px rgba(0, 255, 136, 0.06);
}
.home-outro > .shadow-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
.home-outro > .shadow-btn .shadow-btn__shield {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--acid);
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.55));
}
.home-outro > .shadow-btn .shadow-btn__shield svg {
  display: block;
  width: 100%;
  height: 100%;
}
.home-outro > .shadow-btn .shadow-btn__label {
  flex: 0 1 auto;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .home-outro > .shadow-btn {
    min-width: 0;
    width: min(100%, 380px);
    padding: 12px 22px 12px 18px;
    font-size: clamp(0.62rem, 3.1vw, 0.78rem);
    letter-spacing: 0.12em;
    gap: 10px;
  }
  .home-outro > .shadow-btn .shadow-btn__shield {
    width: 24px;
    height: 24px;
  }
  .home-outro > .shadow-btn .shadow-btn__label {
    white-space: normal;
    max-width: 72vw;
  }
}

a.shadow-btn {
  text-decoration: none;
  color: #00cc66;
}
a.shadow-btn:hover {
  color: #00ff99;
}
@media (max-width: 768px) {
  .shadow-btn {
    width: 92%;
    padding: 22px 28px;
    font-size: 1.45em;
    letter-spacing: 2.2px;
  }
}

/* Мобильная секция: кнопка скачивания по центру внизу страницы */
.mobile-download-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
}

/* Мобильная секция: CTA скачивания (отдельно от .shadow-btn в outro) */
.mobile-download-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  min-width: min(300px, 90vw);
  max-width: min(420px, 94vw);
  padding: 20px 40px 22px;
  text-decoration: none;
  text-align: center;
  border-radius: 20px;
  position: relative;
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.1) 0%, transparent 42%),
    linear-gradient(160deg, rgba(12, 22, 20, 0.94), rgba(3, 10, 8, 0.92));
  border: 1px solid rgba(0, 255, 136, 0.42);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 14px 48px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(0, 255, 136, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-download-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(0, 255, 136, 0.35), transparent 38%, rgba(0, 229, 255, 0.2) 72%, transparent);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.mobile-download-cta > span {
  position: relative;
  z-index: 1;
}
.mobile-download-cta__pref {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 255, 136, 0.82);
  line-height: 1.2;
}
.mobile-download-cta__platform {
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 4.5vw, 1.72rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.05;
  background: linear-gradient(95deg, #f4fff8 0%, var(--acid) 42%, #7af0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(0, 255, 136, 0.4));
}
.mobile-download-cta:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 136, 0.78);
  box-shadow:
    0 0 0 1px rgba(0, 255, 136, 0.15),
    0 18px 56px rgba(0, 0, 0, 0.5),
    0 0 52px rgba(0, 255, 136, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}
.mobile-download-cta:hover::before {
  opacity: 0.85;
}
.mobile-download-cta:active {
  transform: translateY(-1px) scale(0.99);
}
.mobile-download-cta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-download-cta {
    transition: none;
  }
  .mobile-download-cta:hover,
  .mobile-download-cta:active {
    transform: none;
  }
}
@media (max-width: 380px) {
  .mobile-download-cta {
    padding: 18px 28px 20px;
    min-width: 0;
    width: 100%;
  }
  .mobile-download-cta__pref {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }
}

.footer.site-section-footer {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  padding: 35px 16px 0;
  color: var(--acid);
  font-family: "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  border-top: 2px solid transparent;
  position: relative;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
  text-transform: uppercase;
  animation: footerGlitch 3s infinite, neonGlow 2s ease-in-out infinite alternate;
}
.footer.site-section-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acid), transparent);
  box-shadow: 0 0 15px var(--acid);
  animation: neonPulse 2s infinite;
}
@keyframes footerGlitch {
  0%,
  100% {
    transform: translate(0);
  }
  10% {
    transform: translate(-2px, 2px);
    text-shadow: 2px -2px 0 var(--cyan), -2px 2px 0 #00ff41;
  }
  20% {
    transform: translate(-2px, -2px);
    text-shadow: -2px 2px 0 var(--cyan), 2px -2px 0 #00ff41;
  }
  30% {
    transform: translate(2px, 2px);
    text-shadow: 2px 2px 0 var(--cyan), -2px -2px 0 #00ff41;
  }
  40% {
    transform: translate(2px, -2px);
    text-shadow: -2px -2px 0 var(--cyan), 2px 2px 0 #00ff41;
  }
  50% {
    transform: translate(0);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
  }
}
@keyframes neonGlow {
  from {
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.75);
  }
  to {
    text-shadow: 0 0 22px rgba(0, 255, 136, 1), 0 0 36px rgba(0, 255, 136, 0.45);
  }
}
@keyframes neonPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .footer.site-section-footer {
    margin-top: 50px;
    padding-top: 24px;
    font-size: 0.95em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer.site-section-footer {
    animation: none;
  }
  .footer.site-section-footer::before {
    animation: none;
  }
  .shadow-btn {
    transition: none;
  }
  .shadow-btn:hover {
    transform: none;
  }
}

/* Mobile page */
.mobile-page { padding-bottom: 48px; }
/* .mobile-page-title — типографика в общем блоке с #contacts-* / #donate-* .header */
.mobile-block { margin-bottom: 64px; }
.mobile-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 900px) {
  .mobile-block-grid { grid-template-columns: 1fr; }
}
.mobile-block-text h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #fff;
}
.mobile-block-text p { margin-bottom: 12px; color: var(--text-muted); font-size: 0.95rem; }

.mobile-block-carousel-wrap {
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(2, 10, 8, 0.6);
  border: 1px solid rgba(0,255,136,0.12);
}
.mobile-carousel {
  position: relative;
  outline: none;
}
.mobile-carousel-viewport { overflow: hidden; border-radius: 20px; }
.mobile-carousel-track { display: flex; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.mobile-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.mobile-carousel-slide img {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.mobile-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}
.mobile-carousel-nav:hover { background: rgba(0,255,136,0.2); border-color: var(--acid); }
.mobile-carousel-nav--prev { left: 8px; }
.mobile-carousel-nav--next { right: 8px; }
.mobile-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.mobile-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.mobile-carousel-dot[aria-selected="true"] {
  background: var(--acid);
  transform: scale(1.25);
  box-shadow: 0 0 12px var(--acid-dim);
}

/* Заголовки секций: мобильная версия, контакты, донат — один размер как .mobile-page-title */
#contacts-ru .header,
#contacts-en .header,
#donate-ru .header,
#donate-en .header,
.mobile-page-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 32px 0 40px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(90deg, #fff, var(--acid));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.contact-item { max-width: 520px; margin: 0 auto 16px; }
.contact-item-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, transform 0.25s;
}
.contact-body {
  flex: 1;
  min-width: 0;
}
.contact-item-inner--donate {
  align-items: center;
}
.contact-item-inner--donate .contact-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.contact-item-inner:hover {
  border-color: rgba(0,255,136,0.3);
  transform: translateX(4px);
}
.contact-icon { width: 48px; height: 48px; color: var(--acid); flex-shrink: 0; }
.contact-icon svg { width: 100%; height: 100%; }
.contact-label { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; color: var(--text-muted); }
.contact-link { color: #fff; text-decoration: none; font-weight: 600; }
.contact-link:hover { color: var(--acid); }

/* Donate — как контакты: три .contact-item + подводка и сноска */
.donate-lead {
  max-width: 520px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}
#donate-ru .contact-item-inner--donate .donate-address-elide,
#donate-en .contact-item-inner--donate .donate-address-elide {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 2.1vw, 0.84rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  cursor: default;
}
.donate-coin-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.donate-coin-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}
.donate-footnote {
  max-width: 520px;
  margin: 16px auto 36px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(200, 240, 228, 0.45);
}
.donate-copy-btn--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 255, 136, 0.28);
  background: rgba(0, 255, 136, 0.06);
  color: var(--acid);
}
.donate-copy-icon-inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.donate-copy-svg {
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
}
.donate-copy-svg--done {
  display: none;
}
.donate-copy-btn--icon.copied .donate-copy-svg--idle {
  display: none;
}
.donate-copy-btn--icon.copied .donate-copy-svg--done {
  display: block;
}
.copy-btn {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,136,0.4);
  background: rgba(0,255,136,0.1);
  color: var(--acid);
  cursor: pointer;
  transition: background 0.2s;
}
.copy-btn:hover { background: rgba(0,255,136,0.2); }
.copy-btn.copied { background: var(--acid); color: var(--void); }

/* Иконка копирования: тот же диаметр, что и .donate-coin-icon (48px), по центру строки карточки */
.copy-btn.donate-copy-btn--icon {
  padding: 0;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  letter-spacing: 0;
  line-height: 0;
  flex-shrink: 0;
  align-self: center;
}
.copy-btn.donate-copy-btn--icon:hover {
  background: rgba(0, 255, 136, 0.14);
  border-color: rgba(0, 255, 136, 0.45);
}
.copy-btn.donate-copy-btn--icon.copied {
  background: var(--acid);
  color: var(--void);
  border-color: var(--acid);
}

/* Player */
.cyber-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  padding: 10px 18px 14px;
  background: rgba(2, 6, 5, 0.88);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,255,136,0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: padding 0.25s ease, border-color 0.25s ease;
}
.cyber-player.is-collapsed {
  padding: 8px 16px 10px;
}
@media (max-width: 768px) { .cyber-player { display: none; } }

.player-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
}
.player-collapse-toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 136, 0.35);
  background: rgba(0, 255, 136, 0.08);
  color: var(--acid);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}
.player-collapse-toggle:hover {
  background: rgba(0, 255, 136, 0.18);
  border-color: rgba(0, 229, 255, 0.45);
}
.player-collapse-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.track-name {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--acid);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-row-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.player-row-top-actions .player-btn {
  width: 38px;
  height: 38px;
  font-size: 0.85rem;
}
.player-mute-mobile {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.85;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}
.player-mute-mobile:hover { background: rgba(255,255,255,0.06); }

.cyber-player-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.25s ease;
  max-height: 320px;
  opacity: 1;
}
.cyber-player.is-collapsed .cyber-player-body {
  max-height: 0;
  opacity: 0;
  margin: 0;
  gap: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .cyber-player-body { transition: none; }
  .cyber-player.is-collapsed .cyber-player-body { display: none; }
}

.player-progress {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  cursor: pointer;
}
.player-progress-fill {
  height: 100%;
  width: var(--player-progress, 0%);
  background: linear-gradient(90deg, var(--violet), var(--acid), var(--cyan));
  border-radius: 2px;
  transition: width 0.12s linear;
}
.player-time-row {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
}
.visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
  width: 100%;
}
.visualizer-bar {
  flex: 1;
  min-width: 3px;
  border-radius: 2px;
  background: rgba(0,255,136,0.35);
  transition: height 0.05s;
}
.player-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.player-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0,255,136,0.35);
  background: rgba(0,255,136,0.1);
  color: var(--acid);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
}
.player-btn:hover { background: rgba(0,255,136,0.22); transform: scale(1.05); }

/* B2B Modal */
.nyxx-b2b-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nyxx-b2b-overlay.is-open { opacity: 1; pointer-events: auto; }
.nyxx-b2b-modal {
  width: 100%;
  max-width: 420px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(12,24,20,0.98), rgba(2,6,5,0.99));
  border: 1px solid rgba(0,255,136,0.25);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), var(--glow-acid);
  position: relative;
}
.nyxx-b2b-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.nyxx-b2b-modal h2 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 20px; padding-right: 36px; }
.nyxx-b2b-modal label { display: block; font-size: 0.75rem; margin-bottom: 6px; color: var(--text-muted); }
.nyxx-b2b-modal input {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-family: var(--font-body);
}
.nyxx-b2b-modal #nyxxB2bSubmit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--acid), #00a86b);
  color: var(--void);
}

/* B2B promo dashboard lightbox (zoom) */
.nyxx-b2b-promo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 550;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.nyxx-b2b-promo-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nyxx-b2b-promo-lightbox__dialog {
  position: relative;
  max-width: min(96vw, 1280px);
  max-height: 92vh;
  margin: auto;
  cursor: default;
}
.nyxx-b2b-promo-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.75);
}
.nyxx-b2b-promo-lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.nyxx-b2b-promo-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.06);
}
@media (max-width: 520px) {
  .nyxx-b2b-promo-lightbox__close {
    top: 4px;
    right: 4px;
  }
}

.nyxx-b2b-error { color: #f87171; font-size: 0.85rem; margin-top: 8px; display: none; }
.nyxx-b2b-error.is-visible { display: block; }
.nyxx-b2b-success { color: var(--acid); margin-top: 12px; display: none; }
.nyxx-b2b-success.is-visible { display: block; }

/* Scroll reveal */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-scroll-reveal].is-inview {
  opacity: 1;
  transform: none;
}
.scroll-reveal--delay-sm { transition-delay: 0.12s; }
@media (prefers-reduced-motion: reduce) {
  [data-scroll-reveal] { opacity: 1; transform: none; transition: none; }
}
