/* ============ PRODUCT TOUR — real screenshots ============ */
.tour-intro { margin-bottom: 30px; }

/* Tab pills */
.tour-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 26px;
}
.tour-tab {
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: inherit; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s;
}
.tour-tab:hover { color: #fff; transform: translateY(-2px); }
.tour-tab.active {
  color: #fff; border-color: var(--red);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 8px 24px rgba(237, 28, 36, 0.4);
}

/* Browser frame */
.tour-frame {
  max-width: 1160px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  background: #241d38;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 60px rgba(237, 28, 36, 0.08);
  transform: perspective(2200px) rotateX(3deg);
  transition: transform 0.5s ease;
}
.tour-frame:hover { transform: perspective(2200px) rotateX(0deg); }
.tour-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: #1b1530;
}
.tour-bar .dots-tl { display: flex; gap: 7px; }
.tour-bar .dots-tl i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.tour-bar .dots-tl i:nth-child(1) { background: #ff5f57; }
.tour-bar .dots-tl i:nth-child(2) { background: #febc2e; }
.tour-bar .dots-tl i:nth-child(3) { background: #28c840; }
.tour-url {
  flex: 1; margin-left: 12px;
  background: #2c2445; border-radius: 8px;
  padding: 6px 14px; font-size: 0.72rem; color: #b9b2d4;
  display: flex; align-items: center; gap: 8px;
  max-width: 480px;
}
.tour-url svg { width: 12px; height: 12px; fill: #8b80b8; flex-shrink: 0; }

/* Screenshot stage */
.tour-window {
  position: relative;
  width: 100%;
  aspect-ratio: 2557 / 1304;
  background: #0f0b1e;
  overflow: hidden;
}
.tour-stage { position: absolute; inset: 0; }
.tour-shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0; transform: scale(1.015);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.tour-shot.active { opacity: 1; transform: none; pointer-events: auto; }

/* Caption */
.tour-caption { text-align: center; margin-top: 26px; min-height: 48px; }
.tour-caption h4 { font-size: 1.15rem; color: #fff; margin: 0 0 4px; }
.tour-caption p { color: var(--muted); font-size: 0.95rem; margin: 0 auto; max-width: 640px; }

/* Responsive */
@media (max-width: 720px) {
  .tour-frame, .tour-frame:hover { transform: none; }
  .tour-tab { font-size: 0.74rem; padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-frame, .tour-frame:hover { transform: none; }
  .tour-shot { transition: opacity 0.2s ease; transform: none; }
}
