* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --page-bg: #000000;
  --page-glow: radial-gradient(circle at center, rgba(90, 140, 255, 0.35), rgba(0, 0, 0, 0) 55%);
  --logo-glow: none;
  --block-border-gradient: linear-gradient(120deg, rgba(110, 161, 255, 0.35), rgba(168, 135, 255, 0.35), rgba(154, 227, 255, 0.35));
  --header-height: 40px;
  --header-gradient: linear-gradient(90deg, rgba(12, 20, 48, 0.86), rgba(20, 36, 84, 0.86), rgba(42, 30, 96, 0.86));
  --text-strong: rgba(233, 236, 247, 0.95);
  --text-muted: rgba(233, 236, 247, 0.7);
  --border-soft: rgba(130, 155, 220, 0.28);
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.22);
  --footer-bg:
    radial-gradient(circle at 16% 24%, rgba(82, 167, 255, 0.06), transparent 46%),
    radial-gradient(circle at 84% 20%, rgba(176, 138, 242, 0.05), transparent 48%),
    linear-gradient(
      122deg,
      rgba(5, 16, 64, 0.05) 0%,
      rgba(8, 46, 122, 0.055) 22%,
      rgba(22, 58, 132, 0.05) 44%,
      rgba(40, 44, 132, 0.05) 68%,
      rgba(30, 70, 150, 0.05) 84%,
      rgba(20, 54, 128, 0.05) 100%
    );
  --footer-border: rgba(128, 159, 255, 0.24);
  --footer-glow-line: linear-gradient(90deg, rgba(110, 157, 255, 0), rgba(98, 205, 255, 0.9) 26%, rgba(149, 152, 255, 0.92) 52%, rgba(162, 150, 244, 0.86) 76%, rgba(176, 164, 246, 0));
  --toggle-track: #1b1f2b;
  --toggle-border: rgba(160, 175, 220, 0.4);
  --toggle-thumb: #f7f8ff;
  --footer-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --arrow-shadow: 0 8px 18px rgba(140, 64, 160, 0.35);
  --card-sat: 1;
}

body[data-theme="light"] {
  --page-bg: #f8f9fc;
  --page-glow: radial-gradient(circle at center, rgba(120, 175, 255, 0.42), rgba(255, 255, 255, 0) 100%);
  --logo-glow: radial-gradient(circle at center, rgba(88, 145, 255, 0.54) 0%, rgba(88, 145, 255, 0.28) 44%, rgba(88, 145, 255, 0.12) 72%, rgba(88, 145, 255, 0) 94%);
  --block-border-gradient: linear-gradient(120deg, rgba(86, 140, 255, 0.325), rgba(158, 120, 255, 0.325), rgba(120, 210, 255, 0.325));
  --header-gradient: linear-gradient(90deg, rgba(48, 64, 118, 0.78), rgba(64, 88, 150, 0.78), rgba(78, 70, 132, 0.78));
  --text-strong: rgba(28, 32, 46, 0.95);
  --text-muted: rgba(52, 60, 80, 0.75);
  --border-soft: rgba(120, 135, 180, 0.35);
  --shadow-soft: 0 14px 30px rgba(60, 70, 90, 0.16);
  --footer-bg:
    radial-gradient(circle at 18% 26%, rgba(100, 174, 255, 0.06), transparent 46%),
    radial-gradient(circle at 82% 22%, rgba(179, 153, 236, 0.05), transparent 48%),
    linear-gradient(
      122deg,
      rgba(226, 238, 255, 0.05) 0%,
      rgba(198, 230, 255, 0.05) 24%,
      rgba(208, 228, 255, 0.045) 48%,
      rgba(210, 214, 255, 0.05) 72%,
      rgba(196, 234, 255, 0.045) 100%
    );
  --footer-border: rgba(112, 130, 190, 0.28);
  --footer-glow-line: linear-gradient(90deg, rgba(104, 151, 255, 0), rgba(74, 172, 255, 0.82) 30%, rgba(146, 168, 246, 0.84) 56%, rgba(164, 152, 236, 0.8) 78%, rgba(150, 158, 236, 0));
  --toggle-track: #ffffff;
  --toggle-border: rgba(140, 150, 190, 0.6);
  --toggle-thumb: #1c1f2a;
  --footer-shadow: none;
  --arrow-shadow: none;
  --card-sat: 1.35;
  --toggle-label: rgba(255, 255, 255, 0.9);
}

body {
  background: var(--page-bg);
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text-strong);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--page-glow);
  filter: blur(20px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  width: 100%;
  min-height: 100vh;
  padding: calc(3.8vh + var(--header-height)) 6vw 6vh;
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--header-gradient);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
}

.site-header__inner {
  width: min(1200px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.site-header__menu-btn {
  width: 2.1rem;
  height: 1.75rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.24rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  padding: 0.24rem 0.36rem;
}

.site-header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(233, 236, 247, 0.95);
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.site-header__menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header__menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-header__menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 1rem;
  min-width: 230px;
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(10, 16, 36, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
}

.site-header__menu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--block-border-gradient);
  -webkit-mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.site-header__menu.is-open {
  display: flex;
}

.site-header__menu a {
  position: relative;
  z-index: 1;
  color: rgba(233, 236, 247, 0.92);
  text-decoration: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.48rem 0.56rem 0.48rem 1.3rem;
  border-radius: 6px;
}

.site-header__menu a::before {
  content: "\2192";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%) scaleX(0.82);
  transform-origin: left center;
  font-size: 0.66rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

.site-header__menu a:hover,
.site-header__menu a:focus-visible {
  background: linear-gradient(90deg, rgba(42, 78, 152, 0.42), rgba(76, 62, 150, 0.42), rgba(58, 108, 162, 0.4));
  color: #ffffff;
}

.site-header__menu a.is-current,
.site-header__menu a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(56, 96, 176, 0.58), rgba(96, 72, 184, 0.58), rgba(70, 124, 188, 0.56));
  color: #ffffff;
}

body[data-theme="light"] .site-header__menu a:hover,
body[data-theme="light"] .site-header__menu a:focus-visible {
  background: linear-gradient(90deg, rgba(68, 102, 176, 0.42), rgba(100, 80, 182, 0.4), rgba(72, 126, 188, 0.38));
  color: #ffffff;
}

body[data-theme="light"] .site-header__menu a.is-current,
body[data-theme="light"] .site-header__menu a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(72, 108, 188, 0.65), rgba(106, 84, 194, 0.62), rgba(76, 132, 198, 0.6));
  color: #ffffff;
}

.logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  position: relative;
}

.logo-stack::before {
  content: "";
  position: absolute;
  inset: -80px -110px -25px;
  background: var(--logo-glow);
  filter: blur(6px);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.logo {
  width: min(200px, 80vw);
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.logo-caption {
  font-family: "Orbitron", "Michroma", sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 3.1vw, 2.2rem);
  background: linear-gradient(90deg, #f7f8ff, #9ae3ff, #6ea1ff, #a887ff, #f7f8ff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(130, 170, 255, 0.35), 0 0 48px rgba(140, 110, 255, 0.25);
  animation: chromaShift 7s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.logo-tagline {
  margin-top: -0.25rem;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(0.68rem, 1.05vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(183, 218, 255, 0.94), rgba(134, 186, 255, 0.92), rgba(171, 149, 255, 0.9));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.88;
  position: relative;
  z-index: 1;
}

body[data-theme="light"] .logo-tagline {
  background: linear-gradient(90deg, rgba(62, 82, 134, 1), rgba(74, 94, 154, 1), rgba(98, 74, 154, 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
}

.pixels {
  position: absolute;
  left: 50%;
  bottom: 28%;
  width: min(320px, 70vw);
  height: 140px;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: hidden;
}

.topic-grid {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.topic-block {
  position: relative;
  width: 100%;
  display: grid;
  gap: 1.1rem;
  padding: 1.7rem 1.8rem 1.8rem;
  border-radius: 16px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  overflow: hidden;
}

.topic-block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--block-border-gradient);
  -webkit-mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}


.topic-block::after {
  content: none;
}

.topic-block__header {
  display: grid;
  gap: 1.24rem;
  text-align: left;
  position: relative;
}

.topic-block__back-link {
  position: absolute;
  right: 0.35rem;
  top: -0.02rem;
  width: 2.6rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1;
  border: none;
  background: linear-gradient(120deg, rgba(109, 171, 255, 0.2), rgba(167, 131, 255, 0.2), rgba(120, 205, 255, 0.18));
  transition: background 0.25s ease;
}

.topic-block__back-link:hover,
.topic-block__back-link:focus-visible {
  background: linear-gradient(120deg, rgba(109, 171, 255, 0.3), rgba(167, 131, 255, 0.3), rgba(120, 205, 255, 0.28));
}

body[data-theme="light"] .topic-block__back-link {
  color: #ffffff;
  background: linear-gradient(120deg, rgba(62, 94, 176, 0.96), rgba(96, 74, 178, 0.96), rgba(66, 124, 188, 0.94));
}

body[data-theme="light"] .topic-block__back-link:hover,
body[data-theme="light"] .topic-block__back-link:focus-visible {
  background: linear-gradient(120deg, rgba(56, 88, 170, 1), rgba(88, 68, 168, 1), rgba(62, 116, 176, 1));
}

.topic-block__trigger {
  display: grid;
  width: 100%;
  gap: 0.4rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  padding-right: 3.2rem;
  cursor: pointer;
  position: relative;
}

.topic-block__trigger::before {
  content: none;
}


.home-page .topic-block__trigger::after {
  content: "";
  position: absolute;
  right: 0.32rem;
  top: 0.05rem;
  width: 1.97rem;
  height: 1.97rem;
  background: url("img/icon_star_button.png") center/contain no-repeat;
  opacity: 0.7;
  filter: drop-shadow(0 4px 12px rgba(12, 18, 46, 0.28));
  mix-blend-mode: screen;
  transition: opacity 0.22s ease, filter 0.22s ease;
}

.home-page .topic-block__trigger:hover::after {
  animation: iconGlowPulse 1.35s ease-in-out infinite;
}

.home-page .topic-block__trigger:focus-visible::after {
  animation: iconGlowPulse 1.35s ease-in-out infinite;
}

.home-page .topic-block__trigger[aria-controls="block-about"]::after {
  background-image: url("img/icon_starbox.png");
}

.home-page .topic-block__trigger[aria-controls="block-vision"]::after {
  background-image: url("img/icon_starbox.png");
}

.home-page .topic-block__trigger[aria-controls="block-products"]::after {
  background-image: url("img/icon_starbox.png");
  animation: none;
}

.home-page .topic-block__trigger[aria-controls="block-products"]:hover::after,
.home-page .topic-block__trigger[aria-controls="block-products"]:focus-visible::after {
  animation: iconGlowPulse 1.35s ease-in-out infinite;
}

.home-page .topic-block__trigger[aria-controls="block-engineering"]::after {
  background-image: url("img/icon_starbox.png");
}


.topic-block__title {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(0.88rem, 1.76vw, 1.28rem);
  color: var(--text-strong);
  letter-spacing: 0.05em;
}

.topic-block__subtitle {
  color: var(--text-strong);
}

.home-page .topic-block__trigger {
  gap: 1.24rem;
  padding-right: 0;
}

.home-page .topic-block__trigger .topic-block__title {
  padding-right: 3.2rem;
}

.home-page .topic-block__subtitle {
  display: block;
  width: 100%;
}

.products-subtitle {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-self: start;
}

.topic-block__body {
  position: relative;
  z-index: 1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}


.topic-block__body .card-grid {
  margin-top: 1.2rem;
}

.products-page-split {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.35fr);
  gap: 1rem;
  align-items: stretch;
}

.products-page-split .info-card {
  --card-accent-1: rgba(70, 200, 255, 0.07);
  --card-accent-2: rgba(120, 140, 255, 0.045);
  --card-base-1: rgba(18, 28, 58, 0.045);
  --card-base-2: rgba(10, 16, 40, 0.055);
  --card-glow-1: rgba(84, 216, 255, 0.32);
  --card-glow-2: rgba(86, 160, 255, 0.22);
  --card-glow-3: rgba(80, 255, 198, 0.18);
  opacity: 0.88;
  min-height: 220px;
}

body[data-theme="light"] .products-page-split .info-card {
  opacity: 1;
  --card-tint: rgba(34, 56, 96, 0.34);
  --card-sat: 1.65;
  box-shadow: none;
}

body[data-theme="light"] .products-page-split .info-card::before {
  opacity: 0.93;
}

body[data-theme="light"] .products-page-split .info-card__title {
  color: rgba(27, 34, 50, 0.92);
}

.products-page-split .info-card__title {
  color: #E9ECF7B3;
}

.products-page-split:nth-child(2) .info-card {
  --card-accent-1: rgba(0, 220, 190, 0.06);
  --card-accent-2: rgba(255, 120, 170, 0.045);
  --card-base-1: rgba(24, 20, 64, 0.045);
  --card-base-2: rgba(12, 14, 40, 0.055);
  --card-glow-1: rgba(255, 126, 182, 0.26);
  --card-glow-2: rgba(255, 198, 110, 0.22);
  --card-glow-3: rgba(160, 126, 255, 0.2);
}

.products-page-split:nth-child(3) .info-card {
  --card-accent-1: rgba(255, 140, 80, 0.055);
  --card-accent-2: rgba(160, 110, 255, 0.05);
  --card-base-1: rgba(28, 16, 52, 0.045);
  --card-base-2: rgba(12, 12, 36, 0.055);
  --card-glow-1: rgba(255, 164, 98, 0.28);
  --card-glow-2: rgba(98, 188, 255, 0.2);
  --card-glow-3: rgba(122, 120, 255, 0.2);
}

.products-page-split + .products-page-split {
  margin-top: 2rem;
}

.products-page-split__icon {
  position: absolute;
  z-index: 1;
  width: 343px;
  height: 343px;
  object-fit: contain;
  top: 50%;
  right: -172px;
  transform: translateY(-50%);
  margin: 0;
  display: block;
  pointer-events: none;
}

.products-page-split__text {
  display: grid;
  gap: 1rem;
  align-content: center;
  padding-left: 1rem;
  border-left: 1px dotted var(--border-soft);
}

.products-page-split__paragraph {
  font-family: Arial, sans-serif;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Dust particle effect */
.dust-text {
  position: relative;
  display: inline-block;
}

.dust-particle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 2px;
  background: rgba(233, 236, 247, 0.7);
  border-radius: 50%;
  box-shadow: 
    0 0 2px rgba(233, 236, 247, 0.4),
    0 0 4px rgba(233, 236, 247, 0.2);
  opacity: 0;
  pointer-events: none;
  animation: dustBlow var(--duration, 3s) ease-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes dustBlow {
  0% {
    transform: translate(0, -50%) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translate(var(--x, 100px), calc(-50% + var(--y, 0px))) scale(0.2);
    opacity: 0;
  }
}

/* Node graph animation */
.node-graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.node-line {
  stroke: rgba(233, 236, 247, 0.5);
  stroke-width: 2;
  stroke-dasharray: 3, 3;
  animation: dashFlow 3s linear infinite;
}

.node-point {
  fill: rgba(233, 236, 247, 0.9);
  filter: drop-shadow(0 0 5px rgba(233, 236, 247, 0.6));
  animation: nodePulse 3s ease-in-out infinite;
}

.node-point:nth-child(odd) {
  animation-delay: 0.5s;
}

.node-pulse {
  opacity: 0.8;
  filter: drop-shadow(0 0 4px rgba(233, 236, 247, 0.8));
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -6;
  }
}

@keyframes nodePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Video streaming animation */
.video-stream {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.video-frame-static {
  fill: rgba(233, 236, 247, 0.7);
  stroke: rgba(233, 236, 247, 0.9);
  stroke-width: 2;
}

.video-lens {
  fill: none;
  stroke: rgba(233, 236, 247, 0.9);
  stroke-width: 2;
  animation: recordingPulse 2s ease-in-out infinite;
}

.video-frame {
  fill: rgba(233, 236, 247, 0.8);
  stroke: rgba(233, 236, 247, 0.9);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px rgba(233, 236, 247, 0.5));
}

.stream-wave {
  fill: none;
  stroke: rgba(233, 236, 247, 0.7);
  stroke-width: 2;
  stroke-linecap: round;
}

.video-display {
  fill: rgba(233, 236, 247, 0.3);
  stroke: rgba(233, 236, 247, 0.9);
  stroke-width: 2;
}

.video-screen {
  fill: rgba(233, 236, 247, 0.6);
  filter: drop-shadow(0 0 3px rgba(233, 236, 247, 0.4));
}

@keyframes recordingPulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Machine Learning RNN visualization */
.ml-rnn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.rnn-cell {
  fill: rgba(233, 236, 247, 0.18);
  stroke: rgba(233, 236, 247, 0.8);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 4px rgba(233, 236, 247, 0.45));
  animation: rnnCellPulse 3.2s ease-in-out infinite;
}

.rnn-cell:nth-of-type(2n) {
  animation-delay: 0.8s;
}

.rnn-link {
  stroke: rgba(233, 236, 247, 0.65);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 4, 5;
  animation: rnnFlowDash 2.4s linear infinite;
}

.rnn-loop {
  fill: none;
  stroke: rgba(233, 236, 247, 0.58);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 5, 5;
  animation: rnnLoopSpin 3.4s linear infinite;
}

.rnn-io {
  fill: rgba(233, 236, 247, 0.92);
  filter: drop-shadow(0 0 3px rgba(233, 236, 247, 0.55));
}

.rnn-io-link {
  stroke: rgba(233, 236, 247, 0.45);
  stroke-width: 1.3;
  stroke-linecap: round;
}

.rnn-token {
  fill: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 0 5px rgba(233, 236, 247, 0.8));
}

.rnn-state {
  fill: rgba(233, 236, 247, 0.9);
  filter: drop-shadow(0 0 4px rgba(233, 236, 247, 0.7));
}

@keyframes rnnCellPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes rnnFlowDash {
  to {
    stroke-dashoffset: -18;
  }
}

@keyframes rnnLoopSpin {
  to {
    stroke-dashoffset: -20;
  }
}

.ai-transformer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.tf-block {
  fill: rgba(233, 236, 247, 0.14);
  stroke: rgba(233, 236, 247, 0.62);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 4px rgba(170, 214, 255, 0.25));
}

.tf-block--deep {
  fill: rgba(84, 216, 255, 0.14);
  stroke: rgba(84, 216, 255, 0.55);
}

.tf-link {
  stroke: rgba(233, 236, 247, 0.5);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 3, 4;
  animation: tfFlow 2.6s linear infinite;
}

.tf-attn {
  fill: none;
  stroke: rgba(98, 188, 255, 0.7);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 4, 5;
  animation: tfAttnSweep 3.6s linear infinite;
}

.tf-node {
  fill: rgba(233, 236, 247, 0.9);
  filter: drop-shadow(0 0 4px rgba(233, 236, 247, 0.62));
}

.tf-node--out {
  fill: rgba(84, 216, 255, 0.92);
  filter: drop-shadow(0 0 4px rgba(84, 216, 255, 0.7));
}

.tf-pulse {
  fill: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 0 6px rgba(120, 204, 255, 0.84));
}

.microservices-arch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.17;
  pointer-events: none;
  z-index: 0;
}

.ms-gateway {
  fill: rgba(84, 216, 255, 0.18);
  stroke: rgba(84, 216, 255, 0.74);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 5px rgba(84, 216, 255, 0.35));
}

.ms-service {
  fill: rgba(233, 236, 247, 0.14);
  stroke: rgba(233, 236, 247, 0.72);
  stroke-width: 1.3;
  filter: drop-shadow(0 0 4px rgba(190, 220, 255, 0.25));
}

.ms-service--db {
  fill: rgba(255, 166, 120, 0.13);
  stroke: rgba(255, 166, 120, 0.55);
}

.ms-link {
  stroke: rgba(233, 236, 247, 0.56);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 3, 4;
  animation: msLinkFlow 2.6s linear infinite;
}

.ms-link--side {
  stroke: rgba(84, 216, 255, 0.58);
}

.ms-node {
  fill: rgba(233, 236, 247, 0.9);
  filter: drop-shadow(0 0 3px rgba(233, 236, 247, 0.6));
}

.ms-packet {
  fill: rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 0 6px rgba(130, 208, 255, 0.82));
}

.vision-peaks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.19;
  pointer-events: none;
  z-index: 0;
}

.vp-sky {
  fill: url(#vp-sky);
  stroke: rgba(168, 222, 255, 0.26);
  stroke-width: 1.1;
}

.vp-mountain {
  stroke-width: 1.3;
  stroke-linejoin: round;
}

.vp-mountain--far {
  fill: rgba(170, 198, 255, 0.1);
  stroke: rgba(190, 220, 255, 0.34);
}

.vp-mountain--mid {
  fill: rgba(126, 182, 255, 0.13);
  stroke: rgba(160, 210, 255, 0.42);
}

.vp-mountain--front {
  fill: rgba(92, 162, 255, 0.16);
  stroke: rgba(142, 204, 255, 0.5);
}

.vp-ridge {
  fill: none;
  stroke: rgba(198, 238, 255, 0.62);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 3, 5;
  animation: vpRidgeFlow 2.6s linear infinite;
}

.vp-peak-light {
  fill: rgba(214, 245, 255, 0.9);
  filter: drop-shadow(0 0 5px rgba(172, 232, 255, 0.82));
  animation: vpPeakBlink 3.8s ease-in-out infinite;
}

.vp-peak-light:nth-of-type(2) {
  animation-delay: 1.1s;
}

.vp-peak-light:nth-of-type(3) {
  animation-delay: 2.1s;
}

.vp-glint {
  fill: rgba(235, 250, 255, 0.95);
  filter: drop-shadow(0 0 8px rgba(188, 240, 255, 0.95));
}

.vp-glint--alt {
  fill: rgba(165, 224, 255, 0.9);
}

.goals-target {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.gt-ring {
  fill: none;
  stroke-width: 1.5;
  animation: gtRingBreath 3.6s ease-in-out infinite;
}

.gt-ring--1 {
  stroke: rgba(188, 230, 255, 0.46);
}

.gt-ring--2 {
  stroke: rgba(124, 210, 255, 0.58);
  animation-delay: 0.6s;
}

.gt-ring--3 {
  stroke: rgba(84, 216, 255, 0.72);
  animation-delay: 1.2s;
}

.gt-core {
  fill: rgba(226, 247, 255, 0.92);
  filter: drop-shadow(0 0 7px rgba(160, 232, 255, 0.92));
}

.gt-cross {
  stroke: rgba(188, 230, 255, 0.5);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 3, 5;
  animation: gtCrossSweep 2.6s linear infinite;
}

.gt-pulse {
  fill: none;
  stroke: rgba(178, 228, 255, 0.56);
  stroke-width: 1.4;
}

.gt-pulse--alt {
  stroke: rgba(108, 206, 255, 0.52);
}

.gt-hit {
  fill: rgba(228, 249, 255, 0.95);
  filter: drop-shadow(0 0 8px rgba(178, 236, 255, 0.95));
}

.gt-hit--alt {
  fill: rgba(255, 198, 146, 0.93);
  filter: drop-shadow(0 0 7px rgba(255, 198, 146, 0.84));
}

.process-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.17;
  pointer-events: none;
  z-index: 0;
}

.pf-track {
  stroke: rgba(233, 236, 247, 0.38);
  stroke-width: 2;
  stroke-linecap: round;
}

.pf-step {
  fill: rgba(233, 236, 247, 0.16);
  stroke: rgba(233, 236, 247, 0.78);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 4px rgba(180, 222, 255, 0.32));
  animation: pfStepPulse 4.8s ease-in-out infinite;
}

.pf-step--2 {
  animation-delay: 1.2s;
}

.pf-step--3 {
  animation-delay: 2.4s;
}

.pf-step--4 {
  animation-delay: 3.6s;
}

.pf-arrow,
.pf-arrow-head {
  fill: none;
  stroke: rgba(84, 216, 255, 0.64);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3, 4;
  animation: pfArrowFlow 2.2s linear infinite;
}

.pf-caption {
  fill: rgba(233, 236, 247, 0.22);
  animation: pfCaptionBlink 4.8s ease-in-out infinite;
}

.pf-caption:nth-of-type(2) {
  animation-delay: 1.2s;
}

.pf-caption:nth-of-type(3) {
  animation-delay: 2.4s;
}

.pf-caption:nth-of-type(4) {
  animation-delay: 3.6s;
}

.pf-token {
  fill: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 0 6px rgba(132, 214, 255, 0.84));
}

.pf-token--alt {
  fill: rgba(255, 186, 132, 0.9);
  filter: drop-shadow(0 0 5px rgba(255, 186, 132, 0.64));
}

.people-first-matrix {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.people-matrix {
  width: 100%;
  height: 100%;
  opacity: 0.32;
}

.pm-vignette {
  fill: rgba(12, 22, 28, 0.22);
  stroke: rgba(112, 248, 194, 0.18);
  stroke-width: 1;
}

.pm-rain {
  fill: rgba(108, 255, 182, 0.64);
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  filter: drop-shadow(0 0 6px rgba(108, 255, 182, 0.45));
}

.pm-rain--bright {
  fill: rgba(210, 255, 231, 0.88);
  filter: drop-shadow(0 0 8px rgba(146, 255, 198, 0.62));
}

.approach-word-rain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.awr-matrix {
  width: 100%;
  height: 100%;
  opacity: 0.32;
}

.awr-vignette {
  fill: rgba(10, 20, 30, 0.24);
  stroke: rgba(125, 203, 255, 0.2);
  stroke-width: 1;
}

.awr-rain {
  font-family: "Courier New", monospace;
  font-size: 10.6px;
  letter-spacing: 0.03em;
  text-anchor: middle;
  filter: drop-shadow(0 0 5px rgba(122, 196, 255, 0.46));
}

.awr-rain--fe {
  fill: rgba(132, 232, 255, 0.68);
}

.awr-rain--ai {
  fill: rgba(152, 255, 199, 0.72);
}

.awr-rain--ml {
  fill: rgba(206, 232, 255, 0.74);
}

.awr-rain--be {
  fill: rgba(255, 203, 160, 0.68);
}

@keyframes pfStepPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pfArrowFlow {
  to {
    stroke-dashoffset: -14;
  }
}

@keyframes pfCaptionBlink {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.92;
  }
}

@keyframes msLinkFlow {
  to {
    stroke-dashoffset: -14;
  }
}

@keyframes vpRidgeFlow {
  to {
    stroke-dashoffset: -16;
  }
}

@keyframes vpPeakBlink {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes gtRingBreath {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes gtCrossSweep {
  to {
    stroke-dashoffset: -16;
  }
}

@keyframes tfFlow {
  to {
    stroke-dashoffset: -14;
  }
}

@keyframes tfAttnSweep {
  to {
    stroke-dashoffset: -24;
  }
}

.about-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.space-nebula {
  fill: url(#space-nebula);
}

.space-galaxy {
  transform-origin: center;
  animation: spaceGalaxyBreathe 8s ease-in-out infinite;
}

.space-halo {
  fill: rgba(196, 216, 255, 0.08);
  filter: blur(2px);
}

.space-arms {
  transform-origin: center;
  animation: spaceRotate 32s linear infinite;
}

.space-arm {
  fill: none;
  stroke: url(#space-arm-stroke);
  stroke-width: 6.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(160, 208, 255, 0.28));
}

.space-arm--soft {
  stroke-width: 4.2;
  opacity: 0.5;
}

.space-dust {
  fill: none;
  stroke: rgba(189, 126, 94, 0.42);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-dasharray: 2, 6;
  animation: spaceDustDrift 12s linear infinite;
}

.space-core-glow {
  fill: url(#space-core-glow);
  animation: spaceGlowPulse 4.8s ease-in-out infinite;
}

.space-core {
  fill: rgba(225, 242, 255, 0.92);
  filter: drop-shadow(0 0 9px rgba(132, 208, 255, 0.72));
}

.space-orbit {
  fill: none;
  stroke: rgba(140, 206, 255, 0.36);
  stroke-width: 1.3;
  stroke-dasharray: 2, 4;
}

.space-orbit--outer {
  stroke: rgba(98, 178, 255, 0.28);
}

.space-rotor {
  transform-origin: center;
}

.space-rotor--a {
  animation: spaceRotate 9s linear infinite;
}

.space-rotor--b {
  animation: spaceRotateReverse 12s linear infinite;
}

.space-rotor--c {
  animation: spaceRotate 15s linear infinite;
}

.space-planet {
  filter: drop-shadow(0 0 5px rgba(152, 216, 255, 0.66));
}

.space-planet--a {
  fill: rgba(102, 210, 255, 0.95);
}

.space-planet--b {
  fill: rgba(255, 188, 126, 0.9);
}

.space-planet--c {
  fill: rgba(196, 217, 255, 0.92);
}

.space-star {
  fill: rgba(226, 241, 255, 0.9);
  filter: drop-shadow(0 0 3px rgba(196, 226, 255, 0.42));
  animation: spaceTwinkle 4.8s ease-in-out infinite;
}

.space-star--2,
.space-star--5,
.space-star--8,
.space-star--11,
.space-star--14 {
  animation-delay: 0.6s;
}

.space-star--3,
.space-star--7,
.space-star--10,
.space-star--12,
.space-star--15 {
  animation-delay: 1.2s;
}

.space-star--4,
.space-star--6,
.space-star--9,
.space-star--13,
.space-star--16 {
  animation-delay: 1.8s;
}

.space-spark {
  stroke: rgba(236, 246, 255, 0.78);
  stroke-width: 0.9;
  stroke-linecap: round;
  animation: spaceTwinkle 3.6s ease-in-out infinite;
}

.space-fly {
  opacity: 0;
}

.space-fly-tail {
  display: none;
}

.space-fly-head {
  fill: rgba(240, 248, 255, 0.98);
  filter: drop-shadow(0 0 5px rgba(186, 223, 255, 0.75));
}

.space-fly--near .space-fly-tail {
  stroke-width: 1.55;
  stroke: rgba(228, 244, 255, 0.78);
}

.space-fly--near .space-fly-head {
  filter: drop-shadow(0 0 8px rgba(204, 234, 255, 0.92));
}

.space-fly--mid .space-fly-tail {
  stroke-width: 1.2;
  stroke: rgba(194, 228, 255, 0.58);
}

.space-fly--mid .space-fly-head {
  filter: drop-shadow(0 0 6px rgba(170, 218, 255, 0.72));
}

.space-fly--far .space-fly-tail {
  stroke-width: 0.85;
  stroke: rgba(170, 214, 255, 0.36);
}

.space-fly--far .space-fly-head {
  filter: drop-shadow(0 0 3px rgba(154, 204, 255, 0.42));
}

.space-fly--2 .space-fly-tail {
  stroke: rgba(180, 222, 255, 0.46);
}

.space-fly--3 .space-fly-tail {
  stroke: rgba(226, 210, 255, 0.4);
}

@keyframes spaceRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spaceRotateReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes spaceGalaxyBreathe {
  0%,
  100% {
    opacity: 0.94;
  }
  50% {
    opacity: 1;
  }
}

@keyframes spaceDustDrift {
  to {
    stroke-dashoffset: -20;
  }
}

@keyframes spaceGlowPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes spaceTwinkle {
  0%,
  100% {
    opacity: 0.42;
  }
  50% {
    opacity: 1;
  }
}

.team-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.team-connection {
  stroke: rgba(84, 216, 255, 0.5);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 3, 4;
  animation: teamConnectionFlow 3s linear infinite;
}

.team-connection:nth-of-type(2n) {
  stroke: rgba(255, 140, 90, 0.4);
  animation-delay: 0.5s;
}

.team-connection:nth-of-type(3n) {
  stroke: rgba(98, 188, 255, 0.45);
  animation-delay: 1s;
}

.team-pulse {
  filter: drop-shadow(0 0 3px currentColor);
}

.team-avatar {
  fill: rgba(233, 236, 247, 0.12);
  stroke: rgba(233, 236, 247, 0.7);
  stroke-width: 1.5;
}

.team-head {
  fill: rgba(233, 236, 247, 0.85);
  filter: drop-shadow(0 0 2px rgba(233, 236, 247, 0.6));
}

.team-body {
  fill: none;
  stroke: rgba(233, 236, 247, 0.85);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.team-ring {
  fill: none;
  stroke: rgba(84, 216, 255, 0.6);
  stroke-width: 1.2;
}

@keyframes teamConnectionFlow {
  to {
    stroke-dashoffset: -14;
  }
}

.topic-block.is-expanded .topic-block__body {
  max-height: 2000px;
  opacity: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  --card-accent-1: rgba(0, 200, 255, 0.06);
  --card-accent-2: rgba(255, 130, 70, 0.05);
  --card-base-1: rgba(24, 18, 55, 0.04);
  --card-base-2: rgba(12, 14, 38, 0.05);
  --card-glow-1: rgba(94, 210, 255, 0.28);
  --card-glow-2: rgba(164, 120, 255, 0.22);
  --card-glow-3: rgba(255, 140, 90, 0.2);
  --card-tint: rgba(12, 16, 28, 0.22);
  position: relative;
  padding: 2.1rem 2.1rem 2.4rem;
  border-radius: 18px;
  background: none;
  background-color: transparent;
  border: none;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 220px;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 20%, var(--card-glow-1), rgba(0, 0, 0, 0) 45%),
    radial-gradient(circle at 85% 15%, var(--card-glow-2), rgba(0, 0, 0, 0) 50%),
    radial-gradient(circle at 80% 80%, var(--card-glow-3), rgba(0, 0, 0, 0) 55%),
    var(--card-tint);
  z-index: 0;
  background-size: 200% 200%;
  transition: opacity 0.35s ease;
  opacity: 0.78;
  filter: saturate(var(--card-sat));
}

.card-grid .info-card:nth-child(1) {
  --card-accent-1: rgba(70, 200, 255, 0.07);
  --card-accent-2: rgba(120, 140, 255, 0.045);
  --card-base-1: rgba(18, 28, 58, 0.045);
  --card-base-2: rgba(10, 16, 40, 0.055);
  --card-glow-1: rgba(84, 216, 255, 0.32);
  --card-glow-2: rgba(86, 160, 255, 0.22);
  --card-glow-3: rgba(80, 255, 198, 0.18);
}

.card-grid .info-card:nth-child(2) {
  --card-accent-1: rgba(0, 220, 190, 0.06);
  --card-accent-2: rgba(255, 120, 170, 0.045);
  --card-base-1: rgba(24, 20, 64, 0.045);
  --card-base-2: rgba(12, 14, 40, 0.055);
  --card-glow-1: rgba(255, 126, 182, 0.26);
  --card-glow-2: rgba(255, 198, 110, 0.22);
  --card-glow-3: rgba(160, 126, 255, 0.2);
}

.card-grid .info-card:nth-child(3) {
  --card-accent-1: rgba(255, 140, 80, 0.055);
  --card-accent-2: rgba(160, 110, 255, 0.05);
  --card-base-1: rgba(28, 16, 52, 0.045);
  --card-base-2: rgba(12, 12, 36, 0.055);
  --card-glow-1: rgba(255, 164, 98, 0.28);
  --card-glow-2: rgba(98, 188, 255, 0.2);
  --card-glow-3: rgba(122, 120, 255, 0.2);
}

body[data-theme="light"] .card-grid .info-card {
  box-shadow: none;
}

.info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(140, 180, 255, 0.05), rgba(140, 110, 255, 0), rgba(255, 120, 180, 0.035));
  opacity: 0.025;
  pointer-events: none;
  background-size: 200% 200%;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

.info-card:hover,
.info-card:active,
.info-card:focus-within {
  animation: cardGlowShift 18s ease-in-out infinite;
}

.info-card:hover::after,
.info-card:active::after,
.info-card:focus-within::after {
  animation: cardGlowShift 18s ease-in-out infinite reverse;
}

.info-card:hover::before,
.info-card:active::before,
.info-card:focus-within::before {
  opacity: 1;
  animation: cardGlowShift 18s ease-in-out infinite;
}

.info-card__title {
  position: relative;
  z-index: 1;
  font-family: Arial, sans-serif;
  font-size: 2.05rem;
  letter-spacing: 0.02em;
  color: var(--text-strong);
  margin-bottom: 0.8rem;
}

.info-card__text {
  position: relative;
  z-index: 1;
  font-family: Arial, sans-serif;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-grid .info-card__title {
  font-size: 1.28rem;
}

.card-grid .info-card__text {
  font-size: 0.79rem;
}

.card-grid .info-card {
  display: flex;
  flex-direction: column;
}

.card-grid .info-card__more {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 0.65rem;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.card-grid .info-card__more:hover,
.card-grid .info-card__more:focus-visible {
  color: rgba(188, 230, 255, 0.95);
}

.home-page .card-grid .info-card__more {
  text-decoration-style: dotted;
  text-underline-offset: 0.16em;
}

@media (max-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topic-block__title {
    font-size: 1.12rem;
    line-height: 1.28;
  }

  .topic-block__subtitle {
    display: block;
    font-size: 0.92rem;
    line-height: 1.34;
  }

  .topic-block__back-link {
    right: 0.25rem;
    top: 0.04rem;
    width: 2rem;
    height: 1.2rem;
    font-size: 0.9rem;
    color: #f7fbff;
    background: linear-gradient(120deg, rgba(56, 92, 166, 0.92), rgba(88, 66, 166, 0.92));
    box-shadow: 0 6px 14px rgba(12, 24, 58, 0.45);
    text-shadow: 0 0 1px rgba(8, 14, 36, 0.9);
  }

  body[data-theme="light"] .topic-block__back-link {
    color: #ffffff;
    background: linear-gradient(120deg, rgba(56, 86, 164, 0.98), rgba(84, 66, 164, 0.98));
    box-shadow: 0 6px 14px rgba(78, 98, 160, 0.35);
    text-shadow: 0 0 1px rgba(18, 24, 52, 0.85);
  }

  .topic-block__trigger {
    padding-right: 2.5rem;
  }

  .home-page .topic-block__trigger {
    padding-right: 0;
  }

  .home-page .topic-block__trigger .topic-block__title {
    padding-right: 2.5rem;
  }

  .products-page-split {
    grid-template-columns: 1fr;
  }

  .products-page-split__text {
    padding-left: 0;
    padding-top: 1rem;
    border-left: 0;
    border-top: 1px dotted var(--border-soft);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }
}

.site-footer {
  width: min(1200px, 100%);
  margin: 0 auto 4vh;
  padding: 2rem;
  border-radius: 18px;
  opacity: 0.82;
  background: var(--footer-bg);
  border: 1px solid var(--footer-border);
  box-shadow: var(--footer-shadow);
  position: relative;
  overflow: hidden;
  background-size: 200% 200%;
  background-blend-mode: screen, screen, normal;
  animation: cardGlowShift 18s ease-in-out infinite;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  width: 88%;
  height: 1px;
  background: var(--footer-glow-line);
  filter: blur(0.15px);
  box-shadow: 0 0 8px rgba(130, 170, 255, 0.45);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 140%;
  background:
    radial-gradient(circle at 14% 18%, rgba(85, 165, 255, 0.14), transparent 42%),
    radial-gradient(circle at 48% 12%, rgba(118, 150, 255, 0.1), transparent 36%),
    radial-gradient(circle at 84% 26%, rgba(178, 144, 238, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(82, 145, 255, 0.06), rgba(138, 154, 246, 0.05) 58%, rgba(95, 200, 255, 0.06));
  background-size: 200% 200%;
  pointer-events: none;
  animation: cardGlowShift 18s ease-in-out infinite reverse;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.3rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1.8rem;
  row-gap: 1rem;
  align-items: start;
}

.site-footer__group {
  display: grid;
  align-content: start;
  justify-items: start;
  text-align: left;
  gap: 0.45rem;
  margin-inline: auto;
  max-width: 16rem;
}

.site-footer__heading {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-strong);
  margin-bottom: 0.25rem;
}

.site-footer__link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.64rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  width: fit-content;
  justify-self: start;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.site-footer__social-icon {
  width: 0.7rem;
  height: 0.7rem;
  display: inline-flex;
  opacity: 0.92;
}

.site-footer__social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-footer__mail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.site-footer__mail-icon {
  width: 0.68rem;
  height: 0.68rem;
  display: inline-flex;
  opacity: 0.9;
}

.site-footer__mail-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-footer__contact,
.site-footer__contact-label {
  font-family: Arial, sans-serif;
  font-size: 0.64rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.site-footer__contact {
  max-width: 28ch;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.site-footer__contact-label {
  color: var(--text-strong);
  margin-top: 0.2rem;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--text-strong);
  transform: translateX(1px);
}

.site-footer__copy {
  padding-top: 1rem;
  border-top: 1px solid var(--footer-border);
  font-family: Arial, sans-serif;
  font-size: 0.64rem;
  color: var(--text-muted);
  text-align: center;
}

.legal-page {
  background: var(--page-bg);
  color: var(--text-strong);
  min-height: 100vh;
}

.legal-wrap {
  width: min(1000px, 92vw);
  margin: 8vh auto 10vh;
  padding: 2.6rem 2.8rem;
  border-radius: 18px;
  background: rgba(8, 12, 24, 0.45);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.legal-page > .site-footer {
  width: min(1000px, 92vw);
}

.legal-wrap h1 {
  font-family: "Orbitron", "Michroma", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-strong);
  margin-bottom: 1rem;
}

.legal-wrap h2 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--text-strong);
  margin: 1.6rem 0 0.6rem;
}

.legal-wrap h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--text-strong);
  margin: 1.2rem 0 0.4rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-wrap ul {
  margin: 0.6rem 0 0.8rem 1.2rem;
}

.legal-wrap hr {
  border: 0;
  height: 1px;
  background: var(--border-soft);
  margin: 2rem 0;
}

.legal-wrap a {
  color: inherit;
  text-decoration: underline;
}

.legal-footer {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.legal-footer__links {
  margin-bottom: 0.4rem;
}

@media (max-width: 720px) {
  .legal-wrap {
    padding: 2rem 1.6rem;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: fixed;
  top: calc(var(--header-height) + 12px);
  right: 22px;
  z-index: 50;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(10, 12, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
  visibility: visible;
}

.home-page .theme-toggle {
  top: calc(var(--header-height) + 12px);
}

.theme-toggle__label {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--toggle-label, var(--text-muted));
}

.theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.theme-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.theme-switch__track {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--toggle-track);
  border: 1px solid var(--toggle-border);
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);
}

.theme-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--toggle-thumb);
  transition: transform 0.25s ease, background 0.25s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.theme-switch input:checked + .theme-switch__track .theme-switch__thumb {
  transform: translateX(12px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.pixels span {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 2px;
  border-radius: 1px;
  opacity: 0;
  animation: pixelRise 2.8s linear infinite;
}

.pixels span:nth-child(1) {
  left: 8%;
  background: #e8e2ff;
  animation-delay: 0.1s;
}

.pixels span:nth-child(2) {
  left: 18%;
  background: #a8c8ff;
  animation-delay: 0.6s;
}

.pixels span:nth-child(3) {
  left: 28%;
  background: #7fc7ff;
  animation-delay: 1.2s;
}

.pixels span:nth-child(4) {
  left: 38%;
  background: #4f7bff;
  animation-delay: 1.8s;
}

.pixels span:nth-child(5) {
  left: 48%;
  background: #7fc7ff;
  animation-delay: 0.9s;
}

.pixels span:nth-child(6) {
  left: 58%;
  background: #6f92ff;
  animation-delay: 1.4s;
}

.pixels span:nth-child(7) {
  left: 68%;
  background: #a86bff;
  animation-delay: 0.3s;
}

.pixels span:nth-child(8) {
  left: 78%;
  background: #c48fff;
  animation-delay: 1.1s;
}

.pixels span:nth-child(9) {
  left: 88%;
  background: #e8e2ff;
  animation-delay: 2s;
}

.pixels span:nth-child(10) {
  left: 95%;
  background: #7fc7ff;
  animation-delay: 2.4s;
}

@keyframes chromaShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pixelRise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120px) scale(0.4);
    opacity: 0;
  }
}

@keyframes cardGlowShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes arrowMorph {
  0% {
    background-position: 0% 50%;
    transform: scale(1);
  }
  50% {
    background-position: 100% 50%;
    transform: scale(1.04);
  }
  100% {
    background-position: 0% 50%;
    transform: scale(1);
  }
}

@keyframes iconGlowPulse {
  0% {
    opacity: 0.78;
    transform: scale(1);
    filter:
      drop-shadow(0 0 5px rgba(124, 220, 255, 0.32))
      drop-shadow(0 0 11px rgba(132, 148, 255, 0.24))
      drop-shadow(0 0 16px rgba(198, 120, 255, 0.2));
  }
  50% {
    opacity: 0.96;
    transform: scale(1.03);
    filter:
      drop-shadow(0 0 8px rgba(124, 220, 255, 0.48))
      drop-shadow(0 0 18px rgba(132, 148, 255, 0.38))
      drop-shadow(0 0 25px rgba(198, 120, 255, 0.32));
  }
  100% {
    opacity: 0.78;
    transform: scale(1);
    filter:
      drop-shadow(0 0 5px rgba(124, 220, 255, 0.32))
      drop-shadow(0 0 11px rgba(132, 148, 255, 0.24))
      drop-shadow(0 0 16px rgba(198, 120, 255, 0.2));
  }
}



@media (max-width: 720px) {
  .logo-wrap {
    padding-top: calc(3vh + var(--header-height));
  }

  .logo {
    width: min(240px, 80vw);
  }

  .site-footer {
    padding: 1.4rem 1.2rem;
  }

  .site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 0.9rem;
  }

  .site-footer__heading {
    font-size: 0.56rem;
  }

  .site-footer__link,
  .site-footer__copy {
    font-size: 0.54rem;
  }

  .site-footer__contact,
  .site-footer__contact-label {
    font-size: 0.54rem;
    line-height: 1.35;
  }

  .site-footer__social-icon {
    width: 0.58rem;
    height: 0.58rem;
  }

  .site-footer__mail-icon {
    width: 0.56rem;
    height: 0.56rem;
  }

  .info-panel {
    grid-template-columns: 1fr;
    padding: 2.2rem 2rem;
  }
}
