:root {
  --bg: #06111f;
  --surface: rgba(8, 24, 44, 0.62);
  --surface-border: rgba(151, 202, 255, 0.16);
  --text: #eef7ff;
  --muted: #93acc8;
  --accent: #2aa7ff;
  --accent-strong: #0f7ee8;
  --accent-soft: #7ed8ff;
  --glow-one: rgba(27, 129, 255, 0.34);
  --glow-two: rgba(72, 224, 255, 0.2);
  --shadow: 0 34px 90px rgba(0, 10, 25, 0.45);
  --white-line: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(50, 145, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0, 195, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #020816 0%, #08172c 45%, #03101f 100%);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 180, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px);
  background-size: 140px 140px, 180px 180px, 160px 160px;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.95;
  animation: float 10s ease-in-out infinite;
}

.hero__glow--left {
  top: -8rem;
  left: -6rem;
  background: var(--glow-one);
}

.hero__glow--right {
  right: -8rem;
  bottom: -10rem;
  background: var(--glow-two);
  animation-delay: -4s;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(180, 228, 255, 0.12);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(42, 167, 255, 0.04));
  box-shadow: inset 0 1px 16px rgba(255, 255, 255, 0.05);
  animation: drift 12s ease-in-out infinite;
}

.hero__orb--one {
  width: 110px;
  height: 110px;
  top: 16%;
  right: 16%;
}

.hero__orb--two {
  width: 72px;
  height: 72px;
  bottom: 18%;
  left: 14%;
  animation-delay: -6s;
}

.hero__ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(145, 206, 255, 0.12);
  box-shadow: inset 0 0 40px rgba(72, 192, 255, 0.04);
}

.hero__ring--one {
  width: 42rem;
  height: 42rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__ring--two {
  width: 56rem;
  height: 56rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__card {
  position: relative;
  width: min(100%, 760px);
  padding: 64px 44px;
  border: 1px solid var(--surface-border);
  border-radius: 36px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(14, 33, 59, 0.8), rgba(6, 20, 38, 0.72)),
    var(--surface);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  animation: rise 900ms ease-out;
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(126, 216, 255, 0.4), rgba(42, 167, 255, 0.04));
  -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__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(126, 216, 255, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--accent-soft);
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 40px rgba(22, 132, 255, 0.18);
  position: relative;
  z-index: 1;
}

h1 span {
  display: block;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-soft);
}

.subtitle {
  width: min(100%, 36rem);
  margin: 24px auto 0;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.microcopy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
  padding: 10px 16px;
  border: 1px solid var(--white-line);
  border-radius: 999px;
  color: #cde8ff;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.microcopy::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8fe7ff 0%, #2aa7ff 100%);
  box-shadow: 0 0 18px rgba(42, 167, 255, 0.7);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  margin-top: 38px;
  padding: 18px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #f4fbff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(186, 232, 255, 0.22);
  box-shadow:
    0 18px 40px rgba(15, 126, 232, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.download-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.22) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.download-btn:hover,
.download-btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 24px 54px rgba(15, 126, 232, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  filter: saturate(1.14);
}

.download-btn:hover::before,
.download-btn:focus-visible::before {
  transform: translateX(120%);
}

.footnote {
  margin: 20px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 20px, 0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 18px, 0);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 16px;
  }

  .hero__card {
    padding: 42px 24px;
    border-radius: 28px;
  }

  .subtitle {
    font-size: 0.98rem;
  }

  .microcopy {
    font-size: 0.86rem;
    padding: 10px 14px;
  }

  .download-btn {
    width: 100%;
    min-width: 0;
  }

  .hero__orb--one {
    width: 82px;
    height: 82px;
    top: 10%;
    right: 8%;
  }

  .hero__orb--two {
    left: 6%;
  }
}
