/* ===== ESTILOS ESPECÍFICOS DE LA PÁGINA PRINCIPAL ===== */
.section1 {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-light);
}

.content h1 {
  font-size: 10rem;
  color: var(--text-light);
  text-shadow: 2px 2px 8px var(--shadow);
}

.content p {
  font-size: 2.5rem;
  margin: 1rem 0;
  color: var(--cream);
}

.downoload-btn {
  background-color: var(--accent-green);
  color: var(--text-light);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(74, 222, 128, 0.4);
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.downoload-btn:hover {
  background-color: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74, 222, 128, 0.5);
}

.hero {
  position: relative;
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  text-align: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--secondary-teal), var(--secondary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px var(--glow-purple));
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.download-btn {
  background-color: var(--forest-green);
  color: var(--text-light);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background-color: var(--dark-green);
}

/* Tarjetas */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Tarjeta con fondo oscuro translúcido y bordes teal */
.feature-card {
  background: rgba(26, 47, 47, 0.6);
  border: 2px solid rgba(77, 184, 168, 0.25);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  box-shadow: 0 5px 20px var(--shadow), 0 0 1px var(--glow-teal);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

/* Hover con brillo y resplandor purpleee */
.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--secondary-purple);
  box-shadow: 0 0 30px var(--glow-purple), 0 10px 25px var(--shadow);
}

/* Ícono con color acento verde-agua */
.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
  color: var(--accent-orange);
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.feature-title {
  background: linear-gradient(135deg, var(--secondary-teal), var(--secondary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.feature-description {
  color: var(--light-gray);
  font-size: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Carousel */
.carousel-title {
  text-align: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--secondary-teal), var(--secondary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px var(--glow-purple));
}

.carousel {
  margin: 100px auto;
  width: 90%;
  display: flex;
  overflow-x: hidden;
  gap: 1em;
}
  
.carousel::-webkit-scrollbar{
  display: none;
}

.group {
  display:flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  animation: spin 10s infinite linear;
  padding-right: 1em;
}

.card{
  flex: 0 0 5em;
  height: 5em;
  padding: 1em;
  font-size: 3em;
  border-radius: .2em;
  text-align: center;
  align-content: center;
  overflow: hidden;
  align-content: center;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card img {
  width: 150%;
  height: 150%;
  object-fit: cover;
  border-radius: 1rem;
}

@keyframes spin {
  from{translate: 0;}
  to {translate: -50%;}
}

/* ===== RESPONSIVE ESPECÍFICO PÁGINA PRINCIPAL ===== */
@media (max-width: 768px) {
  .content h1 {
    font-size: 5rem;
  }

  .content p {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }

  .carousel-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .content h1 {
    font-size: 3rem;
  }

  .content p {
    font-size: 1.2rem;
  }

  .downoload-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .carousel-title {
    font-size: 1.5rem;
  }
}