/* ═══════════════════════════════════════════════════════════════════
   MODAL DE DEMOSTRACIÓN — identidad de Torti Barbershop (.lla-demo-*)
   Paleta del panel Admin: azul, navy, blanco y gris claro
   ═══════════════════════════════════════════════════════════════════ */
.lla-demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: llaFadeIn 0.22s ease-out;
}

.lla-demo-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e6ebf3;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(59, 130, 246, 0.08);
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  animation: llaSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lla-demo-head {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1a56db 100%);
  padding: 24px 20px 20px;
  text-align: center;
  border-bottom: 2px solid #3b82f6;
}

.lla-demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 12px;
}

.lla-demo-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #bfdbfe;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.lla-demo-brand {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.015em;
  color: #ffffff;
  text-transform: none;
  margin: 0;
}

.lla-demo-body {
  padding: 24px 22px;
  text-align: center;
  background: #ffffff;
}

.lla-demo-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}

.lla-demo-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 18px;
}

.lla-demo-box {
  background: #f3f6fb;
  border: 1px solid #e6ebf3;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  text-align: center;
}

.lla-demo-box-q {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.lla-demo-box-brand {
  font-size: 0.82rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 500;
}

.lla-demo-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lla-demo-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, #1e40af 0%, #1a56db 72%, #3b82f6 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(26, 86, 219, 0.28);
  cursor: pointer;
  transition: all 0.18s ease;
}

.lla-demo-btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  box-shadow: 0 8px 20px rgba(26, 86, 219, 0.34);
  transform: translateY(-1px);
}

.lla-demo-btn-ghost {
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid #e6ebf3;
  background: #ffffff;
  color: #334155;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lla-demo-btn-ghost:hover {
  background: #f3f6fb;
  border-color: #bfdbfe;
  color: #0f172a;
}

.lla-demo-btn-primary:focus-visible,
.lla-demo-btn-ghost:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.45);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .lla-demo-card { border-radius: 16px; }
  .lla-demo-body { padding: 21px 18px; }
}

.lla-demo-badge svg { width: 24px; height: 24px; }
.lla-demo-btn-primary svg { width: 16px; height: 16px; flex: 0 0 auto; }
.lla-demo-credit { margin: 16px 0 0; color: #64748b; font-size: 0.72rem; letter-spacing: 0.01em; }
.lla-demo-credit strong { color: #475569; font-weight: 700; }

@keyframes llaFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes llaSlideUp {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-height: 620px) {
  .lla-demo-overlay { align-items: flex-start; overflow-y: auto; }
  .lla-demo-card { margin-block: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .lla-demo-overlay, .lla-demo-card { animation: none; }
}
