/* =========================================================
   MAKAROVERSE ALLIANCE — Cinematic-Tech Premium Layer
   Загружается после style.css. Только добор/оверрайды.
   ========================================================= */

:root {
  --pm-violet:  #a855f7;
  --pm-fuchsia: #ec4899;
  --pm-cyan:    #22d3ee;
  --pm-gold:    #f5b942;
  --pm-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- SCROLL PROGRESS: неоновая лента ---------- */
.scroll-progress {
  height: 3px;
  background: linear-gradient(90deg, #a855f7, #ec4899, #22d3ee, #a855f7);
  background-size: 300% 100%;
  animation: pmHue 7s linear infinite;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.55);
}
@keyframes pmHue { to { background-position: 300% 0; } }

/* ---------- ГЛОБАЛЬНАЯ СЕТКА / АТМОСФЕРА ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, black 30%, transparent 75%);
}

/* ---------- PRELOADER: кинематографичный ---------- */
#preloader {
  background:
    radial-gradient(1100px 560px at 50% 18%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(900px 500px at 82% 80%, rgba(34, 211, 238, 0.08), transparent 60%),
    radial-gradient(900px 500px at 12% 78%, rgba(236, 72, 153, 0.08), transparent 60%),
    #050510;
}
.pm-preload {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.pm-pre-logo {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(135deg, #7c3aed, #ec4899 55%, #22d3ee);
  box-shadow: 0 0 70px rgba(168, 85, 247, 0.55), inset 0 0 22px rgba(255, 255, 255, 0.28);
  animation: pmLogoPulse 1.6s ease-in-out infinite;
  position: relative;
}
.pm-pre-logo::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 30px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  animation: pmRings 2s ease-out infinite;
}
.pm-pre-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 54px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
@keyframes pmLogoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@keyframes pmRings {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.pm-pre-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 11px;
  color: #f5f5ff;
  white-space: nowrap;
  overflow: hidden;
}
.pm-pre-name em {
  font-style: normal;
  background: linear-gradient(135deg, #a855f7, #ec4899, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pm-pre-bar {
  width: min(300px, 70vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  overflow: hidden;
}
.pm-pre-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #a855f7, #ec4899, #22d3ee);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.85);
}
.pm-pre-bar.go span {
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}
.pm-pre-tag {
  font-family: var(--pm-mono);
  font-size: 11px;
  letter-spacing: 5px;
  color: rgba(240, 240, 250, 0.32);
  text-transform: uppercase;
}

/* ---------- HERO: SCANLINE + ВИНЬЕТКА ---------- */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 42%, transparent 45%, rgba(5, 5, 16, 0.55) 100%);
}
.pm-aurora {
  position: absolute;
  inset: -15%;
  z-index: 0;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  background:
    radial-gradient(38% 45% at 22% 26%, rgba(124, 58, 237, 0.6), transparent 65%),
    radial-gradient(32% 40% at 80% 18%, rgba(236, 72, 153, 0.4), transparent 65%),
    radial-gradient(45% 42% at 62% 84%, rgba(34, 211, 238, 0.32), transparent 65%);
  animation: pmAurora 16s ease-in-out infinite alternate;
}
@keyframes pmAurora {
  0% { transform: translate(-4%, -2%) scale(1.02) rotate(-2deg); }
  100% { transform: translate(4%, 3%) scale(1.06) rotate(2deg); }
}
.pm-beams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.pm-beams i {
  position: absolute;
  top: -40%;
  width: 2px;
  height: 170%;
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.55) 35%, rgba(34, 211, 238, 0.4) 62%, transparent);
  transform: rotate(18deg);
  opacity: 0;
  animation: pmSweep 11s ease-in-out infinite;
}
.pm-beams i:nth-child(1) { left: 16%; animation-delay: 0s; }
.pm-beams i:nth-child(2) { left: 46%; animation-delay: 3.5s; }
.pm-beams i:nth-child(3) { left: 72%; animation-delay: 6.8s; }
.pm-beams i:nth-child(4) { left: 30%; background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.5), rgba(236, 72, 153, 0.35), transparent); animation-delay: 9s; }
@keyframes pmSweep {
  0% { opacity: 0; transform: translateX(-28vw) rotate(18deg); }
  12% { opacity: 0.55; }
  30% { opacity: 0; transform: translateX(28vw) rotate(18deg); }
  100% { opacity: 0; transform: translateX(28vw) rotate(18deg); }
}
#netCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}
.hero-grid {
  z-index: 1;
}
.pm-rail {
  position: absolute;
  left: 0;
  right: 0;
  height: 22px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}
.pm-rail-top {
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 22px, transparent 22px 44px);
  box-shadow: 0 1px 0 rgba(168, 85, 247, 0.12);
}
.pm-rail-bottom {
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 22px, transparent 22px 44px);
  box-shadow: 0 -1px 0 rgba(34, 211, 238, 0.12);
}
.pm-vf {
  position: absolute;
  inset: 10vh 4.5vw;
  z-index: 1;
  pointer-events: none;
}
.pm-vf i {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(168, 85, 247, 0.45);
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
}
.pm-vf .tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.pm-vf .tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.pm-vf .bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.pm-vf .br { bottom: 0; right: 0; border-left: none; border-top: none; }
.pm-rec {
  position: absolute;
  top: calc(var(--nav-height) + 16px);
  right: clamp(16px, 6vw, 84px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  font-family: var(--pm-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(240, 240, 250, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 8, 24, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pm-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f43f5e;
  animation: pmRecBlink 1.4s ease-in-out infinite;
}
.pm-rec-sub {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(240, 240, 250, 0.3);
}
@keyframes pmRecBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.5); }
  50% { opacity: 0.55; box-shadow: 0 0 0 7px rgba(244, 63, 94, 0); }
}
.holo-sweep {
  background-size: 220% 100%;
  animation: pmGradShift 7s ease-in-out infinite;
}
.title-gradient.holo-sweep,
.typed-text,
.text-gradient {
  background-size: 220% 100%;
  animation: pmGradShift 7s ease-in-out infinite;
}
@keyframes pmGradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-badge {
  font-family: var(--pm-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  border-color: rgba(168, 85, 247, 0.28);
  background: rgba(10, 10, 30, 0.45);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.08), inset 0 0 18px rgba(168, 85, 247, 0.06);
}

/* ---------- КНОПКИ: блеск ---------- */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 140%; }

/* ---------- СЕКЦИИ: разделители и сцена-теги ---------- */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 88%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), rgba(34, 211, 238, 0.18), transparent);
  pointer-events: none;
}
.section-tag {
  position: relative;
  letter-spacing: 4px;
  font-family: var(--pm-mono);
  color: var(--pm-violet);
}
.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.6));
}
.section-tag::before { right: calc(100% + 12px); }
.section-tag::after { left: calc(100% + 12px); transform: scaleX(-1); }
.section-title { letter-spacing: -0.5px; }
.section-subtitle { color: rgba(220, 220, 240, 0.72); }

/* ---------- КАРТОЧКИ КОМПАНИЙ: неоновая кромка + блик-гларе ---------- */
.company-card {
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    radial-gradient(700px 300px at var(--mx, 50%) var(--my, 0%), rgba(168, 85, 247, 0.12), transparent 60%),
    linear-gradient(160deg, rgba(20, 18, 46, 0.82), rgba(9, 9, 28, 0.7));
}
.company-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 40%, rgba(168, 85, 247, 0.22) 50%, rgba(34, 211, 238, 0.18) 52%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.9s ease;
}
.company-card:hover::after { transform: translateX(130%); }
.company-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 18px 60px rgba(124, 58, 237, 0.22), 0 0 0 1px rgba(168, 85, 247, 0.15);
}
@media (hover: hover) and (pointer: fine) {
  .company-card {
    transform-style: preserve-3d;
    will-change: transform;
  }
  .company-card:hover {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  }
}
.company-card.release {
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
}
.company-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.22);
  transform: translateZ(18px);
}
.company-name { letter-spacing: 0.2px; }
.company-link:hover { color: var(--pm-cyan); }

/* ---------- ФИЧА КАРТОЧКИ ---------- */
.feature-card {
  position: relative;
  border: 1px solid rgba(168, 85, 247, 0.12);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pm-violet), var(--pm-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  background: var(--bg-card-hover);
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.18);
}

/* ---------- CONTACT / ФОРМА ---------- */
.contact-info-card,
.contact-form-wrap {
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(124, 58, 237, 0.08), transparent 60%),
    var(--bg-card);
}

/* ---------- ЛЕНТА-БЕГУЩАЯ СТРОКА (MARQUEE) ---------- */
.pm-ticker {
  position: relative;
  overflow: hidden;
  padding: 17px 0;
  border-top: 1px solid rgba(168, 85, 247, 0.16);
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
  background:
    linear-gradient(90deg, #050510 0%, rgba(14, 12, 40, 0.6) 15%, rgba(14, 12, 40, 0.6) 85%, #050510 100%),
    rgba(8, 8, 26, 0.7);
}
.pm-ticker-track {
  display: flex;
  width: max-content;
  animation: pmTicker 40s linear infinite;
}
.pm-ticker:hover .pm-ticker-track { animation-play-state: paused; }
.pm-ticker-set {
  display: flex;
  align-items: center;
  padding-right: 26px;
}
.pm-ticker-cell {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 4px;
  color: rgba(240, 240, 250, 0.3);
  white-space: nowrap;
}
.pm-ticker-star {
  font-style: normal;
  color: var(--pm-violet);
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.9);
  font-size: 13px;
}
@keyframes pmTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid rgba(168, 85, 247, 0.14); }
.footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), rgba(34, 211, 238, 0.25), transparent);
}

/* ---------- СТРАНИЦА ОСНОВАТЕЛЯ: премиум-артикул ---------- */
.company-hero-title {
  text-shadow: 0 2px 46px rgba(124, 58, 237, 0.35);
}
.company-hero-tag {
  font-family: var(--pm-mono);
  letter-spacing: 3px;
}
.company-hero-tag::before {
  content: '[ ';
  opacity: 0.6;
}
.company-hero-tag::after {
  content: ' ]';
  opacity: 0.6;
}
.pm-article .art-breadcrumbs {
  font-family: var(--pm-mono);
  letter-spacing: 1px;
}
.pm-article .art-breadcrumbs .cur {
  color: #c4b5fd;
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.5);
}
.pm-article .art-body h2 {
  position: relative;
  padding-bottom: 14px;
}
.pm-article .art-body h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 64px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}
.pm-article .art-body h3 {
  position: relative;
  padding-left: 16px;
}
.pm-article .art-body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #a855f7, #22d3ee);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}
.pm-article .art-body blockquote {
  position: relative;
  border-left: 3px solid #a855f7;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(34, 211, 238, 0.07) 62%);
  box-shadow: 0 10px 44px rgba(124, 58, 237, 0.14);
}
.pm-article .art-body blockquote::before {
  content: '❝';
  position: absolute;
  left: 16px;
  top: 4px;
  font-size: 30px;
  line-height: 1;
  color: rgba(168, 85, 247, 0.35);
  pointer-events: none;
}
.pm-article .art-body blockquote p:first-child {
  padding-left: 36px;
}
.pm-article .art-body th {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(34, 211, 238, 0.1));
}
.pm-article .art-body .table-wrap {
  border-color: rgba(168, 85, 247, 0.2);
}
.pm-article .art-meta span {
  font-family: var(--pm-mono);
  letter-spacing: 1px;
}
.pm-article .art-author {
  position: relative;
  overflow: hidden;
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: 0 14px 50px rgba(124, 58, 237, 0.12);
}
.pm-article .art-author::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a855f7, #22d3ee, transparent);
  opacity: 0.9;
}
.pm-article .art-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(168, 85, 247, 0.16);
}
.pm-article .art-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 42%, rgba(168, 85, 247, 0.16) 50%, rgba(34, 211, 238, 0.12) 52%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.9s ease;
}
.pm-article .art-card:hover::after { transform: translateX(130%); }
.pm-article .art-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 16px 50px rgba(124, 58, 237, 0.18);
}
.pm-article .company-hero {
  align-items: flex-end;
}
@media (max-width: 900px) {
  .pm-article .pm-vf { display: none; }
}
@media (max-width: 640px) {
  .pm-article .pm-rail { display: none; }
  .pm-article .art-body blockquote::before { display: none; }
  .pm-article .art-body blockquote p:first-child { padding-left: 0; }
}

/* ---------- СТРАНИЦЫ КОМПАНИЙ: премиум-описание ---------- */
.pm-company .company-hero { align-items: flex-end; }
.pm-company .back-link {
  font-family: var(--pm-mono);
  letter-spacing: 1px;
}
.pm-company .company-hero-tag {
  font-family: var(--pm-mono);
  letter-spacing: 3px;
}
.pm-company .company-hero-tag::before { content: '[ '; opacity: 0.6; }
.pm-company .company-hero-tag::after { content: ' ]'; opacity: 0.6; }
.pm-company .company-hero-title { text-shadow: 0 2px 46px rgba(124, 58, 237, 0.35); }
.pm-company .company-hero-icon {
  box-shadow: 0 0 44px rgba(124, 58, 237, 0.35), inset 0 0 20px rgba(34, 211, 238, 0.12);
}
.pm-company .company-main-content h2 {
  position: relative;
  padding-bottom: 14px;
}
.pm-company .company-main-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 64px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}
.pm-company .company-main-content h3 {
  position: relative;
  padding-left: 16px;
}
.pm-company .company-main-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #a855f7, #22d3ee);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}
.pm-company .company-main-content ul {
  list-style: none;
  padding-left: 0;
}
.pm-company .company-main-content ul li {
  position: relative;
  padding-left: 22px;
}
.pm-company .company-main-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #22d3ee, #a855f7);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}
.pm-company .company-main-content ul li strong { color: #c4b5fd; }
.pm-company .company-main-content > p:first-of-type {
  font-size: 1.08rem;
}
.pm-company .company-main-content > p:first-of-type strong {
  color: #fff;
  text-shadow: 0 0 24px rgba(168, 85, 247, 0.4);
}
.pm-company .sidebar-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(168, 85, 247, 0.18);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.1), rgba(20, 18, 46, 0.5));
}
.pm-company .sidebar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a855f7, #22d3ee, transparent);
}
.pm-company .sidebar-list li {
  font-family: var(--pm-mono);
  letter-spacing: 0.5px;
}
.pm-company .sidebar-link {
  border-color: rgba(168, 85, 247, 0.16);
}
.pm-company .sidebar-link:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.18);
  background: rgba(124, 58, 237, 0.08);
}
.pm-company .other-company-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(168, 85, 247, 0.14);
}
.pm-company .other-company-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 42%, rgba(168, 85, 247, 0.14) 50%, rgba(34, 211, 238, 0.1) 52%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.9s ease;
}
.pm-company .other-company-card:hover::after { transform: translateX(130%); }
.pm-company .other-company-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.2);
  transform: translateY(-4px);
}
@media (max-width: 900px) {
  .pm-company .pm-vf { display: none; }
}
@media (max-width: 640px) {
  .pm-company .pm-rail { display: none; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .pm-ticker-track,
  #netCanvas,
  .pm-aurora,
  .pm-beams i,
  .scroll-progress,
  .navbar::before { animation: none !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .pm-vf { display: none; }
  .pm-rail { height: 16px; }
  .pm-rec { top: calc(var(--nav-height) + 10px); right: 14px; padding: 5px 10px; letter-spacing: 2px; }
}
@media (max-width: 560px) {
  .pm-rec-sub { display: none; }
  .pm-ticker-cell { font-size: 13px; letter-spacing: 3px; }
  .pm-rail { display: none; }
  .pm-pre-name { font-size: 17px; letter-spacing: 7px; }
}

/* =========================================================
   PREMIUM NAVBAR — массивная шапка
   ========================================================= */
.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.9), rgba(34, 211, 238, 0.9), rgba(236, 72, 153, 0.9), transparent);
  background-size: 240% 100%;
  animation: pmHue 9s linear infinite;
}
.navbar.scrolled {
  background: linear-gradient(180deg, rgba(9, 9, 28, 0.96), rgba(5, 5, 16, 0.94));
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border-bottom-color: rgba(168, 85, 247, 0.35);
  box-shadow:
    0 1px 0 rgba(34, 211, 238, 0.4),
    0 0 34px rgba(124, 58, 237, 0.22),
    0 22px 60px rgba(0, 0, 0, 0.6);
}
.navbar.scrolled::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.7), rgba(168, 85, 247, 0.7), transparent);
}

/* ---- Логотип: крупнее, с неоном ---- */
.logo-icon {
  width: 46px;
  height: 46px;
  font-size: 22px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.4),
    0 0 26px rgba(124, 58, 237, 0.5),
    inset 0 0 12px rgba(255, 255, 255, 0.22);
}
.logo-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #ffffff 10%, #c4b5fd 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- Кнопки навигации: чёткие пилюли ---- */
.nav-container {
  gap: 26px;
}
.nav-links {
  gap: 6px;
  flex-wrap: nowrap;
}
.nav-link {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  border-color: rgba(168, 85, 247, 0.55);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(34, 211, 238, 0.08));
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.28), inset 0 0 10px rgba(168, 85, 247, 0.08);
}
.nav-link.active {
  border-color: rgba(34, 211, 238, 0.5);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(34, 211, 238, 0.12));
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.75);
}
.nav-link.active::after {
  display: none;
}

.nav-link-accent {
  border-color: rgba(168, 85, 247, 0.6) !important;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.32), rgba(236, 72, 153, 0.2)) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4), inset 0 0 10px rgba(168, 85, 247, 0.2) !important;
}
.nav-link-accent:hover {
  border-color: rgba(34, 211, 238, 0.7) !important;
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.45), inset 0 0 12px rgba(34, 211, 238, 0.12) !important;
}

/* ---- Переключатель языка: чётче ---- */
.lang-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #e5e0f0;
  box-shadow: inset 0 0 8px rgba(168, 85, 247, 0.06);
}
.lang-btn:hover {
  border-color: rgba(168, 85, 247, 0.6);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.3);
}
.lang-dropdown {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 58, 237, 0.15);
}
.lang-option { border-radius: 999px; }
.lang-option.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(34, 211, 238, 0.12));
  color: #ffffff;
  box-shadow: inset 0 0 12px rgba(168, 85, 247, 0.12);
}

/* ---- Бургер (мобильный): ярче ---- */
.nav-toggle span {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.7);
}