:root {
  color-scheme: dark;
  --bg: #050b0f;
  --panel: rgba(8, 20, 27, .74);
  --panel-strong: rgba(10, 28, 36, .92);
  --line: rgba(55, 224, 238, .28);
  --line-strong: rgba(55, 224, 238, .72);
  --text: #edf8fb;
  --muted: #9db5bd;
  --cyan: #24dcea;
  --orange: #e8752a;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 75% -10%, rgba(36, 220, 234, .16), transparent 34rem),
    radial-gradient(circle at 5% 30%, rgba(232, 117, 42, .08), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  position: fixed;
  z-index: 30;
  left: 50%;
  top: 18px;
  width: min(calc(100% - 32px), var(--max));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(4, 10, 14, .68);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(36, 220, 234, .18), rgba(255, 255, 255, .03));
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0;
}
.brand strong { display: block; font-size: 15px; letter-spacing: .02em; }
.brand small { display: block; margin-top: -3px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 9px 13px;
  color: #c5d8de;
  font-size: 13px;
  border: 1px solid transparent;
}
.nav a:hover { border-color: var(--line); color: white; background: rgba(36, 220, 234, .07); }
.language-toggle {
  min-width: 46px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(36, 220, 234, .08);
  color: var(--text);
  font: 800 12px/1 Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
}
.language-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(36, 220, 234, .16);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(36, 220, 234, .2);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 10, .94), rgba(2, 7, 10, .64) 45%, rgba(2, 7, 10, .22)),
    linear-gradient(180deg, rgba(2, 7, 10, .18), rgba(2, 7, 10, .94));
}
.hero-grid,
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(36, 220, 234, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 220, 234, .045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.hero-grid { position: absolute; opacity: .7; }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 150px 0 86px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 106px);
  line-height: .92;
  letter-spacing: 0;
}
h2 {
  max-width: 820px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}
.lead {
  max-width: 710px;
  color: #c8dde2;
  font-size: clamp(18px, 2vw, 23px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  border: 1px solid var(--line);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.button.primary { background: var(--cyan); color: #031014; border-color: var(--cyan); box-shadow: 0 0 34px rgba(36, 220, 234, .24); }
.button.ghost { background: rgba(5, 17, 22, .5); color: #e6fbff; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}
.hero-stats span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(3, 12, 16, .58);
  color: var(--muted);
}
.hero-stats strong { color: white; margin-right: 6px; }

.section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 34px;
}
.intro { padding-top: 78px; }
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid rgba(255, 255, 255, .07);
}
.feature {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, rgba(10, 26, 34, .74), rgba(5, 13, 17, .42));
}
.feature img {
  width: 54px;
  height: 54px;
  image-rendering: pixelated;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 14px rgba(36, 220, 234, .45));
}
.feature h3 { margin-bottom: 10px; font-size: 22px; }
.feature p { margin: 0; color: var(--muted); }

.block-showcase { padding-top: 38px; }
.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .08);
}
.machine-card {
  position: relative;
  min-height: 310px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 8%, rgba(36, 220, 234, .13), transparent 12rem),
    rgba(7, 18, 24, .92);
}
.machine-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 164px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
  opacity: .45;
}
.machine-card h3 {
  position: relative;
  z-index: 2;
  margin: 26px 0 8px;
  font-size: 22px;
}
.machine-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.block-cube {
  --size: 112px;
  --half: calc(var(--size) / 2);
  position: relative;
  z-index: 2;
  width: var(--size);
  height: var(--size);
  margin: 26px auto 34px;
  transform-style: preserve-3d;
  transform: perspective(760px) rotateX(28deg) rotateY(-42deg);
  animation: cubeFloat 5.2s ease-in-out infinite;
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, .48)) drop-shadow(0 0 16px rgba(36, 220, 234, .22));
}
.block-cube::before {
  content: "";
  position: absolute;
  left: -22%;
  right: -22%;
  bottom: -44px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .58), transparent 68%);
  filter: blur(3px);
  transform: rotateX(90deg) translateZ(calc(var(--half) * -1));
}
.machine-card:nth-child(2n) .block-cube { animation-delay: -.9s; }
.machine-card:nth-child(3n) .block-cube { animation-delay: -1.7s; }
.block-cube.rendered-cube {
  width: 180px;
  height: 164px;
  margin: 2px auto 6px;
  transform: none;
  transform-style: flat;
  animation-name: cubeCanvasFloat;
}
.block-cube.rendered-cube canvas {
  width: 180px;
  height: 164px;
}
.block-cube.rendered-cube .face {
  display: none;
}
.face {
  position: absolute;
  inset: 0;
  display: block;
  width: var(--size);
  height: var(--size);
  background-size: cover;
  background-position: center;
  image-rendering: pixelated;
  outline: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .04),
    inset 0 -20px 34px rgba(0, 0, 0, .28);
  backface-visibility: visible;
}
.front {
  background-image: var(--front);
  transform: translateZ(var(--half));
  filter: brightness(.96) saturate(1.02);
}
.right {
  background-image: var(--side);
  transform: rotateY(90deg) translateZ(var(--half));
  filter: brightness(.72) saturate(.92);
}
.top {
  background-image: var(--top);
  transform: rotateX(90deg) translateZ(var(--half));
  filter: brightness(1.22) saturate(1.06);
}
.back { background-image: var(--side); transform: rotateY(180deg) translateZ(var(--half)); filter: brightness(.55) saturate(.85); }
.left { background-image: var(--side); transform: rotateY(-90deg) translateZ(var(--half)); filter: brightness(.82) saturate(.95); }
.bottom { background-image: var(--bottom); transform: rotateX(-90deg) translateZ(var(--half)); filter: brightness(.42) saturate(.78); }
@keyframes cubeFloat {
  0%, 100% { transform: perspective(760px) rotateX(28deg) rotateY(-42deg) translateY(0); }
  50% { transform: perspective(760px) rotateX(24deg) rotateY(-50deg) translateY(-8px); }
}
@keyframes cubeCanvasFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.split {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 46px;
}
.split.reverse { grid-template-columns: .88fr 1.12fr; }
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #081218;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(135deg, rgba(36, 220, 234, .18), transparent 28%, transparent 72%, rgba(232, 117, 42, .1));
  pointer-events: none;
}
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .8s ease;
}
.media-frame:hover img { transform: scale(1.035); }
.copy p { color: #c0d2d8; font-size: 17px; }
.check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 25px;
  color: #d7e8ed;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(36, 220, 234, .7);
}

.progression {
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .08);
}
.timeline div {
  min-height: 170px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}
.timeline div:last-child { border-right: 0; }
.timeline span { color: var(--cyan); font-weight: 900; font-size: 12px; letter-spacing: .16em; }
.timeline strong { display: block; margin: 32px 0 8px; font-size: 22px; }
.timeline small { color: var(--muted); font-size: 14px; }

.icon-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.icon-grid img {
  width: 58px;
  height: 58px;
  padding: 10px;
  image-rendering: pixelated;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 21, 27, .78);
}

.compact { padding-top: 70px; }
.server-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
}
.server-grid article {
  min-height: 150px;
  padding: 24px;
  background: rgba(7, 18, 24, .9);
}
.server-grid b { display: block; font-size: 21px; margin-bottom: 10px; }
.server-grid span { color: var(--muted); }

.launch {
  width: min(calc(100% - 36px), var(--max));
  margin: 24px auto 0;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(36, 220, 234, .13), rgba(232, 117, 42, .06)),
    var(--panel-strong);
}
.launch p { color: var(--muted); margin-bottom: 0; }
.launch-button { justify-self: end; }

footer {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7f969d;
}
footer a { color: #cceff4; }

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .45s ease, transform .45s ease, border-color .18s ease, background .18s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.topbar[data-reveal],
.topbar[data-reveal].is-visible {
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero { min-height: 700px; }
  .feature-strip, .timeline, .server-grid, .machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.reverse, .launch { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .launch-button { justify-self: start; }
}

@media (max-width: 620px) {
  .topbar { top: 10px; width: calc(100% - 20px); }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; }
  .language-toggle { min-width: 42px; height: 34px; padding: 0 10px; }
  .hero-inner { width: calc(100% - 24px); padding-bottom: 56px; }
  .section, .launch, footer { width: calc(100% - 24px); }
  .section { padding: 62px 0; }
  .feature-strip, .timeline, .server-grid, .machine-grid { grid-template-columns: 1fr; }
  .machine-card { min-height: 282px; }
  .block-cube { --size: 96px; }
  .timeline div { min-height: 132px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .launch { padding: 26px; }
  footer { display: block; }
}
