/* ESTILOS DE LANDING PAGE - INGGAR ID */
:root {
  --bg: #0c0d10; /* Fondo base ultra oscuro */
  --glow-color: rgba(0, 119, 182, 0.12); /* Sutil brillo azul de la marca */
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --brand: #0077b6;
  --brand-gradient: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  --stroke: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  /* Sutil halo azul en el fondo para dar profundidad */
  background-image: radial-gradient(circle at 50% 30%, var(--glow-color) 0%, rgba(12, 13, 16, 0) 65%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  justify-content: space-between;
  overflow-x: hidden;
}

/* ÁREA DE CONTENIDO HERO */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0; /* Controlamos el flujo manualmente con márgenes selectivos */
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; /* Espacio entre el logo y el texto */
  margin-bottom: 48px;
}

.logo {
  height: 180px;
  width: auto;
  margin-bottom: 0; /* Cambiado de 48px a 0 */
  filter: drop-shadow(0 4px 15px rgba(0, 119, 182, 0.2));
  transition: transform 0.3s ease;
}

.logo-text {
  font-size: 3.5rem; /* Ajustable según preferencia */
  font-weight: 800;
  color: #ffffff; /* INGGAR en blanco */
  letter-spacing: -0.02em;
}

.logo-accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block; /* ID con el degradado del título */
}

/* TITULARES */
.headline {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.headline .accent {
  background: var(--brand-gradient);
  /* Primero la versión con prefijo para navegadores antiguos/específicos */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Luego la versión estándar para validación y futuro */
  background-clip: text;
  color: transparent; 
  
  display: inline-block;
}

.subheadline {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px auto; /* Generoso espacio antes de las características */
}

/* CARACTERÍSTICAS / BADGES */
.features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 56px; /* Separación marcada con el botón de WhatsApp */
  flex-wrap: wrap;
  width: 100%;
}

.feature-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-radius: 50px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 119, 182, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.feature-item i {
  color: var(--brand);
  font-size: 1.05rem;
}

.feature-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

/* BOTÓN DE ACCIÓN (CTA PRINCIPAL) */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #ffffff;
  color: #0c0d10;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-main i {
  font-size: 1.25rem;
  color: #25d366; /* Color verde nativo de WhatsApp para contexto inmediato */
}

.btn-main:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.15);
}

/* PIE DE PÁGINA AESTHETIC */
.landing-footer {
  border-top: 1px solid var(--stroke);
  padding: 28px 24px;
  text-align: center;
  background-color: rgba(12, 13, 16, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
}

.landing-footer p {
  margin: 0;
  font-size: 0.75rem;
  color: #57657a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Contenedor explicativo para PC */
.desc-pc {
  display: none;
  width: 100%;
  margin-top: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
  animation: fadeIn 0.3s ease;
}

.desc-pc.visible {
  display: block;
}

/* La descripción móvil ahora hereda el centrado o podés ajustarla */
.desc-mobile {
  display: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center; /* Texto centrado para mantener la estética de la píldora */
  width: 100%;
  animation: fadeIn 0.3s ease;
}

/* Mantiene ícono y texto alineados horizontalmente */
.feature-header {
  display: flex;
  align-items: center;
  justify-content: center; /* Centrado por defecto */
  gap: 12px;
  width: 100%;
}

.feature-item {
  cursor: pointer;
  display: flex;
  flex-direction: column; /* La descripción irá abajo */
  align-items: center;    /* Centra todo el contenido de la píldora */
  transition: all 0.3s ease;
}

.feature-item.active .desc-mobile {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN (MEDIA QUERIES) */
@media (max-width: 768px) {
  .hero {
    padding: 60px 16px 40px 16px;
  }

  .logo-wrapper {
    flex-direction: column; /* Apila logo y texto en móviles si el espacio es reducido */
    gap: 10px;
    margin-bottom: 36px;
  }
  .logo-text {
    font-size: 2.2rem;
  }
  .logo {
    height: 120px;
  }

  .headline {
    font-size: 2.3rem;
    margin-bottom: 18px;
  }

  .subheadline {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 36px;
  }

  .features {
    gap: 12px;
    margin-bottom: 44px;
  }

  .feature-item {
    padding: 14px 24px;
    align-items: center; /* Asegura que en móvil todo esté al centro */
  }

  .feature-header {
    justify-content: center; /* Fuerza el centrado del ícono+texto en móvil */
  }

  .btn-main {
    width: 100%;
    max-width: 320px;
    padding: 16px 28px;
    font-size: 1rem;
  }

  .desc-pc { display: none !important; } /* Forzar oculto en móvil */

}