:root {
  color-scheme: dark;
  --bg: #04080d;
  --panel: #07131d;
  --text: #f4f8fb;
  --muted: #a8bac6;
  --line: rgba(151, 216, 255, .18);
  --cyan: #54dcff;
  --green: #73ffad;
  --silver: #d7e3ea;
  --dark: #020407;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  padding: 28px min(5vw, 64px) 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 40px;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 13, .95), rgba(4, 8, 13, .58) 52%, rgba(4, 8, 13, .88)),
    linear-gradient(180deg, rgba(4, 8, 13, .08), var(--bg));
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .48;
  transform: scale(1.04);
  animation: bgDrift 16s ease-in-out infinite alternate;
}

.topbar {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  min-height: 76px;
  padding: 22px min(5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(4, 8, 13, .35);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
}

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: .95rem;
}

nav a:hover {
  color: var(--text);
}

.hero-copy,
.orbital,
.panel,
.slide {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 760px;
  padding-top: 56px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 4.4rem;
  line-height: .98;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
  line-height: 1.03;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-copy > p:not(.kicker) {
  max-width: 650px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-weight: 700;
  border-radius: 8px;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #02140a;
  box-shadow: 0 0 34px rgba(115, 255, 173, .22);
}

.button.ghost {
  background: rgba(255, 255, 255, .05);
}

.orbital {
  width: min(520px, 90vw);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  perspective: 900px;
  animation: float 5.5s ease-in-out infinite;
}

.core {
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(84, 220, 255, .65);
  box-shadow: 0 0 54px rgba(84, 220, 255, .36);
  transform: rotateX(10deg);
  animation: corePulse 3.2s ease-in-out infinite;
}

.core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbit,
.ring-text {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
}

.orbit {
  border: 1px solid rgba(84, 220, 255, .42);
  box-shadow: inset 0 0 30px rgba(84, 220, 255, .16), 0 0 28px rgba(84, 220, 255, .12);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  animation: glow 1.8s ease-in-out infinite alternate;
}

.orbit::before {
  top: 12%;
  left: 18%;
}

.orbit::after {
  right: 10%;
  bottom: 24%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.orbit-a {
  animation: spin 9s linear infinite;
}

.orbit-b {
  inset: 18%;
  animation: spinTiltX 6.5s linear infinite;
}

.orbit-c {
  inset: 28%;
  animation: spinTiltY 5s linear infinite;
}

.ring-text {
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--silver);
  font-size: 13px;
  font-weight: 700;
  opacity: .92;
  animation: spinBack 12s linear infinite;
}

.panel {
  padding: 92px min(5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.intro,
.offer {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 48px;
  align-items: start;
  background: var(--dark);
}

.intro p:last-child,
.offer-list {
  max-width: 760px;
}

.slides {
  background: #050a10;
}

.slide {
  min-height: 100svh;
  padding: 90px min(5vw, 64px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, .88fr);
  gap: 52px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.slide-media {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.slide-media img {
  width: 100%;
  height: 58svh;
  min-height: 420px;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 900ms ease;
}

.slide.is-visible .slide-media img {
  transform: scale(1);
}

.slide-copy span {
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-weight: 800;
}

.catalog {
  background:
    linear-gradient(180deg, #07131d, #030609);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  transform-style: preserve-3d;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  border-color: rgba(115, 255, 173, .55);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .26), 0 0 36px rgba(84, 220, 255, .12);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  transition: transform 700ms ease;
}

.product-card:hover img {
  transform: scale(1.08) translateY(-10px);
}

.product-body {
  padding: 18px;
}

.product-body span {
  color: var(--green);
  font-weight: 800;
  font-size: .85rem;
}

.product-body p {
  min-height: 28px;
  margin-bottom: 18px;
  font-size: .95rem;
}

.product-body strong {
  color: var(--silver);
  font-size: 1.05rem;
}

.motion {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(320px, 1.22fr);
  gap: 44px;
  align-items: center;
  background: #020407;
}

.motion-board {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(84, 220, 255, .1), transparent 38%),
    rgba(255, 255, 255, .035);
}

.marquee {
  position: absolute;
  left: -12%;
  right: -12%;
  top: 46px;
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--cyan);
  font-weight: 900;
  font-size: 2rem;
  white-space: nowrap;
  transform: rotate(-5deg);
}

.marquee.reverse {
  top: auto;
  bottom: 56px;
  color: var(--green);
  transform: rotate(4deg);
}

.marquee span {
  display: inline-block;
  min-width: 200%;
  animation: marquee 12s linear infinite paused;
}

.reverse span {
  animation-name: marqueeBack;
}

.motion-board:hover .marquee span,
.motion-board.is-active .marquee span {
  animation-play-state: running;
}

.motion-image {
  position: absolute;
  inset: 112px 19% 104px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

.motion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.motion-board:hover .motion-image img,
.motion-board.is-active .motion-image img {
  transform: scale(1.08);
}

.offer {
  min-height: 56svh;
  align-items: center;
}

.offer-list .button {
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

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

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

@keyframes spinTiltX {
  from {
    transform: rotateX(68deg) rotate(0deg);
  }

  to {
    transform: rotateX(68deg) rotate(-360deg);
  }
}

@keyframes spinTiltY {
  from {
    transform: rotateY(70deg) rotate(0deg);
  }

  to {
    transform: rotateY(70deg) rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotateZ(-1deg);
  }

  50% {
    transform: translateY(-18px) rotateZ(1deg);
  }
}

@keyframes corePulse {
  0%,
  100% {
    box-shadow: 0 0 40px rgba(84, 220, 255, .28);
    transform: rotateX(10deg) scale(1);
  }

  50% {
    box-shadow: 0 0 76px rgba(84, 220, 255, .56);
    transform: rotateX(10deg) scale(1.04);
  }
}

@keyframes glow {
  to {
    transform: scale(1.55);
    opacity: .72;
  }
}

@keyframes bgDrift {
  to {
    transform: scale(1.1) translate3d(-18px, 12px, 0);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeBack {
  to {
    transform: translateX(50%);
  }
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .slide,
  .motion,
  .offer {
    grid-template-columns: 1fr;
  }

  .orbital {
    order: -1;
    margin-top: 70px;
    width: min(440px, 92vw);
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: .9rem;
  }

  .hero {
    gap: 18px;
    padding: 20px 18px 38px;
  }

  .panel,
  .slide {
    padding: 64px 18px;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .orbital {
    width: min(300px, 82vw);
    margin-top: 82px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  p {
    font-size: 1rem;
  }

  .actions {
    flex-direction: row;
    gap: 10px;
  }

  .button {
    flex: 1;
    min-height: 46px;
    padding: 12px 10px;
    font-size: .92rem;
  }

  .slide-media img {
    min-height: 300px;
    height: 48svh;
  }

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

  .motion-board {
    min-height: 360px;
  }

  .marquee {
    font-size: 1.35rem;
  }

  .motion-image {
    inset: 106px 12% 98px;
  }
}
