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

/* Body and container styles */
body {
  /*font-family: "Playfair Display", serif;*/
  font-family: "Lora", serif;
  background-color: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

/* Header styles */
header {
  color: white;
  text-align: center;
  position: relative;
}

header h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 10px;
}

header p {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}
.container-head {
  margin: 0 auto;
  width: 100%;
  padding-top: 3rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  background-color: #1e1e1e;
}
.icon-propis {
  display: block;
  width: 3rem;
  height: auto;
  margin: 0 auto;
}

.contain-video-interface {
  position: relative;
  height: 650px;
  width: 100%;
  background-color: #fff;
}
@media (max-width: 768px) {
  .contain-video-interface {
    height: 700px;
    width: 100%;
  }
}
.contain-video-interface .div-top {
  background-color: #1e1e1e;
  height: 50%;
  width: 100%;
}
.contain-video-interface .div-buttom {
  background-color: #fff;
  height: 50%;
  width: 100%;
}
.interface-img {
  position: absolute;
  top: 0.5rem;
  left: calc(50% - 100px);
  width: 200px;
}
.video-page {
  position: absolute;
  top: 0.5rem;
  left: calc(50% - 100px); /* Centrado horizontal */
  width: 200px; /* Ancho fijo */
  border-radius: 20px;
}

/* Media Query para dispositivos móviles */
@media (max-width: 768px) {
  .video-page {
    width: 65%; /* Ocupa el 90% del ancho de la pantalla en dispositivos más pequeños */
    left: 50%; /* Centrado horizontal */
    transform: translateX(
      -50%
    ); /* Compensa el 50% de su propio ancho para centrarlo */
    top: 1rem; /* Ajusta el espacio superior */
  }
}

@media (max-width: 480px) {
  .video-page {
    width: 70%; /* Hace que el video ocupe el ancho completo en pantallas más pequeñas */
    left: 50%; /* Centrado horizontal */
    transform: translateX(
      -50%
    ); /* Compensa el 50% de su propio ancho para centrarlo */
    top: 1.5rem; /* Ajuste adicional para el espacio superior */
  }
}

/* Features section styles */
#features {
  padding: 50px 0;
  background-color: #ffffff;
  text-align: center;
}

/* ===== FEATURES SECTION ===== */
#features h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: clamp(1rem, 3vw, 20px);
  text-align: center;
  color: #333;
}

.feature {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 30px);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: white;
  border-radius: clamp(12px, 2vw, 16px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 18, 93, 0.15);
  border-color: rgba(255, 18, 93, 0.1);
}

.feature ion-icon {
  font-size: clamp(1.8rem, 4.5vw, 2rem);
  color: #1e1e1e;
  margin-bottom: clamp(0.8rem, 2vw, 1rem);
  background: linear-gradient(135deg, #1e1e1e, #ff3d7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature h3 {
  font-size: clamp(1.3rem, 3.5vw, 1.6rem);
  color: #1e1e1e;
  margin-bottom: clamp(0.8rem, 2vw, 1rem);
  font-weight: 600;
}

.feature p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: #666;
  line-height: clamp(1.5, 0.5vw + 1.4, 1.6);
  margin: 0;
}

/* ===== CTA SECTION ===== */
#cta {
  background-color: #1e1e1e;
  color: white;
  padding: clamp(2.5rem, 8vw, 40px) clamp(1rem, 4vw, 0);
  text-align: center;
}

#cta h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: clamp(1rem, 3vw, 20px);
  padding: 0 clamp(1rem, 3vw, 2rem);
}

#cta p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: clamp(1.5rem, 4vw, 20px);
  max-width: min(800px, 90vw);
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  opacity: 0.95;
  line-height: 1.6;
}

#cta form {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 10px);
  max-width: min(600px, 95vw);
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

#cta input[type="email"] {
  padding: clamp(0.8rem, 2vw, 12px) clamp(1rem, 2.5vw, 1.5rem);
  font-size: clamp(0.95rem, 2vw, 1rem);
  border: none;
  border-radius: clamp(4px, 1vw, 5px);
  width: min(70%, 400px);
  min-width: min(250px, 85vw);
  box-sizing: border-box;
}

#cta button {
  padding: clamp(0.8rem, 2vw, 12px) clamp(1.5rem, 4vw, 20px);
  font-size: clamp(0.95rem, 2vw, 1rem);
  border: none;
  color: white;
  cursor: pointer;
  border-radius: clamp(4px, 1vw, 5px);
  transition: all 0.3s ease;
  background: linear-gradient(to right, #f37335, #fdc830);
  font-weight: 600;
  min-width: min(140px, 40vw);
  white-space: nowrap;
}

#cta button:hover {
  background: linear-gradient(to right, #f2621d, #fdc01c);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(243, 115, 53, 0.4);
}

/* ===== FOOTER ===== */
footer {
  background-color: #333;
  color: white;
  padding: clamp(1.5rem, 4vw, 20px) clamp(1rem, 3vw, 0);
  text-align: center;
}

footer p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  max-width: min(800px, 90vw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  line-height: 1.6;
  opacity: 0.9;
}

/* Footer links adicionales */
footer a {
  color: #1e1e1e;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ff3d7a;
  text-decoration: underline;
}
