/* welcome-modal.css — WHM demo welcome modal
   To reset for testing: localStorage.removeItem('whm_welcome_modal_shown_v1') */

@keyframes wm-pop {
  from { opacity: 0; transform: scale(0.97) translateY(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes wm-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes wm-pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

.wm-backdrop {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: wm-fade-in 180ms ease-out both;
  box-sizing: border-box;
}

.wm-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  animation: wm-pop 280ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #1A2330;
  box-sizing: border-box;
}

.wm-accent-strip {
  height: 4px;
  background: linear-gradient(90deg, #1A4480 0%, #2563EB 60%, #38BDF8 100%);
}

.wm-body {
  padding: 36px 36px 32px;
}

.wm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  line-height: 1;
}

.wm-pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #22c55e;
  flex-shrink: 0;
  animation: wm-pulse-dot 1.8s ease-in-out infinite;
}

.wm-title {
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #1A2330 !important;
  border: none !important;
  background: none !important;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

.wm-desc {
  color: #475569;
  line-height: 1.6;
  font-size: 14.5px;
  margin: 0 0 20px;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.wm-domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #E8EFFA;
  color: #1A4480;
  font-weight: 500;
  vertical-align: middle;
  line-height: 1.4;
}

.wm-domain-chip svg {
  display: inline-block;
  flex-shrink: 0;
}

.wm-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wm-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1A4480;
  color: #ffffff !important;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  border: none !important;
  cursor: pointer;
  transition: background-color 150ms ease;
  outline: none;
  line-height: 1;
  text-decoration: none;
}

.wm-btn:hover,
.wm-btn:focus {
  background: #143866;
  color: #ffffff !important;
  text-decoration: none;
}

.wm-btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(26, 68, 128, 0.2);
}

.wm-btn-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 150ms ease;
}

.wm-btn:hover .wm-btn-arrow {
  transform: translateX(2px);
}

.wm-no-signup {
  font-size: 11.5px;
  color: #64748B;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
