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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  background-color: #ab7cc9;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* .logo {
  font-size: 2rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
} */
 .logo {
  margin: 0;
  padding: 0;
  font-size: 2rem;
}

.logo-img {
  height: 40px; /* Ajustá según el tamaño visual que querés */
  transform: scale(6); /* hace zoom visual sin modificar el layout */
  transform-origin: center; /* asegura que el zoom sea centrado */
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
  margin-left: 19px;
}


/* .header.scrolled .logo {
  color: #8e24aa;
  text-shadow: none;
} */
 .header.scrolled {
  color: #8e24aa;
  text-shadow: none;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.header.scrolled .nav-link {
  color: #4a4a4a;
  text-shadow: none;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.header.scrolled .nav-link:hover {
  color: #8e24aa;
  background-color: rgba(142, 36, 170, 0.1);
}

.nav-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.nav-link:hover .nav-arrow {
  transform: translateY(2px);
  opacity: 1;
}

.nav-cta {
  background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 100%);
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(142, 36, 170, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(142, 36, 170, 0.5);
  background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);
}
app-preview
.nav-cta .nav-arrow {
  color: white;
  opacity: 0.8;
}

.nav-cta:hover .nav-arrow {
  opacity: 1;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.header.scrolled .mobile-menu-toggle span {
  background-color: #8e24aa;
}

/* Animación del botón hamburguesa */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
}

/* Menú móvil */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 100%);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  gap: 3rem;
}

.mobile-menu-logo {
  text-align: center;
  margin-bottom: 1rem;
}

.mobile-logo-img {
  height: 60px;
  transform: scale(4);
  transform-origin: center;
  object-fit: contain;
  display: block;
  opacity: 0.95;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.mobile-logo-img:hover {
  transform: scale(4.2);
  opacity: 1;
}

.mobile-menu.active {
  transform: translateX(0);
}
app-preview


.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  width: 100%;
}

.mobile-nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  width: 100%;
  max-width: 250px;
  text-align: center;
  display: block;
  white-space: nowrap;
}

.mobile-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.mobile-nav-cta {
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
}

.mobile-nav-cta:hover {
  background-color: white;
  color: #8e24aa !important;
}

.mobile-menu.active .mobile-logo-img {
  animation: logoFadeIn 0.6s ease-out 0.2s both;
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(3) translateY(-20px);
  }
  100% {
    opacity: 0.95;
    transform: scale(4) translateY(0);
  }
}

/* Prevenir scroll cuando el menú está abierto */
body.menu-open {
  overflow: hidden;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  padding: 8rem 0 4rem;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h2 {
  color: #6a1b9a;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.25rem;
  color: #5a5a5a;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #8e24aa;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #6a6a6a;
  margin-top: 0.25rem;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgb(70, 24, 117);
  position: relative;
  z-index: 2;
}

.hero-image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #ab47bc, #8e24aa);
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h3 {
  color: #8e24aa;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6a6a6a;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features Section */
.features {
  background-color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  color: #2a2a2a;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #6a6a6a;
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.steps-container {
  margin-bottom: 4rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  margin-bottom: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8e24aa, #ab47bc);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(142, 36, 170, 0.3);
  flex-shrink: 0; /* Evita que se encoja */
}

.step-content {
  flex: 1; 
}

.step-content h4 {
  color: #2a2a2a;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #6a6a6a;
  line-height: 1.6;
}

.step-icon {
  font-size: 2.5rem;
  text-align: center;
  flex-shrink: 0; 
  min-width: 60px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 100%);
  color: white;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 400px; 
  gap: 4rem;
  align-items: center;
  max-width: 1200px; 
  margin: 0 auto;
}

.cta-text h3 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-features {
  margin-bottom: 2.5rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem; 
}


.cta-feature-icon {
  font-size: 1.5rem;
}

/* Estilos para enlaces de redes sociales con imágenes */
.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  width: 100%;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.social-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.social-link:hover .social-image {
  transform: scale(1.2);
  filter: brightness(1.1);
}

/* .app-preview {
  text-align: center;
} */
.cta-image {
  width: 100%; 
  max-width: 700px; 
  height: 620px; 
  overflow: hidden; 
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; 
   margin: 0 auto;
}
.app-preview {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Cambiamos a contain para ver toda la imagen */
  object-position: center;
  border-radius: 20px;
  display: block;
  position: relative; /* Cambiamos a relative */
  transform: none; /* Removemos transform innecesario */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); /* Agregamos sombra */
}

/* Buttons */
.btn-primary, .btn-secondary-outline, .btn-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 100%);
  color: white;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(142, 36, 170, 0.3);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 36, 170, 0.4);
}

.btn-secondary-outline {
  background: transparent;
  border: 2px solid #8e24aa;
  color: #8e24aa;
  box-shadow: none;
}

.btn-secondary-outline:hover {
  background: #8e24aa;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 36, 170, 0.4);
}

.btn-large {
  padding: 1.125rem 2.25rem;
  font-size: 1.1rem;
}

.btn-icon {
  font-size: 1.2rem;
}

/* Section Images */
.section-image {
  text-align: center;
  margin-top: 3rem;
}

.section-img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: #2a2a2a;
  color: #e0e0e0;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h4 {
  color: #8e24aa;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #b0b0b0;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-column a {
  display: block;
  color: #b0b0b0;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: #8e24aa;
}

.footer-bottom {
  border-top: 1px solid #404040;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: #888;
  font-size: 0.9rem;
}
/* Animación para la imagen del hero */
/* .hero-animated-image {
  animation: floatAnimation 3s ease-in-out infinite;
  transform-origin: center;
  transition: transform 0.3s ease; 
} */

.hero-animated-image {
  animation: floatAnimation 3s ease-in-out infinite;
  transform-origin: center;
  transition: transform 0.3s ease;
  will-change: transform;
}



/* Definir la animación de flotación */
/* @keyframes floatAnimation {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-50px) rotate(1deg);
  }
  50% {
    transform: translateY(-15px) rotate(0deg);
  }
  75% {
    transform: translateY(-5px) rotate(-1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
} */
 @keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  /* 50% {
    transform: translateY(-8px);
  } */
     50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}


/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 1rem; /* Espacio entre imagen y texto */
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-animated-image {
    max-width: 80%; /* Reduce el tamaño en móviles */
    height: auto;
  }
  
  .hero-image-container {
    max-width: 300px; /* Limita el ancho del contenedor */
    margin: 0 auto; /* Centra el contenedor */
  }
  
  .hero-text h2 {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-header h3 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .step-number {
    order: 1; /* Número va primero */
    align-self: center;
  }

  .step-content {
    order: 2; /* Contenido va en el medio */
  }

  .step-icon {
    order: 3; /* Ícono va al final */
    align-self: center;
  }
  
  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    justify-items: center;
    position: relative;
  }
    .cta-button {
    position: absolute;
    top: calc(107% - 100px); /* Lo posiciona cerca del final */
    left: 10%;
    /* transform: translateX(-50%); */
    width: 80%;
    max-width: 280px;
    justify-content: center;
    z-index: 10;
  }
  .cta-button:hover{
    scale: 0.9;
  }
  
  .cta-image {
    max-width: 350px;
    height: 450px;
    margin: 0 auto; /* Centrado horizontal */
    order: 2;
    display: flex;
    justify-content: center; /* Centrado del contenedor */
    align-items: center; /* Centrado vertical */
    margin-bottom: 45px;
  }
  
  .cta-text {
    order: 1;
    text-align: center; /* Centra también el texto */
  }

  
  .app-preview {
    border-radius: 15px;
    display: block;
    margin: 0 auto; 
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary-outline {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }
}
@media (max-width: 768px) {
  .app-preview {
    max-width: 100%; 
    transform: none; 
  }
}