/* Variables */
:root {
  --dark: #020617;
}

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

/* Animaciones de entrada */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s ease-out;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* Botones y Cards */
.btn-gradient {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  transition: all 0.3s ease;
  background-size: 150% auto !important; /* Estira el gradiente para que tenga espacio para moverse */
  animation: gradientMove 5s ease infinite !important;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.card-custom {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.card-custom:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.badge-custom {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.btn-whatsapp {
  display: inline-flex;
  padding: 1.25rem 3rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: #020617;
  text-decoration: none;
  background: linear-gradient(90deg, #10b981, #a3e635);
  transition: all 0.3s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  background-size: 150% auto !important; /* Estira el gradiente para que tenga espacio para moverse */
  animation: gradientMove 5s ease infinite !important;
}

.btn-whatsapp:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.2);
}

/* Marquee (Carousel) */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.client-text {
  margin: 0 3rem;
  font-size: 1.875rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: -0.05em;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .client-text {
    font-size: 2.25rem;
  }
}

.client-text:hover {
  color: white;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--dark), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--dark), transparent);
}

/* Menu Mobile */
#mobile-menu {
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.5s ease-in-out;
}

#mobile-menu.open {
  clip-path: circle(150% at 100% 0%);
}

/* Footer Styles */
.footer-main {
  position: relative;
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(20px);
}

.footer-title {
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af; /* gray-400 */
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6; /* blue-500 */
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #22c55e; /* green-500 */
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  color: #6b7280; /* gray-500 */
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.social-link {
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: white;
}
