/**
 * OpsIQ — the Commerce band on /solutions.
 *
 * @package   OpsIQ
 * @author    Nabtech Digitalnet Limited
 * @copyright Copyright (c) 2026 Nabtech Digitalnet Limited. All rights reserved.
 * @license   Proprietary Commercial Licence (see LICENCE)
 *
 * Deliberately its OWN stylesheet rather than another block inside
 * solutions.php's inline <style>: a second session is editing that file's
 * eCommerce case and its inline styles at the same time, and two sessions
 * appending to one <style> block is how an edit gets clobbered.
 *
 * WHY THIS SECTION LOOKS DIFFERENT FROM EVERYTHING ABOVE IT.
 * /solutions is a run of light "open case" blocks, each answering "OpsIQ
 * understands the system you already run". This one answers the opposite
 * question — OpsIQ can BE the system — so it is the page's only full-bleed
 * dark band: a lit room with the shop standing in it. The cadence break is
 * the argument.
 *
 * Hardware (laptop, phone, room, window frame, float cards) comes from
 * opsiq-commerce-devices.css. This sheet only builds the room around it.
 */

/* ============================================================= *
 * 1. THE BAND
 * ============================================================= */
.op-sol-commerce{
  position:relative;isolation:isolate;overflow:clip;
  padding:clamp(72px,9vw,132px) 0 clamp(64px,8vw,116px);
  color:#eef4ff;
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%,rgba(118,87,248,.34),transparent 62%),
    radial-gradient(circle at 12% 84%,rgba(11,187,212,.24),transparent 40%),
    radial-gradient(circle at 88% 74%,rgba(35,130,239,.26),transparent 40%),
    linear-gradient(162deg,#060f22 0%,#0b1733 46%,#140f38 100%);
}
/* Melt the band into the light sections on either side, top and bottom. */
.op-sol-commerce::before{
  content:"";position:absolute;left:-12%;right:-12%;top:-120px;height:230px;
  border-radius:50%;z-index:0;pointer-events:none;
  background:radial-gradient(ellipse at 50% 100%,rgba(247,249,255,.95),rgba(247,249,255,0) 70%);
}
.op-sol-commerce::after{
  content:"";position:absolute;left:-12%;right:-12%;bottom:-130px;height:240px;
  border-radius:50%;z-index:0;pointer-events:none;
  background:radial-gradient(ellipse at 50% 0,rgba(247,249,255,.95),rgba(247,249,255,0) 70%);
}
.op-sol-commerce>.op-container{position:relative;z-index:2}

/* A blueprint grid, fading out before the edges. */
.op-sol-commerce-grid-bg{
  position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.5;
  background-image:
    linear-gradient(rgba(150,180,255,.12) 1px,transparent 1px),
    linear-gradient(90deg,rgba(150,180,255,.12) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(ellipse at 50% 38%,#000 6%,transparent 72%);
  mask-image:radial-gradient(ellipse at 50% 38%,#000 6%,transparent 72%);
}
/* Two slow glow orbs in different hues. */
.op-sol-commerce-orb{position:absolute;border-radius:50%;filter:blur(90px);pointer-events:none;z-index:0}
.op-sol-commerce-orb.a{width:620px;height:620px;top:-180px;left:-160px;background:rgba(118,87,248,.34)}
.op-sol-commerce-orb.b{width:560px;height:560px;bottom:-200px;right:-150px;background:rgba(11,187,212,.28)}

/* ============================================================= *
 * 2. THE HEAD
 * ============================================================= */
.op-sol-commerce-head{max-width:860px;margin:0 auto;text-align:center}
.op-sol-commerce-head .op-kicker{
  display:inline-flex;align-items:center;gap:8px;
  color:#9fd4ff;background:rgba(150,200,255,.1);
  border:1px solid rgba(150,200,255,.22);padding:8px 16px;border-radius:999px;
}
.op-sol-commerce-head h2{
  font-size:clamp(34px,5vw,66px);line-height:1.02;letter-spacing:-.035em;font-weight:900;
  margin:18px 0 18px;color:#fff;text-wrap:balance;
}
.op-sol-commerce-head h2 em{
  font-style:normal;
  background:linear-gradient(100deg,#61b6ff,#25d7e8 42%,#a98cff 72%,#f07ae0);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.op-sol-commerce-head p{
  max-width:64ch;margin:0 auto;font-size:clamp(15.5px,1.4vw,18.5px);
  line-height:1.62;color:#b9c9e6;text-wrap:pretty;
}

/* ============================================================= *
 * 3. THE STAGE — the shop standing on a lit floor
 * ============================================================= */
.op-sol-commerce-stage{
  position:relative;display:grid;place-items:center;isolation:isolate;
  margin:clamp(40px,5.4vw,78px) auto clamp(52px,6vw,88px);
  padding-bottom:clamp(44px,5vw,78px);
  max-width:1000px;perspective:1700px;
}
.op-sol-commerce-stage .cm-hero-duo{width:min(100%,940px)}
.op-sol-commerce-stage .cm-hero-phone{right:-30px;bottom:-54px}
.op-sol-commerce-stage .cm-hero-phone .cm-phone{width:246px}
.op-sol-commerce-stage .cm-float.a{top:1%;left:-2%}
.op-sol-commerce-stage .cm-float.b{bottom:12%;right:-2%}
.op-sol-commerce-stage .cm-float.c{bottom:-2%;left:8%}

/* The floor the machine stands on: a receding grid plus a pool of light. */
.op-sol-commerce-floor{
  position:absolute;left:50%;bottom:-10px;width:170%;height:300px;translate:-50% 0;
  z-index:-2;pointer-events:none;opacity:.42;
  background-image:
    linear-gradient(rgba(140,180,255,.5) 1px,transparent 1px),
    linear-gradient(90deg,rgba(140,180,255,.5) 1px,transparent 1px);
  background-size:70px 70px;
  transform:rotateX(76deg);transform-origin:50% 100%;
  -webkit-mask-image:linear-gradient(to top,#000,transparent 76%);
  mask-image:linear-gradient(to top,#000,transparent 76%);
}
.op-sol-commerce-pool{
  position:absolute;left:50%;bottom:6px;width:120%;height:220px;translate:-50% 0;
  z-index:-3;pointer-events:none;filter:blur(40px);
  background:
    radial-gradient(ellipse at 50% 20%,rgba(118,87,248,.4),transparent 62%),
    radial-gradient(ellipse at 22% 34%,rgba(11,187,212,.3),transparent 60%),
    radial-gradient(ellipse at 78% 34%,rgba(35,130,239,.3),transparent 60%);
}

/* ============================================================= *
 * 4. THE TWO ANSWERS — the argument of the section, as two panels
 * ============================================================= */
.op-sol-commerce-fork{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch;
  gap:clamp(16px,2.4vw,32px);margin-bottom:clamp(30px,4vw,52px);
}
.op-sol-commerce-side{
  position:relative;padding:clamp(24px,2.6vw,36px);border-radius:24px;overflow:hidden;
  background:linear-gradient(150deg,rgba(255,255,255,.1),rgba(255,255,255,.035));
  border:1px solid rgba(150,180,255,.2);
  box-shadow:0 30px 80px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.1);
  transition:transform .42s cubic-bezier(.16,.84,.34,1),border-color .42s ease,box-shadow .42s ease;
}
.op-sol-commerce-side::before{
  content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,#2382ef,#0bbbd4,#7657f8);
  transform:scaleX(0);transform-origin:0 50%;transition:transform .55s cubic-bezier(.16,.84,.34,1);
}
.op-sol-commerce-side.is-b::before{background:linear-gradient(90deg,#10b981,#0bbbd4,#2382ef)}
.op-sol-commerce-side:hover{
  transform:translateY(-7px);border-color:rgba(120,190,255,.46);
  box-shadow:0 44px 110px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.14);
}
.op-sol-commerce-side:hover::before{transform:scaleX(1)}
.op-sol-commerce-side>span{
  display:inline-flex;align-items:center;gap:8px;padding:6px 13px;border-radius:999px;
  font-size:11px;font-weight:950;letter-spacing:.11em;text-transform:uppercase;
  color:#8fe3ff;background:rgba(11,187,212,.16);border:1px solid rgba(11,187,212,.3);
}
.op-sol-commerce-side.is-b>span{color:#8ff0c8;background:rgba(16,185,129,.16);border-color:rgba(16,185,129,.3)}
.op-sol-commerce-side h3{
  font-size:clamp(21px,2.3vw,29px);font-weight:900;letter-spacing:-.022em;
  margin:15px 0 11px;color:#fff;text-wrap:balance;
}
.op-sol-commerce-side>p{margin:0 0 18px;font-size:15px;line-height:1.62;color:#b9c9e6;text-wrap:pretty}
.op-sol-commerce-side ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}
/* A LIST ROW IS A BLOCK, NOT A GRID.
 * A grid row makes the <b> lead-in one cell and the sentence after it another,
 * so the prose ends up in a narrow implicit column one word per line. The tick
 * comes out of flow as a ::before and the text simply flows around the indent. */
.op-sol-commerce-side li{
  display:block;position:relative;padding-left:32px;
  font-size:14px;line-height:1.58;color:#c4d2ec;text-wrap:pretty;
}
.op-sol-commerce-side li::before{
  content:"";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:7px;
  background:linear-gradient(135deg,rgba(11,187,212,.3),rgba(118,87,248,.3));
  border:1px solid rgba(150,200,255,.3);
}
.op-sol-commerce-side li::after{
  content:"";position:absolute;left:6px;top:7px;width:7px;height:4px;
  border-left:2px solid #8fe3ff;border-bottom:2px solid #8fe3ff;
  transform:rotate(-45deg);
}
.op-sol-commerce-side.is-b li::before{
  background:linear-gradient(135deg,rgba(16,185,129,.3),rgba(11,187,212,.3));
  border-color:rgba(140,240,200,.34);
}
.op-sol-commerce-side.is-b li::after{border-left-color:#8ff0c8;border-bottom-color:#8ff0c8}
.op-sol-commerce-side li b{color:#eef4ff;font-weight:800}

/* The seam between the two answers. */
.op-sol-commerce-or{
  display:grid;place-items:center;position:relative;min-width:56px;
}
.op-sol-commerce-or::before,.op-sol-commerce-or::after{
  content:"";width:1px;flex:1;background:linear-gradient(180deg,transparent,rgba(150,180,255,.34),transparent);
}
.op-sol-commerce-or span{
  display:grid;place-items:center;width:54px;height:54px;border-radius:50%;
  font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:#cfe2ff;
  background:rgba(12,22,48,.9);border:1px solid rgba(150,180,255,.28);
  box-shadow:0 0 0 10px rgba(12,22,48,.45);
}

/* ============================================================= *
 * 5. THE FIGURES + CTA
 * ============================================================= */
.op-sol-commerce-figs{
  display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:clamp(26px,3vw,38px);
}
.op-sol-commerce-figs span{
  display:inline-flex;align-items:baseline;gap:9px;padding:12px 20px;border-radius:999px;
  font-size:13.5px;font-weight:800;color:#c4d2ec;
  background:rgba(255,255,255,.06);border:1px solid rgba(150,180,255,.2);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  transition:transform .34s cubic-bezier(.16,.84,.34,1),border-color .34s ease;
}
.op-sol-commerce-figs span:hover{transform:translateY(-4px);border-color:rgba(120,190,255,.46)}
.op-sol-commerce-figs b{
  font-size:20px;font-weight:950;
  background:linear-gradient(100deg,#61b6ff,#25d7e8 52%,#a98cff);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.op-sol-commerce-cta{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.op-sol-commerce .op-btn{position:relative;overflow:hidden;transition:transform .34s cubic-bezier(.16,.84,.34,1)}
.op-sol-commerce .op-btn:hover{transform:translateY(-3px)}
.op-sol-commerce .op-btn::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(108deg,transparent 30%,rgba(255,255,255,.38) 48%,transparent 66%);
  transform:translateX(-130%);
}
.op-sol-commerce .op-btn:hover::after{transform:translateX(130%);transition:transform .8s cubic-bezier(.22,.7,.3,1)}
/* The band is dark whatever the page theme is, so the ghost button needs
   its own treatment rather than the light-page default. */
.op-sol-commerce .op-btn:not(.op-btn-glow){
  color:#eef4ff;background:rgba(255,255,255,.08);border:1px solid rgba(150,180,255,.3);
}
.op-sol-commerce .op-btn:not(.op-btn-glow):hover{background:rgba(255,255,255,.14)}

/* ============================================================= *
 * 6. RESPONSIVE
 * ============================================================= */
@media(max-width:1080px){
  .op-sol-commerce-stage .cm-hero-phone .cm-phone{width:210px}
  .op-sol-commerce-stage .cm-hero-phone{right:-16px;bottom:-40px}
}
@media(max-width:900px){
  .op-sol-commerce-fork{grid-template-columns:1fr;gap:16px}
  .op-sol-commerce-or{min-height:52px;min-width:0}
  .op-sol-commerce-or::before,.op-sol-commerce-or::after{display:none}
  .op-sol-commerce-stage{perspective:none;padding-bottom:26px;margin-bottom:38px}
  .op-sol-commerce-floor{display:none}
  .op-sol-commerce-stage .cm-float{position:static;margin:12px 0 0;width:100%;animation:none}
}
@media(max-width:680px){
  .op-sol-commerce{padding-top:58px}
  .op-sol-commerce-side{padding:22px}
  .op-sol-commerce-figs span{padding:10px 15px;font-size:12.5px}
  .op-sol-commerce-figs b{font-size:17px}
}
@media (prefers-reduced-motion:reduce){
  .op-sol-commerce .op-btn::after{display:none}
  .op-sol-commerce-side,.op-sol-commerce-figs span{transition:none}
}

/* ============================================================= *
 * 7. THE LINK OUT OF THE EXISTING eCOMMERCE CASE.
 *
 * That case block is another session's surface right now, so the
 * only thing this sheet touches there is the one link this session
 * added to it. `op_icon('arrow')` returns a bare <svg> with no
 * width/height attributes: outside a rule that sizes it, the
 * browser falls back to the default 300x150 replaced-element box
 * and it rendered as a full-width arrow under the paragraph.
 * ============================================================= */
.op-sol-open-copy a.op-prism-link{
  display:inline-flex;align-items:center;gap:8px;
  font-size:15px;font-weight:850;color:#2563eb;text-decoration:none;
  transition:gap .3s cubic-bezier(.16,.84,.34,1),color .3s ease;
}
.op-sol-open-copy a.op-prism-link:hover{gap:12px;color:#1d4ed8}
.op-sol-open-copy a.op-prism-link svg{
  width:18px;height:18px;flex:0 0 auto;
  fill:none;stroke:currentColor;stroke-width:2;
}
:is(html[data-theme="dark"],html[data-opsiq-saas-theme="dark"],html.op-theme-dark) .op-sol-open-copy a.op-prism-link{color:#7fc7ff}
