/* ============================================
   VOLTA.AI — SHARED STYLES
   ============================================ */

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

/* Cursor personalizado — solo CSS, sin JS */
html, body {
  cursor: url('cursor.png') 16 16, auto;
}

a, button, input[type="submit"], input[type="button"],
input[type="reset"], select, label, [role="button"],
[tabindex], .btn-gradient, .btn-outline {
  cursor: url('cursor.png') 16 16, pointer;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: #0A0A0A;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---- GRADIENT TEXT ---- */
.gradient-text {
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn-gradient {
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-gradient:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(139, 92, 246, 0.5);
}

.btn-outline {
  border: 1.5px solid #8B5CF6;
  color: #A78BFA;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-outline:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: #A78BFA;
  transform: translateY(-2px);
}

/* ---- GLASS CARD ---- */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #27272A;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(139, 92, 246, 0.12);
}

/* ---- ICON BOX ---- */
.icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 12px;
}

/* ---- SECTION LABEL ---- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8B5CF6;
  background: rgba(139, 92, 246, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

/* ---- SHADOW GLOW ---- */
.shadow-glow {
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.45);
}
.shadow-glow:hover {
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.65) !important;
}

/* ---- BLOB BACKGROUND ---- */
.blob-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
  top: -300px;
  right: -200px;
  animation: blob-float-1 14s ease-in-out infinite;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.25), transparent 70%);
  bottom: -100px;
  left: -150px;
  animation: blob-float-2 17s ease-in-out infinite;
}

.blob-cta {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
  top: 50%;
  left: 50%;
  animation: blob-float-center 12s ease-in-out infinite;
}

@keyframes blob-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(40px, -40px) scale(1.07); }
  70% { transform: translate(-20px, 25px) scale(0.95); }
}
@keyframes blob-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35% { transform: translate(-35px, -25px) scale(1.05); }
  65% { transform: translate(30px, 30px) scale(0.93); }
}
@keyframes blob-float-center {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  35% { transform: translate(calc(-50% + 35px), calc(-50% - 35px)) scale(1.06); }
  70% { transform: translate(calc(-50% - 20px), calc(-50% + 20px)) scale(0.94); }
}

/* ---- SCROLL ANIMATIONS ---- */
.scroll-animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ---- HERO FADE-IN ---- */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: hero-fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---- CHECKLIST ---- */
.check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  margin-top: 2px;
}

/* ---- STAT BADGE (hero inmobiliarias) ---- */
.stat-badge {
  background: rgba(139, 92, 246, 0.07);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 14px 20px;
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.stat-badge .stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-badge .stat-label {
  font-size: 0.72rem;
  color: #A1A1AA;
  margin-top: 4px;
  line-height: 1.3;
}

/* ---- PROBLEMA STAT ---- */
.problema-stat {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #27272A;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.problema-stat:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-3px);
}
.problema-stat .stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

/* ---- SECURITY ITEM ---- */
.security-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #27272A;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s ease;
}
.security-item:hover { border-color: rgba(139, 92, 246, 0.35); }
.security-badge {
  font-size: 10px;
  font-weight: 800;
  color: #8B5CF6;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 6px;
  padding: 3px 7px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* ---- PRICE CARD ---- */
.price-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #27272A;
  border-radius: 24px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8B5CF6, #EC4899);
}
.price-divider {
  height: 1px;
  background: #27272A;
  margin: 32px 0;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
}
.price-period {
  font-size: 0.85rem;
  color: #A1A1AA;
  margin-left: 6px;
}

/* ---- HOW-IT-WORKS COLUMN ---- */
.how-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #27272A;
  border-radius: 16px;
  padding: 32px;
  flex: 1;
  transition: border-color 0.3s ease;
}
.how-col:hover { border-color: rgba(139, 92, 246, 0.3); }

/* ---- HOTELERÍA GRADIENT BG ---- */
.hotel-bg {
  background:
    radial-gradient(ellipse 60% 50% at 25% 50%, rgba(139, 92, 246, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 75% 50%, rgba(236, 72, 153, 0.12) 0%, transparent 70%),
    #0A0A0A;
  min-height: 100vh;
}

/* ---- FLOATING WHATSAPP ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 999;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #27272A; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #8B5CF6; }

/* ---- FEATURE LIST ITEMS ---- */
.feature-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #27272A;
}
.feature-point:last-child { border-bottom: none; }
.feature-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: #8B5CF6;
  border-radius: 50%;
  margin-top: 8px;
}

/* ============================================
   DEMO INTERACTIVA
   ============================================ */
.demo-shell {
  border: 1px solid #27272A;
  border-radius: 20px;
  overflow: hidden;
  background: #111111;
}

/* Tabs */
.demo-tabs { display: flex; background: #0d5c63; }
.demo-tab {
  flex: 1;
  padding: 13px 6px;
  font: 700 0.85rem 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.demo-tab.active { background: #fff; color: #0d5c63; }

/* Chat (WhatsApp) */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #075E54;
}
.chat-avatar, .bot-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.bot-avatar { width: 30px; height: 30px; min-width: 30px; font-size: 0.9rem; background: rgba(139, 92, 246, 0.15); }
.chat-chips {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #0d5c63;
  overflow-x: auto;
}
.chat-chip {
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: 600 0.75rem 'Inter', sans-serif;
  transition: background 0.2s ease;
}
.chat-chip:hover { background: rgba(255, 255, 255, 0.25); }
.chat-messages {
  height: 380px;
  overflow-y: auto;
  padding: 16px 12px;
  background: #e5ddd5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.msg {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #111;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.msg.bot { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.msg.user { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.msg-time {
  display: block;
  font-size: 0.62rem;
  color: #8a8a8a;
  text-align: right;
  margin-top: 3px;
}
.msg.typing { display: flex; gap: 4px; padding: 12px 14px; }
.msg.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
  animation: typing-dot 1s infinite ease-in-out;
}
.msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-dot { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
.chat-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #f0f0f0;
}
.chat-input input {
  flex: 1;
  border: none;
  border-radius: 100px;
  padding: 10px 16px;
  font: 400 0.85rem 'Inter', sans-serif;
  color: #111;
  outline: none;
}
.chat-input button {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: none;
  border-radius: 50%;
  background: #075E54;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.chat-input button:hover { opacity: 0.85; }

/* Panel (dashboard) */
.panel-toggle {
  display: inline-flex;
  border: 1px solid #27272A;
  border-radius: 100px;
  overflow: hidden;
}
.panel-toggle button {
  padding: 8px 16px;
  font: 600 0.78rem 'Inter', sans-serif;
  color: #A1A1AA;
  background: transparent;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.panel-toggle button.active { background: #0d5c63; color: #fff; }
.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #27272A;
  border-radius: 12px;
  padding: 14px;
}
.metric-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A1A1AA;
}
.metric-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: #34d399;
  margin-top: 4px;
  transition: color 0.2s ease;
}
.demo-dash.antes .metric-value { color: #f87171; }
.pipeline {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pipeline i { color: #A1A1AA; font-style: normal; }
.pipe-stage {
  flex: 1;
  min-width: 68px;
  background: rgba(13, 92, 99, 0.25);
  border: 1px solid rgba(13, 92, 99, 0.6);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  font-size: 0.68rem;
  color: #A1A1AA;
}
.pipe-stage span {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
}
.lead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #27272A;
  border-radius: 12px;
  padding: 10px 14px;
}
.badge-ok, .badge-ia {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}
.badge-ok { color: #34d399; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.3); }
.badge-ia { color: #A78BFA; background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.3); }

/* Propiedades */
.prop-info {
  background: rgba(13, 92, 99, 0.2);
  border: 1px solid rgba(13, 92, 99, 0.6);
  border-radius: 12px;
  padding: 14px 16px;
}
.prop-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.prop-filter {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid #27272A;
  background: transparent;
  color: #A1A1AA;
  font: 600 0.75rem 'Inter', sans-serif;
  transition: all 0.2s ease;
}
.prop-filter.active { background: #0d5c63; border-color: #0d5c63; color: #fff; }
.prop-card {
  border: 1px solid #27272A;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.prop-img {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
}
.prop-price {
  font-size: 0.72rem;
  font-weight: 800;
  color: #34d399;
  white-space: nowrap;
}
.prop-chip {
  font-size: 0.65rem;
  font-weight: 600;
  color: #A1A1AA;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #27272A;
  border-radius: 100px;
  padding: 2px 8px;
}
.prop-private {
  font-size: 0.68rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 8px;
  padding: 6px 8px;
  line-height: 1.4;
}

/* Reset chat */
.chat-reset {
  margin-left: auto;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.35s ease;
}
.chat-reset:hover { background: rgba(255, 255, 255, 0.25); transform: rotate(180deg); }
.chat-fadeout .msg { opacity: 0; transition: opacity 0.3s ease; }

/* Targets de beneficio en vivo */
.demo-insights {
  width: 100%;
  padding: 16px;
  background: #0d0d0d;
  border-top: 1px solid #27272A;
}
@media (min-width: 768px) {
  .demo-insights {
    width: 250px;
    min-width: 250px;
    border-top: none;
    border-left: 1px solid #27272A;
    max-height: 540px;
    overflow-y: auto;
  }
}
.insight-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-left: 3px solid #34d399;
  border-radius: 10px;
  font-size: 0.72rem;
  color: #d4d4d8;
  line-height: 1.45;
  opacity: 0.55;
  transition: opacity 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.insight-card .ic { font-size: 1rem; line-height: 1; }
/* El más reciente: brillante, con entrada slide+bounce y resplandor */
.insight-card.insight-new {
  opacity: 1;
  background: rgba(52, 211, 153, 0.16);
  border-color: rgba(52, 211, 153, 0.5);
  border-left-width: 4px;
  animation: insight-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
             insight-glow 1.8s ease 0.15s 1;
}
@keyframes insight-in {
  0%   { opacity: 0; transform: translateX(48px); }
  55%  { opacity: 1; transform: translateX(-7px); }
  75%  { transform: translateX(3px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes insight-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
  30%, 65% { box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.35), 0 0 20px rgba(52, 211, 153, 0.45); }
}
/* Ping de notificación en la esquina */
.insight-ping { position: absolute; top: -5px; right: -5px; width: 12px; height: 12px; }
.insight-ping::before, .insight-ping::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34d399;
}
.insight-ping::before { animation: ping-out 1.1s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping-out { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }
/* Glow en el mensaje del bot que generó el target */
.msg.msg-glow { animation: msg-glow 1.6s ease; }
@keyframes msg-glow {
  0%, 100% { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
  30% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.5), 0 0 16px rgba(52, 211, 153, 0.55); }
}
/* Mobile: toast flotante + lista colapsable con contador */
.insights-toggle { display: none; }
@media (max-width: 767px) {
  .insights-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font: 700 0.78rem 'Inter', sans-serif;
    padding: 2px 0 10px;
  }
  .insights-toggle .chev { transition: transform 0.25s ease; }
  .demo-insights.open .insights-toggle .chev { transform: rotate(180deg); }
  .demo-insights .insights-title { display: none; }
  #insights-list { display: none; }
  .demo-insights.open #insights-list { display: block; }
  #insights-empty { display: none; }
}
.insight-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 92px;
  z-index: 1000;
  margin-bottom: 0;
  opacity: 1;
  background: rgba(6, 42, 34, 0.97);
  border-color: rgba(52, 211, 153, 0.5);
  border-left-width: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  animation: toast-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both,
             insight-glow 1.8s ease 0.2s 1;
}
@keyframes toast-up {
  0%   { opacity: 0; transform: translateY(70px); }
  60%  { opacity: 1; transform: translateY(-8px); }
  80%  { transform: translateY(3px); }
  100% { opacity: 1; transform: translateY(0); }
}
.insight-toast.leaving { animation: toast-out 0.35s ease both; }
@keyframes toast-out { to { opacity: 0; transform: translateY(24px); } }

/* Procesamiento IA en vivo */
.proc-block {
  margin-bottom: 8px;
  padding: 10px 12px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  font-size: 0.7rem;
  color: #d4d4d8;
  transition: opacity 0.5s ease;
}
.proc-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #A78BFA;
  margin-bottom: 6px;
}
.proc-spin {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border: 2px solid rgba(167, 139, 250, 0.3);
  border-top-color: #A78BFA;
  border-radius: 50%;
  animation: proc-spin 0.7s linear infinite;
}
@keyframes proc-spin { to { transform: rotate(360deg); } }
.proc-step {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2.5px 0;
  animation: proc-step-in 0.3s ease both;
}
@keyframes proc-step-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.proc-check {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  animation: check-pop 0.35s cubic-bezier(0.22, 1.6, 0.36, 1) both;
}
@keyframes check-pop { 0% { transform: scale(0.3); opacity: 0; } 70% { transform: scale(1.25); } 100% { transform: scale(1); opacity: 1; } }
/* Historial: secuencias viejas quedan atenuadas y compactas */
.proc-block.proc-done { opacity: 0.4; }
.proc-block.proc-done .proc-step { padding: 1px 0; font-size: 0.64rem; }
.proc-block.proc-done .proc-title { margin-bottom: 3px; }
/* Mobile: bloque compacto arriba del input que se colapsa al terminar */
.proc-mobile {
  padding: 8px 12px;
  background: #0d0d0d;
  border-top: 1px solid #27272A;
  font-size: 0.68rem;
  color: #d4d4d8;
}
.proc-mobile .proc-title { margin-bottom: 4px; }
.proc-mobile.collapsed { padding: 4px 12px; }
.proc-mobile.collapsed .proc-steps { display: none; }
.proc-mobile.collapsed .proc-title { margin-bottom: 0; font-size: 0.62rem; opacity: 0.6; }

/* Cartel "esto es solo una demo" */
.demo-disclaimer {
  position: relative;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 26px 28px;
  overflow: hidden;
}
.demo-disclaimer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8B5CF6, #EC4899);
}
