/* Guided page tour — triggered by clicking the hero Nuvi bubble.
   Scrolls to each step's target section and shows an explanation card
   anchored near it, with a dim overlay and a highlighted outline on target. */

.tour-overlay{
  position: fixed; inset: 0; background: rgba(11,12,20,.55);
  z-index: 400; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.tour-overlay.show{ opacity: 1; pointer-events: auto; }

.tour-highlight{
  position: relative; z-index: 401;
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: var(--radius-m);
  box-shadow: 0 0 0 6000px rgba(11,12,20,.55);
  transition: outline-color .2s ease;
}

.tour-card{
  position: fixed; z-index: 402; width: 320px; max-width: calc(100vw - 32px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  box-shadow: var(--shadow); padding: 18px 20px;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, top .3s ease, left .3s ease;
}
.tour-card.show{ opacity: 1; transform: none; pointer-events: auto; }

.tour-card .head{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.tour-card .head svg{ width:30px; height:30px; flex-shrink:0; }
.tour-card .nuvi-body{ fill: var(--data-accent); }
.tour-card .nuvi-face{ fill: var(--bg); }
.tour-card .nuvi-spark{ fill: var(--data-accent); }
.tour-card .head .title{ font-weight:800; font-size:15px; color:var(--text); }
.tour-card p{ font-size:13px; margin: 0 0 14px; color: var(--text-dim); }

.tour-card .foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.tour-card .steps{ font-size:12px; color:var(--text-faint); font-variant-numeric: tabular-nums; }
.tour-card .actions{ display:flex; gap:8px; }
.tour-card .actions button{
  border:none; border-radius:100px; font-size:12px; font-weight:700; padding:8px 14px; cursor:pointer;
}
.tour-card .btn-tour-prev{ background:var(--surface-2); color:var(--text-dim); }
.tour-card .btn-tour-prev:hover{ color:var(--text); }
.tour-card .btn-tour-prev:disabled{ opacity:.35; cursor:default; }
.tour-card .btn-tour-next{ background:var(--accent); color:#0b0c14; }
.tour-card .btn-tour-skip{
  position:absolute; top:12px; right:12px; background:none; border:none; color:var(--text-faint);
  font-size:16px; cursor:pointer; width:22px; height:22px;
}
.tour-card .btn-tour-skip:hover{ color:var(--text); }

@media (max-width: 480px){
  .tour-card{ left: 16px !important; right: 16px; width: auto; }
}
