/* The product tour (tour.html): real app screens that scroll inside phone frames, the cost check and the
   start cards. Builds on site.css (tokens, sections, buttons). */

.tour-head { padding-bottom: 4.5rem; }
.tour-jump { display: flex; flex-wrap: wrap; gap: .6rem; }
.tour-jump a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  color: #e2e8f5; text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s var(--ease); }
.tour-jump a:hover, .tour-jump a:focus-visible { background: rgba(255, 255, 255, .14); color: #fff; }

.tour-trust { background: #fff; border-bottom: 1px solid var(--line); }
.tour-trust ul { list-style: none; margin: 0; padding: 1.1rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; }
.tour-trust li { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.tour-trust i { color: var(--accent); font-size: 1.1rem; }

/* one feature: text beside its phone(s), alternating sides */
.tour-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 4.5rem; align-items: center; max-width: 1060px; margin: 0 auto; }
.tour-row + .tour-row { margin-top: 6rem; }
.tour-row.flip .tour-text { order: 2; }
.tour-kicker { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
  background: var(--brand-soft); border-radius: 999px; padding: .3rem .8rem; }
.tour-text h3 { font-weight: 800; font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.03em; margin: .9rem 0 .8rem; }
.tour-text > p { color: #56627a; font-size: 1.06rem; line-height: 1.7; }
.tour-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.tour-list li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.tour-list i { color: var(--accent); font-size: 1.1rem; line-height: 1.4; flex: none; }
.tour-note { margin: 1.2rem 0 0; font-size: .93rem; color: var(--muted); background: var(--accent-soft); border-radius: 14px; padding: .75rem 1rem; }
.tour-visual { display: flex; justify-content: center; align-items: flex-start; gap: 1.25rem; position: relative; }
.tour-visual::before { content: ""; position: absolute; width: 420px; max-width: 100%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(79, 124, 255, .18) 0%, rgba(32, 180, 134, .1) 45%, transparent 70%); }
.section-soft .tour-visual::before { background: radial-gradient(circle, rgba(79, 124, 255, .16) 0%, rgba(32, 180, 134, .1) 45%, transparent 70%); }

/* phone with a real screen; tall screens scroll by themselves while in view */
.tphone { width: min(300px, 76vw); aspect-ratio: 390 / 844; margin: 0; padding: 11px; border-radius: 46px; flex: none;
  background: linear-gradient(155deg, #333c58 0%, #0b1020 38%, #0b1020 70%, #232b44 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 0 0 1px rgba(10, 16, 36, .5), 0 44px 80px -24px rgba(10, 16, 36, .45), 0 18px 36px -20px rgba(10, 16, 36, .5); }
.tphone.sm { width: min(240px, 42vw); padding: 9px; border-radius: 38px; }
.tphone.sm + .tphone.sm { margin-top: 3rem; }
.tscreen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #f5f7fb; }
.tphone.sm .tscreen { border-radius: 30px; }
.tscreen img { position: absolute; left: 0; top: 0; width: 100%; height: auto; display: block; will-change: transform; }
.tscreen .tnav, .tscreen .thead { position: absolute; left: 0; right: 0; background-repeat: no-repeat; background-size: 100% auto; z-index: 1; pointer-events: none; }
.tscreen .tnav { bottom: 0; height: calc(72 / 844 * 100%); background-position: center bottom; box-shadow: 0 -1px 0 rgba(10, 16, 36, .06); }
.tscreen .thead { top: 0; height: calc(56 / 844 * 100%); background-position: center top; }
.tphone.scrolls img { animation: tour-scroll var(--dur, 12s) cubic-bezier(.45, 0, .55, 1) infinite alternate; animation-play-state: paused; }
.tphone.scrolls.inview img { animation-play-state: running; }
.tphone.scrolls:hover img { animation-play-state: paused; }
@keyframes tour-scroll { 0%, 14% { transform: translateY(0); } 86%, 100% { transform: translateY(var(--shift, 0%)); } }
@media (prefers-reduced-motion: reduce) { .tphone.scrolls img { animation: none; } }

/* what it would cost */
.cost-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem 4rem; align-items: center; max-width: 1060px; margin: 0 auto; }
.cost-intro .kicker { display: inline-flex; align-items: center; gap: .5rem; color: var(--brand); font-weight: 700; letter-spacing: .14em; font-size: .72rem; text-transform: uppercase; }
.cost-intro h2 { font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; margin-top: 1rem; }
.cost-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); }
.cost-card .form-label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.cost-out { margin-top: 1.5rem; padding: 1.4rem 1.5rem; border-radius: 18px; color: #fff;
  background: radial-gradient(500px 220px at 90% -20%, rgba(79, 124, 255, .55), transparent 60%), linear-gradient(140deg, #0e1a44, #070b19); }
.cost-price { font-weight: 800; font-size: 2.6rem; line-height: 1.05; letter-spacing: -.03em; }
.cost-price small { display: block; font-size: .95rem; font-weight: 600; letter-spacing: 0; color: rgba(214, 222, 240, .8); margin-top: .3rem; }
.cost-list { margin-top: .6rem; font-size: .9rem; color: rgba(214, 222, 240, .75); }
.cost-list s { color: rgba(214, 222, 240, .55); }
.cost-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.1rem; }
.cost-facts div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: .75rem .9rem; }
.cost-facts b { display: block; font-size: 1.35rem; color: var(--accent-bright); font-variant-numeric: tabular-nums; }
.cost-facts span { font-size: .82rem; color: rgba(214, 222, 240, .78); line-height: 1.35; display: block; }

/* two ways to start */
.start-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: flex-start; }
.start-card h3 { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.start-card p { color: #56627a; flex: 1; }

/* phones: a bar with the two ways to start, once the visitor scrolls past the top */
.tour-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: none; gap: .6rem; align-items: center;
  padding: .7rem max(16px, env(safe-area-inset-right, 0px)) calc(.7rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s var(--ease); }
.tour-bar .btn-primary { flex: 1; font-weight: 700; }
.tour-bar .btn-wa { background: #25d366; color: #fff; border: 0; width: 48px; height: 44px; display: grid; place-items: center; font-size: 1.35rem; border-radius: 999px; }
.tour-bar.show { transform: translateY(0); }

@media (max-width: 991.98px) {
  .tour-bar { display: flex; }
  body.has-tour-bar { padding-bottom: 76px; }
  .tour-row, .cost-wrap { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .tour-row.flip .tour-text { order: 0; }
  .tour-row + .tour-row { margin-top: 4.5rem; }
}
@media (max-width: 575.98px) {
  .tour-visual { gap: .8rem; }
  .tphone.sm { width: min(200px, 43vw); padding: 7px; border-radius: 30px; }
  .tphone.sm .tscreen { border-radius: 24px; }
  .tphone.sm + .tphone.sm { margin-top: 2rem; }
  .cost-card { padding: 1.4rem; }
  .cost-price { font-size: 2.2rem; }
}

/* the two inputs line up even when one label wraps */
.cost-card .row > div { display: flex; flex-direction: column; }
.cost-card .row > div .form-label { flex: 1; }
