/* Product pages: walkthrough player, video cards, request form. Brand tokens and the house easing
   curve cubic-bezier(0.16,1,0.3,1) as in base.html; nothing snaps, everything eases. */
:root { --cb: #233b91; --cg: #8cc641; --cc: #f5f4f0; --ease: cubic-bezier(0.16,1,0.3,1); }

/* ---- animated walkthrough: a device frame that pushes in on each real screen ---- */
.wt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1024px) { .wt { grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: center; } }
.wt-steps { display: grid; gap: 4px; counter-reset: step; }
.wt-step { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; text-align: left; padding: 14px 14px 14px 10px; border: 0; border-radius: 16px; background: none; cursor: pointer; transition: background .5s var(--ease); }
.wt-step:hover { background: rgba(35,59,145,.04); }
.wt-step .n { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #a1a1aa; border: 1px solid #e4e4e7; transition: all .5s var(--ease); }
.wt-step b { display: block; font-size: 15px; letter-spacing: -0.01em; text-transform: uppercase; font-weight: 300; color: #71717a; transition: color .5s var(--ease); }
.wt-step p { margin: 4px 0 0; font-size: 13px; line-height: 1.55; font-weight: 300; color: #71717a; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .6s var(--ease); }
.wt-step .bar { position: absolute; left: 54px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: #f4f4f5; overflow: hidden; opacity: 0; transition: opacity .4s var(--ease); }
.wt-step .bar i { display: block; height: 100%; width: 0; background: var(--cg); }
.wt-step.on { background: #fff; box-shadow: 0 15px 40px -15px rgba(0,0,0,.12); }
.wt-step.on .n { background: var(--cb); border-color: var(--cb); color: #fff; }
.wt-step.on b { color: var(--cb); }
.wt-step.on p { max-height: 120px; opacity: 1; }
.wt-step.on .bar { opacity: 1; }
@media (max-width: 1023px) {
  .wt-steps { grid-auto-flow: column; grid-auto-columns: minmax(200px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .wt-steps::-webkit-scrollbar { display: none; }
  .wt-step { scroll-snap-align: start; }
}

.wt-stage { position: relative; perspective: 1800px; }
.wt-device { position: relative; border-radius: 18px; background: #fff; border: 1px solid #e4e4e7; box-shadow: 0 40px 90px -30px rgba(35,59,145,.35), 0 15px 40px -15px rgba(0,0,0,.12); overflow: hidden;
  }
.wt-chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #fafafa; border-bottom: 1px solid #f4f4f5; }
.wt-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e7; }
.wt-chrome i:nth-child(1) { background: #f47c5a; } .wt-chrome i:nth-child(2) { background: #f5c04f; } .wt-chrome i:nth-child(3) { background: var(--cg); }
.wt-chrome span { margin-left: 10px; flex: 1; height: 20px; border-radius: 999px; background: #fff; border: 1px solid #f4f4f5; font-size: 10.5px; color: #a1a1aa; display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.wt-screen { position: relative; aspect-ratio: 16 / 10; background: #f4f4f5; overflow: hidden; }
.wt-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.08) translate3d(0, 2%, 0); filter: blur(6px);
  transition: opacity .9s var(--ease), transform 6.5s cubic-bezier(.2,.6,.3,1), filter .9s var(--ease); }
.wt-shot.on { opacity: 1; transform: scale(1.0) translate3d(0, 0, 0); filter: none; }
.wt-shot.out { opacity: 0; transform: scale(.98); filter: blur(4px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); }
.wt-caption { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.wt-caption span { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 9px 16px; border-radius: 999px; background: rgba(35,59,145,.92); color: #fff; font-size: 12px; letter-spacing: .04em;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); transform: translateY(14px); opacity: 0; transition: transform .8s var(--ease) .25s, opacity .8s var(--ease) .25s; }
.wt-caption span b { color: var(--cg); font-weight: 700; }
.wt-caption.on span { transform: none; opacity: 1; }
.wt-cursor { position: absolute; z-index: 3; width: 22px; height: 22px; pointer-events: none; left: 60%; top: 55%; transition: left 1.6s var(--ease), top 1.6s var(--ease); filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.wt-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cg); opacity: 0; transform: scale(.4); }
.wt-cursor.click::after { animation: wt-ripple .7s var(--ease); }
@keyframes wt-ripple { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }
.wt-ctrl { position: absolute; right: 14px; top: 46px; z-index: 4; display: flex; gap: 6px; }
.wt-ctrl button { width: 34px; height: 34px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--cb); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15); transition: background .3s var(--ease), color .3s var(--ease); }
.wt-ctrl button:hover { background: var(--cb); color: #fff; }
.wt-glow { position: absolute; inset: 10% -6% -10% 10%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(140,198,65,.28), transparent); filter: blur(30px); }
@media (prefers-reduced-motion: reduce) { .wt-device, .wt-shot, .wt-caption span, .wt-cursor { transition: none !important; transform: none !important; } }

/* ---- video cards ---- */
.vcard { position: relative; overflow: hidden; border-radius: 24px; background: #233b91; aspect-ratio: 16 / 9; cursor: pointer; }
.vcard img, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard img { transition: transform 1.2s var(--ease), opacity .4s var(--ease); opacity: .9; }
.vcard:hover img { opacity: 1; }
.vcard .play { position: absolute; inset: 0; display: grid; place-items: center; }
.vcard .play span { position: relative; width: 76px; height: 76px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); transition: transform .5s var(--ease); }
.vcard .play span::before { content: ""; position: absolute; inset: -1px; border-radius: 999px; border: 1px solid rgba(140,198,65,.6); animation: vc-ping 2.2s var(--ease) infinite; }
@keyframes vc-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.vcard:hover .play span { background: rgba(140,198,65,.35); }
.vcard .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 10px; pointer-events: none; }
.vcard .meta b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.vcard .meta small { font-size: 11px; opacity: .8; }
.vcard.playing .play, .vcard.playing .meta, .vcard.playing img { display: none; }

/* ---- request form ---- */
.rq-type { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.rq-type label { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid #e4e4e7; border-radius: 16px; background: #fff; cursor: pointer; font-size: 12px; font-weight: 600; color: #3f3f46; transition: all .35s var(--ease); }
.rq-type label:hover { border-color: var(--cb); }
.rq-type input { position: absolute; opacity: 0; pointer-events: none; }
.rq-type label:has(input:checked) { border-color: var(--cb); background: var(--cb); color: #fff; box-shadow: 0 12px 30px -12px rgba(35,59,145,.6); }
.rq-type svg { width: 18px; height: 18px; flex: none; }
.rq-in { width: 100%; background: #fafafa; border: 1px solid #e4e4e7; border-radius: 14px; padding: 13px 16px; font-size: 14px; transition: all .3s var(--ease); }
.rq-in:focus { outline: none; background: #fff; border-color: var(--cb); box-shadow: 0 0 0 4px rgba(35,59,145,.1); }
.rq-in.err { border-color: #ef4444; }
.rq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rq-done a { display: inline-flex; align-items: center; gap: 8px; }

/* ---- small things ---- */
.spec-row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f4f4f5; font-size: 14px; }
.spec-row dt { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a1a1aa; padding-top: 3px; }
.spec-row dd { margin: 0; color: #27272a; font-weight: 300; }
.faq summary { list-style: none; cursor: pointer; } .faq summary::-webkit-details-marker { display: none; }
.faq[open] .faq-i { transform: rotate(45deg); } .faq-i { transition: transform .4s var(--ease); }
.sticky-cta { position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translate(-50%, 140%); transition: transform .7s var(--ease); }
.sticky-cta.show { transform: translate(-50%, 0); }

/* ---- phones: one thing at a time, nothing on top of anything else ---- */
@media (max-width: 767px) {
  /* sticky button sits left, clear of the chat bubble on the right */
  .sticky-cta { left: 16px; right: 92px; bottom: 18px; justify-content: space-between; transform: translateY(160%); }
  .sticky-cta.show { transform: none; }
  /* hero badges around the pod are decoration: hide them on small screens */
  .hero-badge { display: none !important; }
  .wt-device { transform: none !important; }
  .wt-ctrl { top: 42px; right: 8px; } .wt-ctrl button { width: 30px; height: 30px; }
  .wt-caption { left: 10px; right: 10px; bottom: 10px; } .wt-caption span { font-size: 11px; padding: 7px 12px; }
  .wt-cursor { display: none; }
  .vcard .play span { width: 60px; height: 60px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
}

/* phones: numbered dots for the steps, the current step's title and text in one box under them */
.wt-now { display: none; }
@media (max-width: 640px) {
  .wt-steps { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; padding-bottom: 0; }
  .wt-step { display: block; padding: 0; background: none !important; box-shadow: none !important; }
  .wt-step > span:not(.n), .wt-step .bar { display: none; }
  .wt-step .n { width: 34px; height: 34px; font-size: 12px; }
  .wt-now { display: block; margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 15px 40px -15px rgba(0,0,0,.12); }
  .wt-now b { display: block; font-size: 15px; font-weight: 300; letter-spacing: -0.01em; text-transform: uppercase; color: var(--cb); }
  .wt-now p { margin: 4px 0 0; font-size: 13px; line-height: 1.55; font-weight: 300; color: #52525b; }
}
