/* ==========================================================
   tour.css — guided tour: dim panels, highlight ring,
   coach-mark card and launcher button (EPC navy + gold).
   ========================================================== */

.tour-root { position: fixed; inset: 0; z-index: 500; pointer-events: none; }

/* Dim panels sit around the highlight so the highlighted control stays clickable */
.tour-dim { position: fixed; background: rgba(8, 11, 30, .66); pointer-events: auto; transition: all .22s ease; }

.tour-ring {
  position: fixed; border-radius: 14px; pointer-events: none; transition: all .22s ease;
  box-shadow: 0 0 0 2px var(--gold-500), 0 0 0 7px rgba(234, 196, 51, .25);
}

/* ---------- Card ---------- */
.tour-card {
  position: fixed; width: 410px; max-width: calc(100vw - 24px); z-index: 510;
  background: var(--navy-800); color: #E4E7F5; border: 1px solid #343E6E;
  border-radius: 16px; padding: 18px 20px 14px; pointer-events: auto;
  box-shadow: 0 22px 60px rgba(5, 8, 25, .55); animation: tour-in .18s ease-out;
  font-family: var(--font-ui);
}
@keyframes tour-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.tour-chapter { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 6px; }
.tour-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--white); margin-bottom: 8px; }
.tour-body { font-size: 13.5px; line-height: 1.55; color: #C9CCE0; margin-bottom: 10px; }
.tour-why { font-size: 13px; line-height: 1.5; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #E4E7F5; margin-bottom: 10px; }
.tour-why span { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 2px; }
.tour-ref { font-size: 11px; color: #8990B5; margin-bottom: 12px; }

.tour-foot { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 11px; }
.tour-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tour-count { font-size: 11px; font-weight: 700; color: #8990B5; flex: none; }
.tour-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.tour-bar i { display: block; height: 100%; background: var(--gold-500); transition: width .25s ease; }

.tour-actions { display: flex; gap: 7px; justify-content: flex-end; flex-wrap: wrap; }
.tour-actions [data-tour="skip"] { margin-right: auto; }
.tour-btn { padding: 7px 13px; border-radius: 9px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.tour-btn.solid { background: var(--white); color: var(--navy-800); }
.tour-btn.solid:hover { background: #E5F0FE; }
.tour-btn.try { background: var(--gold-500); color: var(--navy-900); }
.tour-btn.try:hover { background: #F2D04E; }
.tour-btn.ghost { color: #C9CCE0; border: 1px solid rgba(255, 255, 255, .2); }
.tour-btn.ghost:hover { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.tour-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Arrow ---------- */
.tour-arrow { position: absolute; width: 0; height: 0; border: 9px solid transparent; }
.tour-arrow-left   { left: -18px; top: 50%; margin-top: -9px; border-right-color: var(--navy-800); }
.tour-arrow-right  { right: -18px; top: 50%; margin-top: -9px; border-left-color: var(--navy-800); }
.tour-arrow-top    { top: -18px; left: 50%; margin-left: -9px; border-bottom-color: var(--navy-800); }
.tour-arrow-bottom { bottom: -18px; left: 50%; margin-left: -9px; border-top-color: var(--navy-800); }

/* ---------- Launcher ---------- */
.tour-launch {
  position: fixed; right: 22px; bottom: 22px; z-index: 400; display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 800; font-size: 13.5px;
  background: var(--gold-500); color: var(--navy-900); box-shadow: 0 10px 26px rgba(234, 196, 51, .35);
  transition: transform .15s;
}
.tour-launch:hover { transform: translateY(-2px); }
.tour-launch svg.i { width: 18px; height: 18px; }
body.tour-on .tour-launch { display: none; }
