:root {
  color-scheme: dark;
  --bg: #020710;
  --bg-soft: #06111f;
  --blue: #0877ff;
  --blue-bright: #1987ff;
  --blue-deep: #0032b8;
  --text: #f7f9ff;
  --muted: #a8b0c1;
  --faint: #687083;
  --line: rgba(141, 162, 206, 0.2);
  --panel: rgba(7, 14, 29, 0.76);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 58%, rgba(0, 91, 255, 0.17), transparent 31rem),
    radial-gradient(circle at 14% 11%, rgba(12, 101, 255, 0.11), transparent 24rem),
    radial-gradient(circle at 86% 4%, rgba(0, 126, 255, 0.09), transparent 25rem),
    linear-gradient(180deg, #020812 0%, #030813 48%, #020710 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(13, 90, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 90, 210, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 50% 44%, transparent 0, rgba(0, 0, 0, 0.26) 47%, rgba(0, 0, 0, 0.72) 100%);
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 96px, 1440px);
  min-height: 100vh;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 5px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(165px, 12vw, 215px);
  height: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--blue-bright);
  background: rgba(3, 9, 21, 0.78);
  box-shadow: inset 0 0 24px rgba(31, 122, 255, 0.05);
  font-size: 1rem;
  white-space: nowrap;
}

.status-pill span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(25, 135, 255, 0.9);
}

.hero {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: clamp(50px, 7vh, 80px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.24em;
}

h1 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.55rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span,
h1 strong {
  display: block;
}

h1 span {
  color: #fff;
  text-shadow: 0 6px 22px rgba(255, 255, 255, 0.12);
}

h1 strong {
  margin-top: 6px;
  color: var(--blue);
  font-style: normal;
  text-shadow: 0 0 30px rgba(0, 111, 255, 0.28), 0 10px 24px rgba(0, 0, 0, 0.4);
}

.intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(242, 245, 252, 0.82);
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.62;
}

.product-scene {
  position: relative;
  width: min(495px, 92vw);
  height: clamp(285px, 29vw, 365px);
  margin-top: 16px;
  overflow: clip;
  perspective: 900px;
}

.orbit,
.platform,
.cube {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#particle-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  mask-image:
    linear-gradient(180deg, transparent 0%, black 10%, black 88%, transparent 100%),
    linear-gradient(90deg, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, black 10%, black 88%, transparent 100%),
    linear-gradient(90deg, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.orbit {
  z-index: 1;
  bottom: 58px;
  width: 72%;
  aspect-ratio: 1 / 0.58;
  border: 1px solid rgba(12, 108, 255, 0.28);
  border-radius: 50%;
  filter: blur(0.1px);
}

.orbit-one {
  transform: translateX(-50%) rotate(-8deg);
}

.orbit-two {
  width: 58%;
  border-color: rgba(22, 130, 255, 0.2);
  transform: translateX(-50%) rotate(11deg);
}

.platform {
  z-index: 2;
  bottom: 45px;
  width: min(365px, 68vw);
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(23, 39, 63, 0.95), rgba(2, 6, 14, 0.97));
  box-shadow:
    0 26px 45px rgba(0, 0, 0, 0.8),
    0 0 62px rgba(0, 100, 255, 0.36),
    inset 0 -8px 15px rgba(0, 0, 0, 0.7);
}

.platform::before {
  position: absolute;
  inset: 8px 19px 24px;
  content: "";
  border: 1px solid rgba(90, 162, 255, 0.34);
  border-radius: 50%;
}

.platform-ring {
  position: absolute;
  inset: 17px 54px 28px;
  border: 1px solid rgba(84, 142, 218, 0.35);
  border-radius: 50%;
}

.platform-core {
  position: absolute;
  inset: 22px 74px 34px;
  border: 1px solid rgba(76, 124, 190, 0.25);
  border-radius: 50%;
}

.cube {
  z-index: 3;
  bottom: 105px;
  width: min(150px, 26vw);
  aspect-ratio: 1;
  transform: translateX(-50%) rotateX(-10deg) rotateY(-18deg);
  transform-style: preserve-3d;
  animation: hover 5.8s ease-in-out infinite;
}

.cube-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(87, 131, 199, 0.32);
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.18), transparent 9%),
    linear-gradient(145deg, #121d32 0%, #050916 72%);
  box-shadow: inset 0 0 35px rgba(30, 114, 255, 0.08);
}

.cube-front {
  display: grid;
  place-items: center;
  transform: translateZ(75px);
}

.cube-front svg {
  width: 56%;
  fill: var(--blue);
  filter: drop-shadow(0 0 12px rgba(0, 119, 255, 0.82));
}

.cube-side {
  transform: rotateY(90deg) translateZ(75px);
  background: linear-gradient(125deg, #0c1424 0%, #030611 100%);
}

.cube-top {
  transform: rotateX(90deg) translateZ(75px);
  background: linear-gradient(160deg, #162846 0%, #060b18 100%);
}

.tagline {
  margin: 0 0 72px;
  color: rgba(246, 248, 253, 0.86);
  font-size: clamp(0.96rem, 1.05vw, 1.08rem);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 0 0 72px;
  padding: 41px 40px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: linear-gradient(180deg, rgba(3, 9, 22, 0.72), rgba(2, 7, 17, 0.86));
  box-shadow: inset 0 0 44px rgba(22, 112, 255, 0.045);
  text-align: left;
}

.feature {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 21px;
  align-items: center;
  min-width: 0;
  padding: 0 38px;
}

.feature + .feature {
  border-left: 1px solid rgba(125, 150, 195, 0.16);
}

.feature-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(0, 72, 185, 0.68), rgba(0, 36, 110, 0.52));
  box-shadow: inset 0 0 28px rgba(0, 110, 255, 0.18);
}

.feature-icon svg {
  width: 39px;
  height: 39px;
  fill: var(--blue);
}

.feature-icon .stroke-icon {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.feature h2 {
  margin: 0 0 11px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.feature p {
  margin: 0;
  color: rgba(229, 234, 244, 0.74);
  font-size: 1rem;
  line-height: 1.45;
}

.contact {
  margin-bottom: 48px;
  color: rgba(247, 249, 255, 0.86);
  font-size: 1.13rem;
}

.contact p {
  margin: 0 0 11px;
}

.contact a {
  color: var(--blue-bright);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.legal-page {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(60px, 8vh, 96px) 0 80px;
  color: rgba(242, 245, 252, 0.84);
}

.legal-page h1 {
  max-width: none;
  margin-bottom: 36px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
}

.legal-page section {
  padding: 28px 0;
  border-top: 1px solid rgba(125, 150, 195, 0.14);
}

.legal-page section:first-of-type {
  border-top: 0;
}

.legal-page h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.3;
}

.legal-page h3 {
  margin: 22px 0 8px;
  color: rgba(247, 249, 255, 0.94);
  font-size: 1rem;
  line-height: 1.35;
}

.legal-page p,
.legal-page li,
.legal-page address {
  font-size: 1rem;
  line-height: 1.75;
}

.legal-page p,
.legal-page ul,
.legal-page address {
  margin: 0 0 14px;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-page address {
  color: rgba(242, 245, 252, 0.72);
  font-style: normal;
}

.legal-page a {
  color: var(--blue-bright);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 58px;
  border-top: 1px solid rgba(122, 142, 180, 0.14);
  color: rgba(170, 178, 195, 0.68);
  font-size: 1rem;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  gap: 47px;
}

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

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

@keyframes hover {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotateX(-10deg) rotateY(-18deg);
  }
  50% {
    transform: translateX(-50%) translateY(-14px) rotateX(-8deg) rotateY(-24deg);
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 32px, 720px);
  }

  .topbar {
    padding-top: 28px;
  }

  .features {
    grid-template-columns: 1fr;
    padding: 14px 28px;
  }

  .feature {
    padding: 27px 0;
  }

  .feature + .feature {
    border-top: 1px solid rgba(125, 150, 195, 0.16);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 480px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .brand img {
    width: min(210px, 58vw);
  }

  .status-pill {
    width: 100%;
    min-height: 45px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 58px;
  }

  .eyebrow {
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(3.35rem, 16vw, 4.6rem);
  }

  .intro {
    margin-top: 27px;
  }

  .product-scene {
    height: 320px;
    margin-top: 16px;
  }

  .cube {
    width: 138px;
    bottom: 116px;
  }

  .cube-front {
    transform: translateZ(69px);
  }

  .cube-side {
    transform: rotateY(90deg) translateZ(69px);
  }

  .cube-top {
    transform: rotateX(90deg) translateZ(69px);
  }

  .tagline {
    margin-bottom: 48px;
  }

  .features {
    margin-bottom: 48px;
    border-radius: 18px;
  }

  .feature {
    grid-template-columns: 62px 1fr;
    gap: 17px;
  }

  .feature-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  .feature-icon svg {
    width: 32px;
    height: 32px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 40px;
  }

  .footer nav {
    gap: 24px;
  }
}

@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;
  }
}
