:root {
  --bg: #12002a;
  --ink: #f4f0ff;
  --ink-muted: #c9bff0;
  --cyan: #00e5ff;
  --pink: #ff2e97;
  --orange: #ffb347;
  --violet: #7b2cbf;
  --grid-line: rgba(185, 80, 255, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  z-index: 3;
}

.brand {
  font-weight: 900;
  letter-spacing: 0.35em;
  font-size: 0.95rem;
  color: var(--ink);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.65);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 64px;
  text-align: center;
  isolation: isolate;
}

.hero-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(200px, 26vw, 340px);
  margin-top: 16px;
}

.hero-stage h1 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4%;
}

.sun {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 26vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(to bottom, var(--orange), var(--pink) 55%, var(--violet));
  z-index: -2;
  box-shadow: 0 0 90px rgba(255, 46, 151, 0.45);
}

.sun::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 6px,
    var(--bg) 6px,
    var(--bg) 14px
  );
  clip-path: inset(52% 0 0 0);
}

.grid {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: 0;
  height: 55%;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(300px) rotateX(60deg);
  transform-origin: top;
  opacity: 0.7;
}

@media (prefers-reduced-motion: no-preference) {
  .grid {
    animation: grid-scroll 3s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grid {
    animation: none;
  }
}

@keyframes grid-scroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 60px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.kicker {
  margin: 0;
  max-width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--cyan);
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

@media (min-width: 480px) {
  .kicker {
    letter-spacing: 0.3em;
    font-size: 0.75rem;
  }
}

h1 {
  position: relative;
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(2.25rem, 9vw, 4.5rem);
  line-height: 1.05;
  text-shadow: 3px 3px 0 var(--pink), -3px -3px 0 var(--cyan);
}

h1 .line1 {
  display: block;
}

h1 .accent {
  color: #ffffff;
}

@media (min-width: 720px) {
  h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
  }
}

.lead {
  position: relative;
  margin: 0;
  max-width: min(56ch, 100%);
  color: var(--ink-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(18, 0, 42, 0.9);
}

.btn {
  display: inline-block;
  margin-top: 4px;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  color: var(--bg);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.highlights {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 560px;
}

.highlights li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  background: rgba(27, 5, 54, 0.92);
  border: 1px solid rgba(185, 80, 255, 0.65);
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(123, 44, 191, 0.45);
}

.highlights strong {
  color: var(--cyan);
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 800;
}

.highlights span {
  color: var(--ink-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 720px) {
  .highlights {
    gap: 16px;
  }

  .highlights li {
    padding: 20px 12px;
  }

  .highlights span {
    font-size: 0.85rem;
  }
}

.features {
  position: relative;
  z-index: 2;
  padding: 64px 16px 80px;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.features h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.features-intro {
  margin: 0 auto 40px;
  max-width: min(60ch, 100%);
  color: var(--ink-muted);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 24px rgba(123, 44, 191, 0.35);
}

.card h3 {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 16px 40px;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}
