/* ========== BASE PARA LA LANDING APPLE ========== */

/* Body de esta landing: permite scroll, pero ocupa al menos toda la pantalla */
body.landing-meta-page {
  min-height: 100vh;
  height: auto;
  background: #000; /* fallback por si no carga la imagen */
  color: #fff;
}

/* El main ocupa al menos una pantalla, pero puede crecer */
body.landing-meta-page #primary.site-main {
  min-height: 100vh;
  height: auto;
}

/* Ocultar carrito flotante y chat SOLO acá */
body.landing-meta-page #loq-cart-toggle,
body.landing-meta-page .joinchat__agent,
body.landing-meta-page .joinchat__agent--online,
body.landing-meta-page .joinchat__button {
  display: none !important;
}

/* ========== HERO CON FONDO GRADIENT ========== */

body.landing-meta-page .loq-landing-meta {
  position: relative;
  min-height: 100vh;  /* puede crecer más si el contenido lo requiere */
  display: flex;
  align-items: flex-start;
  background-image: url('https://loquiero.com.ar/wp-content/uploads/2025/11/ChatGPT-Image-18-nov-2025-08_39_36-a.m.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-bottom: 40px; /* espacio para los botones abajo */
}

body.landing-meta-page .loq-landing-meta .site-container {
  position: relative;
  z-index: 1;
}

/* ========== CONTENIDO: LOGO + TÍTULO + SUBTÍTULO ========== */

/* Contenedor general del contenido */
body.landing-meta-page .loq-landing-meta__inner {
  min-height: 100vh;
  margin-inline: auto;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;   /* arranca arriba */
  padding-top: 60px;             /* margen desde arriba */
}

/* TOP con logo (izquierda, más chico) */
body.landing-meta-page .loq-landing-meta__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* logo a la izquierda */
  margin-bottom: 32px;
}

body.landing-meta-page .loq-landing-meta__logo {
  height: 26px;
  width: auto;
  display: block;
}

/* TÍTULO principal */
.loq-landing-meta__title-main {
  margin: 0 0 16px;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  color: #ffffff;
}

/* Palabra con gradiente estilo Landing Tech */
.loq-landing-meta__title-gradient {
  background: linear-gradient(90deg,
    #ff5cf0 0%,
    #d85cff 25%,
    #a55cff 55%,
    #5c8cff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Subtítulo para Apple / usuarios finales */
.loq-landing-meta__subtitle {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(255,255,255,0.8);
}

/* ========== VIDEO CON PLAY ========== */

/* Contenedor del video (centrado, ancho limitado) */
.loq-landing-meta__video {
  width: min(720px, 100%);
}

/* Frame 16:9 con glow suave */
.loq-landing-meta__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255,92,240,0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(92,140,255,0.12), transparent 55%),
    rgba(0,0,0,0.55);
  box-shadow: 0 18px 45px rgba(0,0,0,0.75);
}

/* Iframe oculto hasta que den play */
.loq-landing-meta__video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

/* Botón de play centrado */
.loq-landing-meta__video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 0, #ffb5ff 0, transparent 60%),
    linear-gradient(135deg, #ff5cf0, #5c8cff);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.8),
    0 0 22px rgba(133,76,255,0.8);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.loq-landing-meta__video-play:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.05);
}

.loq-landing-meta__video-play:active {
  transform: scale(0.96);
}

/* Icono de play (triángulo) */
.loq-landing-meta__video-play-icon {
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 24px solid #ffffff;
  margin-left: 4px;
}

/* Estado “reproduciendo”: se oculta el botón y se muestra el iframe */
.loq-landing-meta__video-frame.is-playing .loq-landing-meta__video-play {
  opacity: 0;
  pointer-events: none;
}

.loq-landing-meta__video-frame.is-playing .loq-landing-meta__video-iframe {
  opacity: 1;
  pointer-events: auto;
}

/* Luces / blobs suaves animados detrás del contenido */
body.landing-meta-page .loq-landing-meta::before{
  content: "";
  position: absolute;
  inset: -20%; /* un poco más grande que la pantalla para que no se vean bordes */
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 92, 240, 0.35) 0, transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(92, 140, 255, 0.40) 0, transparent 60%),
    radial-gradient(circle at 70% 0%, rgba(78, 224, 184, 0.25) 0, transparent 55%);
  opacity: 0.9;
  filter: blur(18px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  animation: loqBgGlow 22s ease-in-out infinite alternate;
}

@keyframes loqBgGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate3d(-2%, 3%, 0) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate3d(3%, -2%, 0) scale(1.08);
    opacity: 0.9;
  }
}


/* ========== BOTONES NUEVOS / SEMINUEVOS ========== */

/* Contenedor de los botones debajo del video */
.loq-landing-meta__actions{
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Botón base: ahora sin relleno directo, listo para borde gradiente */
.loq-landing-meta__btn{
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
  background: transparent;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.6);
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

/* Capa del borde gradiente + interior oscuro */
.loq-landing-meta__btn::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; /* grosor del borde */
  background-origin: border-box;
  background-clip: padding-box, border-box;
  z-index: -1;
}

/* Interior oscuro (sin relleno brillante) */
.loq-landing-meta__btn::after{
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: rgba(0,0,0,0.72); /* fondo oscuro */
  z-index: -1;
}

/* Hover / active */
.loq-landing-meta__btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    0 10px 28px rgba(0,0,0,0.75);
}

.loq-landing-meta__btn:active{
  transform: translateY(0);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.6);
}

/* Botón "Nuevos" – borde gradiente rosa/violeta/azul */
.loq-landing-meta__btn--primary::before{
  background-image:
    linear-gradient(90deg, #ff8cf5, #b26cff, #5c8cff);
}

/* Botón "Seminuevos" – borde gradiente azul/cyan */
.loq-landing-meta__btn--secondary::before{
  background-image:
    linear-gradient(90deg, #5c8cff, #4ee0b8, #8ffcff);
}


/* ========== AJUSTES RESPONSIVE SENCILLOS ========== */

@media (max-width: 768px) {
  body.landing-meta-page .loq-landing-meta__inner {
    padding-top: 40px;
  }

  body.landing-meta-page .loq-landing-meta__top {
    margin-bottom: 24px;
  }

  body.landing-meta-page .loq-landing-meta__logo {
    height: 22px;
  }
}


/* ===== TESTIMONIO / REVIEW ===== */

.loq-landing-meta__review{
  margin-top: 40px;
  max-width: 720px;
  text-align: left;
  position: relative;
  color: rgba(255,255,255,0.9);
}

.loq-landing-meta__review-text{
  position: relative;
  font-style: italic;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  padding-left: 32px;
}

/* Comillas grandes al inicio */
.loq-landing-meta__review-text::before{
  content: "“";
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 46px;
  line-height: 1;
  color: rgba(255,255,255,0.18);
  font-style: normal;
}

/* Línea sutil abajo + meta */
.loq-landing-meta__review-meta{
  margin-top: 10px;
  padding-left: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
}

.loq-landing-meta__review-name{
  font-weight: 600;
}

.loq-landing-meta__review-badge{
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 10px;
}

/* ===== STATS ROW (4,9★ / +2500 / 24-7) ===== */

.loq-landing-meta__stats{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  max-width: 720px;
  width: 100%;
}

.loq-landing-meta__stat{
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loq-landing-meta__stat-value{
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.loq-landing-meta__stat-label{
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* mobile: se apilan de a uno o dos */
@media (max-width: 640px){
  .loq-landing-meta__stats{
    grid-template-columns: minmax(0,1fr);
  }

  .loq-landing-meta__stat{
    align-items: flex-start;
  }
}


/* ===== BENEFICIOS LOQUIERO ===== */

.loq-landing-meta__benefits{
  margin-top: 40px;
  max-width: 840px;
  width: 100%;
  text-align: left;
}

.loq-landing-meta__benefits-title{
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin: 0 0 18px;
}

.loq-landing-meta__benefits-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.loq-landing-meta__benefit{
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 30px rgba(0,0,0,0.55);
}

.loq-landing-meta__benefit-icon{
  font-size: 20px;
  margin-bottom: 8px;
}

.loq-landing-meta__benefit-heading{
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #ffffff;
}

.loq-landing-meta__benefit-text{
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.80);
}

/* Responsive: en mobile se apilan */
@media (max-width: 768px){
  .loq-landing-meta__benefits-grid{
    grid-template-columns: minmax(0,1fr);
  }
}

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

.loq-landing-meta__cta-final{
  margin-top: 48px;
  margin-bottom: 24px;
  max-width: 720px;
  width: 100%;
  text-align: center;
}

.loq-landing-meta__cta-final-title{
  margin: 0 0 8px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #ffffff;
}

.loq-landing-meta__cta-final-subtitle{
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

/* Botón final, más protagonista */
.loq-landing-meta__cta-final-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 32px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  color: #0b1020;
  background:
    radial-gradient(circle at 0 0, #ffebff 0, transparent 60%),
    linear-gradient(90deg, #ffcf5c, #ffe470);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.65),
    0 0 20px rgba(255,228,112,0.8);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.loq-landing-meta__cta-final-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    0 14px 36px rgba(0,0,0,0.75),
    0 0 26px rgba(255,228,112,0.95);
}

.loq-landing-meta__cta-final-btn:active{
  transform: translateY(0);
  box-shadow:
    0 8px 22px rgba(0,0,0,0.7),
    0 0 18px rgba(255,228,112,0.8);
}

/* ================== AJUSTE DE ESPACIO DESDE LAS STATS HACIA ABAJO ================== */

/* Un poco de aire debajo de las stats */
.loq-landing-meta__stats{
  margin-bottom: 32px;
}

/* La review respira de las stats y de los beneficios */
.loq-landing-meta__review{
  margin-top: 24px;
  margin-bottom: 32px;
}

/* Beneficios bajan un poco más */
.loq-landing-meta__benefits{
  margin-top: 32px;
  margin-bottom: 32px;
}

/* El CTA final aún un poquito más separado de los beneficios */
.loq-landing-meta__cta-final{
  margin-top: 40px;
}

/* ===== AJUSTE DE ESPACIO PARA LOS BOTONES (ARRIBA Y ABAJO) ===== */

/* Botones "Nuevos / Seminuevos": más espacio con el video y las stats */
.loq-landing-meta__actions{
  margin-top: 32px;    /* antes 24px */
  margin-bottom: 32px; /* nuevo: abre más hacia las stats */
}

/* CTA final: un pelín más aire respecto a beneficios */
.loq-landing-meta__cta-final{
  margin-top: 48px;    /* antes 40px */
}
/* Fix padding del bloque de beneficios en mobile */
@media (max-width: 768px){
  .loq-landing-meta__benefits{
    padding-inline: 16px; /* aire a izquierda y derecha */
  }
}


/* Stats en UNA sola fila también en mobile */
@media (max-width: 640px){
  .loq-landing-meta__stats{
    grid-template-columns: repeat(3, minmax(0,1fr)); /* 3 columnas siempre */
    gap: 10px;
  }

  .loq-landing-meta__stat{
    padding: 8px 10px;
    align-items: center;
  }

  .loq-landing-meta__stat-value{
    font-size: 14px;
  }

  .loq-landing-meta__stat-label{
    font-size: 10px;
  }
}
