/* Catcher landing v2 — capas visuales exclusivas del index.
   Cargado DESPUÉS de style.css + interactions.css, solo en index.html.
   Prefijos propios para no colisionar: .aurora, .bento, .vc- (voice call),
   .rtc- (realtime coach), .meso- (mesociclo/plan). */

/* ─── Aurora backdrop (hero) ───────────────────────────────────────────── */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  will-change: transform;
  opacity: 0.38;
}
.aurora i:nth-child(1) {
  width: 55vw; height: 55vw;
  min-width: 420px; min-height: 420px;
  top: -22%; left: -14%;
  background: radial-gradient(circle at 50% 50%, rgba(66,133,244,0.42), transparent 62%);
  animation: aurora-drift-a 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  width: 42vw; height: 42vw;
  min-width: 340px; min-height: 340px;
  top: -12%; right: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(93,213,245,0.30), transparent 62%);
  animation: aurora-drift-b 32s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  width: 38vw; height: 38vw;
  min-width: 300px; min-height: 300px;
  bottom: -28%; left: 32%;
  background: radial-gradient(circle at 50% 50%, rgba(255,167,38,0.16), transparent 62%);
  animation: aurora-drift-c 38s ease-in-out infinite alternate;
}
@keyframes aurora-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(9vw, 6vh, 0) scale(1.15); }
}
@keyframes aurora-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(-7vw, 9vh, 0) scale(0.9); }
}
@keyframes aurora-drift-c {
  from { transform: translate3d(0, 0, 0) scale(0.95); }
  to   { transform: translate3d(-10vw, -6vh, 0) scale(1.12); }
}

/* Shimmer sutil solo para el H1 del hero */
.text-gradient-anim {
  background: linear-gradient(110deg, #ffffff 0%, #cfe1ff 30%, #4285F4 55%, #5DD5F5 75%, #cfe1ff 95%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-shimmer 7s ease-in-out infinite;
}
@keyframes hero-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Halo cónico girando detrás del teléfono */
.phone-halo {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(66,133,244,0.0) 0deg,
    rgba(66,133,244,0.35) 80deg,
    rgba(93,213,245,0.28) 140deg,
    rgba(66,133,244,0.0) 220deg,
    rgba(255,167,38,0.18) 300deg,
    rgba(66,133,244,0.0) 360deg
  );
  filter: blur(46px);
  animation: phone-halo-spin 18s linear infinite;
  pointer-events: none;
}
@keyframes phone-halo-spin { to { transform: rotate(360deg); } }

/* Tilt 3D del mock (JS setea --tx/--ty en grados) */
.tilt-wrap { perspective: 1200px; }
[data-tilt] {
  transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

/* ─── Hero mascot (cara de Catcher en un orbe con glow) ─────────────────── */
.hero-mascot {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, rgba(93,213,245,0.18), rgba(66,133,244,0.10) 52%, transparent 72%),
    linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  border: 1px solid rgba(93,213,245,0.24);
  box-shadow:
    0 0 0 6px rgba(66,133,244,0.05),
    0 22px 55px -24px rgba(66,133,244,0.6),
    inset 0 1px 0 rgba(255,255,255,0.12);
  animation: mascot-breathe 6s ease-in-out infinite;
}
.hero-mascot::after {
  content: "";
  position: absolute;
  inset: -34%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(66,133,244,0.30), transparent 66%);
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
}
.hero-mascot img {
  width: 60px;
  height: 60px;
  display: block;
  filter: drop-shadow(0 2px 7px rgba(0,0,0,0.4));
}
@keyframes mascot-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-4px) scale(1.025); }
}

/* ─── Bento grid (features) ────────────────────────────────────────────── */
.bento {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento > .span-2 { grid-column: span 2; }
  .bento > .span-3 { grid-column: span 3; }
  .bento > .span-4 { grid-column: span 4; }
}
.bento-cell {
  position: relative;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--catcher-surface);
  border: 1px solid var(--catcher-border);
  overflow: hidden;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 240ms ease,
              box-shadow 240ms ease;
}
.bento-cell:hover {
  transform: translateY(-3px);
  border-color: rgba(66,133,244,0.45);
  box-shadow: 0 22px 40px -22px rgba(66,133,244,0.30),
              0 0 0 1px rgba(66,133,244,0.12);
}
.bento-cell.--accent {
  border-color: rgba(66,133,244,0.35);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(66,133,244,0.12), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(93,213,245,0.06), transparent 55%),
    var(--catcher-surface);
}
.bento-cell .bento-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--catcher-primary-soft);
  color: var(--catcher-primary-light);
  display: inline-flex; align-items: center; justify-content: center;
}
.bento-cell .bento-icon.--amber   { background: var(--catcher-secondary-soft); color: var(--catcher-secondary); }
.bento-cell .bento-icon.--green   { background: rgba(76,175,80,0.14);  color: #81c784; }
.bento-cell .bento-icon.--cyan    { background: rgba(93,213,245,0.14); color: #5DD5F5; }
.bento-cell .bento-icon.--rose    { background: rgba(233,30,99,0.14);  color: #f48fb1; }

/* Chips flotantes decorativos dentro del bento del coach */
.bento-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
}
.bento-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--catcher-surface-2);
  border: 1px solid var(--catcher-border);
  color: var(--catcher-text-muted);
  font-size: 11.5px;
  font-weight: 600;
}
.bento-chip .ok { color: #81c784; font-weight: 800; }

/* ─── Voice call demo (Live) ───────────────────────────────────────────── */
.vc-card {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid rgba(93,213,245,0.30);
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(93,213,245,0.08), transparent 60%),
    radial-gradient(90% 70% at 10% 100%, rgba(66,133,244,0.10), transparent 55%),
    var(--catcher-surface);
  padding: 26px 22px 22px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -40px rgba(93,213,245,0.45),
    0 0 0 1px rgba(93,213,245,0.08);
}

.vc-status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10,15,26,0.72);
  border: 1px solid rgba(93,213,245,0.35);
  color: var(--catcher-text);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.vc-live-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: #ff5252;
  box-shadow: 0 0 0 3px rgba(255,82,82,0.22);
  animation: vc-live-blink 1.6s ease-in-out infinite;
}
@keyframes vc-live-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
.vc-timer {
  font-variant-numeric: tabular-nums;
  color: var(--catcher-text-dim);
  font-weight: 600;
  border-left: 1px solid var(--catcher-border);
  padding-left: 8px;
}

/* Orbe central con anillos que respiran */
.vc-orb-wrap {
  position: relative;
  width: 116px; height: 116px;
  margin: 22px auto 6px;
  display: grid;
  place-items: center;
}
.vc-orb {
  width: 84px; height: 84px;
  border-radius: 999px;
  position: relative;
  z-index: 2;
}
.vc-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(93,213,245,0.35);
  animation: vc-ring 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  opacity: 0;
}
.vc-ring.r2 { animation-delay: 1.05s; }
.vc-ring.r3 { animation-delay: 2.1s; }
@keyframes vc-ring {
  0%   { transform: scale(0.72); opacity: 0;   }
  25%  { opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0;   }
}
/* Cuando habla el usuario, los anillos viran a ámbar */
.vc-card.is-user .vc-ring { border-color: rgba(255,167,38,0.45); }

/* Waveform */
.vc-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 34px;
  margin-top: 10px;
}
.vc-bar {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--catcher-primary-light);
  opacity: 0.85;
  transition: background 300ms ease;
}
.vc-card.is-user .vc-bar { background: var(--catcher-secondary); }
.vc-card.is-coach .vc-bar,
.vc-card.is-user .vc-bar {
  animation: vc-bounce 900ms ease-in-out infinite;
}
.vc-card.is-idle .vc-bar {
  animation: vc-breathe 2.4s ease-in-out infinite;
}
.vc-bar:nth-child(odd)  { animation-duration: 760ms; }
.vc-bar:nth-child(3n)   { animation-delay: 120ms; }
.vc-bar:nth-child(4n)   { animation-delay: 240ms; }
.vc-bar:nth-child(5n)   { animation-delay: 60ms; }
@keyframes vc-bounce {
  0%, 100% { height: 6px; }
  50%      { height: var(--vh, 22px); }
}
@keyframes vc-breathe {
  0%, 100% { height: 5px; opacity: 0.4; }
  50%      { height: 9px; opacity: 0.8; }
}

/* Transcript (subtítulos de llamada) */
.vc-captions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 208px;
}
.vc-line {
  display: flex;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 380ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.vc-line.is-in { opacity: 1; transform: translateY(0); }
.vc-line[data-speaker="coach"] { justify-content: flex-start; }
.vc-line[data-speaker="user"]  { justify-content: flex-end; }
.vc-bubble {
  max-width: 88%;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
}
.vc-line[data-speaker="coach"] .vc-bubble {
  border-radius: 16px 16px 16px 6px;
  background: var(--catcher-surface-2);
  border: 1px solid rgba(93,213,245,0.22);
  color: var(--catcher-text);
}
.vc-line[data-speaker="user"] .vc-bubble {
  border-radius: 16px 16px 6px 16px;
  background: rgba(255,167,38,0.13);
  border: 1px solid rgba(255,167,38,0.32);
  color: #ffd699;
}
.vc-action-chip {
  align-self: center;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.35);
  color: #81c784;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 300ms ease, transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
.vc-action-chip.is-in { opacity: 1; transform: scale(1); }
.vc-action-chip .vc-check { font-weight: 800; }

.vc-hint {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--catcher-border);
  font-size: 10.5px;
  color: var(--catcher-text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

/* Bullets de la sección voice */
.vc-point { display: flex; gap: 14px; align-items: flex-start; }
.vc-point-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(93,213,245,0.12);
  border: 1px solid rgba(93,213,245,0.25);
  color: #5DD5F5;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ─── Realtime proactive coach feed ───────────────────────────────────── */
.rtc-stack {
  position: relative;
  min-height: 210px;
  display: grid;
  align-items: center;
}
/* Todas las tarjetas ocupan la misma celda: carrusel sin saltos de layout */
.rtc-stack > .rtc-card { grid-area: 1 / 1 / 2 / 2; }
.rtc-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--catcher-border);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(66,133,244,0.07), transparent 55%),
    var(--catcher-surface);
  padding: 16px 18px;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 420ms ease, transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 300ms ease;
  will-change: opacity, transform;
}
.rtc-card.is-in { opacity: 1; transform: translateY(0) scale(1); }
.rtc-card.is-out { opacity: 0; transform: translateY(-14px) scale(0.97); }
.rtc-card.is-accepted { border-color: rgba(76,175,80,0.45); }

.rtc-head {
  display: flex; align-items: center; gap: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--catcher-text-dim);
}
.rtc-ico {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  background: var(--catcher-primary-soft);
  border: 1px solid rgba(66,133,244,0.28);
}
.rtc-card[data-tone="amber"] .rtc-ico { background: var(--catcher-secondary-soft); border-color: rgba(255,167,38,0.32); }
.rtc-card[data-tone="green"] .rtc-ico { background: rgba(76,175,80,0.12); border-color: rgba(76,175,80,0.3); }
.rtc-card[data-tone="red"]   .rtc-ico { background: rgba(244,67,54,0.12); border-color: rgba(244,67,54,0.3); }
.rtc-time { margin-left: auto; font-variant-numeric: tabular-nums; }

.rtc-title {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.rtc-desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--catcher-text-muted);
}
.rtc-actions {
  display: flex; gap: 8px;
  margin-top: 12px;
  transition: opacity 240ms ease;
}
.rtc-card.is-accepted .rtc-actions { opacity: 0; pointer-events: none; }
.rtc-btn {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: default;
}
.rtc-btn.--accept {
  background: linear-gradient(180deg, #4f93f7 0%, #2f74e4 100%);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(66,133,244,0.6);
}
.rtc-btn.--later {
  background: transparent;
  color: var(--catcher-text-muted);
  border-color: var(--catcher-border);
}
/* Pressed feedback (JS simula el tap) */
.rtc-btn.is-pressed { transform: scale(0.94); transition: transform 120ms ease; }

.rtc-done {
  position: absolute;
  right: 18px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #81c784;
  opacity: 0;
  transform: translateY(4px) scale(0.9);
  transition: opacity 260ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rtc-card.is-accepted .rtc-done { opacity: 1; transform: translateY(0) scale(1); }

/* Marco tipo "pantalla del día" */
.rtc-frame {
  border-radius: var(--r-xl);
  border: 1px solid rgba(66,133,244,0.25);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,167,38,0.04), transparent 55%),
    radial-gradient(120% 80% at 0% 100%, rgba(66,133,244,0.08), transparent 55%),
    var(--catcher-bg-2);
  padding: 22px 20px;
  box-shadow:
    0 30px 80px -40px rgba(66,133,244,0.45),
    0 0 0 1px rgba(66,133,244,0.08);
}
.rtc-frame-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--catcher-border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--catcher-text);
}
.rtc-frame-head .rtc-frame-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--catcher-primary-light);
  font-size: 10px;
}
.rtc-frame-live-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--catcher-primary-light);
  animation: vc-live-blink 2s ease-in-out infinite;
}

/* ─── Mesociclo + plan de hoy ─────────────────────────────────────────── */
.meso-card {
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,167,38,0.28);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,167,38,0.07), transparent 55%),
    radial-gradient(100% 80% at 0% 100%, rgba(66,133,244,0.08), transparent 55%),
    var(--catcher-surface);
  padding: 22px 20px;
  box-shadow:
    0 30px 80px -40px rgba(255,167,38,0.35),
    0 0 0 1px rgba(255,167,38,0.08);
}
.meso-head {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.meso-phase-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--catcher-secondary-soft);
  border: 1px solid rgba(255,167,38,0.4);
  color: var(--catcher-secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.meso-auto-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--catcher-text-dim);
}
.meso-auto-chip .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--catcher-secondary);
  box-shadow: 0 0 8px rgba(255,167,38,0.8);
}

/* Timeline de fases */
.meso-track {
  position: relative;
  display: flex;
  gap: 5px;
  margin-top: 18px;
  height: 46px;
}
.meso-phase {
  position: relative;
  flex-grow: var(--grow, 1);
  border-radius: 10px;
  overflow: hidden;
  background: var(--catcher-surface-2);
  border: 1px solid var(--catcher-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 12px;
  min-width: 0;
}
.meso-phase::before {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.meso-phase[data-phase="hyper"]::before    { background: linear-gradient(90deg, rgba(66,133,244,0.30), rgba(66,133,244,0.14)); }
.meso-phase[data-phase="strength"]::before { background: linear-gradient(90deg, rgba(255,167,38,0.32), rgba(255,167,38,0.15)); }
.meso-phase[data-phase="deload"]::before   { background: linear-gradient(90deg, rgba(76,175,80,0.28), rgba(76,175,80,0.13)); }
.meso-card.is-live .meso-phase::before { transform: scaleX(1); }
.meso-card.is-live .meso-phase[data-phase="strength"]::before { transition-delay: 350ms; }
.meso-card.is-live .meso-phase[data-phase="deload"]::before   { transition-delay: 700ms; }
.meso-phase-name {
  position: relative;
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.meso-phase-weeks {
  position: relative;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--catcher-text-dim);
  font-variant-numeric: tabular-nums;
}

/* Marcador "estás aquí" */
.meso-marker {
  position: absolute;
  top: -9px;
  bottom: -9px;
  left: 8%;
  width: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,0.75);
  transition: left 1400ms cubic-bezier(0.22, 1, 0.36, 1) 500ms;
}
.meso-card.is-live .meso-marker { left: var(--pos, 62%); }
.meso-marker::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.9);
}

/* Plan de hoy */
.meso-plan {
  margin-top: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--catcher-border);
  background: var(--catcher-bg-2);
  overflow: hidden;
}
.meso-plan-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--catcher-border);
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
}
.meso-plan-meta {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--catcher-text-dim);
  font-variant-numeric: tabular-nums;
}
.meso-ex {
  display: grid;
  grid-template-columns: 20px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 360ms ease, transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.meso-ex:last-of-type { border-bottom: 0; }
.meso-card.is-live .meso-ex { opacity: 1; transform: translateX(0); }
.meso-card.is-live .meso-ex:nth-of-type(1) { transition-delay: 900ms; }
.meso-card.is-live .meso-ex:nth-of-type(2) { transition-delay: 1080ms; }
.meso-card.is-live .meso-ex:nth-of-type(3) { transition-delay: 1260ms; }
.meso-card.is-live .meso-ex:nth-of-type(4) { transition-delay: 1440ms; }
.meso-ex-check {
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 1.5px solid var(--catcher-border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: transparent;
  font-size: 10px;
  font-weight: 900;
}
.meso-ex.is-done .meso-ex-check {
  background: rgba(76,175,80,0.16);
  border-color: rgba(76,175,80,0.55);
  color: #81c784;
}
.meso-ex-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--catcher-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meso-ex-sets {
  font-size: 12px;
  font-weight: 700;
  color: var(--catcher-text-muted);
  font-variant-numeric: tabular-nums;
}
.meso-ex-weight {
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 3px 9px;
  border-radius: 999px;
}
.meso-ex-weight.--real {
  color: var(--catcher-primary-light);
  background: var(--catcher-primary-soft);
  border: 1px solid rgba(66,133,244,0.3);
}
.meso-ex-weight.--est {
  color: var(--catcher-text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px dashed var(--catcher-border-strong);
}
.meso-plan-note {
  padding: 10px 16px;
  border-top: 1px solid var(--catcher-border);
  font-size: 10.5px;
  color: var(--catcher-text-dim);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}
.meso-plan-note .k {
  color: var(--catcher-primary-light);
  font-weight: 700;
}

/* ═══ REDESIGN v3 — tipografía editorial + chrome nuevo ═══════════════ */

/* Tipografía display: Space Grotesk para headings, Instrument Serif itálica
   para las palabras acento (la firma editorial que rompe el look genérico). */
h1, h2, h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}
h1 .text-gradient,
h1 .text-gradient-anim,
h2 .text-gradient {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
#main h1 {
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  line-height: 0.98;
}
section h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

/* Header isla flotante (estilo Linear/Arc) — solo en el landing */
header.sticky {
  background: transparent !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 10px 12px 0;
}
header.sticky > div {
  background: rgba(13, 20, 33, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(36, 51, 82, 0.9);
  border-radius: 999px;
  box-shadow:
    0 18px 50px -22px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 8px 10px 8px 18px !important;
}

/* Capítulos numerados en los eyebrows (ritmo editorial) */
body { counter-reset: chapter; }
.section-eyebrow { counter-increment: chapter; gap: 10px; }
.section-eyebrow::before {
  content: counter(chapter, decimal-leading-zero);
  width: auto;
  height: auto;
  background: transparent;
  opacity: 1;
  font-size: 10px;
  font-weight: 700;
  color: var(--catcher-primary-light);
  border: 1px solid rgba(66, 133, 244, 0.35);
  border-radius: 6px;
  padding: 2px 6px;
  line-height: 1;
  letter-spacing: 0.05em;
}

/* Separadores de sección: hairline con gradiente en vez de línea plana */
body > section {
  border-image: linear-gradient(90deg, transparent, var(--catcher-border) 18%, var(--catcher-border) 82%, transparent) 1;
}

/* Hero centrado (layout cinematográfico) */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-center .hero-cmd,
.hero-center .cta-note,
.hero-center .hero-explore,
.hero-center .hero-trust {
  justify-content: center;
}
.hero-center > p { margin-left: auto; margin-right: auto; }

/* Tarjetas satélite flotando alrededor del teléfono (solo desktop) */
.sat {
  position: absolute;
  z-index: 6;
  display: none;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(19, 27, 43, 0.74);
  border: 1px solid var(--catcher-border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 24px 60px -28px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .sat { display: flex; }
}
.sat-voice {
  top: 16%;
  left: calc(50% - 395px);
  animation: float-y 6s ease-in-out infinite;
}
.sat-rt {
  bottom: 18%;
  right: calc(50% - 405px);
  animation: float-y 7.5s ease-in-out 1.2s infinite;
}
.sat-ico { font-size: 20px; line-height: 1; }
.sat-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.sat-sub {
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--catcher-text-dim);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.sat-wave {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  height: 16px;
  margin-left: 4px;
}
.sat-wave i {
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: var(--catcher-primary-light);
  animation: vc-bounce 800ms ease-in-out infinite;
  --vh: 13px;
}
.sat-wave i:nth-child(2) { animation-delay: 120ms; --vh: 16px; }
.sat-wave i:nth-child(3) { animation-delay: 240ms; --vh: 10px; }
.sat-wave i:nth-child(4) { animation-delay: 60ms;  --vh: 15px; }
.sat-wave i:nth-child(5) { animation-delay: 180ms; --vh: 11px; }
.sat-chip {
  display: inline-flex;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(76, 175, 80, 0.14);
  border: 1px solid rgba(76, 175, 80, 0.38);
  color: #81c784;
  font-size: 10.5px;
  font-weight: 700;
}

/* Strip de emociones del coach (assets reales de la app) */
.emotions-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.emotions-strip img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--catcher-border);
  padding: 7px;
  animation: float-y 5.5s ease-in-out infinite;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 220ms ease, background 220ms ease;
}
.emotions-strip img:nth-child(2) { animation-delay: 0.7s; }
.emotions-strip img:nth-child(3) { animation-delay: 1.4s; }
.emotions-strip img:nth-child(4) { animation-delay: 2.1s; }
.emotions-strip img:nth-child(5) { animation-delay: 2.8s; }
.emotions-strip img:hover {
  transform: scale(1.22) rotate(-5deg);
  border-color: rgba(93, 213, 245, 0.55);
  background: rgba(93, 213, 245, 0.08);
}
@media (max-width: 480px) {
  .emotions-strip { gap: 8px; }
  .emotions-strip img { width: 46px; height: 46px; }
}

/* ─── Grain overlay global (anti-gradiente-genérico) ──────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.72'/></svg>");
}

/* Eyebrows en monospace (señal de craft, override del estilo base) */
.section-eyebrow,
.stat-eyebrow {
  font-family: ui-monospace, 'JetBrains Mono', 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace;
}

/* ─── Typewriter de comandos reales (hero) ────────────────────────────── */
.hero-cmd {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin-top: 18px;
  font-family: ui-monospace, 'JetBrains Mono', 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13.5px;
  color: var(--catcher-text-muted);
  min-height: 24px;
}
.hero-cmd-prefix {
  color: var(--catcher-primary-light);
  font-weight: 700;
  flex-shrink: 0;
}
.hero-cmd-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-cmd-caret {
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 1px;
  background: var(--catcher-primary-light);
  vertical-align: -2px;
  animation: hero-caret 1s steps(1) infinite;
}
@keyframes hero-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Microcopy bajo los CTAs (mata objeciones en el punto de decisión) */
.cta-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--catcher-text-dim);
  font-weight: 500;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.cta-note .sep { opacity: 0.5; }
.cta-note .founder {
  color: var(--catcher-secondary);
  font-weight: 700;
}

/* ─── Ask-bar: "pregúntale a Catcher" (input field CTA) ───────────────── */
.askbar {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: var(--catcher-surface);
  border: 1px solid var(--catcher-border-strong);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.askbar:focus-within {
  border-color: var(--catcher-primary);
  box-shadow: 0 0 0 3px var(--catcher-primary-ring), 0 18px 50px -25px rgba(66,133,244,0.55);
}
.askbar input[type="text"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--catcher-text);
  font-weight: 500;
}
.askbar input[type="text"]:focus { outline: none; box-shadow: none; border: 0; background: transparent; }
.askbar .btn-primary { width: auto; padding: 10px 18px; flex-shrink: 0; }
.ask-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.ask-chip {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--catcher-surface-2);
  border: 1px solid var(--catcher-border);
  color: var(--catcher-text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1), border-color 160ms ease,
              color 160ms ease, background 160ms ease;
}
.ask-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(66,133,244,0.5);
  color: #fff;
  background: var(--catcher-primary-soft);
}
.ask-hint {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  color: var(--catcher-text-dim);
  font-weight: 500;
}

/* ─── Founding member pill + QR (CTA final) ───────────────────────────── */
.founder-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--catcher-secondary-soft);
  border: 1px solid rgba(255,167,38,0.4);
  color: var(--catcher-secondary);
  font-size: 12.5px;
  font-weight: 700;
}
.cta-qr {
  display: none;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--catcher-border);
  text-align: left;
}
@media (min-width: 900px) and (hover: hover) {
  .cta-qr { display: inline-flex; }
}
.cta-qr img {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  flex-shrink: 0;
}
.cta-qr-title { font-size: 13px; font-weight: 700; color: #fff; }
.cta-qr-sub { font-size: 11.5px; color: var(--catcher-text-muted); margin-top: 2px; max-width: 240px; }

/* ─── Fondo ambiental global (profundidad en toda la página) ──────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50% 40% at 8% 10%,  rgba(66,133,244,0.05), transparent 65%),
    radial-gradient(45% 35% at 92% 45%, rgba(93,213,245,0.035), transparent 65%),
    radial-gradient(50% 40% at 20% 95%, rgba(255,167,38,0.03), transparent 65%);
}

/* ─── Auras por sección (con parallax sutil vía --pshift) ─────────────── */
.sec-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--pshift, 0px), 0);
  will-change: transform;
}
.sec-glow::before,
.sec-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.sec-glow::before {
  width: 44vw; height: 44vw;
  min-width: 320px; min-height: 320px;
  top: -14%; left: -12%;
  background: radial-gradient(circle, var(--glow-a, rgba(66,133,244,0.14)), transparent 62%);
}
.sec-glow::after {
  width: 36vw; height: 36vw;
  min-width: 260px; min-height: 260px;
  bottom: -18%; right: -10%;
  background: radial-gradient(circle, var(--glow-b, rgba(93,213,245,0.08)), transparent 62%);
}
.sec-glow.--cyan  { --glow-a: rgba(93,213,245,0.13);  --glow-b: rgba(66,133,244,0.09); }
.sec-glow.--amber { --glow-a: rgba(255,167,38,0.11);  --glow-b: rgba(66,133,244,0.08); }
.sec-glow.--blue  { --glow-a: rgba(66,133,244,0.14);  --glow-b: rgba(255,167,38,0.06); }

/* ─── Reveal variante zoom (para las demo-cards grandes) ──────────────── */
[data-reveal="zoom"] {
  opacity: 0;
  transform: translateY(22px) scale(0.965);
  filter: blur(7px);
  transition: opacity 750ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 750ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 750ms ease;
}
[data-reveal="zoom"].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ─── Hero explore chips (navegación no lineal desde el hero) ─────────── */
.hero-explore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.hero-explore-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--catcher-text-dim);
  margin-right: 2px;
}
.explore-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(19,27,43,0.65);
  border: 1px solid var(--catcher-border);
  color: var(--catcher-text-muted);
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.explore-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(66,133,244,0.55);
  color: #fff;
  background: rgba(66,133,244,0.10);
  text-decoration: none;
}
.explore-chip .ico { font-size: 14px; line-height: 1; }

/* ─── Section rail (nav de puntos fija, desktop) ──────────────────────── */
.section-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 6px;
  border-radius: 999px;
  background: rgba(10,15,26,0.55);
  border: 1px solid rgba(36,51,82,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  translate: 8px 0;
  transition: opacity 320ms ease, translate 320ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.section-rail.is-shown {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}
.rail-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: inherit;
}
.rail-link:hover { text-decoration: none; }
.rail-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--catcher-text-dim);
  transition: background 200ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 200ms ease;
}
.rail-link:hover .rail-dot { background: var(--catcher-text); transform: scale(1.35); }
.rail-link.is-active .rail-dot {
  background: var(--catcher-primary-light);
  transform: scale(1.5);
  box-shadow: 0 0 10px rgba(100,181,246,0.8);
}
.rail-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(13,20,33,0.92);
  border: 1px solid var(--catcher-border);
  color: var(--catcher-text);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms cubic-bezier(0.22, 1, 0.36, 1), visibility 160ms;
  pointer-events: none;
}
.rail-link:hover .rail-label,
.rail-link:focus-visible .rail-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 1180px) {
  .section-rail { display: none; }
}

/* ─── Reduced motion: todo estático pero visible ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .aurora i, .phone-halo, .text-gradient-anim, .hero-mascot,
  .vc-ring, .vc-live-dot, .vc-bar, .rtc-frame-live-dot { animation: none; }
  [data-tilt] { transform: none !important; }
  .vc-line, .vc-action-chip, .rtc-card, .meso-ex { opacity: 1; transform: none; transition: none; }
  .meso-phase::before { transform: scaleX(1); transition: none; }
  .meso-marker { left: var(--pos, 62%); transition: none; }
  .sec-glow { transform: none; }
  [data-reveal="zoom"] { opacity: 1; transform: none; filter: none; transition: none; }
}

@media (max-width: 640px) {
  .vc-captions { min-height: 232px; }
  .rtc-stack { min-height: 240px; }
}
