:root {
  color-scheme: only light;
  --bg: #2a0753;
  --bg-deep: #19022e;
  --bg-glow: #5c1aa8;
  --ink: #f8f4ff;
  --muted: #d1b7ff;
  --accent: #ff5fb7;
  --accent-2: #ffd166;
  --accent-3: #2de2ff;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 20px 60px rgba(7, 0, 20, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Figtree", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 20%, #5f1cb2 0%, transparent 40%),
    radial-gradient(circle at 80% 0%, #8a2be2 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, #3b0d75 0%, transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  position: relative;
  overflow-x: hidden;
}

.back-link {
  position: fixed;
  top: 20px;
  left: 24px;
  z-index: 20;
  font-size: 0.9rem;
}

.back-link a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.back-link a:hover {
  color: var(--accent-2);
}

.stage {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero {
  display: grid;
  gap: 18px;
  text-shadow: 0 12px 30px rgba(10, 0, 20, 0.4);
  animation: fadeIn 1.2s ease forwards;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 600;
}

.hero h1 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin: 0;
}

.intro {
  font-size: 1.1rem;
  max-width: 760px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.cta {
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  border: none;
  color: #140022;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 15px 35px rgba(255, 95, 183, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 45px rgba(255, 95, 183, 0.5);
}

.hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--ink);
}

.hero-meta span {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 999px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255, 209, 102, 0.2), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.card h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.grid-item {
  background: rgba(6, 0, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
}

.grid-item h3 {
  font-family: "Unbounded", sans-serif;
  margin-top: 0;
}

.grid-item ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.cta-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(140deg, rgba(255, 95, 183, 0.2), rgba(45, 226, 255, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.cta-block h3 {
  font-family: "Unbounded", sans-serif;
  margin: 0 0 10px;
}

.cta-block a {
  color: var(--accent-2);
  font-weight: 600;
}

.cta-meta {
  display: grid;
  gap: 16px;
  min-width: 180px;
}

.cta-meta div {
  background: rgba(0, 0, 0, 0.35);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.spotlight {
  position: fixed;
  inset: auto;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.6;
  z-index: 1;
  animation: drift 14s ease-in-out infinite;
}

.spotlight-one {
  top: -10vh;
  left: -10vw;
  background: radial-gradient(circle, rgba(255, 95, 183, 0.5), transparent 65%);
}

.spotlight-two {
  bottom: -20vh;
  right: -10vw;
  background: radial-gradient(circle, rgba(45, 226, 255, 0.45), transparent 70%);
  animation-delay: -6s;
}

.spotlight-three {
  top: 30vh;
  right: 10vw;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.4), transparent 70%);
  animation-delay: -3s;
}

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

.note {
  position: absolute;
  width: var(--size, 28px);
  height: var(--size, 28px);
  background-color: var(--note-color, #ff5fb7);
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCc+PHBhdGggZmlsbD0nYmxhY2snIGQ9J004IDJ2MTAuNWEzLjUgMy41IDAgMSAwIDIgMy4xVjYuMmw2LTEuNFYxMmEzLjUgMy41IDAgMSAwIDIgMy4xVjIuNkw4IDQuOFYyeicvPjwvc3ZnPg==");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCc+PHBhdGggZmlsbD0nYmxhY2snIGQ9J004IDJ2MTAuNWEzLjUgMy41IDAgMSAwIDIgMy4xVjYuMmw2LTEuNFYxMmEzLjUgMy41IDAgMSAwIDIgMy4xVjIuNkw4IDQuOFYyeicvPjwvc3ZnPg==");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  left: var(--x, 50%);
  top: var(--y, 50%);
  opacity: var(--opacity, 0.5);
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  animation: float var(--duration, 12s) ease-in-out infinite;
}

.note::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 209, 102, 0.7), rgba(255, 95, 183, 0.8));
  mix-blend-mode: screen;
  opacity: 0.7;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(4vw, -3vh) scale(1.1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(1);
  }
  50% {
    transform: translate(calc(-50% + 18px), calc(-50% - 22px)) rotate(calc(var(--rot, 0deg) + 12deg)) scale(1.05);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .stage {
    padding-top: 96px;
  }

  .cta-block {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
