:root {
  --ink: #f8fbff;
  --muted: rgba(248, 251, 255, 0.68);
  --dim: rgba(248, 251, 255, 0.48);
  --blue: #5363be;
  --blue-bright: #8190ff;
  --black: #03040a;
  --panel: rgba(7, 10, 24, 0.62);
  --panel-strong: rgba(10, 14, 32, 0.82);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-blue: rgba(129, 144, 255, 0.32);
  --shadow: 0 36px 120px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(83, 99, 190, 0.34), transparent 28rem),
    radial-gradient(circle at 92% 42%, rgba(129, 144, 255, 0.18), transparent 24rem),
    linear-gradient(135deg, #03040a 0%, #070a18 45%, #0d1023 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0 42%, transparent 76%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(3, 4, 10, 0.8), transparent 36%, rgba(3, 4, 10, 0.64));
}

#three-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  z-index: 1;
  width: 36vw;
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.42;
  animation: drift 12s ease-in-out infinite alternate;
}

.orb-one {
  top: -14vw;
  left: -12vw;
  background: rgba(83, 99, 190, 0.55);
}

.orb-two {
  right: -18vw;
  bottom: 2vh;
  background: rgba(129, 144, 255, 0.24);
  animation-delay: -4s;
}

.site-shell {
  position: relative;
  z-index: 3;
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(18px, 3vw, 48px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--stroke-blue);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(83, 99, 190, 0.92), rgba(15, 18, 42, 0.72));
  box-shadow: 0 14px 42px rgba(83, 99, 190, 0.28);
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.nav-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 0 rgba(129, 144, 255, 0.48);
  animation: statusPulse 1.8s ease-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  min-height: calc(100vh - 140px);
  padding-block: clamp(38px, 5vw, 78px) 76px;
}

.hero-copy {
  max-width: 830px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 2vw, 28px);
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-bright), transparent);
}

h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(4.4rem, 9vw, 9.6rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

.tagline {
  margin: clamp(22px, 2.8vw, 36px) 0 0;
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 2rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.description {
  max-width: 780px;
  margin: clamp(18px, 2.2vw, 28px) 0 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  line-height: 1.78;
  font-weight: 500;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: clamp(28px, 3.8vw, 48px);
}

.primary-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #161a3e);
  box-shadow: 0 20px 58px rgba(83, 99, 190, 0.32);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.primary-btn::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-130%);
  animation: buttonSheen 4.2s ease-in-out infinite;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(83, 99, 190, 0.46);
}

.launch-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.launch-note span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82rem;
  font-weight: 800;
}

.identity-card {
  position: relative;
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: clamp(26px, 3vw, 40px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045)),
    rgba(8, 10, 22, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.identity-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(129, 144, 255, 0.38), transparent 34%, rgba(255, 255, 255, 0.12) 72%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 54%);
  mask-image: linear-gradient(#000, transparent 86%);
}

.card-glow {
  position: absolute;
  top: -26%;
  right: -26%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(83, 99, 190, 0.42);
  filter: blur(44px);
}

.logo-wrap {
  position: relative;
  margin: clamp(16px, 2vw, 24px);
  padding: clamp(10px, 1.4vw, 15px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
}

.logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.progress-block {
  position: relative;
  margin: 0 clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px);
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.18);
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.progress-head span {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.progress-head strong {
  color: #ffffff;
  font-size: 1rem;
}

.progress-track {
  position: relative;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-track span {
  display: block;
  width: 84%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright), #ffffff);
  box-shadow: 0 0 24px rgba(129, 144, 255, 0.62);
  transform-origin: left;
}

.card-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border-top: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.08);
}

.card-grid div {
  padding: 18px clamp(18px, 2.2vw, 26px);
  background: rgba(7, 10, 24, 0.64);
}

.card-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-grid strong {
  display: block;
  color: #ffffff;
  font-size: clamp(0.98rem, 1.3vw, 1.14rem);
  line-height: 1.35;
}

.marquee {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 4, 10, 0.66);
  backdrop-filter: blur(18px);
}

.marquee div {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 24px;
  color: rgba(248, 251, 255, 0.56);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.marquee span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--blue-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-1 { animation-delay: 90ms; }
.reveal-2 { animation-delay: 180ms; }
.reveal-3 { animation-delay: 300ms; }
.reveal-4 { animation-delay: 440ms; }
.reveal-5 { animation-delay: 590ms; }
.reveal-6 { animation-delay: 720ms; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statusPulse {
  70% {
    box-shadow: 0 0 0 12px rgba(129, 144, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(129, 144, 255, 0);
  }
}

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

@keyframes buttonSheen {
  0%, 52% { transform: translateX(-130%); }
  72%, 100% { transform: translateX(130%); }
}

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

@media (max-width: 1050px) {
  body::after {
    background: linear-gradient(180deg, rgba(3, 4, 10, 0.68), transparent 40%, rgba(3, 4, 10, 0.76));
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: clamp(34px, 7vw, 70px);
  }

  .hero-copy {
    max-width: 100%;
  }

  .identity-card {
    width: min(560px, 100%);
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 16px 16px 74px;
  }

  .topbar {
    align-items: flex-start;
  }

  .brand span:last-child {
    max-width: 150px;
    line-height: 1.1;
  }

  .nav-status {
    max-width: 150px;
    justify-content: center;
    text-align: center;
    font-size: 0.64rem;
    line-height: 1.35;
  }

  .hero {
    min-height: auto;
    gap: 30px;
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 5.7rem);
    letter-spacing: -0.09em;
  }

  .description {
    font-size: 0.94rem;
  }

  .primary-btn {
    width: 100%;
  }

  .launch-note {
    width: 100%;
  }

  .launch-note span {
    flex: 1 1 auto;
    justify-content: center;
  }
}

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