* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #1e293b;
  line-height: 1.6;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================= */
/* NAVBAR */
/* ========================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0b0f1a;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      transparent,
      #7c3aed,
      #4f46e5,
      transparent
    )
    1;
  transition: all 0.3s ease;
}

.navbar-scrolled {
  background: #0b0f1acc;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease;
}

.navbar-scrolled .navbar-inner {
  padding: 12px 24px;
}

.navbar-logo img {
  height: 55px;
  transition: height 0.3s ease;
}

.navbar-scrolled .navbar-logo img {
  height: 35px;
}

/* ---------- LINKS + PÍLDORA ANIMADA ---------- */

.navbar-links {
  position: relative;
  display: flex;
  gap: 4px;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-pill {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  opacity: 0;
  transition:
    left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
  z-index: 0;
  pointer-events: none;
}

.navbar-links a {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 10px;
  color: #cbd5e1;
  transition: color 0.25s ease;
}

.navbar-links a:hover {
  color: #ffffff;
}

/* ---------- BOTÓN DE CONTACTO ---------- */

.btn-navbar-contacto {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #22c55e;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
}

.btn-navbar-contacto:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

/* ========================================= */
/* HERO */
/* ========================================= */

.hero {
  background: radial-gradient(circle at 20% 20%, #eef2ff, #ffffff 60%);
  padding: 110px 24px 90px;
  text-align: center;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
}

.hero h1 span {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 22px;
  font-size: 1.1rem;
  color: #64748b;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-acciones {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primario {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.3);
  transition: 0.2s;
}

.btn-hero-primario:hover {
  transform: translateY(-2px);
}

.btn-hero-secundario {
  display: flex;
  align-items: center;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 700;
  color: #334155;
  background: #f1f5f9;
  transition: 0.2s;
}

.btn-hero-secundario:hover {
  background: #e2e8f0;
}

/* ========================================= */
/* SECCIONES GENERALES */
/* ========================================= */

.seccion-apps,
.seccion-funciones,
.seccion-descargas {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 24px;
}

.seccion-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 50px;
}

.seccion-eyebrow {
  display: inline-block;
  background: #eef2ff;
  color: #4f46e5;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.seccion-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
}

.seccion-header p {
  margin-top: 12px;
  color: #64748b;
}

/* ========================================= */
/* TARJETAS DE APPS */
/* ========================================= */

.grid-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tarjeta-app {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  transition: 0.25s;
}

.tarjeta-app:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  border-color: #c7d2fe;
}

.tarjeta-app-icono {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tarjeta-app h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.tarjeta-app p {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.btn-tarjeta-app {
  display: inline-block;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
}

.tarjeta-app-proximamente {
  opacity: 0.7;
  background: #f8fafc;
}

.badge-proximamente {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ========================================= */
/* FUNCIONES */
/* ========================================= */

.seccion-funciones {
  background: #f8fafc;
  border-radius: 32px;
  margin: 40px auto;
}

.grid-funciones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.tarjeta-funcion {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #e2e8f0;
}

.icono-funcion {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eef2ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tarjeta-funcion h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tarjeta-funcion p {
  color: #64748b;
  font-size: 0.88rem;
}

/* ========================================= */
/* DESCARGAS */
/* ========================================= */

.seccion-descargas {
  text-align: center;
}

.descargas-inner h2 {
  font-size: 2rem;
  font-weight: 800;
}

.descargas-inner p {
  color: #64748b;
  margin-top: 10px;
}

.btn-descarga-principal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #fff;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 28px;
  transition: 0.2s;
}

.btn-descarga-principal:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.descargas-todas {
  margin-top: 20px;
  display: flex;
  gap: 22px;
  justify-content: center;
  font-size: 0.88rem;
  color: #64748b;
}

.link-descarga-alt:hover {
  color: #4f46e5;
}

/* ========================================= */
/* CTA FINAL */
/* ========================================= */

.seccion-cta {
  text-align: center;
  padding: 90px 24px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
}

.seccion-cta h2 {
  font-size: 2rem;
  font-weight: 800;
}

.seccion-cta p {
  margin-top: 12px;
  opacity: 0.9;
}

.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #16a34a;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 26px;
}

/* ========================================= */
/* FOOTER */
/* ========================================= */

.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-marca {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
}

.footer-marca img {
  height: 50px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 20px;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
}

/* ========================================= */
/* BOTÓN FLOTANTE WHATSAPP */
/* ========================================= */

.btn-whatsapp-flotante {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.4);
  z-index: 999;
  transition: 0.2s;
}

.btn-whatsapp-flotante:hover {
  transform: scale(1.08);
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}

/* ========================================= */
/* PÁGINAS LEGALES (Términos / Privacidad) */
/* ========================================= */

.pagina-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 24px 100px;
}

.pagina-legal-inner h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
}

.fecha-actualizacion {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 28px;
}

.pagina-legal-inner p {
  color: #475569;
  font-size: 0.96rem;
  margin-bottom: 6px;
}

.pagina-legal-inner h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 34px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eef2ff;
}

.pagina-legal-inner ul {
  margin: 0 0 16px 20px;
  color: #475569;
  font-size: 0.96rem;
}

.pagina-legal-inner li {
  margin-bottom: 8px;
}
