/* Loading overlay styles */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(249, 233, 255,1  );
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), background 0.6s cubic-bezier(.4,0,.2,1);
}

#loading-overlay.fade-out {
  opacity: 0;
  background: rgba(255,255,255,0);
  pointer-events: none;
}

#loading-video {
  width: 250px;
  height: 250px;
  object-fit: contain;
  display: block;
  transform: scaleX(-1);
}
/* landing.css */
.archivo-black-regular {
  font-family: "Archivo Black", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.archivo-regular {
  font-family: "Archivo", sans-serif;
  font-weight: 200;
  font-style: normal;
}
html, body {
  overflow: auto;             /* keep scrollability */
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;              /* Chrome, Safari */
}

body {
  margin: 0;
  padding: 0;
  background-color: #f9e9ff;
  color: #333;
}

/* CONTENEDOR PRINCIPAL centra solo el texto/formulario */
.landing-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
}

.landing-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1500px;
  width: 100%;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

/* IZQUIERDA */
.landing-text {
  flex: 1;
  min-width: 300px;
  max-width: 800px;
  text-align: center; 
}

.landing-text h1 {
  font-family: 'Archivo Black';
  font-size: 8rem;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(to right, #b344c3, #9326b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Para Firefox */
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin: 0 0 45px;
  font-family: 'Archivo';
  font-size: 1.25rem;
  font-style: italic;
  color: #000000;
  line-height: 1.4;
}


/* TARJETA */
.signup-form {
  font-family: 'Archivo';
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.signup-form h2 {
  font-family: 'Archivo Black';
  font-size: 2rem;
  font-weight: 600;
  color: #bd5fbd;
  margin: 0 0 6px;
}

.info {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 24px;
  max-width: 550px;
  line-height: 1.5;
  text-align: center;
}

/* INPUT + ICONO centrados */
.input-group {
  position: relative;
  width: 94%;
  max-width: 500px;
  margin: 0 auto 16px;
}
.input-group .input-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #8d8d8d;
}
.input-group input {
  width: 100%;
  padding: 18px 16px 18px 45px;
  background: #eeeeee;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}
.input-group input:focus {
  border: 2px solid #bd5fbd;
  background: #fff;
}

.signup-form button {
  font-family: 'Archivo Black';
  width: 40%;
  max-width: 200px;
  margin: 0 auto;
  padding: 14px;
  background-color: #bd5fbd;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}
.signup-form button:hover {
  background-color: #a34da3;
}

/* TÉRMINOS */
.terms {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin-top: 16px;
}
.terms a {
  text-decoration: none;
  font-weight: 500;
}
.terms a:first-of-type,
.terms a:last-of-type {
  color: #bd5fbd;
}
.terms a:hover {
  text-decoration: underline;
  color: #6c5dd3;
}

/* NOTA MÓVIL */
.mobile-note {
  display: none;
  margin-top: 24px;
  font-size: 1rem;
  font-style: italic;
  color: #4b5563;
  line-height: 1.4;
}

/* --- CARTA DEL VÍDEO FIJA ABAJO-DERECHA --- */
.landing-image {
  flex: 1;
  min-width: 100px;
  max-width: 650px;
  height: clamp(917px, 50vh, 900px);
  background: #f9e9ff;
  overflow: hidden;
  position: relative;
}

.landing-image video {  
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -45%) scale(1.20);
  transform-origin: center center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .landing-content {
    flex-direction: column;
    text-align: center;
  }
  .landing-text {
    max-width: 100%;
  }
  .landing-text h1 {
    font-size: 2.5rem;
  }
  .subtitle {
    font-size: 1.125rem;
  }
  .mobile-note {
    display: block;
  }
  .landing-image {
    display: none;
  }
  .input-group input {
    width: 80%;
  }
}
