:root {
  --bg: #04070b;
  --bg-alt: #08141a;
  --surface: rgba(9, 16, 19, 0.7);
  --surface-strong: rgba(6, 10, 13, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f7fbff;
  --muted: #aebec8;
  --green: #97ff6c;
  --mint: #5ef0ca;
  --cyan: #49cfff;
  --white-soft: rgba(255, 255, 255, 0.68);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.4);
  --content-width: min(1240px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(73, 207, 255, 0.11), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(151, 255, 108, 0.1), transparent 22%),
    linear-gradient(180deg, #04070b 0%, #08131a 42%, #06090d 100%);
  overflow-x: hidden;
}

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

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

.ambient,
.grid-overlay,
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient {
  filter: blur(90px);
  opacity: 0.5;
}

.ambient--one {
  background: radial-gradient(circle, rgba(151, 255, 108, 0.14), transparent 60%);
  transform: translate(-18%, -12%);
  animation: driftOne 16s ease-in-out infinite alternate;
}

.ambient--two {
  background: radial-gradient(circle, rgba(73, 207, 255, 0.16), transparent 62%);
  transform: translate(60%, 4%);
  animation: driftTwo 18s ease-in-out infinite alternate;
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), transparent 92%);
  opacity: 0.34;
}

.noise-overlay {
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 0 0.7px, transparent 1px),
    radial-gradient(circle at 70% 65%, #fff 0 0.7px, transparent 1px),
    radial-gradient(circle at 40% 85%, #fff 0 0.7px, transparent 1px);
  background-size: 24px 24px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: var(--content-width);
  margin: 20px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(4, 8, 12, 0.6);
  backdrop-filter: blur(16px);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.topbar--scrolled {
  background: rgba(4, 8, 12, 0.82);
  border-color: rgba(151, 255, 108, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #031017;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 36px rgba(73, 207, 255, 0.25);
}

.brand__copy {
  display: grid;
  gap: 4px;
  line-height: 1;
}

.brand__copy strong {
  font-size: 0.94rem;
}

.brand__copy span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  color: var(--white-soft);
}

.nav a {
  position: relative;
  font-size: 0.92rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.section,
.footer {
  width: var(--content-width);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 90px);
  padding: 68px 0 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow,
.label,
.showcase-card__tag,
.hero-stage__eyebrow {
  margin: 0;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.systems-panel__copy h2,
.cta h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.3rem, 6.7vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hero h1 {
  display: grid;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--green) 52%, var(--cyan) 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.lead,
.section-heading p,
.systems-panel__copy > p,
.cta p,
.showcase-card p,
.systems-list span,
.hero-card p,
.hero-stage__content p,
.footer p,
.footer small {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  margin-top: 22px;
  max-width: 60ch;
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 550ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(130%);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--green), #dfff74 55%, var(--cyan));
  color: #041217;
  box-shadow: 0 22px 50px rgba(151, 255, 108, 0.18);
}

.button--secondary,
.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
}

.button--secondary:hover,
.button--ghost:hover {
  border-color: rgba(151, 255, 108, 0.28);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics article,
.systems-list article {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
}

.hero__visual {
  position: relative;
}

.hero-stage {
  position: relative;
  min-height: 720px;
}

.hero-stage__ring {
  position: absolute;
  inset: 30px 24px 40px 22px;
  border: 1px solid rgba(151, 255, 108, 0.16);
  border-radius: 44px;
  animation: rotateSlow 18s linear infinite;
}

.hero-stage__ring--alt {
  inset: 74px 72px 120px 82px;
  border-color: rgba(73, 207, 255, 0.14);
  animation-direction: reverse;
  animation-duration: 24s;
}

.hero-stage__frame,
.hero-card,
.showcase-card,
.systems-panel,
.stack-card,
.cta {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-stage__frame::before,
.hero-card::before,
.showcase-card::before,
.systems-panel::before,
.stack-card::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(151, 255, 108, 0.32), rgba(73, 207, 255, 0.18), transparent 56%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-stage__frame {
  position: absolute;
  inset: 32px 24px 120px 26px;
}

.hero-stage__chrome {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 20px;
  display: flex;
  gap: 8px;
}

.hero-stage__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 650ms ease, transform 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  height: 100%;
  object-fit: cover;
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 10, 14, 0.1), rgba(3, 10, 14, 0.75) 70%, rgba(3, 10, 14, 0.95) 100%),
    linear-gradient(90deg, rgba(3, 10, 14, 0.58), transparent 48%);
}

.hero-stage__content {
  position: absolute;
  z-index: 2;
  left: 32px;
  right: 120px;
  bottom: 60px;
}

.hero-stage__content h2 {
  margin: 10px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 2.6vw, 3rem);
}

.hero-stage__content p {
  margin: 0;
  max-width: 48ch;
}

.hero-stage__band {
  position: absolute;
  z-index: 2;
  left: -4%;
  right: -4%;
  bottom: -44px;
  height: 180px;
  background: linear-gradient(135deg, rgba(157, 255, 123, 0.96), rgba(94, 240, 202, 0.9), rgba(73, 207, 255, 0.88));
  transform: rotate(-6deg);
  box-shadow: 0 -16px 48px rgba(94, 240, 202, 0.18);
}

.hero-card {
  position: absolute;
  padding: 22px;
}

.hero-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.18rem;
}

.hero-card--status {
  top: 0;
  right: 0;
  width: 250px;
  animation: floatCard 5.2s ease-in-out infinite;
}

.hero-card--selector {
  left: 0;
  bottom: 0;
  width: 300px;
  animation: floatCard 6.4s ease-in-out infinite reverse;
}

.hero-thumbs {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hero-thumb img {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
}

.hero-thumb span {
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  transform: translateX(4px);
  border-color: rgba(151, 255, 108, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.marquee__track {
  display: flex;
  gap: 52px;
  width: max-content;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 700;
  animation: ticker 28s linear infinite;
}

.marquee__track span {
  position: relative;
}

.marquee__track span::after {
  content: "•";
  position: absolute;
  right: -27px;
  color: var(--green);
}

.section--spaced {
  padding-top: 116px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.systems-panel__copy h2,
.cta h2 {
  font-size: clamp(2.35rem, 4vw, 4.7rem);
}

.showcase-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 22px;
}

.showcase-card {
  min-height: 100%;
}

.showcase-card--wide {
  grid-row: span 2;
}

.showcase-card__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.showcase-card--wide .showcase-card__media img {
  aspect-ratio: 4 / 3;
}

.showcase-card__body {
  padding: 26px;
}

.showcase-card h3 {
  margin: 12px 0 10px;
  font-size: 1.75rem;
}

.inline-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--text);
  font-weight: 700;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--green);
}

.systems-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  padding: 34px;
  background:
    radial-gradient(circle at 10% 14%, rgba(151, 255, 108, 0.1), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(73, 207, 255, 0.14), transparent 24%),
    var(--surface-strong);
}

.systems-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.systems-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.systems-panel__stack {
  position: relative;
  min-height: 540px;
}

.stack-card {
  position: absolute;
}

.stack-card--main {
  inset: 30px 24px 84px 0;
}

.stack-card--main img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.stack-card--floating div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: grid;
  gap: 6px;
}

.stack-card span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}

.stack-card strong {
  font-size: 1.18rem;
}

.stack-card--floating {
  top: 0;
  right: 0;
  width: 220px;
  transform: rotate(7deg);
}

.stack-card--floating::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 12, 0.08), rgba(4, 8, 12, 0.74) 58%, rgba(4, 8, 12, 0.92) 100%);
  pointer-events: none;
}

.stack-card--floating div {
  z-index: 2;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(4, 8, 12, 0.58);
  backdrop-filter: blur(10px);
}

.stack-card--floating span {
  color: #a6ff86;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.stack-card--floating strong {
  font-size: 1rem;
  line-height: 1.25;
  color: #f7fbff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.stack-card--accent {
  left: 26px;
  bottom: 16px;
  width: 260px;
  padding: 22px;
  background: rgba(8, 12, 15, 0.95);
}

.cta {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(151, 255, 108, 0.12), transparent 26%),
    radial-gradient(circle at 86% 24%, rgba(73, 207, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
}

.footer {
  padding: 44px 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer span {
  color: var(--muted);
}

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

.reveal--delay {
  transition-delay: 140ms;
}

.reveal--long {
  transition-delay: 260ms;
}

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

[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

@keyframes driftOne {
  from {
    transform: translate(-18%, -12%) scale(1);
  }

  to {
    transform: translate(8%, 14%) scale(1.1);
  }
}

@keyframes driftTwo {
  from {
    transform: translate(60%, 4%) scale(1);
  }

  to {
    transform: translate(40%, 20%) scale(1.14);
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

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

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

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

@media (max-width: 1120px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 30px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero,
  .systems-panel,
  .cta {
    grid-template-columns: 1fr;
  }

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

  .showcase-card--wide {
    grid-row: auto;
    grid-column: auto;
  }

  .hero-stage {
    min-height: 760px;
  }
}

@media (max-width: 760px) {
  :root {
    --content-width: min(100vw - 28px, 1240px);
  }

  .topbar {
    margin-top: 14px;
    padding: 14px;
  }

  .brand__copy strong {
    font-size: 0.86rem;
  }

  .nav {
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-metrics,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 620px;
  }

  .hero-stage__ring,
  .hero-stage__ring--alt {
    display: none;
  }

  .hero-stage__frame {
    inset: 36px 0 168px;
  }

  .hero-stage__content {
    left: 22px;
    right: 22px;
    bottom: 54px;
  }

  .hero-card--status {
    right: 0;
    width: 210px;
  }

  .hero-card--selector {
    left: 0;
    right: 0;
    width: auto;
  }

  .hero-thumb {
    grid-template-columns: 56px 1fr;
  }

  .systems-panel,
  .cta,
  .showcase-card__body {
    padding: 24px;
  }

  .systems-panel__stack {
    min-height: 460px;
  }

  .stack-card--main {
    inset: 18px 0 94px;
  }

  .stack-card--floating {
    width: 170px;
  }

  .stack-card--accent {
    width: calc(100% - 32px);
    left: 16px;
    bottom: 16px;
  }

  .footer {
    padding: 34px 0 50px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient,
  .marquee__track,
  .hero-stage__ring,
  .hero-card,
  .button,
  .reveal,
  [data-tilt] {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
