body {
  background: #050505;
  color: #ffffff;
  font-family: "Inter", sans-serif;
}

/*Navbar*/

.navbar {
  background: rgba(20, 20, 20, 0.75) !important;
  backdrop-filter: blur(15px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
  color: white !important;
  font-weight: 700;
}

.nav-link {
  color: #bdbdbd !important;
  transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: white !important;
}

/*Boostrap buttons*/

.btn {
  border-radius: 12px;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #2563eb);

  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);

  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.btn-outline-primary {
  border-color: #6366f1;

  color: white;
}

/*Hero*/

#title {
  text-align: center;

  margin: 90px auto 70px;

  max-width: 1000px;
}

#title h1 {
  font-size: 60px;

  font-weight: 800;

  line-height: 1.2;
}

#title p {
  margin-top: 25px;

  color: #999;

  font-size: 25px;
}

/* Animated text */

#sub_ti {
  font-size: 60px;

  background: linear-gradient(
    90deg,
    red,
    orange,
    yellow,
    green,
    cyan,
    blue,
    violet
  );

  background-size: 200% 200%;

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  animation: rainbow 8s linear infinite;
}

@keyframes rainbow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

/*Neon button*/

.button {
  position: relative;

  display: inline-block;

  border: none;

  border-radius: 999px;

  padding: 2px;

  background: gray;

  cursor: pointer;

  margin-top: 35px;
}

.content {
  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 1.2rem 2rem;

  color: white;

  background: #0d0d12;

  border-radius: 999px;

  font-size: 1.2rem;

  font-weight: 700;

  text-transform: uppercase;
}

.border,
.neon {
  position: absolute;

  width: 100%;

  height: 100%;

  top: 0;

  left: 0;

  overflow: hidden;

  border-radius: 999px;
}

.neon {
  filter: blur(10px);

  opacity: 0.5;
}

.gradient {
  position: absolute;

  inset: -200px;

  background: conic-gradient(
    from 0deg,

    #1e87ff,
    #5c13c4,
    #ff0033,
    #ffda00,
    #64bc26,
    #1e87ff
  );

  animation: rotate 4s linear infinite;
}

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

  to {
    transform: rotate(360deg);
  }
}

/*Feature sections*/

.feature-card,
.hero-feature,
.demo-section {
  margin-top: 80px;

  padding: 45px;

  display: flex;

  align-items: center;

  gap: 50px;

  background: rgba(20, 20, 20, 0.75);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 30px;

  transition: 0.35s;
}

.feature-card:hover,
.hero-feature:hover,
.demo-section:hover {
  transform: translateY(-5px);

  border-color: #6366f1;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.feature-content h2,
.demo-section h2 {
  font-size: 2.3rem;

  font-weight: 800;

  margin-bottom: 20px;
}

.feature-content p,
.demo-section p {
  color: #aaa;

  line-height: 1.8;

  font-size: 1.1rem;
}

.feature-image img {
  width: 200px;

  filter: drop-shadow(0 20px 40px rgba(124, 58, 237, 0.4));
}

/*Canvas*/

.demo-section {
  flex-direction: column;

  text-align: center;
}

#canvas {
  margin-top: 30px;

  max-width: 100%;

  border-radius: 20px;

  background: #080808;

  border: 1px solid rgba(255, 255, 255, 0.1);
}

/*Footer*/

.footer {
  margin-top: 100px;

  background: linear-gradient(180deg, #080808, #020202);

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1200px;

  margin: auto;

  padding: 60px 30px;

  display: flex;

  justify-content: space-between;

  gap: 40px;
}

.footer h2 {
  font-size: 2rem;

  font-weight: 800;
}

.footer h4 {
  margin-bottom: 20px;
}

.footer a {
  display: block;

  color: #aaa;

  text-decoration: none;

  margin: 10px 0;

  transition: 0.3s;
}

.footer a:hover {
  color: white;

  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;

  padding: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #777;
}

/*Mobile*/

@media (max-width: 768px) {
  #title h1,
  #sub_ti {
    font-size: 40px;
  }

  #title p {
    font-size: 18px;
  }

  .feature-card,
  .hero-feature,
  .demo-section {
    flex-direction: column;

    text-align: center;

    padding: 30px;
  }

  .feature-image img {
    width: 140px;
  }

  .footer-container {
    flex-direction: column;

    text-align: center;
  }
}

/*Image in card*/

.img_div {
  display: flex;
  justify-content: center;
  margin-top: 25px; /* Espacio con el texto de arriba */
}

.img_div .call {
  width: 500px;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;

  /* Borde arcoíris directo en la imagen */
  padding: 4px;
  background: linear-gradient(
    90deg,
    #ff0000,
    #ff7f00,
    #ffff00,
    #00ff00,
    #00ffff,
    #0000ff,
    #8b00ff,
    #ff0000
  );
  background-size: 300% 300%;
  animation: rainbow-border 4s linear infinite;
}

@keyframes rainbow-border {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/*Css hecho con ayuda de la Ia */
