@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700&display=swap');

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

:root {
  --bg-deep: #1a1042;
  --bg-deepest: #0e0828;
  --accent-pink: #FF4081;
  --accent-yellow: #FFD036;
  --accent-purple: #B24BF3;
  --accent-cyan: #40C4FF;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Nunito', sans-serif;
  color: #fff;
  background: var(--bg-deepest);
  min-height: 100vh;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Page layout ── */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Animated background ── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255, 64, 129, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(178, 75, 243, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 90%, rgba(255, 208, 54, 0.06) 0%, transparent 50%),
    var(--bg-deepest);
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-1 {
  width: 500px;
  height: 500px;
  border: 1.5px solid rgba(255, 64, 129, 0.08);
  top: -10%;
  right: -10%;
  animation: spin 30s linear infinite;
}

.orb-2 {
  width: 350px;
  height: 350px;
  border: 1.5px solid rgba(178, 75, 243, 0.06);
  bottom: -5%;
  left: -8%;
  animation: spin 25s linear infinite reverse;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(64, 196, 255, 0.03);
  top: 30%;
  left: 15%;
  animation: float 8s ease-in-out infinite;
}

/* Sparkle dots */
.sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  animation: twinkle 3s ease-in-out infinite;
}

.sparkle-1 { top: 15%; left: 25%; animation-delay: 0s; }
.sparkle-2 { top: 35%; right: 20%; animation-delay: 0.8s; }
.sparkle-3 { bottom: 25%; left: 40%; animation-delay: 1.5s; }
.sparkle-4 { top: 55%; left: 12%; animation-delay: 2.2s; }
.sparkle-5 { top: 20%; right: 35%; animation-delay: 0.4s; }

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

/* ── Content ── */
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  padding: 60px 24px;
}

.logo {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent-pink);
}

.badge {
  display: inline-block;
  padding: 6px 20px;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  background: rgba(255, 208, 54, 0.1);
  border: 1px solid rgba(255, 208, 54, 0.2);
  border-radius: 6px;
  margin-bottom: 28px;
}

h1 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 40px;
}

/* ── Signup form ── */
.signup__row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9375rem;
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s ease;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.input:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(255, 64, 129, 0.15);
}

.btn {
  padding: 14px 28px;
  background: var(--accent-pink);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #ff6ba0;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 64, 129, 0.3);
}

.signup__note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 40px;
}

.feature {
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 64, 129, 0.15);
  transform: translateY(-4px);
}

.feature__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 64, 129, 0.1);
  border-radius: 10px;
}

.feature__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-pink);
}

.feature h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 6px;
  color: #fff;
}

.feature p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* ── Socials ── */
.socials {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.socials a:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #fff;
  transform: translateY(-2px);
}

.socials a svg {
  width: 16px;
  height: 16px;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  padding: 24px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .signup__row {
    flex-direction: column;
  }

  h1 br {
    display: none;
  }
}
