/* [A 2026-11-19 KC1119KWSWOW] Dan: "make it WOW ... moving features, amazing carousels". Layered on top of index.php,
   switched on only when kws-wow.js adds .wow to <html>; without JS the page keeps its plain scroll carousel. */

/* ---------- 1. Pricing: the velvet deck ---------- */
.wow .kw-pricing { overflow-x: clip; }
.wow .kw-pricing.cf .kw-car-nav, .wow .kw-pricing.cf .kw-swipe { display: none !important; }
.cf-rail { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 26px auto 8px; padding: 6px; max-width: 980px;
  border: 1px solid rgba(224,17,95,.28); border-radius: 999px; background: rgba(42,7,22,.55); backdrop-filter: blur(8px); }
.cf-rail button { position: relative; z-index: 1; font: 600 14px/1 'Figtree', system-ui, sans-serif; color: #e9d7df; background: none; border: 0; border-radius: 999px;
  padding: 11px 16px; cursor: pointer; transition: color .3s; white-space: nowrap; }
.cf-rail button[aria-selected="true"] { color: #fff; }
.cf-rail button:focus-visible { outline: 2px solid #ff5c97; outline-offset: 2px; }
.cf-rail .cf-sep { align-self: center; width: 1px; height: 22px; background: rgba(255,255,255,.18); margin: 0 4px; }
.cf-pill { position: absolute; z-index: 0; top: 6px; height: calc(100% - 12px); border-radius: 999px; background: linear-gradient(135deg, #E0115F, #ff5c97);
  box-shadow: 0 8px 28px -6px rgba(224,17,95,.8); transition: left .45s cubic-bezier(.2,.9,.2,1), width .45s cubic-bezier(.2,.9,.2,1), top .45s cubic-bezier(.2,.9,.2,1); }
.wow .kw-pricing.cf .kw-tiers { display: block !important; position: relative; overflow: visible !important; height: var(--cf-h, 720px); margin: 10px 0 0 !important;
  padding: 0 !important; perspective: 1600px; touch-action: pan-y; user-select: none; cursor: grab; }
.wow .kw-pricing.cf .kw-tiers.dragging { cursor: grabbing; }
.wow .kw-pricing.cf .kw-tier { position: absolute !important; top: 30px; left: 50%; width: var(--cf-w, 360px); margin-left: calc(var(--cf-w, 360px) / -2);
  flex: none !important; transform-style: preserve-3d; will-change: transform, opacity; transition: transform .6s cubic-bezier(.2,.9,.2,1), opacity .6s, filter .6s, box-shadow .6s; }
.wow .kw-pricing.cf .kw-tiers.dragging .kw-tier { transition: none; }
.wow .kw-pricing.cf .kw-tier.cf-side { cursor: pointer; }
.wow .kw-pricing.cf .kw-tier.cf-side .kw-btn { pointer-events: none; }
.wow .kw-pricing.cf .kw-tier.cf-on { box-shadow: 0 40px 120px -30px rgba(224,17,95,.75), 0 0 0 1px rgba(224,17,95,.75); }
.wow .kw-pricing.cf .kw-tier::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.16), transparent 45%); }
.wow .kw-pricing.cf .kw-tier.cf-on::after { opacity: 1; }
.cf-hint { text-align: center; font-size: 13.5px; color: #b9a6af; margin: 4px 0 0; }
.cf-hint b { color: #fff; font-weight: 700; }
.cf-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.cf-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.22); transition: width .4s, background .4s; }
.cf-dots i.on { width: 26px; background: #E0115F; }
@media (max-width: 640px) {
  .cf-rail { border-radius: 22px; gap: 4px; }
  .cf-rail button { padding: 9px 11px; font-size: 13px; }
  .cf-rail .cf-sep { display: none; }
}

/* ---------- 2. Hero: the mockup answers the cursor ---------- */
.wow .kw-stage { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.9,.2,1); will-change: transform; }
.wow .kw-stage .kw-browser { position: relative; }
.wow .kw-stage .kw-browser::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
  background: radial-gradient(600px circle at var(--hx, 70%) var(--hy, 10%), rgba(255,255,255,.14), transparent 40%); mix-blend-mode: screen; }
.wow .kw-stage .kw-phone { transform: translateZ(70px); transition: transform .5s cubic-bezier(.2,.9,.2,1); }

/* ---------- 3. Our work: the showroom reel ---------- */
.wow .kw-work .kw-wgrid { display: none !important; }
.sr { position: relative; margin: 34px -20px 0; overflow: hidden; perspective: 1400px; padding: 30px 0 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sr-track { display: flex; gap: 26px; width: max-content; animation: srRoll 70s linear infinite; transform: rotateX(6deg) rotateY(-4deg); transform-style: preserve-3d; }
.sr:hover .sr-track, .sr:focus-within .sr-track, .sr.held .sr-track { animation-play-state: paused; }
.sr-card { flex: none; width: 420px; text-decoration: none; color: inherit; border-radius: 18px; overflow: hidden; background: #0c0709;
  border: 1px solid rgba(224,17,95,.35); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); transition: transform .45s cubic-bezier(.2,.9,.2,1), box-shadow .45s, border-color .45s; }
.sr-card:hover, .sr-card:focus-visible { transform: translateY(-12px) scale(1.035); border-color: #E0115F; box-shadow: 0 40px 90px -30px rgba(224,17,95,.7); outline: none; }
.sr-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #161016; font-size: 12px; color: #c8b4bd; }
.sr-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a2a31; }
.sr-bar i:first-child { background: #E0115F; }
.sr-bar span { margin-left: 8px; }
.sr-shot { aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.sr-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 6s ease-out; }
.sr-card:hover .sr-shot img { transform: translateY(-14%); }
.sr-tx { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.sr-tx b { color: #fff; font-size: 16px; }
.sr-tx em { font-style: normal; font-size: 12px; font-weight: 700; color: #ff5c97; border: 1px solid rgba(224,17,95,.5); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.sr-more { text-align: center; margin-top: 4px; }
.sr-more a { color: #ff5c97; font-weight: 800; text-decoration: none; }
@keyframes srRoll { from { transform: rotateX(6deg) rotateY(-4deg) translateX(0); } to { transform: rotateX(6deg) rotateY(-4deg) translateX(-50%); } }
@media (max-width: 640px) { .sr-card { width: 290px; } .sr { margin: 26px -16px 0; } }

/* ---------- 4. Steps: a line that draws itself ---------- */
.wow .kw-steps { position: relative; --p: 0; }
.wow .kw-steps::before { content: ""; position: absolute; left: 0; top: 30px; height: 2px; width: calc(var(--p) * 100%); z-index: 0;
  background: linear-gradient(90deg, #E0115F, #ff5c97); box-shadow: 0 0 18px rgba(224,17,95,.9); transition: width .15s linear; }
.wow .kw-step { position: relative; z-index: 1; transition: opacity .5s, transform .5s; opacity: .45; }
.wow .kw-step.lit { opacity: 1; }
.wow .kw-step .kw-n { transition: box-shadow .5s, transform .5s; }
.wow .kw-step.lit .kw-n { box-shadow: 0 0 0 6px rgba(224,17,95,.18), 0 0 30px rgba(224,17,95,.9); transform: scale(1.08); }
@media (max-width: 760px) { .wow .kw-steps::before { left: 30px; top: 0; width: 2px; height: calc(var(--p) * 100%); } }

/* ---------- 5. Feature cards: a spotlight under the cursor ---------- */
.wow .kw-list li { position: relative; isolation: isolate; }
.wow .kw-list li::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(224,17,95,.32), transparent 60%); }
.wow .kw-list:hover li::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .sr-track { animation: none; transform: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .wow .kw-pricing.cf .kw-tier, .cf-pill, .wow .kw-stage { transition: none !important; }
  .wow .kw-step { opacity: 1; }
}
/* fix 1: centre card fully opaque so the fanned cards never show through */
.wow .kw-pricing.cf .kw-tier { background-color: #0c0709; }
.wow .kw-pricing.cf .kw-tier.hot { background-color: #1a0610; }
/* fix 2: steps line runs through the centre of the number circles */
.wow .kw-steps::before { top: var(--ly, 30px); }
@media (max-width: 760px) { .wow .kw-steps::before { top: 0; left: var(--lx, 30px); } }
/* [A 2026-11-19 audit] phones: steps are a 2x2 grid, so no line; all four shown lit */
@media (max-width: 760px) { .wow .kw-steps::before { display: none; } .wow .kw-step { opacity: 1; } .wow .kw-step .kw-n { box-shadow: 0 0 0 6px rgba(224,17,95,.18), 0 0 24px rgba(224,17,95,.7); } }
/* bullet band: tighter rows */
.wow .kw-marquee .kw-track span { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 640px) { .wow .kw-marquee .kw-track span { padding-top: 8px; padding-bottom: 8px; } }
