/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  overflow-x: hidden;
  background: #000;
  position: relative;
  min-height: 100vh;
}

/* Partículas de fondo */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

#canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Cabecera */
header {
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.logo {
  height: 160px;
  filter: drop-shadow(0 0 18px rgba(140, 0, 255, 0.363));
}

.animated-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  text-shadow: 0 0 125px rgba(255, 0, 179, 0.8);
  animation: glow 2s infinite alternate;
  line-height: 1.3;
  margin: 0 auto;
  max-width: 90%;
}

.animated-title span {
  display: block;
  font-size: 1.4rem;
  font-weight: 400;
  margin-top: 10px;
  color: #a0ffff;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #0ff, 0 0 20px #0ff; }
  to { text-shadow: 0 0 20px #0ff, 0 0 40px #0ff, 0 0 60px #0ff; }
}

/* Carrusel */
.carousel-section {
  text-align: center;
  padding: 40px 5%;
  position: relative;
  z-index: 10;
}

.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.4);
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel-img.active {
  opacity: 1;
}

.carousel-caption {
  margin-top: 20px;
  font-size: 1.3rem;
  color: #e0ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

.scroll-indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.scroll-indicator span {
  display: block;
  width: 8px;
  height: 8px;
  background: rgba(0, 255, 255, 0.6);
  border-radius: 50%;
  animation: bounce 1.5s infinite;
}

.scroll-indicator span:nth-child(2) { animation-delay: 0.2s; }
.scroll-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Botones de funcionalidades */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 5%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.feature-btn {
  flex: 1 1 200px;
  min-width: 180px;
  padding: 18px 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(138, 241, 255, 0.507);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
}

.feature-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0,255,255,0.25), rgba(255,0,255,0.15), transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.8s ease;
  border-radius: 50%;
  z-index: -1;
}

.feature-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}


.feature-btn:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 8px 25px rgba(255,255,255,0.15);
}


.feature-btn:hover::before {
  opacity: 1;
}

/* Footer */
.social-animated i {
  margin-right: 6px;
  color: #537bff;
  transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
}

.social-animated a:hover i {
  transform: scale(1.4) rotate(20deg);
  color: #8efbff;
  text-shadow: 0 0 12px #d28eff, 0 0 25px #8a2be2;
}

footer {
  background: rgba(0, 10, 20, 0.7);
  backdrop-filter: blur(10px);
  padding: 25px 5%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.footer-left a{
  color: #a0f0ff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-right a {
  color: #585bfcc4;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-left a:hover {
    color: #00ff2a;
  text-shadow: 0 0 10px #00c3ff;
}
.footer-right a:hover {
  color: #91f5f8;
  text-shadow: 0 0 10px #7fffff;
}

.footer-center {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,255,255,0.5), transparent);
  margin: 0 20px;
}

.copyright {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .animated-title {
    font-size: 1.6rem;
  }

  .animated-title span {
    font-size: 1.1rem;
  }

  .carousel {
    height: 200px;
  }

  .carousel-caption {
    font-size: 1.1rem;
  }

  .feature-btn {
    padding: 14px 10px;
    font-size: 1rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-center {
    display: none;
  }
    header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-container {
    margin-bottom: 10px;
  }

  .logo {
    height: 80px;
  }

}
