:root {
  --card-radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #1a1440;
  position: relative;
}

/* ---------- Animated multi-color gradient ---------- */
.gradient-bg {
  position: fixed;
  inset: -20%;
  z-index: -3;
  background: linear-gradient(
    130deg,
    #ff6ec4,
    #7873f5,
    #4ADEDE,
    #ffd166,
    #ff6ec4
  );
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
  filter: saturate(1.15);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Floating blurred orbs ---------- */
.orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.orb-1 {
  width: 380px;
  height: 380px;
  background: #ff6ec4;
  top: -80px;
  left: -60px;
  animation: float1 16s ease-in-out infinite;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #4ADEDE;
  bottom: -70px;
  right: -40px;
  animation: float2 20s ease-in-out infinite;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: #ffd166;
  bottom: 10%;
  left: 8%;
  animation: float3 22s ease-in-out infinite;
}

.orb-4 {
  width: 320px;
  height: 320px;
  background: #7873f5;
  top: 12%;
  right: 10%;
  animation: float1 24s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 50px) scale(1.12); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -40px) scale(1.08); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.15); }
}

/* subtle darkening vignette so white text always reads well */
.stage::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 40%, transparent 30%, rgba(20, 12, 45, 0.35) 100%);
  pointer-events: none;
}

/* ---------- Frosted glass card ---------- */
.stage {
  width: 100%;
  padding: 24px;
  display: grid;
  place-items: center;
}

.card {
  position: relative;
  width: min(560px, 100%);
  padding: 56px 48px;
  text-align: center;
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 30px 80px rgba(20, 12, 45, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  animation: rise 1.1s var(--ease) both;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(48px) scale(0.96);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 26px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dffb2;
  box-shadow: 0 0 10px #7dffb2;
  animation: pulse 2s ease-in-out infinite;
}

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

.headline {
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(20, 12, 45, 0.25);
}

.wave {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: wave 2.6s ease-in-out infinite;
}

@keyframes wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}

.subtitle {
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42ch;
  margin: 0 auto 34px;
}

.actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s ease;
}

.btn-primary {
  color: #2a1a5e;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(20, 12, 45, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(20, 12, 45, 0.4);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
  .card {
    padding: 44px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-bg,
  .orb,
  .wave,
  .badge-dot,
  .card {
    animation: none;
  }
}
