:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-soft: #090d14;
  --ink: #f6f7fb;
  --muted: #aab2c2;
  --quiet: #70798d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --gold: #f6b44b;
  --ember: #ff6c32;
  --violet: #9d68ff;
  --cyan: #42d9ff;
  --blue: #5d72ff;
  --green: #47e7b2;
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --font-main:
    "Oxanium", "Eurostile", "Eurostile Extended", "Bank Gothic Medium",
    "Rajdhani", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(96, 125, 255, 0.18), transparent 36rem),
    linear-gradient(180deg, #05070b 0%, #070911 45%, #05070b 100%);
  color: var(--ink);
  font-family: var(--font-main);
  font-weight: 500;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 70%, transparent);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101522;
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.particle-field,
.ambient {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
}

.ambient {
  opacity: 0.5;
  filter: blur(30px);
  mix-blend-mode: screen;
}

.ambient-one {
  background: radial-gradient(circle at 16% 20%, rgba(255, 108, 50, 0.32), transparent 20rem);
  animation: drift-one 18s ease-in-out infinite alternate;
}

.ambient-two {
  background: radial-gradient(circle at 86% 26%, rgba(66, 217, 255, 0.24), transparent 22rem);
  animation: drift-two 22s ease-in-out infinite alternate;
}

.ambient-three {
  background: radial-gradient(circle at 54% 82%, rgba(157, 104, 255, 0.18), transparent 28rem);
  animation: drift-three 26s ease-in-out infinite alternate;
}

.hero {
  display: grid;
  min-height: 100svh;
  padding: 7rem 1.25rem 6rem;
  place-items: center;
}

.hero-inner {
  width: min(100%, var(--max));
  text-align: center;
}

.brand-logo {
  width: min(520px, 78vw);
  height: auto;
  opacity: 0.94;
}

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

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tagline {
  max-width: 620px;
  margin: 1.4rem auto 0;
  color: #e8f2ff;
  font-size: clamp(1.08rem, 1vw + 0.92rem, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 0 24px rgba(0, 130, 255, 0.22);
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2.8rem, 5vw, 5rem);
}

.product-card {
  position: relative;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  align-items: end;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 14, 23, 0.72);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.32);
  text-align: left;
  text-decoration: none;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.product-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, transparent 22%, rgba(5, 7, 11, 0.24) 55%, rgba(5, 7, 11, 0.9)),
    radial-gradient(circle at 50% 2%, rgba(255, 255, 255, 0.16), transparent 19rem);
}

.product-card::after {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  z-index: 0;
  height: 4rem;
  content: "";
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.relics-card::after {
  background: rgba(246, 180, 75, 0.45);
}

.startup-card::after {
  background: rgba(66, 217, 255, 0.42);
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
}

.product-card:hover::after,
.product-card:focus-visible::after {
  opacity: 1;
}

.card-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.card-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.6rem;
  padding: 2rem;
}

.eyebrow {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card-title {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow: 0 0 32px rgba(255, 255, 255, 0.12);
}

.card-action {
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.82rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.relics-card .eyebrow,
.relics-panel .eyebrow {
  color: #ffc86f;
}

.startup-card .eyebrow,
.startup-panel .eyebrow {
  color: #8ceaff;
}

.relics-visual {
  background:
    radial-gradient(circle at 52% 32%, rgba(246, 180, 75, 0.38), transparent 10rem),
    linear-gradient(160deg, #160815 0%, #21112a 44%, #09080d 100%);
}

.relics-sky,
.relics-sun,
.relics-ridge,
.relics-portal,
.relics-crystal,
.relics-fog {
  position: absolute;
  display: block;
}

.relics-sky {
  inset: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(157, 104, 255, 0.32), transparent 12rem),
    radial-gradient(circle at 80% 8%, rgba(255, 108, 50, 0.32), transparent 12rem);
}

.relics-sun {
  top: 16%;
  left: 50%;
  width: 12rem;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid rgba(246, 180, 75, 0.36);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 180, 75, 0.24), transparent 62%);
  box-shadow: 0 0 46px rgba(246, 180, 75, 0.26);
}

.relics-ridge {
  right: -8%;
  bottom: 15%;
  left: -8%;
  height: 38%;
  background: linear-gradient(160deg, #130b14 20%, #392034 100%);
  clip-path: polygon(0 76%, 10% 42%, 25% 62%, 38% 28%, 52% 58%, 66% 35%, 80% 64%, 100% 28%, 100% 100%, 0 100%);
}

.ridge-b {
  bottom: 7%;
  opacity: 0.82;
  background: linear-gradient(160deg, #08070b 10%, #261629 100%);
  clip-path: polygon(0 42%, 12% 58%, 26% 36%, 40% 68%, 54% 24%, 68% 58%, 82% 36%, 100% 54%, 100% 100%, 0 100%);
}

.relics-portal {
  top: 31%;
  left: 50%;
  width: 8.2rem;
  aspect-ratio: 1;
  transform: translateX(-50%) rotate(45deg);
  border: 2px solid rgba(255, 202, 111, 0.42);
  box-shadow:
    inset 0 0 28px rgba(157, 104, 255, 0.4),
    0 0 50px rgba(255, 108, 50, 0.32);
}

.relics-crystal {
  bottom: 21%;
  width: 1.4rem;
  height: 4.8rem;
  background: linear-gradient(180deg, #fff3b9, #ff8b35 52%, #7a36ff);
  clip-path: polygon(50% 0, 100% 34%, 72% 100%, 28% 100%, 0 34%);
  box-shadow: 0 0 28px rgba(255, 139, 53, 0.4);
}

.crystal-a {
  left: 20%;
  transform: rotate(-16deg);
}

.crystal-b {
  right: 22%;
  height: 3.4rem;
  transform: rotate(14deg);
}

.relics-fog {
  right: -20%;
  bottom: 6%;
  left: -20%;
  height: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  filter: blur(22px);
  opacity: 0.42;
}

.startup-visual {
  background:
    radial-gradient(circle at 72% 24%, rgba(66, 217, 255, 0.32), transparent 14rem),
    linear-gradient(150deg, #071016 0%, #0d1022 52%, #04070c 100%);
}

.app-window {
  position: absolute;
  top: 18%;
  right: 8%;
  left: 12%;
  min-height: 61%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 28, 48, 0.94), rgba(12, 17, 28, 0.84));
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(780px) rotateY(-8deg) rotateX(4deg);
}

.window-bar,
.side-rail,
.metric,
.timeline,
.launch-row {
  position: absolute;
  display: block;
}

.window-bar {
  inset: 0 0 auto;
  height: 2.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 1.1rem 50%, #ff6b6b 0 0.18rem, transparent 0.2rem),
    radial-gradient(circle at 2rem 50%, #ffd166 0 0.18rem, transparent 0.2rem),
    radial-gradient(circle at 2.9rem 50%, #47e7b2 0 0.18rem, transparent 0.2rem),
    rgba(255, 255, 255, 0.04);
}

.side-rail {
  top: 2.1rem;
  bottom: 0;
  left: 0;
  width: 27%;
  background:
    linear-gradient(90deg, rgba(93, 114, 255, 0.18), transparent),
    rgba(255, 255, 255, 0.025);
}

.metric {
  top: 3.7rem;
  width: 22%;
  height: 3.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.metric-a {
  left: 32%;
}

.metric-b {
  left: 58%;
}

.timeline {
  top: 8.9rem;
  bottom: 2rem;
  left: 36%;
  width: 1px;
  background: linear-gradient(var(--green), rgba(71, 231, 178, 0.06));
}

.launch-row {
  left: 39%;
  height: 2rem;
  border: 1px solid rgba(66, 217, 255, 0.28);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(66, 217, 255, 0.22), rgba(93, 114, 255, 0.1));
}

.row-a {
  top: 8.2rem;
  width: 38%;
}

.row-b {
  top: 11.1rem;
  width: 53%;
}

.row-c {
  top: 14rem;
  width: 67%;
}

.startup-glow {
  position: absolute;
  inset: auto 12% 12% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(66, 217, 255, 0.18);
  filter: blur(30px);
}

.product-preview {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 6rem;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

.preview-grid {
  display: grid;
  gap: 1rem;
}

.preview-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%),
    rgba(9, 13, 20, 0.82);
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.26);
}

.panel-art {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.panel-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.panel-content h3 {
  margin: 0.35rem 0 1rem;
  color: #fff;
  font-size: clamp(2.1rem, 4.3vw, 5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow: 0 0 34px rgba(255, 255, 255, 0.1);
}

.panel-content p:not(.eyebrow) {
  max-width: 650px;
  color: #c7d0df;
  font-size: clamp(1rem, 0.5vw + 0.92rem, 1.16rem);
  font-weight: 500;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.button.primary {
  border-color: transparent;
}

.button.primary.warm {
  background: linear-gradient(135deg, #f6b44b, #ff6c32);
  color: #1b0c06;
}

.button.primary.cool {
  background: linear-gradient(135deg, #42d9ff, #5d72ff);
  color: #030713;
}

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

.relics-panel-art {
  background:
    radial-gradient(circle at 50% 38%, rgba(246, 180, 75, 0.36), transparent 10rem),
    radial-gradient(circle at 18% 28%, rgba(157, 104, 255, 0.26), transparent 12rem),
    linear-gradient(145deg, #190b12, #08070b 70%);
}

.relics-panel-art::before,
.relics-panel-art::after {
  position: absolute;
  inset: auto -8% 0;
  height: 45%;
  content: "";
  background: linear-gradient(160deg, #09070a, #2a1724);
  clip-path: polygon(0 100%, 0 56%, 16% 18%, 30% 52%, 44% 20%, 58% 66%, 74% 24%, 100% 54%, 100% 100%);
}

.relics-panel-art::after {
  height: 28%;
  opacity: 0.78;
  background: #05060a;
  clip-path: polygon(0 100%, 0 38%, 20% 72%, 40% 24%, 62% 68%, 82% 36%, 100% 62%, 100% 100%);
}

.relic-orb,
.loot-line,
.control-grid,
.status-pill,
.startup-track {
  position: absolute;
  display: block;
}

.relic-orb {
  top: 22%;
  left: 50%;
  width: 12rem;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid rgba(246, 180, 75, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 224, 144, 0.18), transparent 58%),
    conic-gradient(from 90deg, rgba(246, 180, 75, 0.08), rgba(157, 104, 255, 0.45), rgba(255, 108, 50, 0.18), rgba(246, 180, 75, 0.08));
  box-shadow: 0 0 58px rgba(246, 180, 75, 0.24);
}

.loot-line {
  bottom: 23%;
  left: 50%;
  height: 0.12rem;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255, 202, 111, 0.95), transparent);
}

.loot-one {
  width: 38%;
  transform: rotate(-24deg);
}

.loot-two {
  width: 28%;
  transform: rotate(13deg);
}

.loot-three {
  width: 33%;
  transform: rotate(39deg);
}

.startup-panel-art {
  background:
    radial-gradient(circle at 68% 20%, rgba(66, 217, 255, 0.28), transparent 11rem),
    linear-gradient(145deg, #061018, #070914 72%);
}

.control-grid {
  inset: 14% 10%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 44px 44px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.status-pill {
  top: 22%;
  left: 16%;
  width: 9.8rem;
  height: 3rem;
  border: 1px solid rgba(71, 231, 178, 0.28);
  border-radius: 8px;
  background: rgba(71, 231, 178, 0.11);
  box-shadow: 0 0 38px rgba(71, 231, 178, 0.12);
}

.startup-track {
  left: 22%;
  height: 2.5rem;
  border: 1px solid rgba(66, 217, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(66, 217, 255, 0.18), rgba(93, 114, 255, 0.08));
}

.track-one {
  top: 40%;
  width: 44%;
}

.track-two {
  top: 54%;
  width: 58%;
}

.track-three {
  top: 68%;
  width: 70%;
}

.site-footer {
  display: flex;
  width: min(100% - 2.5rem, var(--max));
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--quiet);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem 1.2rem;
}

.site-footer a {
  color: #c2cad8;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 720ms ease forwards;
}

.preview-panel:nth-child(2) {
  animation-delay: 120ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-one {
  to {
    transform: translate3d(4vw, 3vh, 0) scale(1.08);
  }
}

@keyframes drift-two {
  to {
    transform: translate3d(-5vw, 4vh, 0) scale(1.06);
  }
}

@keyframes drift-three {
  to {
    transform: translate3d(0, -5vh, 0) scale(1.05);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 5rem;
  }

  .product-cards,
  .preview-panel {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 330px;
  }

  .preview-panel {
    min-height: 0;
  }

  .startup-panel .panel-art {
    order: -1;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 3rem 1rem 4rem;
  }

  .product-preview {
    width: min(100% - 2rem, var(--max));
    padding: 3.5rem 0 4rem;
  }

  .brand-logo {
    width: min(420px, 86vw);
  }

  .tagline {
    font-size: 1.08rem;
  }

  .product-card {
    min-height: 300px;
  }

  .card-copy {
    padding: 1.35rem;
  }

  .card-action,
  .button {
    width: 100%;
  }

  .panel-content {
    padding: 1.35rem;
  }

  .panel-art {
    min-height: 260px;
  }

  .app-window {
    left: 6%;
    right: 4%;
  }

  .site-footer {
    width: min(100% - 2rem, var(--max));
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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