:root {
  --bg: #020617;
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --violet: #818cf8;
  --line: rgba(34, 211, 238, 0.16);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
  animation: grid-drift 32s linear infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.orb-cyan {
  width: 460px;
  height: 460px;
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.38), transparent 70%);
  animation: float-a 16s ease-in-out infinite;
}

.orb-violet {
  width: 380px;
  height: 380px;
  bottom: -18%;
  right: 8%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.32), transparent 70%);
  animation: float-b 20s ease-in-out infinite;
}

.scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.06), transparent);
  animation: scan 9s ease-in-out infinite;
}

.topbar,
.hero,
footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 6vw;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.45));
}

.credit {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 6vw 4rem;
}

.mark {
  position: relative;
  width: min(320px, 72vw);
  height: min(320px, 72vw);
  display: grid;
  place-items: center;
  margin-bottom: 1.75rem;
}

.logo {
  width: 68%;
  height: auto;
  position: relative;
  z-index: 1;
  animation: logo-breathe 4.6s ease-in-out infinite;
  filter: drop-shadow(0 0 32px rgba(34, 211, 238, 0.35));
}

.rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.2);
  animation: spin 24s linear infinite;
}

.rings span:nth-child(2) {
  inset: 9%;
  border-color: rgba(129, 140, 248, 0.28);
  animation-duration: 16s;
  animation-direction: reverse;
}

.rings span:nth-child(3) {
  inset: 20%;
  border-style: dashed;
  border-color: rgba(34, 211, 238, 0.35);
  animation-duration: 11s;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.55);
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}

h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(1.85rem, 4.6vw, 3.35rem);
  max-width: 16ch;
}

.lede {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.meter {
  width: min(420px, 86vw);
  height: 4px;
  margin: 2rem 0 1.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.55);
  animation: meter 2.8s ease-in-out infinite;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #cbd5e1;
  font-size: 0.85rem;
  background: rgba(15, 23, 42, 0.55);
}

footer {
  padding: 0 6vw 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

footer p {
  margin: 0.2rem 0;
}

.domain {
  color: var(--cyan);
  letter-spacing: 0.04em;
}

@keyframes grid-drift {
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

@keyframes float-a {
  0%,
  100% {
    transform: translate3d(-50%, 0, 0);
  }
  50% {
    transform: translate3d(calc(-50% + 18px), 16px, 0);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-20px, -14px, 0);
  }
}

@keyframes scan {
  0% {
    top: -30%;
  }
  100% {
    top: 110%;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

@keyframes meter {
  0%,
  100% {
    width: 54%;
  }
  50% {
    width: 72%;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grid,
  .orb,
  .scan,
  .logo,
  .rings span,
  .pulse,
  .meter span {
    animation: none !important;
  }
}
