/* ================================================================
   Demo Wizard — Guided prospect onboarding
   ================================================================ */

.dw-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: dw-fadeIn 0.3s ease;
}

@keyframes dw-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dw-modal {
  background: #131a2b;
  border: 1px solid #1e2740;
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  animation: dw-slideUp 0.4s ease;
}

@keyframes dw-slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.dw-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #1e2740;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.dw-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f5731a, #ff8c42);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.dw-step-count {
  font-size: 12px;
  color: #6b7490;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.dw-icon {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1;
}

.dw-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.dw-subtitle {
  font-size: 16px;
  color: #9ca3b8;
  margin-bottom: 20px;
  line-height: 1.5;
}

.dw-desc {
  font-size: 14px;
  color: #7b8299;
  line-height: 1.7;
  margin-bottom: 32px;
  text-align: left;
  padding: 0 8px;
}

.dw-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.dw-btn {
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  width: 100%;
  max-width: 320px;
}

.dw-btn-primary {
  background: #f5731a;
  color: #fff;
}

.dw-btn-primary:hover {
  background: #ff8c42;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 115, 26, 0.3);
}

.dw-btn-primary:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}

.dw-btn-ghost {
  background: transparent;
  color: #f5731a;
  border: 1px solid rgba(245, 115, 26, 0.3);
}

.dw-btn-ghost:hover {
  background: rgba(245, 115, 26, 0.08);
}

.dw-btn-skip {
  background: none;
  color: #6b7490;
  font-size: 13px;
  padding: 8px;
}

.dw-btn-skip:hover {
  color: #9ca3b8;
}

/* Menu highlight pulse */
.dw-highlight {
  position: relative;
  animation: dw-pulse 1.5s ease infinite;
}

@keyframes dw-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 115, 26, 0); }
  50% { box-shadow: 0 0 0 6px rgba(245, 115, 26, 0.3); }
}

/* New menu item appear animation */
@keyframes dw-appear {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Light mode */
[data-theme="light"] .dw-modal {
  background: #fff;
  border-color: #d4d8e0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .dw-title { color: #1a1d26; }
[data-theme="light"] .dw-overlay { background: rgba(0, 0, 0, 0.4); }
