/* ==========================
   🌐 GLOBAL
========================== */
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
   background-color: #0d0d0d; /* gris casi negro */
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

a {
  text-decoration: none;
}



.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}
/* ==============================
   NAVBAR - GLASSMORPHISM EFFECT
   ============================== */

.navbar {
  position: fixed;              /* siempre arriba */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;      /* inicial */
  transition: background 0.4s ease, 
              backdrop-filter 0.4s ease, 
              box-shadow 0.4s ease;
}

/* Estado al hacer scroll */
.navbar.scrolled {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Logo / Marca */
.navbar-brand {
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

/* Links de navegación */
.navbar-nav .nav-link {
  color: #ddd !important;
  font-weight: 500;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #fff !important;
}

/* Botones en la navbar */
.navbar .btn {
  border-radius: 30px;
  font-weight: 600;
}


/* ==========================
   🎥 HERO
========================== */
#hero .carousel-item {
  background-size: cover;
  background-position: center;
  text-align: center;
}

.hero-title, .hero-subtitle {
  text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* legibilidad sobre video */
}

#hero h1 {
  font-size: 3rem;
  font-weight: 800;
}

#hero p {
  font-size: 1.25rem;
}

#hero .btn {
  border-radius: 30px;
  font-weight: 600;
  margin: 0.3rem;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
#hero .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(13, 110, 253, 0.5); /* glow azul */
}

/* ==========================
   ⭐ FEATURES
========================== */
#features .card {
  transition: transform 0.3s ease;
}

/* ==========================
   ♾️ LOGOS INFINITOS
========================== */
.logos-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: scrollLogos 25s linear infinite;
}
.brand-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.brand-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}
@keyframes scrollLogos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================
   📱 RESPONSIVE
========================== */
/* Hero */
.hero-title { font-size: 3rem; }
.hero-subtitle { font-size: 1.25rem; }

/* Tablets */
@media (max-width: 992px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .logos-track { gap: 3rem; animation-duration: 18s; }
  .brand-logo { height: 32px; max-width: 90px; }
}

/* Móviles */
@media (max-width: 576px) {
  .hero-title { font-size: 1.8rem; line-height: 1.3; }
  .hero-subtitle { font-size: 1rem; }
  #hero .btn { display: block; width: 100%; margin: 0.5rem auto; }
  .logos-track { gap: 2rem; animation-duration: 10s; }
  .brand-logo { height: 26px; max-width: 70px; }
}


.login-card .alert {
  background: rgba(13,110,253,0.05);
  border: 1px solid rgba(13,110,253,0.2);
  color: #0d6efd;
  font-size: 0.9rem;
}
