/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
  --bg:           #07081a;
  --bg2:          #0c0e24;
  --bg3:          #12152e;
  --blue:         #3b5fe0;
  --purple:       #7c3aed;
  --purple-light: #9d62f8;
  --purple-soft:  #c4b5fd;
  --text:         #e2e2f2;
  --muted:        #6a6a92;
  --border:       rgba(110, 110, 200, 0.13);
  --border-on:    rgba(157, 98, 248, 0.55);
  --glow-purple:  rgba(124, 58, 237, 0.3);
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* =============================================
   FONDO — glow sutil
   ============================================= */
.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(59, 95, 224, 0.07) 0%,
    rgba(124, 58, 237, 0.05) 45%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* =============================================
   SCREENS
   ============================================= */
.screen {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  z-index: 1;
}

.screen.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.screen-inner {
  width: 100%;
  max-width: 440px;
  padding: 56px 28px 88px;
  position: relative;
}

.screen-inner.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

/* =============================================
   LOGO
   ============================================= */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo.small {
  justify-content: center;
  margin-bottom: 36px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.75);
  flex-shrink: 0;
}

.logo span {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo.small span {
  font-size: 1.35rem;
}

/* =============================================
   TAGLINE
   ============================================= */
.tagline {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 36px;
}

/* =============================================
   MODE TOGGLE
   ============================================= */
.mode-toggle {
  display: flex;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 4px;
  margin-bottom: 24px;
  gap: 2px;
}

.mode-btn {
  flex: 1;
  padding: 9px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  user-select: none;
  -webkit-user-select: none;
}

.mode-btn.active {
  background: var(--bg3);
  color: var(--text);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* =============================================
   INPUT BLOCKS
   ============================================= */
.input-block {
  margin-bottom: 28px;
}

.input-block.hidden {
  display: none;
}

.field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  opacity: 0.6;
}

.textarea-main,
.textarea-small {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  resize: none;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.textarea-main {
  min-height: 130px;
}

.textarea-small {
  min-height: 70px;
}

.input-text {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--fg);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-text:focus {
  border-color: var(--border-on);
  box-shadow: 0 0 0 3px rgba(157, 98, 248, 0.1);
}

.input-text::placeholder {
  color: var(--muted);
  opacity: 0.65;
}

.field-hint {
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.7;
  margin: 6px 0 0 2px;
}

.name-block {
  margin-top: 4px;
}

.textarea-main:focus,
.textarea-small:focus {
  border-color: var(--border-on);
  box-shadow: 0 0 0 3px rgba(157, 98, 248, 0.1);
}

.textarea-main::placeholder,
.textarea-small::placeholder {
  color: var(--muted);
  opacity: 0.65;
}

.guided-item {
  margin-bottom: 18px;
}

/* =============================================
   BOTONES
   ============================================= */
.btn-primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 28px rgba(124, 58, 237, 0.38);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  margin-top: 8px;
  user-select: none;
  -webkit-user-select: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(124, 58, 237, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 32px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  margin-top: 28px;
  user-select: none;
  -webkit-user-select: none;
}

.btn-ghost:hover {
  border-color: rgba(110, 110, 200, 0.4);
  color: var(--text);
}

.btn-back {
  position: absolute;
  top: 22px;
  left: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.25s var(--ease);
  user-select: none;
  -webkit-user-select: none;
}

.btn-back:hover {
  color: var(--text);
  border-color: rgba(110, 110, 200, 0.35);
}

/* =============================================
   PREFERENCIAS
   ============================================= */
.pref-section {
  margin-bottom: 32px;
}

.pref-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.pill-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill {
  flex: 1;
  min-width: 60px;
  padding: 11px 6px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s var(--ease);
  user-select: none;
  -webkit-user-select: none;
}

.pill.active {
  background: linear-gradient(135deg, rgba(59, 95, 224, 0.18), rgba(124, 58, 237, 0.18));
  border-color: var(--border-on);
  color: var(--purple-soft);
}

.pill:hover:not(.active) {
  border-color: rgba(110, 110, 200, 0.3);
  color: var(--text);
}

.pill-locked {
  opacity: 0.45;
  cursor: pointer;
}

.pill-locked:hover {
  opacity: 0.65;
  border-color: rgba(110, 110, 200, 0.3);
}

/* =============================================
   ANIMACIÓN DE RESPIRACIÓN
   ============================================= */
.breathing-wrap {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.b-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(157, 98, 248, 0.2);
  background: transparent;
}

.r1 { width: 100%; height: 100%; }
.r2 { width: 72%;  height: 72%; }
.r3 { width: 48%;  height: 48%; }

.b-core {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 44px rgba(124, 58, 237, 0.55);
}

/* — Modo carga — */
@keyframes ring-load {
  0%, 100% { transform: scale(0.82); opacity: 0.08; }
  50%       { transform: scale(1.15); opacity: 0.32; }
}

@keyframes core-load {
  0%, 100% { box-shadow: 0 0 32px rgba(124, 58, 237, 0.4); }
  50%       { box-shadow: 0 0 64px rgba(59, 95, 224, 0.65); }
}

.loading-mode .r1 { animation: ring-load 2.2s ease-in-out infinite; }
.loading-mode .r2 { animation: ring-load 2.2s ease-in-out infinite 0.55s; }
.loading-mode .r3 { animation: ring-load 2.2s ease-in-out infinite 1.1s; }
.loading-mode .b-core { animation: core-load 2.2s ease-in-out infinite; }

/* — Modo reproductor — */
@keyframes ring-breathe {
  0%, 100% { transform: scale(0.88); opacity: 0.12; }
  50%       { transform: scale(1.18); opacity: 0.38; }
}

@keyframes core-breathe {
  0%, 100% { transform: scale(0.96); box-shadow: 0 0 32px rgba(124, 58, 237, 0.45); }
  50%       { transform: scale(1.04); box-shadow: 0 0 64px rgba(124, 58, 237, 0.75); }
}

.player-mode .r1 { animation: ring-breathe 8s ease-in-out infinite; }
.player-mode .r2 { animation: ring-breathe 8s ease-in-out infinite 2s; }
.player-mode .r3 { animation: ring-breathe 8s ease-in-out infinite 4s; }
.player-mode .b-core { animation: core-breathe 8s ease-in-out infinite; }

.player-mode.paused .r1,
.player-mode.paused .r2,
.player-mode.paused .r3,
.player-mode.paused .b-core {
  animation-play-state: paused;
}

/* =============================================
   BOTÓN PLAY / PAUSE
   ============================================= */
.play-pause-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0 0 3px; /* offset visual del play icon */
  opacity: 0.92;
  transition: opacity 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.play-pause-btn:hover {
  opacity: 1;
}

/* =============================================
   PANTALLA DE CARGA — texto
   ============================================= */
.loading-title {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 12px;
}

.loading-sub {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  text-align: center;
  max-width: 270px;
  line-height: 1.65;
}

/* =============================================
   REPRODUCTOR — título de sesión
   ============================================= */
.session-title {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 28px;
  max-width: 260px;
  line-height: 1.4;
}

/* =============================================
   REPRODUCTOR — mensaje de cierre
   ============================================= */
.end-message {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.75;
  margin-top: 24px;
}

.end-upsell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  width: 100%;
  max-width: 300px;
  animation: fadeUp 0.5s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.end-upsell-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  opacity: 0.8;
  margin: 0;
}

.end-upsell-title {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.55rem;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

.end-upsell-sub {
  font-size: 0.83rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
  margin: 0;
}

.btn-upsell-cta {
  margin-top: 6px;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.btn-upsell-skip {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 4px 12px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.btn-upsell-skip:hover { opacity: 1; }

/* =============================================
   REPRODUCTOR — progreso
   ============================================= */
.progress-area {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 310px;
}

.time {
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  width: 32px;
  flex-shrink: 0;
}

#time-now { text-align: right; }
#time-end { text-align: left; }

.progress-track {
  flex: 1;
  height: 6px;
  background: var(--bg3);
  border-radius: 99px;
  cursor: pointer;
  position: relative;
}

/* Amplía el área táctil sin cambiar el visual */
.progress-track::before {
  content: '';
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: 0;
  right: 0;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--blue), var(--purple));
  border-radius: 99px;
  transition: width 0.5s linear;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 10px rgba(157, 98, 248, 0.8);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.progress-track:hover .progress-fill::after {
  opacity: 1;
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 4px; }

/* =============================================
   RESPONSIVE
   ============================================= */
/* iOS Safari auto-zoom prevention — cualquier input < 16px dispara zoom */
@media (-webkit-min-device-pixel-ratio: 1) {
  .textarea-main,
  .textarea-small,
  .input-text {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .screen-inner { padding: 48px 20px 72px; }
}

/* =============================================
   USER STATUS BAR
   ============================================= */
#user-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.plan-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid;
}

.plan-free      { color: var(--muted);  border-color: var(--muted);  }
.plan-essential { color: #7dd3fc;       border-color: #7dd3fc;       }
.plan-premium   { color: #a78bfa;       border-color: #a78bfa;       }

.usage-info {
  font-size: 0.78rem;
  color: var(--muted);
}

.btn-signout {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 2px 0;
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-dashboard {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  padding: 2px 0;
}

.btn-dashboard:hover {
  color: var(--text);
  border-bottom-color: var(--muted);
}

.btn-signin {
  background: none;
  border: 1px solid rgba(157, 98, 248, 0.4);
  border-radius: 8px;
  color: #a78bfa;
  font-size: 0.8rem;
  font-family: inherit;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-signin:hover {
  background: rgba(157, 98, 248, 0.1);
  border-color: rgba(157, 98, 248, 0.7);
}

#guest-actions {
  display: flex;
  align-items: center;
}

/* =============================================
   END-SAVE — guardar meditación al final
   ============================================= */
.end-save {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  width: 100%;
  max-width: 300px;
  animation: fadeUp 0.5s var(--ease) both;
}

.end-save-hint {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.btn-save {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  user-select: none;
  -webkit-user-select: none;
}

.btn-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.5);
}

.btn-save:disabled {
  opacity: 0.65;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* =============================================
   PAYWALL MODAL
   ============================================= */
.paywall-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 26, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 24px;
}

.paywall-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.paywall-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.paywall-title {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}

.paywall-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.paywall-plans {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  width: 100%;
}

.plan-option {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.plan-option-featured {
  border-color: rgba(157, 98, 248, 0.5);
  background: rgba(124, 58, 237, 0.06);
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.1);
}

.plan-option-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--purple);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-option-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 4px;
}

.plan-option-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.plan-option-price {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.plan-price-period {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 2px;
}

.plan-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  margin: 0;
}

.plan-benefits li {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}

.plan-benefits li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-light);
  flex-shrink: 0;
  opacity: 0.7;
}

.plan-option-featured .plan-benefits li {
  color: rgba(226, 226, 242, 0.75);
}

.btn-upgrade {
  width: 100%;
  padding: 12px 0;
  border-radius: 12px;
  border: 1px solid var(--border-on);
  background: transparent;
  color: var(--purple-light);
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-user-select: none;
  user-select: none;
}

.btn-upgrade:hover { background: rgba(157, 98, 248, 0.1); }

.btn-upgrade-featured {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-upgrade-featured:hover {
  background: #6d28d9;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.55);
}

.paywall-guarantee {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

.paywall-close {
  margin-top: 4px;
  font-size: 0.8rem;
  opacity: 0.6;
}

.paywall-close:hover { opacity: 1; }

/* =============================================
   LEAD CAPTURE
   ============================================= */
.lead-capture {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  text-align: center;
}

.lead-capture.visible {
  transform: translateY(0);
}

.lead-capture-text {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 14px;
}

.lead-capture-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-lead-yes {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
  padding: 10px 20px;
  cursor: pointer;
}

.btn-lead-no {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: inherit;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: underline;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 0.75rem;
  color: var(--muted);
  pointer-events: none;
  z-index: 10;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  pointer-events: auto;
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--text); }

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
