/* =========================================================
   HOME / LANDING PAGE – EarVu
   ========================================================= */

/* ---------- HERO CON VÍDEO ---------- */

.hero-video {
  position: relative;
  width: 100%;
  min-height: 80vh;
  overflow: hidden;
  background: var(--c-bg);
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.9;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
}

.hero-content {
  max-width: 960px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 2.2rem;
  color: var(--c-text);
}

/* ---------- SECCIONES GENERALES ---------- */

.landing-section {
  padding: 6rem 0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.landing-section h2 {
  font-size: 2.1rem;
  margin-bottom: 1.2rem;
}

.landing-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 720px;
}

/* ---------- FEATURES ---------- */

.features-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
}

.features-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}

.features-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-primary);
}

/* ---------- CTA ---------- */

.landing-cta {
  text-align: center;
}

.cta-primary {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 1.7rem;
  background: var(--c-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta-primary:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.cta-primary.large {
  font-size: 1.15rem;
  padding: 1.1rem 2.2rem;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
  .hero-video,
  .hero-overlay {
    min-height: 70vh;
  }

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

  .landing-section {
    padding: 4rem 0;
  }
}


/* =====================================================
   HERO VIDEO — FULL BLEED DEFINITIVO
   ===================================================== */

.hero-video {
  position: relative;

  /* romper container */
  width: 100vw;
  left: 50%;
  margin-left: -50vw;

  height: 100vh;
  overflow: hidden;
}

/* RESET FUERTE DEL VIDEO */
.hero-video-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;              /* 🔑 CLAVE */
  max-width: none;             /* 🔑 CLAVE */
  max-height: none;            /* 🔑 CLAVE */

  object-fit: cover;
  object-position: center;

  transform: none !important;  /* 🔥 mata restos anteriores */
  margin: 0;
  padding: 0;

  z-index: 0;
}

/* Overlay ocupa TODO el hero */
.hero-overlay {
  position: relative;
  z-index: 1;

  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(
    circle at center,
    rgba(6, 10, 20, 0.75) 0%,
    rgba(6, 10, 20, 0.85) 45%,
    rgba(6, 10, 20, 0.95) 70%,
    rgba(6, 10, 20, 0.98) 100%
  );
}

/* =====================================================
   CONTENIDO
   ===================================================== */

.hero-content {
  position: relative;
  z-index: 2;

  max-width: 900px;
  padding: 0 2rem;
  text-align: center;
}

.hero-content h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;

  text-shadow:
    0 4px 14px rgba(0,0,0,0.8),
    0 0 48px rgba(90,150,255,0.25);
}

.hero-subtitle {
  margin-top: 1.2rem;
  font-size: 1.15rem;
  line-height: 1.5;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;

  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* CTA */
.hero-video .cta-primary {
  display: inline-block;
  margin-top: 2.5rem;

  background: linear-gradient(135deg, #4f8cff, #6bc1ff);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;

  padding: 14px 36px;
  border-radius: 14px;

  box-shadow:
    0 12px 32px rgba(79,140,255,0.45),
    inset 0 1px 0 rgba(255,255,255,0.35);

  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-video .cta-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 44px rgba(79,140,255,0.55),
    inset 0 1px 0 rgba(255,255,255,0.45);
}


/* =====================================================
   CONTENIDO DEL HERO
   ===================================================== */

.hero-video .hero-content {
  position: relative;
  z-index: 2;

  max-width: 900px;
  padding: 0 2rem;
  text-align: center;
}

/* Título legible SIEMPRE */
.hero-video .hero-content h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;

  text-shadow:
    0 4px 14px rgba(0, 0, 0, 0.8),
    0 0 48px rgba(90, 150, 255, 0.25);
}

/* =====================================================
   CTA PRINCIPAL
   ===================================================== */

.hero-video .cta-primary {
  display: inline-block;
  margin-top: 2.5rem;

  background: linear-gradient(135deg, #4f8cff, #6bc1ff);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;

  padding: 14px 36px;
  border-radius: 14px;

  box-shadow:
    0 12px 32px rgba(79, 140, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-video .cta-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 44px rgba(79, 140, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}


/* =====================================================
   FLOW — 3 PASOS
   ===================================================== */

.section-flow {
  padding: 6rem 2rem 0 2rem;
  background: radial-gradient(
    circle at top,
    rgba(20, 30, 60, 0.35),
    rgba(10, 15, 30, 0.95)
  );
}

.flow-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem auto;
}

.flow-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.flow-step h3 {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.flow-step p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

/* Iconos (temporales) */

.flow-icon {
  font-size: 2.2rem;
  opacity: 0.85;
}

/* Footer */

.flow-footer {
  margin-top: 4rem;
  margin-bottom: 3rem;
  text-align: center;
}

.flow-footer p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive */

@media (max-width: 900px) {
  .flow-steps {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   SECTION USE CASES
   ===================================================== */

.section-use-cases {
  padding: 6rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.9),
    rgba(10, 15, 30, 0.98)
  );
}

.use-cases-header {
  max-width: 900px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.use-cases-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
}

.use-cases-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.use-case h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.use-case-now {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.use-case-earvu {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: rgba(143, 185, 255, 0.85);
}

.use-cases-footer {
  margin-top: 4rem;
  margin-bottom: 3rem;
  text-align: center;
}

.use-cases-footer p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.use-case-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.use-case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.use-case-image {
  position: relative;
}

.use-case-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.25),
    transparent 50%
  );
}

/* Responsive */

@media (max-width: 900px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   SYSTEM FLOW (SCROLL 3)
   ===================================================== */

.section-system-flow {
  padding: 4rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.95),
    rgba(10, 15, 30, 0.98)
  );
}

.system-flow-header {
  max-width: 900px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.system-flow-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
}

.system-flow-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.system-step h3 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.system-step p {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.system-icon {
  font-size: 2rem;
  opacity: 0.85;
}

/* Footer */

.system-flow-footer {
  margin-top: 4rem;
  margin-bottom: 3rem;
  text-align: center;
}

.system-flow-footer p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
}

/* Responsive */

@media (max-width: 1100px) {
  .system-flow-steps {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   SCROLL 4 — PLANS INTRO
   ===================================================== */

.section-plans-intro {
  padding: 6rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.98),
    rgba(10, 15, 30, 1)
  );
}

.plans-header {
  max-width: 900px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.plans-header h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
}

.plans-header p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.plans-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 2.5rem;
}

.plan-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.plan-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.2rem;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.plan-card li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.plan-card.free {
  background: rgba(58, 210, 159, 0.08);
  border: 1px solid rgba(58, 210, 159, 0.25);
  transform: translateY(-8px);
}

.plan-card.senior,
.plan-card.pro,
.plan-card.premium {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Colores */

.plan-card.free h3 { 
  color: #3ad29f;
  font-size: 1.35rem;
}

.plan-card.senior h3 { color: #4f8cff; }
.plan-card.pro h3 { color: #bfc3c9; }
.plan-card.premium h3 { color: #ffd27d; }

/* Footer */

.plans-footer {
  margin-top: 4rem;
  text-align: center;
}

.plans-footer p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.plans-link {
  margin-top: 1rem;
  margin-bottom: 3rem;
  text-align: center;
}

.plans-link a {
  color: #8fb9ff;
  text-decoration: none;
  font-weight: 500;
}

.plans-link a:hover {
  text-decoration: underline;
}

.plans-philosophy-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255,255,255,.65);
}

/* Arreglo de la línea EarVu para no visionarla */
.no-divider::before {
  display: none !important;
}

/* Responsive */

@media (max-width: 1200px) {
  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* =====================================================
   SECTION FEATURES
   ===================================================== */

.section-features {
  padding: 6rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.95),
    rgba(10, 15, 30, 0.85)
  );
}

.features-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.features-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
}

.features-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Grid limpio, no decorativo */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.feature-item p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive */

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   SECTION DIVIDER — EARVU SPECTRUM
   ===================================================== */

.section-divider.earvu-spectrum {
  width: 140px;
  height: 2px;
  margin: 0 auto 0 auto;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,

    /* entrada suave */
    rgba(255, 255, 255, 0.25) 30%,

    /* pulso EarVu (muy breve) */
    #ff8a00 42%,   /* naranja */
    #ffd200 46%,   /* amarillo */
    #3ad29f 50%,   /* verde */
    #4f8cff 54%,   /* azul */

    /* salida suave */
    rgba(255, 255, 255, 0.25) 70%,
    rgba(255, 255, 255, 0) 100%
  );

  border-radius: 2px;
  opacity: 0.9;
}


/* =====================================================
   SECTION AUDIENCE
   ===================================================== */

.section-audience {
  padding: 6rem 2rem;
  background: radial-gradient(
    circle at top,
    rgba(20, 30, 60, 0.25),
    rgba(10, 15, 30, 0.95)
  );
}

.audience-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.audience-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.audience-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience-block li {
  margin-bottom: 0.9rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

/* Sutileza semántica */

.audience-block.yes h2 {
  color: #8fb9ff;
}

.audience-block.no h2 {
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */

@media (max-width: 768px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   SECTION VISUAL
   ===================================================== */

.section-visual {
  padding: 6rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.95),
    rgba(10, 15, 30, 0.9)
  );
}

.visual-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
}

.visual-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
}

.visual-text p {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.visual-media img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45);
}


/* =====================================================
   CTA FINAL — BACKGROUND IMAGE LAYER
   ===================================================== */

.landing-cta-final {
  position: relative;
  margin-top: 4rem;
  padding: 7rem 2rem 8rem;
  text-align: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);

  background-image: url("/static/img/cta-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* Overlay oscuro */

.landing-cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,12,22,0.75);
  z-index: 0;
}


/* Elevamos el contenido sobre el overlay */

.landing-cta-final > div {
  position: relative;
  z-index: 1;
}

/* Reassurance */

.landing-cta-final .cta-reassurance {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0 2.5rem;

  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

/* CTA */

.landing-cta-final .cta-main {
  margin-bottom: 2rem;
}

/* Identidad */

.landing-cta-final .cta-identity {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.landing-cta-final .btn.large {
  padding: 18px 48px;
  font-size: 1.1rem;
  box-shadow: 0 18px 50px rgba(58,210,159,0.35);
}
