/* =========================================================
   🎨 ESTILOS PRINCIPALES - Dante Web Landing (Tech Premium)
   ========================================================= */

/* === 🧱 RESET GENERAL === */
body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  background: linear-gradient(180deg, #0C1116 0%, #0A0F14 100%);
  color: #B7C4D4;
}



/* =========================================================
   🧭 NAVEGACIÓN (Neon Pills)
   ========================================================= */

header {
  text-align: center;
}

/* NAV pill final (solo esta versión!) */
.top-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem 0 1rem;
}

.nav-pill {
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  color: #a8dcd2;
  font-size: 16px;

  border: 1.5px solid rgba(0, 255, 200, 0.25);
  background: rgba(0, 0, 0, 0.15);

  transition: all 0.25s ease;
}

.nav-pill:hover {
  border-color: #00e0c8;
  color: white;
  box-shadow: 0 0 8px rgba(0, 255, 200, 0.5);
  transform: translateY(-3px);
}



/* =========================================================
   🦸‍♂️ HERO
   ========================================================= */

section {
  text-align: center;
  padding: 6rem 1rem 3rem;
}

section h1 {
  color: #2BDDD3;
  font-size: 3.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

section p {
  color: #8FA2B2;
  font-size: 1.1rem;
}



/* =========================================================
   🧊 TARJETAS
   ========================================================= */

.features {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem 6rem;
}

.features .container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Tarjeta SIN blur – tech neat */
.feature-card {
  width: 300px; /* o el ancho que ya usas */
  height: 220px; /* 🔥 altura fija */
  padding: 2rem 1.5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border-radius: 1rem;
  position: relative;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}


.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 18px rgba(43, 221, 211, 0.15);
}

/* Glow interno sutil */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(
    135deg,
    rgba(43,221,211,0.12),
    rgba(255,255,255,0)
  );
  opacity: 0.25;
  pointer-events: none;
}

.feature-card h3 {
  color: #2BDDD3;
}

.feature-card p {
  max-width: 240px;
  text-align: center;
}




/* =========================================================
   💬 CHATBOT
   ========================================================= */

#chatbot {
  position: fixed;
  bottom: 15px;
  right: 15px;
  font-family: 'Work Sans', sans-serif;
  z-index: 1000;
}

#chat-button {
  background-color: #24CBB9;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;

  box-shadow: 0 4px 20px rgba(36,203,185,0.35);
  transition: transform 0.2s;
}

#chat-button:hover {
  transform: scale(1.1);
}

#chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 260px;
  background: #0F151A;
  border-radius: 15px;

  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  border: 1px solid rgba(43,221,211,0.25);

  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

.hidden { display: none; }

.chat-header {
  background-color: #24CBB9;
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: 600;
}

.chat-body {
  padding: 15px;
}

.chat-body p {
  margin: 0 0 10px;
  color: #B7C4D4;
}

.chat-option {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border: none;
  border-radius: 10px;

  background-color: rgba(43,221,211,0.1);
  color: #2BDDD3;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-option:hover {
  background-color: rgba(43,221,211,0.2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}



/* =========================================================
   📱 RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

  section {
    padding: 3rem 1rem;
  }

  section h1 {
    font-size: 1rem;
  }

  .features .container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .feature-card {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
  }

  #chatbot {
    right: 10px;
    bottom: 10px;
    transform: scale(0.9);
  }
}
