/* Estilos generales */
:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --accent-color: #DE5499;
  --text-color: #264143;
  --light-text: #fff;
  --form-bg: #f8e8e4;
  --card-bg: rgba(255, 255, 255, 0.9);
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --form-shadow: 3px 4px 0px 1px #E99F4C;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Loader */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Newton's Cradle loader */
.newtons-cradle {
  --uib-size: 50px;
  --uib-speed: 1.2s;
  --uib-color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--uib-size);
  height: var(--uib-size);
}
 
.newtons-cradle__dot {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  width: 25%;
  transform-origin: center top;
}
 
.newtons-cradle__dot::after {
  content: '';
  display: block;
  width: 100%;
  height: 25%;
  border-radius: 50%;
  background-color: var(--uib-color);
}
 
.newtons-cradle__dot:first-child {
  animation: swing var(--uib-speed) linear infinite;
}
 
.newtons-cradle__dot:last-child {
  animation: swing2 var(--uib-speed) linear infinite;
}
 
@keyframes swing {
  0% {
   transform: rotate(0deg);
   animation-timing-function: ease-out;
  }
 
  25% {
   transform: rotate(70deg);
   animation-timing-function: ease-in;
  }
 
  50% {
   transform: rotate(0deg);
   animation-timing-function: linear;
  }
}
 
@keyframes swing2 {
  0% {
   transform: rotate(0deg);
   animation-timing-function: linear;
  }
 
  50% {
   transform: rotate(0deg);
   animation-timing-function: ease-out;
  }
 
  75% {
   transform: rotate(-70deg);
   animation-timing-function: ease-in;
  }
}

/* Header */
header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(106, 17, 203, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 15px 40px;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--light-text);
  text-transform: lowercase;
  letter-spacing: -1px;
  position: relative;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.logo-text::after {
  content: '';
}

.logo-text .domain {
  color: #0056b3;
  position: relative;
  font-weight: 700;
}

.logo-text:hover {
  transform: scale(1.05);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.main-menu ul {
  display: flex;
  list-style: none;
  align-items: center;
}

.main-menu li {
  margin: 0 15px;
}

.main-menu a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.main-menu a.menu-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.main-menu a.menu-item:hover::after {
  width: 100%;
}

.main-menu a:hover {
  color: var(--accent-color);
}

.separator {
  color: var(--light-text);
  opacity: 0.5;
}

.cta-link {
  color: var(--accent-color) !important;
  font-weight: 700 !important;
}

.cta-link:hover {
  text-shadow: 0 0 10px rgba(222, 84, 153, 0.5);
}

/* Hero Section */
.hero-container {
  display: flex;
  padding: 40px;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 120px;
}

.hero-text {
  flex: 1;
  padding: 40px;
  color: var(--light-text);
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  color: var(--light-text);
  font-weight: 700;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.tagline {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 15px;
  color: var(--accent-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Phone Mockup */
.phone-mockup {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  z-index: -1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Form Section */
.form-section {
  padding: 20px;
  width: 100%;
}

/* Form Styles - Actualizado según los estilos proporcionados */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.form_area {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f8e8e4;
  height: auto;
  width: auto;
  border: 1px solid #264143;
  border-radius: 20px;
  box-shadow: 3px 4px 0px 1px #E99F4C;
  padding: 30px;
  margin: 0 auto;
  max-width: 450px;
  position: relative;
}

.form_area::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid #E99F4C;
  border-radius: 20px;
  pointer-events: none;
  z-index: -1;
}

.title {
  color: #264143;
  font-weight: 900;
  font-size: 1.5em;
  margin-top: 20px;
}

.sub_title {
  font-weight: 600;
  margin: 5px 0;
}

.form_group {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  margin: 15px 0;
  width: 100%;
  max-width: 380px;
}

.form_style {
  outline: none;
  border: 1px solid #264143;
  box-shadow: 2px 2px 0px 1px #E99F4C;
  width: 380px;
  padding: 12px 10px;
  border-radius: 4px;
  font-size: 15px;
}

.form_style:focus, .btn:focus {
  transform: translateY(2px);
  box-shadow: 1px 1px 0px 0px #E99F4C;
}

.phone-input {
  display: flex;
  gap: 10px;
  width: 380px;
}

.country-code {
  width: 40%;
}

.phone-number {
  width: 60%;
}

.required {
  color: var(--accent-color);
  margin-left: 3px;
}

.btn {
  padding: 15px;
  margin: 25px 0px;
  width: 380px;
  font-size: 15px;
  background: #DE5499;
  border: none;
  color: white;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 3px 3px 0px 0px #E99F4C;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  opacity: .9;
  transform: translateY(2px);
  box-shadow: 1px 1px 0px 0px #E99F4C;
}

.link {
  font-weight: 800;
  color: #264143;
  padding: 5px;
}

.form-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  width: 380px;
}

.success-message {
  background-color: rgba(76, 175, 80, 0.2);
  color: #2e7d32;
  border: 1px solid #2e7d32;
  padding: 10px;
  border-radius: 5px;
}

.error-message {
  background-color: rgba(244, 67, 54, 0.2);
  color: #d32f2f;
  border: 1px solid #d32f2f;
  padding: 10px;
  border-radius: 5px;
}

/* Benefits Section */
.benefits {
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  color: var(--light-text);
  text-align: center;
}

.benefits h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.benefits-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tarjetas con efecto de onda */
.e-card {
  margin: 20px auto;
  background: transparent;
  box-shadow: 0px 8px 28px -9px rgba(0,0,0,0.45);
  position: relative;
  width: 240px;
  height: 330px;
  border-radius: 16px;
  overflow: hidden;
}

.wave {
  position: absolute;
  width: 540px;
  height: 700px;
  opacity: 0.6;
  left: 0;
  top: 0;
  margin-left: -50%;
  margin-top: -70%;
  background: linear-gradient(744deg,#af40ff,#5b42f3 60%,#00ddeb);
}

.icon {
  width: 3em;
  margin-top: -1em;
  padding-bottom: 1em;
  color: white;
}

.infotop {
  text-align: center;
  font-size: 20px;
  position: absolute;
  top: 5.6em;
  left: 0;
  right: 0;
  color: rgb(255, 255, 255);
  font-weight: 600;
}

.name {
  font-size: 14px;
  font-weight: 100;
  position: relative;
  top: 1em;
  line-height: 1.5;
  padding: 0 20px;
}

.wave:nth-child(2),
.wave:nth-child(3) {
  top: 210px;
}

.playing .wave {
  border-radius: 40%;
  animation: wave 3000ms infinite linear;
}

.wave {
  border-radius: 40%;
  animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
  animation-duration: 4000ms;
}

.wave:nth-child(2) {
  animation-duration: 50s;
}

.playing .wave:nth-child(3) {
  animation-duration: 5000ms;
}

.wave:nth-child(3) {
  animation-duration: 45s;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.3);
  color: var(--light-text);
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.social-media h3 {
  margin-bottom: 20px;
}

/* Social Media Icons - Adaptado del CSS existente */
.card {
  width: fit-content;
  height: fit-content;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  gap: 20px;
  margin: 0 auto;
}

/* for all social containers*/
.socialContainer {
  width: 52px;
  height: 52px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: .3s;
  border-radius: 10px;
}

/* instagram*/
.containerOne:hover {
  background-color: #d62976;
  transition-duration: .3s;
}
/* twitter*/
.containerTwo:hover {
  background-color: #00acee;
  transition-duration: .3s;
}
/* linkdin*/
.containerThree:hover {
  background-color: #0072b1;
  transition-duration: .3s;
}
/* Whatsapp*/
.containerFour:hover {
  background-color: #128C7E;
  transition-duration: .3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: .3s;
}

.socialSvg {
  width: 17px;
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.copyright {
  margin-top: 40px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-container {
    padding: 20px;
  }
  
  .hero-text {
    padding: 20px;
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    padding: 20px 10px;
  }
  
  .hero-text {
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .phone-mockup {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: center;
    padding: 15px;
    height: 70px;
  }
  
  .logo {
    margin-bottom: 0;
  }
  
  .logo-text {
    font-size: 2rem;
  }
  
  .main-menu {
    display: none;
  }
  
  .hero-container {
    padding-top: 90px;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .tagline {
    font-size: 1.2rem;
    margin-top: 10px;
  }
  
  .form_area {
    padding: 25px 15px;
    width: 95%;
  }
  
  .form_group {
    margin: 12px 0;
  }
  
  .form_group, .form_style, .phone-input, .btn, .form-message {
    width: 100%;
    max-width: 100%;
  }
  
  .phone-input {
    flex-direction: row;
  }
  
  .country-code {
    width: 40%;
  }
  
  .phone-number {
    width: 60%;
  }
  
  .benefits-container {
    flex-direction: column;
    align-items: center;
  }
  
  .e-card {
    margin: 15px auto;
  }
  
  .card {
    flex-wrap: wrap;
  }
} 

/* Estilos para el formulario mejorado */
.benefits-list {
    margin: 15px 0;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
}

.benefit-item i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 16px;
}

.privacy-notice {
    margin-top: 15px;
    font-size: 12px;
    color: #ccc;
    text-align: center;
}

.privacy-notice i {
    color: #4CAF50;
    margin-right: 5px;
}

.testimonial {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}

.stars {
    color: #FFD700;
    margin-bottom: 8px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 5px;
    color: #fff;
}

.testimonial-author {
    font-size: 12px;
    color: #ccc;
}

/* Animación para el botón */
.pulse-animation {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
    transform: scale(1);
}

@keyframes pulse {
    0% {
        transform: scale(0.98);
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(108, 92, 231, 0);
    }
    100% {
        transform: scale(0.98);
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

/* Mejoras generales del formulario */
.form_area {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
}

.form_area .title {
    font-size: 24px;
    margin-bottom: 5px;
}

.form_style {
    transition: all 0.3s ease;
}

.form_style:focus {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

.btn {
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn:hover:before {
    left: 100%;
}

/* Mejora para mensajes de éxito y error */
.success-message {
    background-color: rgba(76, 175, 80, 0.2);
    border-left: 4px solid #4CAF50;
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
    color: #fff;
}

.error-message {
    background-color: rgba(244, 67, 54, 0.2);
    border-left: 4px solid #F44336;
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
    color: #fff;
}

/* Mejoras responsive */
@media (max-width: 768px) {
    .form_area .title {
        font-size: 20px;
    }
    
    .benefit-item {
        font-size: 12px;
    }
    
    .btn {
        width: 100%;
    }
} 

/* Estilos para las características en el hero */
.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.cta-feature {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.cta-feature i {
    color: #6C5CE7;
    margin-right: 8px;
    font-size: 16px;
}

.cta-feature span {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* Estilos para el contador */
.countdown-container {
    margin: 25px 0;
    padding: 15px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.3), rgba(52, 152, 219, 0.3));
    border-radius: 10px;
    text-align: center;
}

.countdown-text {
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item span:first-child {
    font-size: 24px;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.countdown-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* Botón CTA móvil */
.mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta {
        display: block;
        margin: 20px 0;
        text-align: center;
    }
    
    .mobile-cta .btn {
        display: inline-block;
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .countdown-item span:first-child {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
} 

/* Estilos para el mensaje de agradecimiento */
.thank-you-message {
    padding: 30px 20px;
    text-align: center;
    color: #fff;
}

.success-icon {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.thank-you-message h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.thank-you-message p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #eee;
}

.thank-you-message .contact-info {
    margin-top: 25px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.whatsapp-btn i {
    margin-right: 8px;
}

/* Mejora para el formulario en dispositivos móviles */
@media (max-width: 768px) {
    .form_area {
        padding: 20px 15px;
    }
    
    .thank-you-message {
        padding: 20px 15px;
    }
    
    .success-icon {
        font-size: 50px;
    }
    
    .thank-you-message h2 {
        font-size: 20px;
    }
} 