body {
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

#particles-js {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1;
}

header {
  display: flex;
  align-items: center;
  padding: 5px 25px;
  background-color: #1a1a1a;
  position: relative;
  z-index: 1100;
}

.header-content {
  width: 100%;
  display: flex;
  justify-content: space;
  align-items: center;
}

.logo img {
  height: 120px;
  margin-left: 15px;
}

/* 🔹 Menú de escritorio */
.navbar {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.nav-links a:hover {
  color: #15ff00;
}

.main-menu {
  border-bottom: 2px solid  #15ff00;
  padding-bottom: 3px;
}

/* 🔽 Menú hamburguesa (oculto en escritorio) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1200;
}

.menu-toggle .bar {
  width: 30px;
  height: 4px;
  background-color: white;
  border-radius: 5px;
  transition: 0.3s;
}

/* 🔹 Contenedor del menú móvil */
.mobile-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: none;  /* 🔹 Oculto por defecto */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow-y: auto;
}

/* 🔹 Cuando el menú está activo */
.mobile-menu-container.active {
  display: flex;
}

.body-no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* 🔹 Botón de cerrar (X) */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
  display: none;
}

.mobile-menu-container.active .close-menu {
  display: block;
}

/* 🔹 Estilos de los enlaces en el menú móvil */
.mobile-nav-links {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile-nav-links li {
  margin: 20px 0;
}

.mobile-nav-links a {
  text-decoration: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.mobile-nav-links a:hover {
  color: #15ff00;
}
/* Planes comerciales */
.plans {
  background: transparent;
  padding: 10px 20px;
  text-align: center;
  color: #f1f1f1;
}

.plans-container h2 {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.pricing-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 40px;
  background: transparent;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pricing-card {
  background-color: #1a1a1a;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  padding: 30px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid #eee;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border-color: #28a745;
}

.pricing-card h2 {
  color: white;
  font-size: 24px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.price {
  font-size: 22px;
  color: #28a745;
  font-weight: bold;
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.pricing-card ul li {
  margin-bottom: 10px;
  font-size: 16px;
  color: white;
}

.subscribe-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
  background-color: #28a745;
}
/* texto*/
.text {
  background: transparent;
  padding: 10px 20px;
  text-align: center;
  color: #f1f1f1;
}

.text-container h2 {
  font-size: 1.7rem;
  padding: 10px;
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
/* Contacto */
.contact {
  background: transparent;
  padding: 5px 20px;
  text-align: center;
  color: #f1f1f1;
}

.contact-container h2 {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 5px 20px 5px;
  background-color: transparent;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  flex-wrap: wrap;
  gap: 80px;
}

.contact-form {
  flex: 1;
  max-width: 600px;
  background-color: #131313;
  border: 1px solid #131313;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact-form .form-group {
  margin-bottom: 25px;
}

.contact-form label {
  display: flex; 
  align-items: center; 
  font-size: 1.1em;
  color: #f1f1f1;
  margin-bottom: 10px;
  gap: 8px; 
}

.contact-form .required {
  color: #28a745;
  font-size: 0.9em;
  white-space: nowrap; 
}

.contact-form .form-row {
  display: flex;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 1.1em;
  color: white;
  background-color: #1a1a1a;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #28a745;
  outline: none;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  flex: 1;
}

.contact-form textarea {
  resize: none;
}

.contact-form .submit-button {
  display: inline-block;
  background-color: #28a745;
  color: #000;
  border: none;
  padding: 12px 25px;
  font-size: 1.2em;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .submit-button:hover {
  background-color: #28a745;
}

/*Mensaje de alerta*/
.toast-container {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toast {
  position: relative;
  padding: 15px 50px 15px 20px;
  border-radius: 6px;
  font-weight: bold;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  min-width: 300px;
  max-width: 600px;
  color: white;
  background-color: #131313;
}

.toast.error {
  color: #721c24;
  background-color: #f8d7da;
}

.close-toast {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 14px; 
  font-weight: bold;
  cursor: pointer;
  color: inherit;
  line-height: 1;
  padding: 0; 
  width: 20px;  
  height: 20px; 
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Pie de pagina*/
.footer {
  margin-top: 40px;
  background-color: #1a1a1a;
  padding: 20px 40px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
}

.footer p {
  margin: 0 20px;
  font-size: 1.1em;
}

.privacy-link {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
}

.privacy-link:hover {
  text-decoration: underline;
}

.social-icons {
  margin-left: auto;
}

.social-icon {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.8em;
  color: #ffffff;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #00c3ff;
}

.social-icon.facebook:hover {
  color: #3b5998;
}

.social-icon.linkedin:hover {
  color: #0077b5;
}

.social-icon.whatsapp {
  color: #25D366;
}

.copyright {
  margin-right: auto;
  font-size: 1em;
  color: #ffffff;
}

@media (max-width: 867px) {
  /* Header */
  .header-content {
    justify-content: space-between;
    padding: 5px 15px;
  }
  
  .logo img {
    height: 70px;
    margin-left: 0;
  }
  
  /* Menú de navegación */
  .nav-links {
    display: none; /* Ocultar menú en móviles */
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 0;
    background-color: wheat;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    box-shadow: white;
  }

  .nav-links.active {
    display: flex; /* Mostrar menú cuando esté activo */
  }

  .menu-toggle {
    display: flex;
    position: relative; /* Permite moverlo sin afectar otros elementos */
    top: 1px;
  }
  .menu-toggle.hidden {
    display: none;
  }
  .plans-container h2 { 
    font-size: 2.2rem;
  }
  .plans {
    padding: 10px 10px;
  }
  .pricing-section {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 1.5rem;
  }
  .pricing-card {
    max-width: 90%;
    padding: 25px;
  }
  .pricing-card h2 {
    font-size: 22px;
  }
  .price {
    font-size: 20px;
  }
  .pricing-card ul li {
    font-size: 15px;
  }
  .subscribe-btn {
    padding: 10px 20px;
    font-size: 15px;
  }
  .text-container h2 {
    font-size: 1.5rem;
  }
  .text {
    padding: 10px 10px;
  }
  .contact-container h2 {
    font-size: 2.2rem;
  }
  .contact {
    padding: 10px 10px;
  }
  /* Contacto */
  .contact-section {
    flex-direction: column; 
    align-items: center;
    gap: 40px; 
  }

  .contact-info, .contact-form {
    width: 90%; 
    max-width: 500px; 
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form label {
    font-size: 1em;
    gap: 6px;
  }

  .contact-form .required {
    font-size: 0.85em;
  }

  .contact-form .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form .submit-button {
    width: 100%;
    font-size: 1.1em;
    padding: 12px;
  }

  .toast {
    min-width: 250px;
    padding: 12px 35px 12px 15px;
    font-size: 0.95rem;
    gap: 10px;
  }

  .close-toast {
    font-size: 12px;
    width: 18px;
    height: 18px;
    top: 6px;
    right: 10px;
  }

  .footer {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer p {
    margin: 5px 0;
    font-size: 1em;
  }

  .social-icons {
    margin-left: 0;
    margin-top: 10px;
  }

  .copyright {
    margin-right: 0;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  /* Header */
  .logo img {
    height: 60px;
  }
  
  .menu-toggle {
    top: 10px;
  }
  
  .menu-toggle .bar {
    width: 25px;
    height: 3px;
  }
  .plans-container h2 {
    font-size: 1.8rem;
  }
  .plans {
    padding: 5px;
  }
  .pricing-section {
    padding: 15px;
    gap: 1rem;
  }
  .pricing-card {
    padding: 20px;
  }
  .pricing-card h2 {
    font-size: 20px;
  }
  .price {
    font-size: 18px;
  }
  .pricing-card ul li {
    font-size: 14px;
  }
  .subscribe-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  .text-container h2 {
    font-size: 1.2rem;
  }
  .texs {
    padding: 5px;
  }
  .contact-container h2 {
    font-size: 1.8rem;
  }
  .contact {
    padding: 5px;
  }
  
  /* Contacto */
  .contact-section {
    padding: 20px 10px;
    gap: 20px;
  }
  
  .contact-info h2 {
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 15px;
  }

  .contact-form label {
    font-size: 0.95em;
    gap: 5px;
  }

  .contact-form .required {
    font-size: 0.8em;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1em;
    padding: 10px;
  }

  .contact-form .submit-button {
    font-size: 1em;
    padding: 10px;
    width: 100%;
  }
  
  .toast {
    min-width: 220px;
    padding: 10px 30px 10px 12px;
    font-size: 0.9rem;
    gap: 8px;
  }

  .toast-message {
    word-break: break-word; 
  }

  .close-toast {
    font-size: 11px;
    width: 16px;
    height: 16px;
    top: 5px;
    right: 8px;
  }

  .footer {
    padding: 15px;
  }

  .footer-content {
    gap: 15px;
  }

  .footer p {
    font-size: 0.95em;
  }

  .social-icon {
    font-size: 1.5em;
    margin: 0 8px;
  }

  .copyright {
    font-size: 0.9em;
  }
} 