* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #9333ea 100%);
  min-height: 100vh;
  color: white;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

.header {
  text-align: center;
  margin-bottom: 60px;
}

.main-title {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.2;
  font-family: "Poppins", sans-serif;
}

.subtitle {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  margin-bottom: 30px;
}

.description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}

.cta-button {
  background: linear-gradient(45deg, #a6c654, #3bc8b8);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.logo {
  margin: 0 auto;
  display: table;
  margin-bottom: 20px;
  text-align: center;
}

.logo-inner {
  width: 70%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(166, 198, 84, 0.2),
    0 5px 15px rgba(59, 200, 184, 0.2);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Fuerza exactamente 3 columnas */
  gap: 30px;
  margin: 80px 0;
  max-width: 900px; /* Aumenté el ancho máximo */
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: white;
}

.feature-description {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

.optimization-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 400px;
  margin: 0 auto;
}

.character {
  position: absolute;
  right: -154px;
  bottom: 170px;
  width: 300px;
  height: auto;
  z-index: 10;
}

.footer {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.7;
}

.main-title-gradient {
  -webkit-background-clip: text;
  color: #e8deff !important;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
}

.result {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
  background: #47bdb6;
  background: linear-gradient(to right, #d8e2e2 10%, #71e7d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.8rem;
  }

  .character {
    display: none;
  }

  .features {
    grid-template-columns: 1fr;
    margin: 40px 0;
  }

  .container {
    padding: 20px 15px;
  }
}

@media (max-width: 1024px) {
  .character {
    right: 20px;
    width: 250px;
  }
}

#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.shape {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
}
