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

:root {
  --primary-color: #f4c430;
  --dark-bg: #0a0a0a;
  --text-light: #ffffff;
  --text-secondary: #cccccc;
  --border-color: #ffffff;
  --input-bg: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* HEADER */
.header {
  background-color: var(--dark-bg);
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
  width: 120px;
  height: auto;
  animation: fadeInDown 0.6s ease-out backwards;
}

/* HERO SECTION */
.hero,
.hero-content,
.hero-bg {
  width: 100%;
}

.hero-bg {
  animation: fadeInDown 0.6s ease-out backwards;
  animation-delay: 0.2s;
}

/* MAIN CONTENT */
.container {
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .container {
    max-width: 400px;
    margin: 0 auto;
  }
}

.form-section {
  width: 100%;
  padding: 40px 0;
}

.form-section h2 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  color: var(--text-light);
}

/* FORMULARIO */
.form-group {
  margin-bottom: 28px;
  animation: slideUp 0.6s ease-out backwards;
}

.form-group:nth-child(1) {
  animation-delay: 0.2s;
}

.form-group:nth-child(2) {
  animation-delay: 0.3s;
}

.form-group:nth-child(3) {
  animation-delay: 0.4s;
}

.form-group:nth-child(4) {
  animation-delay: 0.5s;
}

.form-group:nth-child(5) {
  animation-delay: 0.6s;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-light);
  letter-spacing: 0.3px;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border-color);
  background-color: var(--input-bg);
  color: var(--text-light);
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.2);
  background-color: rgba(244, 196, 48, 0.05);
}

/* RADIO BUTTONS */
.form-group.radio-group {
  margin-bottom: 36px;
}

.radio-group .form-label {
  margin-bottom: 16px;
}

.radio-options {
  display: flex;
  align-items: center;
  gap: 40px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.radio-circle {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
}

.radio-input {
  display: none;
}

.radio-input:checked + .radio-circle {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.2);
}

.radio-input:checked + .radio-circle::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--dark-bg);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radio-label {
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  color: var(--text-light);
}

/* BOTÓN SUBMIT */
.submit-btn {
  width: 100%;
  padding: 16px 32px;
  background-color: var(--primary-color);
  color: var(--dark-bg);
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 40px;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(244, 196, 48, 0.3);
  animation: slideUp 0.6s ease-out backwards 0.7s;
}

.submit-btn:hover {
  background-color: #f0b800;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244, 196, 48, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(244, 196, 48, 0.2);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 16px 30px;
  background-color: var(--dark-bg);
  animation: slideUp 0.6s ease-out backwards 0.8s;
}

.footer-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  width: 80px;
  height: auto;
}

.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--dark-bg);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-icon img {
  width: 40px;
  height: 40px;
}

/* ANIMACIONES */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* VALIDACIÓN Y ERRORES */
.form-input.error {
  border-color: #ff4757;
  background-color: rgba(255, 71, 87, 0.05);
}

.form-input.error:focus {
  border-color: #ff4757;
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}

.error-message {
  display: block;
  color: #ff4757;
  font-size: 12px;
  margin-top: 8px;
  font-weight: 500;
}

/* RESPONSIVE - TABLET Y DESKTOP */
@media (min-width: 768px) {
  .hero-title {
    font-size: 52px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .footer-content {
    justify-content: space-between;
  }

  .hero-content {
    width: 400px;
    margin: 0 auto;
  }
}
