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

:root {
  --purple: #7B3FA0;
  --white: #f5f0ff;
  --muted: rgba(255,255,255,0.6);
}

html, body {
  min-height: 100vh;
  background: var(--purple);
  font-family: 'DM Sans', sans-serif;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(120,0,255,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(180,0,255,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 480px;
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
}

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

.eyebrow {
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 14vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.subtitle {
  font-weight: 300;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 2.5rem 0;
}

.form-group {
  margin-bottom: 1rem;
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.15s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.25s; }
.form-group:nth-child(5) { animation-delay: 0.3s; }

label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

input::placeholder { color: rgba(245,240,255,0.25); }

input:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.11);
}

button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 1rem;
  background: var(--white);
  color: var(--purple);
  border: none;
  border-radius: 6px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

button:hover { opacity: 0.9; transform: translateY(-1px); }
button:active { transform: translateY(0); }

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.success {
  display: none;
  text-align: center;
  padding: 3rem 0;
  animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) both;
}

.success h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.success p {
  color: var(--muted);
  font-weight: 300;
  font-size: 1rem;
}

.error-msg {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #ff6b6b;
  text-align: center;
  display: none;
}

.optional {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  font-weight: 300;
}
