/* ============================================================
   IXXO Cart — hero product mockups ("product surface")
   A crisp app/browser window per page, showing the real thing
   the page is about, with floating stat chips that drift gently.
   All motion gated behind prefers-reduced-motion: no-preference.
   Depends on enterprise.css tokens (--navy-*, --accent, --c-*, etc.)
   ============================================================ */

.cmock-wrap { position: relative; width: 100%; max-width: 480px; margin-inline: auto; }

/* the window frame */
.cmock {
  position: relative; z-index: 2;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(16,39,63,.30), 0 4px 12px -6px rgba(16,39,63,.12);
  overflow: hidden;
}
.cmock-top {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.cmock-top .dot { width: 9px; height: 9px; border-radius: 50%; background: #d3dbe8; flex: none; }
.cmock-top .addr {
  margin-left: 8px; flex: 1;
  height: 20px; border-radius: 6px;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px; padding: 0 9px;
  font-size: .64rem; font-weight: 600; color: var(--slate-400); letter-spacing: .01em;
}
.cmock-top .addr .lucide { width: 11px; height: 11px; }
.cmock-body { padding: 16px; }

/* soft brand glow behind the window */
.cmock-wrap::before {
  content: ""; position: absolute; z-index: 0;
  width: 78%; height: 62%; right: -8%; top: -10%;
  background: radial-gradient(closest-side, rgba(216,105,15,.16), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cmock-wrap::after {
  content: ""; position: absolute; z-index: 0;
  width: 70%; height: 60%; left: -10%; bottom: -12%;
  background: radial-gradient(closest-side, rgba(37,99,201,.15), transparent 70%);
  border-radius: 50%; pointer-events: none;
}

/* ---------- generic building blocks ---------- */
.cm-line { height: 8px; border-radius: 5px; background: var(--bg-soft); }
.cm-line.s { height: 6px; }
.cm-line.dk { background: #dbe3ee; }
.cm-h { height: 11px; border-radius: 5px; background: #cdd7e6; }

/* product grid + tiles (storefront) */
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cm-tile { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.cm-tile .ph { height: 46px; display: grid; place-items: center; }
.cm-tile .ph .lucide { width: 20px; height: 20px; color: #fff; opacity: .92; }
.cm-tile .meta { padding: 7px 8px 9px; }
.cm-tile .meta .cm-line { margin-top: 5px; }
.cm-tile .price { font-size: .62rem; font-weight: 800; color: var(--ink); margin-top: 6px; }
.ph-blue { background: linear-gradient(135deg,#3b82e0,#2563c9); }
.ph-teal { background: linear-gradient(135deg,#18b79c,#0f9488); }
.ph-violet { background: linear-gradient(135deg,#8163e0,#6d4bd0); }
.ph-amber { background: linear-gradient(135deg,#f0a437,#e9800f); }
.ph-rose { background: linear-gradient(135deg,#e8637f,#d64a6a); }
.ph-green { background: linear-gradient(135deg,#3bb072,#2f855a); }

/* list rows (dashboard / vendors / orders) */
.cm-rows { display: flex; flex-direction: column; }
.cm-row { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px solid var(--border); }
.cm-row:first-child { border-top: 0; }
.cm-av { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; }
.cm-av .lucide { width: 14px; height: 14px; color: #fff; }
.cm-row .grow { flex: 1; min-width: 0; }
.cm-row .grow .cm-line { width: 78%; }
.cm-row .grow .cm-line.s { width: 52%; margin-top: 5px; }
.cm-val { font-family: var(--display); font-size: .84rem; font-weight: 800; color: var(--ink); flex: none; }
.cm-name { font-size: .82rem; font-weight: 600; color: var(--slate-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-tag { font-size: .58rem; font-weight: 700; padding: 2px 7px; border-radius: 20px; flex: none; }
.cm-tag.green { background: var(--c-teal-bg); color: var(--c-teal); }
.cm-tag.amber { background: #fdf0dd; color: var(--accent-dark); }
.cm-tag.blue { background: var(--c-blue-bg); color: var(--c-blue); }

/* section header row inside mock */
.cm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cm-head .t { font-size: .74rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.cm-seg { display: inline-flex; gap: 3px; background: var(--bg-soft); border-radius: 8px; padding: 3px; }
.cm-seg span { font-size: .56rem; font-weight: 700; color: var(--slate-500); padding: 3px 8px; border-radius: 6px; }
.cm-seg span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* bar chart (growth / revenue) */
.cm-chart { display: flex; align-items: flex-end; gap: 9px; height: 118px; padding-top: 6px; }
.cm-chart .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.cm-chart .col i {
  display: block; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg,#3b82e0,#2563c9);
  transform-origin: bottom; transform: scaleY(1);
}
.cm-chart .col:nth-child(4) i { background: linear-gradient(180deg,#f0a437,var(--accent)); }
.cm-chart .col:nth-child(5) i { background: linear-gradient(180deg,#18b79c,#0f9488); }
.cm-axis { height: 1px; background: var(--border); margin-top: 8px; }

/* line/spark path for growth */
.cm-spark { width: 100%; height: auto; display: block; }
.cm-spark path.area { fill: rgba(216,105,15,.10); }
.cm-spark path.stroke { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }

/* calendar / booking */
.cm-cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.cm-slot { border: 1px solid var(--border); border-radius: 8px; padding: 8px 4px; text-align: center; font-size: .6rem; font-weight: 700; color: var(--slate-500); }
.cm-slot.taken { background: var(--bg-soft); color: var(--slate-400); }
.cm-slot.pick { background: var(--accent); color: #fff; border-color: var(--accent); }

/* big metric (points / counters) */
.cm-metric { text-align: center; padding: 6px 0 2px; }
.cm-metric .n { font-family: var(--display); font-weight: 800; font-size: 2.5rem; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.cm-metric .n small { font-size: 1.1rem; color: var(--accent); }
.cm-metric .l { font-size: .66rem; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }

/* progress checklist (launch) */
.cm-step { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.cm-step .tick { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--c-teal-bg); }
.cm-step .tick .lucide { width: 12px; height: 12px; color: var(--c-teal); }
.cm-step.todo .tick { background: var(--bg-soft); }
.cm-step.todo .tick .lucide { color: var(--slate-400); }
.cm-step .grow .cm-line { width: 70%; }
.cm-progress { height: 6px; border-radius: 4px; background: var(--bg-soft); overflow: hidden; margin-top: 6px; }
.cm-progress i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg,var(--c-teal),#18b79c); }

/* code / integration (development) */
.cm-code { background: var(--navy-900); border-radius: 10px; padding: 12px 14px; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .62rem; line-height: 1.7; }
.cm-code .ln { display: block; white-space: nowrap; overflow: hidden; }
.cm-code .k { color: #f0a437; } .cm-code .s { color: #6fc9b8; } .cm-code .p { color: #8fb4f0; } .cm-code .c { color: #5b6b85; }

/* floating stat chips around the window */
.cm-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 9px 12px;
  box-shadow: 0 12px 26px -12px rgba(16,39,63,.28);
}
.cm-chip .ci { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; }
.cm-chip .ci .lucide { width: 16px; height: 16px; color: #fff; }
.cm-chip .cv { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.cm-chip .cl { font-size: .58rem; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.cm-chip.tl { top: 4%; left: -7%; }
.cm-chip.tr { top: 12%; right: -8%; }
.cm-chip.bl { bottom: 10%; left: -9%; }
.cm-chip.br { bottom: 3%; right: -6%; }
.ci-accent { background: linear-gradient(135deg,#f0a437,var(--accent)); }
.ci-teal { background: linear-gradient(135deg,#18b79c,#0f9488); }
.ci-blue { background: linear-gradient(135deg,#3b82e0,#2563c9); }
.ci-violet { background: linear-gradient(135deg,#8163e0,#6d4bd0); }
.ci-green { background: linear-gradient(135deg,#3bb072,#2f855a); }
.ci-amber { background: linear-gradient(135deg,#f0a437,#e9800f); }
.ci-rose { background: linear-gradient(135deg,#e8637f,#d64a6a); }

/* ---------- motion (opt-in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cmock { animation: cm-rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .cm-chip { animation: cm-float 6s ease-in-out infinite; }
  .cm-chip.tr { animation-delay: -1.5s; }
  .cm-chip.bl { animation-delay: -3s; }
  .cm-chip.br { animation-delay: -4.5s; }
  .cm-chart .col i { animation: cm-grow .9s cubic-bezier(.2,.7,.2,1) both; }
  .cm-chart .col:nth-child(2) i { animation-delay: .08s; }
  .cm-chart .col:nth-child(3) i { animation-delay: .16s; }
  .cm-chart .col:nth-child(4) i { animation-delay: .24s; }
  .cm-chart .col:nth-child(5) i { animation-delay: .32s; }
  .cm-progress i { animation: cm-fill 1.4s cubic-bezier(.3,.7,.2,1) both; }
  .cm-spark path.stroke { stroke-dasharray: 320; stroke-dashoffset: 320; animation: cm-draw 1.8s ease .2s forwards; }
  .cm-slot.pick { animation: cm-pop 2.6s ease-in-out infinite; }
  .cm-live { position: relative; }
  .cm-live::after { content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-teal); box-shadow: 0 0 0 0 rgba(15,148,136,.5); animation: cm-pulse 2s ease-out infinite; }
}
@keyframes cm-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cm-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes cm-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes cm-fill { from { width: 0; } }
@keyframes cm-draw { to { stroke-dashoffset: 0; } }
@keyframes cm-pop { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes cm-pulse { 0% { box-shadow: 0 0 0 0 rgba(15,148,136,.5); } 70% { box-shadow: 0 0 0 8px rgba(15,148,136,0); } 100% { box-shadow: 0 0 0 0 rgba(15,148,136,0); } }

/* keep the mock from crowding the hero on small screens */
@media (max-width: 900px) {
  .cmock-wrap { max-width: 420px; margin-top: 8px; }
  .cm-chip { transform: scale(.92); }
  .cm-chip.tl { left: 0; } .cm-chip.tr { right: 0; } .cm-chip.bl { left: 0; } .cm-chip.br { right: 0; }
}
@media (max-width: 520px) {
  .cmock-wrap { max-width: 100%; }
  .cm-chip.bl, .cm-chip.tl { display: none; }
  .cm-chip.tr { right: 2px; top: 6px; }
  .cm-chip.br { right: 2px; }
}

/* ============================================================
   Platform hero — rotating highlighted word + animated showcase
   (used on the platform overview page; scoped to .platform-hero)
   ============================================================ */
.platform-hero.hero .container { display: block; padding-block: clamp(46px, 6vw, 82px); }
.ph-head { max-width: 860px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.ph-head .label { justify-content: center; }
.ph-title { font-family: var(--display); font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1.22; font-size: clamp(2.3rem, 1.3rem + 4vw, 4rem); margin-top: 16px; text-wrap: balance; }
/* the rotating word sits on its own line; give it clear space from the line above */
.ph-title .wordcycle { margin-top: .12em; }
.ph-head .lead { margin: 18px auto 0; max-width: 58ch; }
.ph-head .btn-row { justify-content: center; margin-top: 26px; }
.ph-models { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 22px; font-size: .82rem; font-weight: 600; color: var(--slate-400); }
.ph-models b { color: var(--slate-500); font-weight: 700; }

/* rotating word */
.wordcycle { display: inline-grid; vertical-align: bottom; }
.wc-word { grid-area: 1 / 1; justify-self: center; opacity: 0; transform: translateY(.34em); transition: opacity .55s var(--ease), transform .55s var(--ease); border-radius: 14px; padding: .02em .18em; white-space: nowrap; }
.wc-word.is-on { opacity: 1; transform: translateY(0); }
.wc-word.w-create { background: var(--c-blue-bg);   color: var(--c-blue); }
.wc-word.w-sell   { background: var(--c-violet-bg); color: var(--c-violet); }
.wc-word.w-ship   { background: var(--c-amber-bg);  color: var(--c-amber); }
.wc-word.w-scale  { background: var(--c-green-bg);  color: var(--c-green); }
@media (prefers-reduced-motion: reduce) { .wc-word { transition: none; } }

/* showcase frame */
.showcase { max-width: 1000px; margin: clamp(34px, 5vw, 58px) auto 0; position: relative; z-index: 1; }
.sc-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.sc-tab { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 8px 15px; font-family: var(--body); font-weight: 600; font-size: .88rem; color: var(--slate-500); cursor: pointer; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.sc-tab .lucide { width: 16px; height: 16px; }
.sc-tab:hover { color: var(--ink); }
.sc-tab.is-on { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow-xs); }
.sc-frame { border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.sc-top { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.sc-top .dot { width: 10px; height: 10px; border-radius: 50%; background: #d7deea; }
.sc-addr { margin-left: 10px; display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--slate-500); background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 4px 12px; }
.sc-addr .lucide { width: 13px; height: 13px; }
.sc-stage { position: relative; min-height: 360px; }
.sc-panel { position: absolute; inset: 0; padding: 22px 24px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.sc-panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }

/* panel: CREATE (store builder) */
.sc-create { display: grid; grid-template-columns: 158px 1fr; gap: 16px; height: 100%; }
.sc-blocks { display: flex; flex-direction: column; gap: 8px; }
.sc-block { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; font-size: .8rem; font-weight: 600; color: var(--slate-700); background: #fff; }
.sc-block .lucide { width: 15px; height: 15px; color: var(--slate-400); }
.sc-block .gr { margin-left: auto; }
.sc-block.on { border-color: var(--c-blue-bd); background: var(--c-blue-bg); color: var(--c-blue); }
.sc-block.on .lucide { color: var(--c-blue); }
.sc-preview { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.sc-pv-top { height: 30px; border-bottom: 1px solid var(--border); background: var(--bg-alt); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.sc-pv-top .cm-line { width: 90px; }
.sc-preview .cm-grid { padding: 14px; gap: 10px; }
.sc-published { position: absolute; top: 34px; right: 36px; display: inline-flex; align-items: center; gap: 6px; background: var(--c-green-bg); color: var(--c-green); border: 1px solid var(--c-green-bd); font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 5px 11px; }
.sc-published .lucide { width: 13px; height: 13px; }

/* panel: SELL (storefront + cart) */
.sc-sell { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; height: 100%; align-content: center; }
.sc-product { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.sc-pimg { height: 150px; background: linear-gradient(135deg, #e8f0fe, #eee9fb); display: grid; place-items: center; }
.sc-pimg .lucide { width: 46px; height: 46px; color: var(--c-blue); }
.sc-pbody { padding: 14px 16px; }
.sc-pname { font-family: var(--display); font-weight: 700; color: var(--ink); }
.sc-prow { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.sc-pprice { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.sc-addcart { display: inline-flex; align-items: center; gap: 7px; background: var(--accent); color: #fff; border: none; border-radius: 9px; padding: 9px 14px; font-weight: 600; font-size: .85rem; }
.sc-addcart .lucide { width: 15px; height: 15px; }
.sc-cart { border: 1px solid var(--border); border-radius: 12px; padding: 16px; align-self: center; }
.sc-cart-h { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: .9rem; }
.sc-cart-h .lucide { width: 16px; height: 16px; }
.sc-cart-h .badge { margin-left: auto; background: var(--accent); color: #fff; border-radius: 999px; font-size: .7rem; padding: 2px 8px; font-weight: 700; }
.sc-citem { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); }
.sc-ci-img { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.sc-ci-img .lucide { width: 16px; height: 16px; }
.sc-citem b { font-size: .82rem; color: var(--ink); font-weight: 600; }
.sc-ci-price { margin-left: auto; font-weight: 700; color: var(--ink); font-size: .82rem; font-family: var(--display); }
.sc-total { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-family: var(--display); font-weight: 800; color: var(--ink); }

/* panel: SHIP (orders) */
.sc-orders { display: flex; flex-direction: column; height: 100%; justify-content: center; }
.sc-order { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-top: 1px solid var(--border); }
.sc-order:first-child { border-top: 0; }
.sc-oav { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.sc-oav .lucide { width: 16px; height: 16px; color: #fff; }
.sc-onum { font-weight: 700; color: var(--ink); font-size: .85rem; }
.sc-ocust { font-size: .76rem; color: var(--slate-500); }
.sc-oamt { margin-left: auto; font-family: var(--display); font-weight: 800; color: var(--ink); font-size: .9rem; }
.sc-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: .66rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; flex: none; }
.sc-pill .lucide { width: 11px; height: 11px; }
.sc-pill.paid    { background: var(--c-blue-bg);  color: var(--c-blue); }
.sc-pill.packed  { background: var(--c-amber-bg); color: var(--c-amber); }
.sc-pill.shipped { background: var(--c-green-bg); color: var(--c-green); }

/* panel: SCALE (analytics) */
.sc-scale { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; height: 100%; align-items: center; }
.sc-big { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.7rem); letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.sc-subm { color: var(--slate-500); font-size: .85rem; margin-top: 9px; }
.sc-up { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; background: var(--c-green-bg); color: var(--c-green); font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 4px 11px; }
.sc-up .lucide { width: 14px; height: 14px; }
.sc-kpis { display: flex; gap: 10px; margin-top: 18px; }
.sc-kpi { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; flex: 1; }
.sc-kpi .k { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.sc-kpi .l { font-size: .72rem; color: var(--slate-500); margin-top: 2px; }
.sc-scale .cm-chart { height: 180px; }
.sc-scale .cm-chart .col > i { transform-origin: bottom; }

/* entrance micro-animations (replay each time a panel activates) */
@keyframes sc-pop  { from { opacity: 0; transform: scale(.9) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes sc-bar  { from { transform: scaleY(.12); } to { transform: scaleY(1); } }
@keyframes sc-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .sc-panel.is-on .cm-grid .cm-tile { animation: sc-pop .5s var(--ease) both; }
  .sc-panel.is-on .cm-grid .cm-tile:nth-child(2) { animation-delay: .05s; }
  .sc-panel.is-on .cm-grid .cm-tile:nth-child(3) { animation-delay: .1s; }
  .sc-panel.is-on .cm-grid .cm-tile:nth-child(4) { animation-delay: .15s; }
  .sc-panel.is-on .cm-grid .cm-tile:nth-child(5) { animation-delay: .2s; }
  .sc-panel.is-on .cm-grid .cm-tile:nth-child(6) { animation-delay: .25s; }
  .sc-panel.is-on .sc-published { animation: sc-pop .5s var(--ease) .3s both; }
  .sc-panel.is-on .sc-citem, .sc-panel.is-on .sc-total, .sc-panel.is-on .sc-cart-h { animation: sc-rise .5s var(--ease) both; }
  .sc-panel.is-on .sc-citem:nth-child(3) { animation-delay: .08s; }
  .sc-panel.is-on .sc-total { animation-delay: .16s; }
  .sc-panel.is-on .sc-order { animation: sc-rise .5s var(--ease) both; }
  .sc-panel.is-on .sc-order:nth-child(2) { animation-delay: .07s; }
  .sc-panel.is-on .sc-order:nth-child(3) { animation-delay: .14s; }
  .sc-panel.is-on .sc-order:nth-child(4) { animation-delay: .21s; }
  .sc-panel.is-on .cm-chart .col > i { animation: sc-bar .7s var(--ease) both; }
  .sc-panel.is-on .cm-chart .col:nth-child(2) > i { animation-delay: .06s; }
  .sc-panel.is-on .cm-chart .col:nth-child(3) > i { animation-delay: .12s; }
  .sc-panel.is-on .cm-chart .col:nth-child(4) > i { animation-delay: .18s; }
  .sc-panel.is-on .cm-chart .col:nth-child(5) > i { animation-delay: .24s; }
  .sc-panel.is-on .sc-big, .sc-panel.is-on .sc-up, .sc-panel.is-on .sc-kpi { animation: sc-rise .5s var(--ease) both; }
  .sc-panel.is-on .sc-up { animation-delay: .12s; }
  .sc-panel.is-on .sc-kpi { animation-delay: .18s; }
}
@media (max-width: 760px) {
  .sc-create { grid-template-columns: 1fr; } .sc-blocks { display: none; }
  .sc-sell, .sc-scale { grid-template-columns: 1fr; }
  .sc-stage { min-height: 420px; }
}

/* ship panel v2 — orders header + animated mouse-action demo */
.sc-shiphead { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sc-sh-title { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: .95rem; }
.sc-sh-count { display: inline-grid; margin-left: auto; }
.sc-sh-count > span { grid-area: 1 / 1; justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.sc-sh-count .lucide { width: 13px; height: 13px; }
.sc-c-before { background: var(--c-amber-bg); color: var(--c-amber); }
.sc-c-after  { background: var(--c-green-bg); color: var(--c-green); opacity: 0; }
.sc-actionwrap { display: inline-grid; justify-items: end; flex: none; }
.sc-actionwrap > .sc-pill { grid-area: 1 / 1; }
.sc-p-after { opacity: 0; }
.sc-target { border-radius: 9px; }

/* click-to-act demo — each panel animates itself (no cursor) */
.sc-after { opacity: 0; }

/* per-panel supporting bits */
.sc-pubwrap { margin-left: auto; display: inline-grid; justify-items: end; align-items: center; }
.sc-pubwrap > * { grid-area: 1 / 1; }
.sc-pubbtn { display: inline-flex; align-items: center; gap: 5px; background: var(--accent); color: #fff; border: none; border-radius: 7px; padding: 4px 10px; font-family: var(--body); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.sc-pubbtn .lucide { width: 12px; height: 12px; }
.sc-pubbadge { display: inline-flex; align-items: center; gap: 5px; background: var(--c-green-bg); color: var(--c-green); border: 1px solid var(--c-green-bd); font-size: .7rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.sc-pubbadge .lucide { width: 12px; height: 12px; }
.sc-cart-h .badge { display: inline-grid; place-items: center; }
.sc-cart-h .badge > span { grid-area: 1 / 1; }
.sc-totwrap { display: inline-grid; justify-items: end; }
.sc-totwrap > span { grid-area: 1 / 1; }
.sc-scale { position: relative; }
.sc-tip { position: absolute; right: 4%; top: 8%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: .82rem; padding: 6px 10px; border-radius: 8px; box-shadow: var(--shadow-md); white-space: nowrap; }
.sc-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }

@keyframes sc-fade-out { to { opacity: 0; } }
@keyframes sc-fade-in  { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .sc-panel.is-on .sc-before, .sc-panel.is-on .sc-p-before, .sc-panel.is-on .sc-c-before { animation: sc-fade-out .45s var(--ease) 1.05s 1 both; }
  .sc-panel.is-on .sc-after,  .sc-panel.is-on .sc-p-after,  .sc-panel.is-on .sc-c-after  { animation: sc-fade-in .55s var(--ease) 1.15s 1 both; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-after, .sc-p-after, .sc-c-after { display: none; }
}

/* ============================================================
   Showcase v2 — scripted product demos (director-driven)
   ============================================================ */
/* JS-driven cursor (moves smoothly to real element positions) */
.sc-cursor { position: absolute; left: 0; top: 0; width: 23px; height: 23px; z-index: 20; pointer-events: none; opacity: 0;
  transition: transform .6s cubic-bezier(.34,.6,.25,1), opacity .3s; filter: drop-shadow(0 3px 6px rgba(16,39,63,.4)); }
.sc-cursor svg { width: 100%; height: 100%; display: block; }
.sc-cursor svg path { fill: var(--ink); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.sc-cursor.clicking::after { content: ""; position: absolute; left: -7px; top: -7px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); opacity: .45; animation: sc-ripple .4s ease-out forwards; }
@keyframes sc-ripple { to { transform: scale(2.2); opacity: 0; } }
.sc-cur-ghost { position: absolute; left: 15px; top: 9px; display: none; padding: 5px 9px; border-radius: 7px; background: #fff; border: 1px solid var(--c-blue-bd); color: var(--c-blue); font-family: var(--body); font-size: .68rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-md); }
.sc-cursor.dragging .sc-cur-ghost { display: block; }

/* CREATE — drag-and-drop builder */
.sc-build { display: grid; grid-template-columns: 186px 1fr; gap: 16px; height: 100%; }
.sc-blocks { display: flex; flex-direction: column; gap: 8px; }
.sc-bhead { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-400); margin-bottom: 2px; }
.sc-block { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; font-size: .79rem; font-weight: 600; color: var(--slate-700); background: #fff; }
.sc-block .lucide { width: 15px; height: 15px; color: var(--slate-400); flex: none; }
.sc-block.bl-drag { border-color: var(--c-blue-bd); background: var(--c-blue-bg); color: var(--c-blue); }
.sc-block.bl-drag .lucide { color: var(--c-blue); }
.sc-block.bl-drag.on { transform: scale(1.02); box-shadow: var(--shadow-md); opacity: .55; transition: transform .2s, opacity .2s; }
.sc-vtoggle { margin-top: auto; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 9px; padding: 10px 11px; font-size: .78rem; font-weight: 600; color: var(--slate-700); }
.tg-vendor { margin-left: auto; width: 34px; height: 19px; border-radius: 999px; background: var(--bg-soft); position: relative; transition: background .3s var(--ease); flex: none; }
.tg-vendor::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs); transition: left .3s var(--ease); }
.tg-vendor.on { background: var(--c-green); }
.tg-vendor.on::after { left: 17px; }
.sc-canvas-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; background: var(--bg-alt); }
.sc-cv-top { height: 30px; border-bottom: 1px solid var(--border); background: #fff; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.sc-cv-top .cm-line { width: 84px; }
.sc-canvas { flex: 1; position: relative; padding: 14px; }
.sc-cv-empty { position: absolute; inset: 14px; border: 2px dashed var(--border-strong); border-radius: 10px; display: grid; place-items: center; color: var(--slate-400); font-size: .82rem; font-weight: 600; transition: opacity .3s; }
.sc-canvas.in .sc-cv-empty { opacity: 0; }
.sc-cv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.sc-canvas.in .sc-cv-grid { opacity: 1; transform: none; }
.sc-pcard { border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: #fff; position: relative; }
.sc-pcard .ph { height: 40px; display: grid; place-items: center; }
.sc-pcard .ph .lucide { width: 18px; height: 18px; color: #fff; }
.sc-pcard .pm { padding: 6px 8px 8px; }
.sc-pcard .price { font-size: .6rem; font-weight: 800; color: var(--ink); margin-top: 5px; }
.vendor-badge { position: absolute; top: 5px; left: 5px; font-size: .52rem; font-weight: 700; color: #fff; background: rgba(27,44,70,.82); border-radius: 5px; padding: 2px 6px; opacity: 0; transform: scale(.8); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.vendor-badge.in { opacity: 1; transform: none; }
.sc-toast { position: absolute; bottom: 16px; left: 50%; transform: translate(-50%, 16px); opacity: 0; display: inline-flex; align-items: center; gap: 7px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; padding: 8px 15px; border-radius: 999px; box-shadow: var(--shadow-lg); transition: opacity .4s var(--ease), transform .4s var(--ease); z-index: 15; }
.sc-toast .lucide { width: 15px; height: 15px; color: #5ee0a8; }
.sc-toast.in { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) { .sc-build { grid-template-columns: 1fr; } .sc-blocks { display: none; } }

/* SELL — multi-channel / multi-currency checkout */
.sc-sell2 { display: grid; grid-template-columns: 186px 1fr; gap: 22px; height: 100%; align-items: center; }
.sc-phone { width: 176px; margin: 0 auto; border: 7px solid #1b2c46; border-radius: 26px; background: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.sc-ph-note { height: 16px; background: #1b2c46; border-radius: 0 0 9px 9px; width: 58px; margin: 0 auto; }
.sc-ph-screen { padding: 11px; }
.sc-ph-img { height: 88px; border-radius: 10px; display: grid; place-items: center; }
.sc-ph-img .lucide { width: 30px; height: 30px; color: #fff; }
.sc-ph-name { font-weight: 700; color: var(--ink); font-size: .78rem; margin-top: 9px; }
.sc-ph-price { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); margin-top: 3px; }
.buy-now { margin-top: 10px; width: 100%; background: var(--accent); color: #fff; border: none; border-radius: 9px; padding: 9px; font-weight: 700; font-size: .8rem; }
.sc-ph-tag { font-size: .6rem; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: .05em; margin-top: 9px; text-align: center; }
.sc-checkout { position: relative; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.sc-co-head { display: flex; align-items: center; gap: 8px; }
.sc-co-title { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: .95rem; }
.gm-row { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; color: var(--slate-500); }
.gm-switch { width: 36px; height: 20px; border-radius: 999px; background: var(--bg-soft); position: relative; transition: background .3s var(--ease); flex: none; }
.gm-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs); transition: left .3s var(--ease); }
.gm-switch.on { background: var(--c-green); }
.gm-switch.on::after { left: 18px; }
.sc-co-line { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--slate-700); }
.sc-co-line b { font-family: var(--display); color: var(--ink); }
.sc-co-total { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1rem; }
.sc-pays { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.pay-badge { border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: .68rem; font-weight: 700; color: var(--slate-500); background: #fff; display: inline-flex; align-items: center; gap: 5px; }
.pay-badge .lucide { width: 13px; height: 13px; }
.pay-badge.pulse { animation: sc-paypulse .7s var(--ease) forwards; }
@keyframes sc-paypulse { 45% { border-color: var(--c-blue); background: var(--c-blue-bg); color: var(--c-blue); transform: scale(1.08); } 100% { border-color: var(--c-blue-bd); background: var(--c-blue-bg); color: var(--c-blue); transform: scale(1); } }
.sell-confirm { position: absolute; inset: -1px; border-radius: 12px; background: rgba(255,255,255,.95); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.sell-confirm.in { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.sell-confirm .ck { width: 52px; height: 52px; border-radius: 50%; background: var(--c-green-bg); display: grid; place-items: center; margin: 0 auto 12px; }
.sell-confirm.in .ck { animation: sc-pop .5s var(--ease) both; }
.sell-confirm .ck .lucide { width: 26px; height: 26px; color: var(--c-green); }
.sell-confirm .cm { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1rem; text-align: center; }
@media (max-width: 760px) { .sc-sell2 { grid-template-columns: 1fr; } .sc-phone { display: none; } }

/* SHIP — order routing */
.sc-ship2 { display: flex; flex-direction: column; gap: 13px; height: 100%; justify-content: center; }
.so-card { border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; background: #fff; }
.so-card-h { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: .85rem; margin-bottom: 6px; }
.so-card-h .lucide { width: 16px; height: 16px; color: var(--c-blue); }
.so-item { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: .78rem; color: var(--slate-700); }
.so-item .vtag { margin-left: auto; font-size: .6rem; font-weight: 700; border-radius: 5px; padding: 2px 7px; }
.so-item .vtag.a { background: var(--c-blue-bg); color: var(--c-blue); }
.so-item .vtag.b { background: var(--c-violet-bg); color: var(--c-violet); }
.so-streams { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stream { border: 1px solid var(--border); border-radius: 11px; padding: 12px; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); position: relative; }
.stream.in { opacity: 1; transform: none; }
.stream::before { content: ""; position: absolute; top: -13px; left: 50%; width: 2px; height: 13px; background: var(--border-strong); }
.stream-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .76rem; color: var(--ink); }
.stream-node { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.stream-node .lucide { width: 14px; height: 14px; color: #fff; }
.stream-flow { display: flex; align-items: center; gap: 8px; margin-top: 11px; font-size: .7rem; font-weight: 600; color: var(--slate-500); }
.stream-arrow { flex: 1; height: 2px; background: linear-gradient(90deg, var(--border-strong), var(--accent)); border-radius: 2px; position: relative; }
.stream-arrow::after { content: ""; position: absolute; right: -1px; top: -3px; border-left: 6px solid var(--accent); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.carrier-label { opacity: 0; transform: scale(.85); transition: opacity .35s var(--ease), transform .35s var(--ease); display: inline-flex; align-items: center; gap: 5px; font-size: .66rem; font-weight: 700; border-radius: 7px; padding: 4px 9px; border: 1px solid; white-space: nowrap; }
.carrier-label .lucide { width: 12px; height: 12px; }
.carrier-label.in { opacity: 1; transform: none; }
.carrier-label.dhl { background: #fff6df; color: #a9780a; border-color: #f0dca0; }
.carrier-label.fedex { background: #efeafe; color: var(--c-violet); border-color: var(--c-violet-bd); }
.so-track { border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; }
.so-track-steps { display: flex; justify-content: space-between; margin-bottom: 9px; }
.track-step { font-size: .68rem; font-weight: 700; color: var(--slate-400); display: flex; align-items: center; gap: 6px; transition: color .3s; }
.track-step .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bg-soft); border: 2px solid var(--border-strong); transition: all .3s; }
.track-step.on { color: var(--accent-dark); }
.track-step.on .dot { background: var(--accent); border-color: var(--accent); }
.track-step.done { color: var(--c-green); }
.track-step.done .dot { background: var(--c-green); border-color: var(--c-green); }
.so-track-bar { height: 6px; border-radius: 4px; background: var(--bg-soft); overflow: hidden; }
.track-fill { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #3bb072, var(--c-green)); transition: width .6s var(--ease); }

/* SCALE — analytics + payouts */
.sc-scale2 { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; height: 100%; }
.sc-sc-head { display: flex; align-items: center; gap: 10px; }
.sc-metric-badge { border: 1px solid var(--border); border-radius: 9px; padding: 7px 11px; }
.sc-metric-badge .k { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.05rem; line-height: 1; }
.sc-metric-badge .l { font-size: .64rem; color: var(--slate-500); font-weight: 600; margin-top: 3px; }
.sc-timefilter { margin-left: auto; display: inline-flex; gap: 3px; background: var(--bg-soft); border-radius: 8px; padding: 3px; }
.sc-timefilter button { border: none; background: transparent; font-family: var(--body); font-size: .7rem; font-weight: 700; color: var(--slate-500); padding: 5px 11px; border-radius: 6px; cursor: pointer; }
.sc-timefilter button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.rev-wrap { border: 1px solid var(--border); border-radius: 11px; overflow: hidden; padding: 4px; min-height: 120px; }
.rev-svg { width: 100%; height: 100%; display: block; }
.rev-svg .area { fill: url(#revgrad); opacity: 0; transition: opacity .6s var(--ease); }
.rev-svg.in .area { opacity: 1; }
.rev-svg .line { fill: none; stroke: var(--c-green); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 640; stroke-dashoffset: 640; transition: stroke-dashoffset 1.2s var(--ease); }
.rev-svg.in .line { stroke-dashoffset: 0; }
.sc-payout { border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; }
.sc-payout-h { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; font-weight: 700; color: var(--ink); margin-bottom: 9px; }
.sc-payout-h .earn { font-family: var(--display); color: var(--c-green); }
.payout-bar { display: flex; height: 24px; border-radius: 7px; overflow: hidden; background: var(--bg-soft); }
.payout-bar .seg { display: grid; place-items: center; font-size: .64rem; font-weight: 700; color: #fff; width: 0; transition: width .85s var(--ease); white-space: nowrap; overflow: hidden; }
.payout-bar.in .seg.vend { width: 80%; }
.payout-bar.in .seg.plat { width: 20%; }
.payout-bar .vend { background: linear-gradient(90deg, #3bb072, #2f855a); }
.payout-bar .plat { background: linear-gradient(90deg, #f0a437, var(--accent)); }

/* ---------- "easy steps" — bold numbered process ---------- */
.easy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 10px; }
.estep { position: relative; text-align: center; padding: 0 20px; }
.estep-num { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.65rem; color: #fff; background: linear-gradient(140deg, #ef9436, var(--accent-dark)); box-shadow: 0 12px 26px -8px rgba(216,105,15,.6); position: relative; z-index: 2; }
.estep-num .estep-ic { position: absolute; bottom: -6px; right: -6px; width: 27px; height: 27px; border-radius: 8px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.estep-num .estep-ic .lucide { width: 15px; height: 15px; }
.estep:nth-child(1) .estep-ic .lucide { color: var(--c-blue); }
.estep:nth-child(2) .estep-ic .lucide { color: var(--c-teal); }
.estep:nth-child(3) .estep-ic .lucide { color: var(--c-green); }
/* dashed flow connector between the number circles */
.estep:not(:last-child)::after { content: ""; position: absolute; top: 29px; left: calc(50% + 46px); width: calc(100% - 92px); height: 2px; z-index: 0; background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 13px); }
.estep:not(:last-child)::before { content: ""; position: absolute; top: 25px; left: calc(150% - 48px); z-index: 1; border-left: 7px solid var(--border-strong); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.estep h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: 7px; }
.estep p { font-size: var(--fs-sm); color: var(--slate-500); max-width: 30ch; margin: 0 auto; line-height: 1.6; }
@media (prefers-reduced-motion: no-preference) { .estep-num { animation: sc-pop .5s var(--ease) both; } .estep:nth-child(2) .estep-num { animation-delay: .1s; } .estep:nth-child(3) .estep-num { animation-delay: .2s; } }
@media (max-width: 720px) { .easy-steps { grid-template-columns: 1fr; gap: 28px; } .estep:not(:last-child)::after, .estep:not(:last-child)::before { display: none; } }


/* ── Feature-spotlight visuals: booking calendar + vendor board ───────── */
.bkcal { display: flex; flex-direction: column; gap: 8px; }
.bkcal .row { display: flex; align-items: center; gap: 12px; }
.bkcal .t { width: 48px; flex: none; font-family: var(--display); font-weight: 700; font-size: .8rem; color: var(--slate-500); }
.bkcal .slot { flex: 1; display: flex; align-items: center; gap: 8px; border-radius: 9px; padding: 10px 13px; font-size: .84rem; font-weight: 600; }
.bkcal .slot .lucide { width: 15px; height: 15px; }
.bkcal .slot.booked { background: var(--c-blue-bg); color: var(--c-blue); border: 1px solid var(--c-blue-bd); }
.bkcal .slot.bookv { background: var(--c-teal-bg); color: var(--c-teal); border: 1px solid var(--c-teal-bd); }
.bkcal .slot.free { background: var(--bg-soft); color: var(--slate-500); border: 1px dashed var(--border-strong); }
.vboard { display: flex; flex-direction: column; gap: 9px; }
.vboard .vrow { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 11px; background: #fff; }
.vboard .vav { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: .9rem; }
.vboard .vname { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--ink); }
.vboard .vsub { font-size: .74rem; color: var(--slate-500); }
.vboard .vstat { margin-left: auto; text-align: right; }
.vboard .vstat .k { font-family: var(--display); font-weight: 800; font-size: .95rem; color: var(--ink); }
.vboard .vstat .l { font-size: .68rem; color: var(--slate-500); }


/* ══ Marketplace tab mockups ══════════════════════════════════════════ */
.mmk { position: relative; height: 100%; min-height: 366px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.mmk .top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.mmk .top .d { width: 8px; height: 8px; border-radius: 50%; background: #d5dce8; }
.mmk .top .lbl { margin-left: auto; font-size: .66rem; font-weight: 800; letter-spacing: .04em; color: var(--slate-500); text-transform: uppercase; }
.mmk .bd { padding: 16px; }
.mmk b, .mmk strong { font-family: var(--display); }
.mmk .cur { position: absolute; z-index: 40; width: 19px; height: 19px; background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316273f' stroke='white' stroke-width='1.5'%3E%3Cpath d='M5 2l15 8-6 2-3 6z'/%3E%3C/svg%3E"); filter: drop-shadow(0 2px 3px rgba(0,0,0,.28)); }
.mmk .rip { position: absolute; z-index: 39; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); opacity: 0; margin: -13px 0 0 -13px; }
@media (prefers-reduced-motion: reduce) { .mmk *, .mmk .cur, .mmk .rip { animation: none !important; opacity: 1 !important; } }

/* 1 · PRODUCT — bulk catalog + variants */
.mmk-pr .bd { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.pr-row { display: flex; align-items: center; gap: 9px; padding: 8px 6px; border-bottom: 1px solid var(--border); font-size: .78rem; }
.pr-row .cb { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--border-strong); flex: none; display: grid; place-items: center; color: #fff; }
.pr-row .cb::after { content: "\2713"; font-size: 10px; opacity: 0; }
.pr-row .nm { color: var(--ink); font-weight: 600; }
.pr-row .pc { margin-left: auto; font-family: var(--display); font-weight: 700; color: var(--ink); border-radius: 5px; padding: 2px 6px; }
.pr-var { border: 1px solid var(--border); border-radius: 10px; padding: 12px; background: var(--bg-soft); }
.pr-var .vh { font-size: .7rem; font-weight: 800; color: var(--slate-500); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 9px; }
.pr-var .vg { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 9px; }
.pr-var .vg > span { font-size: .68rem; color: var(--slate-500); width: 40px; }
.pr-var .vg b { font-size: .68rem; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 3px 9px; }
.pr-bulk { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; background: var(--navy-800); color: #fff; border-radius: 10px; padding: 9px 12px; transform: translateY(18px); opacity: 0; animation: pr-bulk 4.5s .8s infinite; }
.pr-bulk span { font-size: .74rem; font-weight: 700; }
.pr-bulk button { margin-left: auto; font-size: .72rem; font-weight: 700; background: var(--accent); color: #fff; border: none; border-radius: 7px; padding: 6px 11px; }
.mmk-pr .cb { animation: pr-check 4.5s infinite; }
.mmk-pr .r2 .cb { animation-delay: .1s } .mmk-pr .r3 .cb { animation-delay: .2s } .mmk-pr .r4 .cb { animation-delay: .3s }
.mmk-pr .pc { animation: pr-pulse 4.5s 1.9s infinite; }
@keyframes pr-check { 0%,6% { background: #fff; } 12%,100% { background: var(--c-green); border-color: var(--c-green); } }
.mmk-pr .cb::after { animation: pr-tick 4.5s infinite; }
@keyframes pr-tick { 0%,8% { opacity: 0 } 14%,100% { opacity: 1 } }
@keyframes pr-bulk { 0%,10% { transform: translateY(18px); opacity: 0 } 20%,90% { transform: translateY(0); opacity: 1 } 100% { transform: translateY(18px); opacity: 0 } }
@keyframes pr-pulse { 0%,38% { background: transparent; color: var(--ink) } 46% { background: var(--c-green-bg); color: var(--c-green) } 70%,100% { background: transparent; color: var(--ink) } }
/* 2 · SERVICES — provider profile -> milestones */
.serv-card { display: flex; align-items: center; gap: 11px; border: 1px solid var(--border); border-radius: 11px; padding: 12px; }
.serv-card .av { width: 42px; height: 42px; border-radius: 10px; background: var(--c-violet-bg); color: var(--c-violet); display: grid; place-items: center; flex: none; }
.serv-card .nm { font-weight: 700; color: var(--ink); font-size: .84rem; }
.serv-card .st { font-size: .7rem; color: var(--c-amber); } .serv-card .rt { font-size: .7rem; color: var(--slate-500); }
.serv-card .rq { margin-left: auto; font-size: .7rem; font-weight: 700; color: #fff; background: var(--accent); border-radius: 7px; padding: 6px 10px; }
.serv-steps { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.serv-step { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; opacity: 0; transform: translateY(8px); }
.serv-step .n { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: .72rem; background: var(--bg-soft); color: var(--slate-500); }
.serv-step .t { font-size: .78rem; font-weight: 600; color: var(--ink); }
.serv-step .badge { margin-left: auto; font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; }
.serv-step.done .n { background: var(--c-green); color: #fff; } .serv-step.done .badge { background: var(--c-green-bg); color: var(--c-green); }
.serv-step.prog .n { background: var(--c-blue); color: #fff; } .serv-step.prog .badge { background: var(--c-blue-bg); color: var(--c-blue); }
.mmk-se .s1 { animation: se-in 5s .3s infinite; } .mmk-se .s2 { animation: se-in 5s .7s infinite; } .mmk-se .s3 { animation: se-in 5s 1.1s infinite; }
@keyframes se-in { 0%,4% { opacity: 0; transform: translateY(8px) } 14%,92% { opacity: 1; transform: translateY(0) } 100% { opacity: 0; transform: translateY(8px) } }
/* 3 · BOOKING — calendar + confirmation toast */
.bk-cal2 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-cal2 .dh { font-size: .58rem; color: var(--slate-500); text-align: center; font-weight: 700; }
.bk-cal2 .dd { aspect-ratio: 1; display: grid; place-items: center; font-size: .68rem; border-radius: 7px; color: var(--ink); }
.bk-cal2 .dd.on { background: var(--accent); color: #fff; font-weight: 800; }
.bk-cal2 .dd.mut { color: #c2cbdb; }
.bk-slots { margin-top: 12px; display: flex; gap: 7px; }
.bk-slots .sl { flex: 1; text-align: center; font-size: .72rem; font-weight: 700; border: 1px solid var(--border); border-radius: 8px; padding: 8px 0; color: var(--slate-500); opacity: 0; transform: translateY(8px); }
.bk-slots .sl.pick { border-color: var(--c-blue); background: var(--c-blue-bg); color: var(--c-blue); }
.bk-toast { margin-top: 12px; display: flex; align-items: center; gap: 10px; background: var(--navy-800); color: #fff; border-radius: 10px; padding: 10px 12px; transform: translateX(16px); opacity: 0; }
.bk-toast .ic { width: 26px; height: 26px; border-radius: 7px; background: var(--c-green); display: grid; place-items: center; flex: none; }
.bk-toast b { font-size: .74rem; display: block; } .bk-toast small { font-size: .64rem; color: #aeb9cc; }
.mmk-bk .sl { animation: bk-slot 6s infinite; } .mmk-bk .s2 { animation-delay: .1s } .mmk-bk .s3 { animation-delay: .2s }
@keyframes bk-slot { 0%,10% { opacity: 0; transform: translateY(8px) } 22%,100% { opacity: 1; transform: translateY(0) } }
.mmk-bk .s2 { animation-name: bk-slot-pick; }
@keyframes bk-slot-pick { 0%,10% { opacity: 0; transform: translateY(8px) } 22%,44% { opacity: 1; transform: translateY(0); border-color: var(--border); background: #fff; color: var(--slate-500) } 52%,100% { opacity: 1; transform: translateY(0); border-color: var(--c-blue); background: var(--c-blue-bg); color: var(--c-blue) } }
.mmk-bk .bk-toast { animation: bk-toast 6s infinite; }
@keyframes bk-toast { 0%,60% { opacity: 0; transform: translateX(16px) } 70%,94% { opacity: 1; transform: translateX(0) } 100% { opacity: 0; transform: translateX(16px) } }
/* 4 · B2B — tiered pricing + credit terms */
.b2-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.b2-item .ph { width: 40px; height: 40px; border-radius: 9px; background: var(--c-blue-bg); color: var(--c-blue); display: grid; place-items: center; flex: none; }
.b2-item .nm { font-weight: 700; color: var(--ink); font-size: .82rem; } .b2-item .qty { margin-left: auto; text-align: right; }
.b2-item .qty .k { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.1rem; } .b2-item .qty .l { font-size: .62rem; color: var(--slate-500); }
.b2-tier { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.b2-tier .tr { display: flex; justify-content: space-between; padding: 8px 12px; font-size: .74rem; border-bottom: 1px solid var(--border); }
.b2-tier .tr:last-child { border-bottom: none; }
.b2-tier .tr span { color: var(--slate-500); } .b2-tier .tr b { color: var(--ink); font-weight: 700; }
.b2-tier .tr.hi { background: var(--c-green-bg); } .b2-tier .tr.hi span, .b2-tier .tr.hi b { color: var(--c-green); }
.b2-terms { margin-top: 11px; display: flex; align-items: center; gap: 8px; }
.b2-terms .btn2 { font-size: .7rem; font-weight: 700; color: #fff; background: var(--accent); border-radius: 7px; padding: 7px 10px; }
.b2-terms .net { font-size: .66rem; font-weight: 700; padding: 4px 9px; border-radius: 20px; background: var(--c-teal-bg); color: var(--c-teal); opacity: 0; }
.mmk-b2 .b2-tier .r3 { animation: b2-hi 5.5s infinite; }
@keyframes b2-hi { 0%,40% { background: #fff } 48%,100% { background: var(--c-green-bg) } }
.mmk-b2 .b2-tier .r3 span, .mmk-b2 .b2-tier .r3 b { animation: b2-hi-t 5.5s infinite; }
@keyframes b2-hi-t { 0%,40% { color: var(--slate-500) } 48%,100% { color: var(--c-green) } }
.mmk-b2 .qk { animation: b2-qty 5.5s infinite; }
@keyframes b2-qty { 0%,14% { opacity: 0 } 22%,100% { opacity: 1 } }
.mmk-b2 .qk .a { position: absolute; } .mmk-b2 .qk { position: relative; }
.mmk-b2 .net { animation: b2-net 5.5s infinite; } .mmk-b2 .n2 { animation-delay: .12s }
@keyframes b2-net { 0%,66% { opacity: 0; transform: translateY(4px) } 76%,100% { opacity: 1; transform: translateY(0) } }
/* 5 · DIGITAL — license + download */
.dg-buy { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; margin-bottom: 12px; }
.dg-buy .nm { font-weight: 700; color: var(--ink); font-size: .82rem; } .dg-buy .pl { font-size: .66rem; color: var(--slate-500); }
.dg-buy .go { margin-left: auto; font-size: .7rem; font-weight: 700; color: #fff; background: var(--accent); border-radius: 7px; padding: 7px 11px; }
.dg-vault { border: 1px dashed var(--c-green-bd); background: var(--c-green-bg); border-radius: 10px; padding: 12px; opacity: 0; transform: translateY(8px); }
.dg-vault .vh { font-size: .68rem; font-weight: 800; color: var(--c-green); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 9px; display: flex; align-items: center; gap: 6px; }
.dg-key { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
.dg-key code { font-family: var(--mono, ui-monospace, monospace); font-size: .8rem; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.dg-key .cp { margin-left: auto; font-size: .62rem; font-weight: 700; color: var(--c-blue); background: var(--c-blue-bg); border-radius: 6px; padding: 4px 8px; }
.dg-dl { margin-top: 9px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; }
.dg-dl .row { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.dg-dl .bar { height: 6px; border-radius: 4px; background: var(--bg-soft); overflow: hidden; }
.dg-dl .bar i { display: block; height: 100%; width: 0; background: var(--c-green); border-radius: 4px; }
.mmk-dg .dg-vault { animation: dg-vault 5.5s infinite; }
@keyframes dg-vault { 0%,22% { opacity: 0; transform: translateY(8px) } 34%,100% { opacity: 1; transform: translateY(0) } }
.mmk-dg .dg-key code { animation: dg-key 5.5s infinite; }
@keyframes dg-key { 0%,30% { opacity: 0; filter: blur(3px) } 44%,100% { opacity: 1; filter: blur(0) } }
.mmk-dg .dg-dl .bar i { animation: dg-bar 5.5s infinite; }
@keyframes dg-bar { 0%,44% { width: 0 } 82%,100% { width: 100% } }

/* JS-driven cursor */
.mmk .cur { transition: left .7s cubic-bezier(.4,0,.2,1), top .7s cubic-bezier(.4,0,.2,1); opacity: 1; left: 18px; top: 34px; }
@keyframes mmk-rip { from { opacity: .5; transform: scale(.35); } to { opacity: 0; transform: scale(1.7); } }

/* ---- IXXO ecosystem visual (homepage POS section) ---- */
.ecosys { display: flex; flex-direction: column; gap: 12px; max-width: 400px; margin-inline: auto; }
.ecosys-node { display: flex; align-items: center; gap: 15px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 20px; box-shadow: 0 12px 28px -18px rgba(16, 24, 40, .28); }
.ecosys-node .ic { flex: none; }
.ecosys-node h4 { font-family: var(--display); font-size: 1.02rem; font-weight: 600; margin: 0; color: var(--ink); letter-spacing: -.01em; }
.ecosys-node p { font-size: .86rem; color: var(--slate-500); margin: 3px 0 0; }
.ecosys-node.is-pos { border-color: var(--accent); box-shadow: 0 16px 34px -18px rgba(216, 105, 15, .45); }
.ecosys-link { align-self: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--border); color: var(--accent); display: grid; place-items: center; margin: -6px 0; }
.ecosys-link .lucide { width: 15px; height: 15px; }
