/* ================================================================
   MARLO GUIDED TOUR
   Spotlight overlay + tooltip card for the self-serve demo walkthrough.
   ================================================================ */

/* Backdrop — darkens everything below z-index 10001 */
#marlo-tour-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 9, 0.75);
  z-index: 10000;
  animation: tourFadeIn 0.2s ease;
}

/* Tooltip card */
#marlo-tour {
  position: absolute;
  z-index: 10002;
  background: #1c1917;
  border: 1px solid #44403c;
  border-radius: 14px;
  padding: 1.5rem;
  width: 360px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 158, 11, 0.1);
  animation: tourSlideUp 0.22s ease;
}

/* Step dots */
.tour-step-indicator {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.tour-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #44403c;
  transition: background 0.2s, width 0.2s;
}

.tour-dot.active {
  background: #f59e0b;
  width: 18px;
  border-radius: 3px;
}

/* Content */
.tour-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fafaf9;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.tour-body {
  font-size: 0.9rem;
  color: #a8a29e;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* Actions */
.tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.tour-nav {
  display: flex;
  gap: 0.5rem;
}

/* Buttons */
.tour-btn-primary {
  background: #f59e0b;
  color: #0c0a09;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}

.tour-btn-primary:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

.tour-btn-ghost {
  background: transparent;
  color: #78716c;
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: color 0.15s;
  white-space: nowrap;
}

.tour-btn-ghost:hover {
  color: #a8a29e;
}

/* ---- Welcome overlay ---- */
#marlo-tour-welcome {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 9, 0.88);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: tourFadeIn 0.25s ease;
}

.tour-welcome-inner {
  background: #1c1917;
  border: 1px solid #44403c;
  border-radius: 18px;
  padding: 2.5rem 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(245, 158, 11, 0.12);
  animation: tourSlideUp 0.28s ease;
}

.tour-welcome-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid #92400e;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.tour-welcome-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fafaf9;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.tour-welcome-body {
  font-size: 0.95rem;
  color: #a8a29e;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.tour-welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}

.tour-btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* ---- Final CTA ---- */
#marlo-tour-cta {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 9, 0.88);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: tourFadeIn 0.25s ease;
}

.tour-cta-inner {
  background: #1c1917;
  border: 1px solid #44403c;
  border-radius: 18px;
  padding: 2.5rem 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(245, 158, 11, 0.12);
  animation: tourSlideUp 0.28s ease;
}

.tour-cta-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fafaf9;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.tour-cta-body {
  font-size: 0.95rem;
  color: #a8a29e;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.tour-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}

/* "Take a Tour" button in dashboard header */
.btn-tour {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn-tour:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

/* Animations */
@keyframes tourFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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