* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
font-family: 'Archivo Black', sans-serif;



}

body {
  background: radial-gradient(circle at center, #1a1a1a, #000000);
  color: #fff;
  height: 100vh;
  overflow: hidden;
}


.main-layout {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* ======= LANDING ======= */
.landing-container {
  height: 100vh;
  width: 80%;
  overflow-y: scroll;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE y Edge antiguos */
}

.landing-container::-webkit-scrollbar {
  display: none;               /* Chrome, Safari, Opera */
}


.resaltado-dorado {
  color: #F3D191;
  font-weight: bold;
}


/* ======= CHAT ======= */


/*DISÑEO PARTE DERECHA*/

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.nav a {
  color: #ddd;
  margin-left: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #FFBC1A;
}

/* ==== HERO SECTION ==== */

.btn-cta {
  background-color: #FFBC1A;
  color: #000;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background-color: #e0a400;
}

.hero {
  display: flex;
  justify-content: center;   /* Centra horizontalmente */
  align-items: center;       /* Centra verticalmente */
  min-height: 30vh;         /* Ocupa el alto completo de la pantalla */
  text-align: center;        /* Centra el texto */
  padding: 40px 20px;
}


.hero-img img {
  max-width: 320px;
  animation: float 3s ease-in-out infinite;
}


.header {
  display: flex;
  flex-direction: column;     /* Uno debajo del otro */
  align-items: center;        /* Centrado horizontal */
  justify-content: center;    /* Centrado vertical (si le das height) */
  padding: 20px 30px;
  background: transparent;
  color: #fff;
  text-align: center;
}


.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  position: relative;
  padding: 10px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, #00f0ff, #00b7ff);
  color: #0f172a;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.main-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.15),
    transparent,
    rgba(255, 255, 255, 0.15)
  );
  transform: skewX(-25deg);
  transition: left 0.4s ease;
}

.main-nav a:hover::before {
  left: 100%;
}

.main-nav a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.features {
    margin-top: -2%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 100px 10px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #121212, #000000); /* Más oscuro y cercano al fondo */
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 0 1px rgba(0, 255, 255, 0.1);
  transition: transform 0.2s ease;
  flex: 1 1 30%;
  min-width: 260px;
  text-align: center;
}


.feature-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 10px rgba(243, 209, 145, 0.4);
}
.card-img {
  width: 240px;   /* tamaño más grande */
  height: auto;
  margin-top: -25%;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.2));
}

.card-content h3 {

  font-size: 1.3rem;
  font-weight: 600;
  background: linear-gradient(90deg, #00e0ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.card-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.h.hero {
  display: flex;
  justify-content: center;      /* Centra horizontal */
  align-items: center;          /* Centra vertical */
  min-height: 80vh;             /* Altura suficiente para centrar vertical */
  padding: 40px 20px;
  background: linear-gradient(145deg, #0f172a, #1e293b);  /* Fondo casino */
  text-align: center;
}

.hero-content {
  max-width: 100%;
  color: #fff;
  padding: 20px;
}

.hero-content h2 {
  font-size: 2.8rem;

  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.hero-content p {
  margin-top: 30px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(90deg, #ffbc1a, #ffaa00);
  color: #000;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 188, 26, 0.5);
  transition: all 0.3s ease;
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(255, 188, 26, 0.8);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25d366;
  color: white;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-align: center;
  margin: 0 auto;
}

.btn-whatsapp:hover {
  background-color: #1ebe5c;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.8);
  transform: scale(1.05);
}

.icon-wa {
  width: 24px;
  height: 24px;
}


.promo-timer-azul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 40px;
  background: linear-gradient(135deg, #00cfff, #0066ff);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: inset 0 0 8px #00d9ff, 0 0 18px rgba(0, 153, 255, 0.7);
  animation: pulsoAzul 2.5s infinite;
}

.promo-icon {
  font-size: 1.4rem;
}

.promo-countdown-blue {
  background: #001f3f;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: monospace;
  font-size: 1.3rem;
  box-shadow: inset 0 0 6px #00d9ff, 0 0 10px rgba(0, 153, 255, 0.7);
  color: #00ffff;
}

.promo-timer-azul {
  box-shadow: inset 0 0 4px #00d9ff, 0 0 8px rgba(0, 153, 255, 0.3);
  animation: pulsoAzul 3s infinite;
}

.promo-countdown-blue {
  font-weight: bold;
  font-size: 1.5rem;
  color: #00e5ff;
  transition: all 0.25s ease-in-out;
}

.countdown-flip {
  animation: countdownPulse 0.4s ease;
}

@keyframes countdownPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.chat-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  background-color: #0D1B2A;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  z-index: 999;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.4);


}

/* Cabecera */
.chat-header {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #1B263B;
  border-bottom: 1px solid #2A3E58;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 10px;
  border: 1px solid #c7c7c7;
}

.chat-header h4 {
  margin: 0;
  font-size: 1.1em;
  color: #fff;
}

.online {
  font-size: 0.75em;
  color: #00FFA3;
}

.logo img {
  width: 80%;
  height: auto;
}


/* Zona de mensajes */
.chat-messages {
  flex: 1;
  padding: 15px 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #0D1B2A;
    scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
}

.chat-messages::-webkit-scrollbar {
  display: none;                  /* Chrome, Safari */
}

/* Estilo burbujas */
.msg {
  padding: 10px 14px;
  border-radius: 20px;
  max-width: 80%;
  font-size: 0.95em;
  line-height: 1.4;
  word-wrap: break-word;
}

.msg.valentina {
  align-self: flex-start;
  background-color: #1E3A5F;
  color: #ffffff;
  border-bottom-left-radius: 0;
}

/* Input y botón */
.chat-input {
  display: flex;
  justify-content: center;        /* Centra horizontalmente los hijos */
  align-items: center;            /* Centra verticalmente los hijos */
  margin-top: 10px;
  padding: env(safe-area-inset-bottom, 12px) 12px 12px 12px;
  background-color: #1B263B;
  border-top: 1px solid #2A3E58;
}


.chat-input input {
  flex: 1;
  margin: 5px;
  padding: 10px 12px;
  border: none;
  border-radius: 20px;
  background-color: #0D1B2A;
  color: white;
  font-size: 0.95em;
  outline: none;
}

/* Burbuja del usuario (nuevo color azul claro con texto blanco) */
.msg.user {
  align-self: flex-end;
  background: linear-gradient(145deg, #3A8DFF, #2F74D9); /* degradado azul suave */
  color: white;
  border-radius: 20px;
  border-bottom-right-radius: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Botón de enviar (azul degradado) */
.chat-input button {
  width: 35px;
  height: 35px;
  background: linear-gradient(145deg, #3A8DFF, #2F74D9);
  border: none;
  border-radius: 50%;
  margin-left: 8px;
  color: white;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.chat-input button:hover {
  background: linear-gradient(145deg, #5CAEFF, #3A8DFF);
}


.msg.escribiendo {
  font-style: italic;
  opacity: 0.8;
  font-size: 0.9em;
}

/* Botón flotante estilo WhatsApp */
#btn-chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out;
}

#btn-chat-toggle:hover {
  transform: scale(1.1);
}

/* Botón de cerrar solo visible en móvil */
#btn-chat-close {
  display: none;
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

@media screen and (max-width: 768px) {
  #btn-chat-close {
    display: block;
  }
}
