/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* BODY */
body {
  background: radial-gradient(1200px 600px at top, #141824, #0f1115);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e5e7eb;
}

/* CONTAINER */
.container.premium {
  background: linear-gradient(180deg, #181d2a, #141824);
  width: 100%;
  max-width: 520px;
  padding: 44px 34px;
  border-radius: 22px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255,255,255,0.03);
  animation: fadeIn 0.45s ease;
}

/* LOGO */
.logo {
  display: block;
  margin: 0 auto 34px auto;
  max-width: 130px;
  opacity: 0.95;
}

/* PROGRESS */
.progress {
  width: 100%;
  height: 6px;
  background: #2a2f3a;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 34px;
}

#progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #a3c20d, #c5e11b);
  width: 0%;
  transition: width 0.45s ease;
  box-shadow: 0 0 12px rgba(163,194,13,0.6);
}

/* PERGUNTA */
#form-box h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 26px;
  text-align: center;
  color: #f9fafb;
}

/* INPUT */
#form-box input[type="text"],
#form-box input[type="email"] {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #2f3545;
  background: #0e1118;
  color: #f9fafb;
  font-size: 16px;
  transition: all 0.25s ease;
}

#form-box input::placeholder {
  color: #9ca3af;
}

#form-box input:focus {
  outline: none;
  border-color: #a3c20d;
  background: #0b0e13;
  box-shadow: 0 0 0 3px rgba(163,194,13,0.15);
}

/* RADIO OPTIONS */
.option {
  margin-bottom: 14px;
}

.option label {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0f1115;
  border: 1px solid #2f3545;
  padding: 16px 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.option input {
  accent-color: #a3c20d;
  transform: scale(1.05);
}

/* HOVER */
.option label:hover {
  border-color: #a3c20d;
  background: #161c2b;
}

/* CHECKED – PREMIUM */
.option input:checked + span {
  color: #a3c20d;
}

.option input:checked {
  box-shadow: 0 0 0 6px rgba(163,194,13,0.15);
}

.option input:checked ~ * {
  font-weight: 500;
}

/* AÇÕES */
.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 42px;
  gap: 16px;
}

.actions button {
  flex: 1;
  padding: 15px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* VOLTAR */
#btn-voltar {
  background: #2a2f3a;
  color: #d1d5db;
}

#btn-voltar:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* AVANÇAR – CTA PREMIUM */
#btn-avancar {
  background: linear-gradient(180deg, #c5e11b, #a3c20d);
  color: #0f1115;
  box-shadow: 0 12px 30px rgba(163,194,13,0.35);
}

#btn-avancar:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

#btn-avancar:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(163,194,13,0.35);
}

/* ERRO */
#erro-form {
  text-align: center;
  margin-top: 14px;
  color: #e74c3c;
  font-size: 14px;
}

/* TELA FINAL */
#form-box p {
  text-align: center;
  margin-top: 10px;
  color: #d1d5db;
  line-height: 1.5;
}

#form-box a {
  display: block;
  margin-top: 26px;
  background: linear-gradient(180deg, #c5e11b, #a3c20d);
  color: #0f1115;
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(163,194,13,0.35);
}

/* ANIMAÇÃO */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 480px) {
  .container.premium {
    padding: 34px 22px;
  }

  #form-box h2 {
    font-size: 20px;
  }
}
