/* ----------------------------------------------------------------------------
   ACE NUTRITIONS. — Hoja de Componente 05
   Extraida de `tokens.css` en la Iteracion 07.7 (Regla #011).
   El ORDEN de carga en `app-shell.html` reproduce el del archivo original:
   la cascada CSS depende de el y no debe alterarse.
   -------------------------------------------------------------------------- */
/* ============================================================================
   LINEAR-NEW INTERACTIVE 4-STEP CLINICAL TOUR & TIKTOK DIRECTOR DOCK
   ============================================================================ */
.ln-tour-spotlight {
  position: fixed;
  z-index: 9994;
  pointer-events: none;
  border-radius: 24px;
  border: 2.5px solid var(--vermilion);
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.32), 0 0 32px rgba(225, 92, 70, 0.45);
  opacity: 0;
  transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ln-tour-spotlight.is-open {
  opacity: 1;
}

.ln-tour-card {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 9996;
  width: min(410px, calc(100vw - 32px));
  background: var(--bg-glass-strong);
  backdrop-filter: blur(24px);
  border: 2px solid var(--jade);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-cinematic);
  display: none;
  flex-direction: column;
  gap: 14px;
}

.ln-tour-card.is-open {
  display: flex;
}

.ln-tour-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.ln-tour-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ln-tour-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--vermilion);
}

.ln-tour-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--jade);
  text-transform: uppercase;
}

.ln-tour-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ln-tour-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border-strong);
  cursor: pointer;
}

.ln-tour-dot.is-active {
  background: var(--jade);
  transform: scale(1.2);
}

.ln-tour-close {
  border: 1px solid var(--border-soft);
  background: var(--bg-studio);
  color: var(--ink);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  cursor: pointer;
}

.ln-tour-pane {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.ln-tour-pane.is-active {
  display: flex;
}

.ln-tour-pane h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.ln-tour-pane p {
  font-size: 13px;
  color: var(--ink-secondary);
}

.ln-tour-quick-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ln-preset-chip {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-med);
  background: var(--bg-studio);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.ln-preset-chip.is-active,
.ln-preset-chip:hover {
  background: var(--jade);
  color: var(--fx-ink);
  border-color: var(--jade);
}

.ln-tour-method-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ln-tour-method-btn {
  text-align: left;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: var(--bg-studio);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ln-tour-method-btn.is-active {
  border-color: var(--jade);
  background: var(--jade-soft);
}

.ln-tour-site-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ln-tour-site-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--vermilion);
}

.ln-tour-site-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-studio);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 10px;
}

.ln-tour-photo {
  width: 68px;
  height: 58px;
  object-fit: contain;
  background: var(--bg-surface);
  border-radius: 8px;
  padding: 4px;
  border: 1px solid var(--border-soft);
}

.ln-tour-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ln-range-slider {
  flex: 1;
  accent-color: var(--jade);
}

.ln-tour-val-pill {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--jade);
  min-width: 58px;
  text-align: right;
}

.ln-tour-site-nav,
.ln-tour-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ln-countdown {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(246, 245, 241, 0.9);
  backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
}

.ln-countdown.is-visible {
  display: flex;
}

.ln-countdown-box {
  background: var(--bg-surface);
  border: 2px solid var(--jade);
  border-radius: var(--radius-xl);
  padding: 40px 56px;
  text-align: center;
  box-shadow: var(--shadow-cinematic);
}

.ln-countdown-num {
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 800;
  color: var(--vermilion);
  line-height: 1;
}

.ln-dock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--bg-surface);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  box-shadow: var(--shadow-card);
}

/* ============================================================================
   UX-FIRST SAAS CONVERSION FUNNEL STEPPER (PRICING -> REGISTER -> CHECKOUT -> STUDIO)
   ============================================================================ */
.ace-funnel-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  max-width: 780px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-card);
}

.ace-funnel-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ace-funnel-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  background: var(--bg-studio);
  border: 1px solid var(--border-med);
  color: var(--ink-secondary);
}

.ace-funnel-step.is-active {
  background: var(--jade-soft);
  color: var(--ink);
}

.ace-funnel-step.is-active .ace-funnel-step-num {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--fx-ink);
}

.ace-funnel-step.is-done {
  color: var(--jade);
}

.ace-funnel-step.is-done .ace-funnel-step-num {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--fx-ink);
}

.ace-funnel-arrow {
  color: var(--border-strong);
  font-family: var(--font-mono);
  font-size: 12px;
}
