/* -------------------------------------------------------
   Retail & E-Commerce industry landing page (industries/e-commerce.blade.php).
   Behaviour lives in assets/js/ecommerce-x.js.
   Rules it shares with other landing pages are in landing-x.css.
------------------------------------------------------- */

/* -------------------------------------------------------
   Shared bits
------------------------------------------------------- */

@keyframes lx-sheen {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* -------------------------------------------------------
   Hero
------------------------------------------------------- */

@keyframes lx-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.08); }
  66% { transform: translate(-40px, 70px) scale(0.95); }
}

/* Background delivery routes */

.ec-hero-route,
.ec-cta-route {
  position: absolute;
  left: 0;
  width: 100%;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.ec-hero-route {
  bottom: 9%;
  height: 180px;
  opacity: 0.9;
}

@keyframes lx-ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes lx-ch-in {
  from { opacity: 0; transform: translateY(60%) rotateX(-70deg); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes lx-ch-out {
  to { opacity: 0; transform: translateY(-50%); filter: blur(6px); }
}

.ec-win-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

@keyframes lx-live {
  70% { box-shadow: 0 0 0 8px rgba(34, 163, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 163, 90, 0); }
}

.ec-sales,
.ec-tile {
  position: relative;
  padding: 16px;
  border-radius: 18px;
  background: var(--lx-bg);
  border: 1px solid rgba(41, 45, 54, 0.05);
}

.ec-sales {
  grid-column: 1 / -1;
}

.ec-sales-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ec-sales-head strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lx-ink);
  font-variant-numeric: tabular-nums;
}

.ec-sales-head strong.is-bump {
  animation: lx-bump 0.6s var(--lx-spring);
}

@keyframes lx-bump {
  40% { color: var(--lx-teal); transform: scale(1.05); }
}

.ec-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lx-ok);
  background: rgba(34, 163, 90, 0.14);
}

.ec-spark {
  display: block;
  width: 100%;
  height: 74px;
  margin-top: 10px;
  overflow: visible;
}

.ec-spark-area {
  fill: url(#ec-spark-grad);
  opacity: 0;
  transition: opacity 1.2s ease 1.2s;
}

.ec-spark-line {
  fill: none;
  stroke: var(--lx-teal);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 4px 6px rgba(221, 101, 49, 0.35));
  transition: stroke-dashoffset 1.8s var(--lx-ease) 0.5s;
}

.ec-spark-dot {
  fill: #fff;
  stroke: var(--lx-teal);
  stroke-width: 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.4s ease 2.1s;
  animation: lx-dot 1.8s ease-in-out infinite;
}

@keyframes lx-dot {
  50% { transform: scale(1.4); }
}

.ec-ready .ec-spark-line {
  stroke-dashoffset: 0;
}

.ec-ready .ec-spark-area,
.ec-ready .ec-spark-dot {
  opacity: 1;
}

/* Channel split ring */

.ec-ring-tile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
}

.ec-ring-box {
  position: relative;
}

.ec-ring {
  display: block;
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
}

.ec-ring circle {
  fill: none;
  stroke-width: 12;
}

.ec-ring-track {
  stroke: rgba(41, 45, 54, 0.06);
}

.ec-ring-online,
.ec-ring-store {
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.6s var(--lx-ease) 0.7s;
}

.ec-ring-online {
  stroke: url(#ec-ring-grad);
}

.ec-ring-store {
  stroke: var(--lx-ink);
  stroke-dashoffset: -62;
}

.ec-ready .ec-ring-online {
  stroke-dasharray: 60 100;
}

.ec-ready .ec-ring-store {
  stroke-dasharray: 36 100;
}

.ec-ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  line-height: 1.1;
  text-align: center;
}

.ec-ring-label strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--lx-ink);
}

.ec-ring-label small {
  font-size: 10px;
  color: var(--lx-muted);
}

.ec-legend {
  display: flex;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--lx-muted);
}

.ec-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ec-legend b {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--lx-panel);
}

.ec-legend span:last-child b {
  background: var(--lx-ink);
}

/* Live order feed */

.ec-feed-tile {
  display: flex;
  flex-direction: column;
}

.ec-feed-tile .ec-cap {
  display: flex;
  justify-content: space-between;
}

.ec-feed-tile .ec-cap b {
  color: var(--lx-ink);
  font-variant-numeric: tabular-nums;
}

.ec-feed {
  position: relative;
  flex: 1;
  min-height: 118px;
  margin-top: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}

.ec-feed li {
  display: flex;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 7px 9px;
  border-radius: 10px;
  font-size: 12px;
  background: #fff;
  animation: lx-feed-in 0.6s var(--lx-spring) both;
}

.ec-feed li b {
  font-variant-numeric: tabular-nums;
}

.ec-feed li span {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  color: var(--lx-teal);
  background: rgba(221, 101, 49, 0.12);
}

.ec-feed li span.is-store {
  color: #fff;
  background: var(--lx-ink);
}

@keyframes lx-feed-in {
  from { opacity: 0; transform: translateY(-14px) scale(0.96); }
}

/* Hourly sales bars */

.ec-bars-tile {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 18px;
}

.ec-bars-tile .ec-cap {
  grid-column: 1 / -1;
}

.ec-kpi small {
  display: block;
  font-size: 11px;
  color: var(--lx-muted);
}

.ec-kpi strong {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: var(--lx-ink);
  font-variant-numeric: tabular-nums;
}

.ec-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(221, 101, 49, 0.55), rgba(221, 101, 49, 0.15));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1s var(--lx-spring);
  transition-delay: calc(var(--i) * 70ms + 700ms);
}

/* Floating phone storefront */

.ec-phone {
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 158px;
  padding: 10px;
  border-radius: 26px;
  color: var(--lx-ink);
  background: #fff;
  border: 4px solid var(--lx-night);
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.75);
  transform: translateZ(80px);
  animation: lx-bob 6s ease-in-out -2s infinite;
}

.ec-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
}

.ec-cart {
  position: relative;
  font-size: 14px;
}

.ec-cart b {
  position: absolute;
  top: -7px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 100px;
  font-size: 9px;
  color: #fff;
  background: var(--lx-coral);
}

.ec-cart b.is-bump {
  animation: lx-bump-badge 0.5s var(--lx-spring);
}

@keyframes lx-bump-badge {
  50% { transform: scale(1.5); }
}

.ec-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ec-phone-item {
  padding: 5px;
  border-radius: 10px;
  background: var(--lx-bg);
}

.ec-phone-item i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 4px;
  border-radius: 7px;
  font-size: 16px;
  color: #fff;
  background: var(--lx-panel);
}

.ec-phone-item:nth-child(2) i { background: linear-gradient(135deg, #6c4bf3, #a78bfa); }

.ec-phone-item:nth-child(3) i { background: linear-gradient(135deg, #292d36, #555b6b); }

.ec-phone-item:nth-child(4) i { background: linear-gradient(135deg, #22a35a, #6fd39a); }

.ec-phone-item small {
  display: block;
  font-size: 9px;
  font-weight: 700;
}

.ec-phone-btn {
  display: block;
  margin-top: 8px;
  padding: 7px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: var(--lx-panel);
  animation: lx-press 3.2s ease-in-out infinite;
}

@keyframes lx-press {
  0%, 70%, 100% { transform: scale(1); }
  76% { transform: scale(0.92); }
  84% { transform: scale(1.04); }
}

.ec-toast > i {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 17px;
  color: var(--lx-teal);
  background: rgba(221, 101, 49, 0.12);
}

.ec-toast:first-child > i {
  color: var(--lx-ok);
  background: rgba(34, 163, 90, 0.14);
}

.ec-toast:nth-child(3) > i {
  color: #c77d00;
  background: rgba(245, 165, 36, 0.18);
}

.ec-toast b {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.ec-toast small {
  font-size: 12px;
  color: var(--lx-muted);
}

@keyframes lx-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.ec-scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: lx-cue 1.8s ease-in-out infinite;
}

/* -------------------------------------------------------
   Audience marquee
------------------------------------------------------- */

.ec-marquee-track li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--lx-bg);
  border: 1px solid var(--lx-line);
}

.ec-marquee-track i {
  color: var(--lx-teal);
}

@keyframes lx-marquee {
  to { transform: translateX(calc(-50% - 7px)); }
}

/* -------------------------------------------------------
   Patient journey
------------------------------------------------------- */

.ec-device-brand i {
  color: var(--lx-orange);
}

.ec-device-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lx-panel);
  transform: scaleX(var(--jp, 0.1667));
  transform-origin: 0 50%;
  transition: transform 0.7s var(--lx-ease);
}

.ec-patient b {
  display: block;
  font-size: 16px;
}

.ec-patient small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.ec-screen-head b {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  line-height: 1.3;
}

.ec-screen li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 4px;
  border-top: 1px dashed var(--lx-line);
  font-size: 15px;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.5s var(--lx-ease);
}

.ec-screen li span {
  color: var(--lx-muted);
}

.ec-timeline span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
  transition: color 0.4s ease, background 0.4s ease, transform 0.5s var(--lx-spring);
}

/* -------------------------------------------------------
   Modules bento
------------------------------------------------------- */

.ec-mod-store,
.ec-mod-orders {
  grid-column: span 7;
  flex-direction: row;
}

.ec-mod-pos,
.ec-mod-inventory {
  grid-column: span 5;
}

.ec-mod-store .ec-mod-art,
.ec-mod-orders .ec-mod-art {
  flex: 0 0 46%;
}

/* Online store art: storefront with products dropping into the cart */

.ec-art-store {
  width: 100%;
  max-width: 320px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 40px -26px rgba(41, 45, 54, 0.5);
}

.ec-art-store-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 100px;
  font-size: 11px;
  color: var(--lx-muted);
  background: var(--lx-bg);
}

.ec-art-store-bar .ec-cart {
  margin-left: auto;
  font-size: 13px;
  color: var(--lx-ink);
}

.ec-art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ec-art-product {
  position: relative;
  padding: 6px;
  border-radius: 12px;
  background: var(--lx-bg);
  animation: lx-pop 6s var(--lx-spring) infinite;
  animation-delay: calc(var(--p) * 0.25s);
}

.ec-art-product i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 6px;
  border-radius: 9px;
  font-size: 18px;
  color: #fff;
  background: var(--lx-panel);
}

.ec-art-product:nth-child(3n + 2) i { background: linear-gradient(135deg, #6c4bf3, #a78bfa); }

.ec-art-product:nth-child(3n) i { background: linear-gradient(135deg, #292d36, #555b6b); }

.ec-art-product span {
  display: block;
  height: 5px;
  width: 80%;
  margin-bottom: 4px;
  border-radius: 4px;
  background: rgba(41, 45, 54, 0.12);
}

.ec-art-product b {
  font-size: 11px;
}

.ec-art-product em {
  position: absolute;
  top: 2px;
  right: 2px;
  padding: 2px 6px;
  border-radius: 100px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  background: var(--lx-ok);
  opacity: 0;
  transform: scale(0.5);
  animation: lx-added 6s var(--lx-spring) infinite;
  animation-delay: calc(var(--p) * 0.25s);
}

@keyframes lx-pop {
  0%, 100% { transform: none; }
  45% { transform: none; }
  50% { transform: translateY(-6px); box-shadow: 0 14px 22px -14px rgba(221, 101, 49, 0.7); }
  58% { transform: none; box-shadow: none; }
}

@keyframes lx-added {
  0%, 48% { opacity: 0; transform: scale(0.5); }
  54%, 80% { opacity: 1; transform: none; }
  88%, 100% { opacity: 0; transform: scale(0.5); }
}

/* POS art: barcode scan and printing receipt */

.ec-art-pos {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ec-scan {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 2px;
  width: 92px;
  height: 64px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px -18px rgba(41, 45, 54, 0.5);
}

.ec-scan i {
  flex: var(--w, 1);
  background: var(--lx-ink);
}

.ec-scan i:nth-child(odd) {
  --w: 2;
}

.ec-scan i:nth-child(3n) {
  opacity: 0;
}

.ec-scan::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--lx-alert);
  box-shadow: 0 0 10px 2px rgba(239, 68, 68, 0.6);
  animation: lx-laser 2.2s ease-in-out infinite;
}

@keyframes lx-laser {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(46px); }
}

.ec-receipt {
  width: 150px;
  height: 180px;
  overflow: hidden;
  padding: 12px 12px 0;
  border-radius: 10px 10px 0 0;
  font-size: 11px;
  background: #fff;
  box-shadow: 0 20px 40px -24px rgba(41, 45, 54, 0.5);
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent);
  mask-image: linear-gradient(180deg, #000 80%, transparent);
}

.ec-receipt ul {
  animation: lx-print 8s var(--lx-ease) infinite;
}

.ec-receipt li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(41, 45, 54, 0.15);
}

.ec-receipt li.is-total {
  font-weight: 700;
  color: var(--lx-teal);
  border-bottom: 0;
}

.ec-receipt li.is-paid {
  justify-content: center;
  margin-top: 4px;
  border-radius: 6px;
  font-weight: 700;
  color: var(--lx-ok);
  background: rgba(34, 163, 90, 0.12);
  border: 0;
}

@keyframes lx-print {
  0% { transform: translateY(150px); }
  60%, 90% { transform: translateY(0); }
  100% { transform: translateY(-160px); }
}

.ec-art-stockrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.ec-art-stockrow small {
  font-size: 12px;
  color: var(--lx-muted);
}

.ec-art-meter {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(41, 45, 54, 0.08);
}

.ec-art-meter i {
  display: block;
  width: var(--v);
  height: 100%;
  border-radius: inherit;
  background: var(--lx-panel);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.4s var(--lx-ease);
  transition-delay: calc(var(--k) * 120ms + 300ms);
}

.ec-art-alert i {
  animation: lx-ring-bell 3s ease-in-out infinite;
}

/* Orders art: shipment travelling along a tracking line */

.ec-art-ship {
  width: 100%;
  max-width: 320px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 40px -26px rgba(41, 45, 54, 0.5);
}

.ec-art-ship-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 44px;
  font-size: 12px;
  color: var(--lx-muted);
}

.ec-art-ship-head b {
  color: var(--lx-ink);
}

.ec-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0 6px 12px;
}

.ec-track::before,
.ec-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: rgba(41, 45, 54, 0.1);
}

.ec-track::after {
  background: var(--lx-panel);
  transform-origin: 0 50%;
  animation: lx-track 7s ease-in-out infinite;
}

.ec-track i {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(41, 45, 54, 0.15);
  animation: lx-track-dot-0 7s ease infinite;
}

/* Each stop lights up as the truck reaches it, so each has its own timing */

.ec-track i:nth-of-type(2) { animation-name: lx-track-dot-1; }

.ec-track i:nth-of-type(3) { animation-name: lx-track-dot-2; }

.ec-track i:nth-of-type(4) { animation-name: lx-track-dot-3; }

.ec-truck {
  position: absolute;
  z-index: 2;
  top: -30px;
  left: 0;
  font-size: 20px;
  color: var(--lx-teal);
  animation: lx-truck 7s ease-in-out infinite;
}

@keyframes lx-track {
  0% { transform: scaleX(0); }
  60%, 90% { transform: scaleX(1); }
  100% { transform: scaleX(1); opacity: 0; }
}

@keyframes lx-track-dot-0 {
  0%, 2% { border-color: rgba(41, 45, 54, 0.15); background: #fff; }
  4%, 88% { border-color: var(--lx-teal); background: var(--lx-teal); }
  96%, 100% { border-color: rgba(41, 45, 54, 0.15); background: #fff; }
}

@keyframes lx-track-dot-1 {
  0%, 24% { border-color: rgba(41, 45, 54, 0.15); background: #fff; }
  26%, 88% { border-color: var(--lx-teal); background: var(--lx-teal); }
  96%, 100% { border-color: rgba(41, 45, 54, 0.15); background: #fff; }
}

@keyframes lx-track-dot-2 {
  0%, 36% { border-color: rgba(41, 45, 54, 0.15); background: #fff; }
  38%, 88% { border-color: var(--lx-teal); background: var(--lx-teal); }
  96%, 100% { border-color: rgba(41, 45, 54, 0.15); background: #fff; }
}

@keyframes lx-track-dot-3 {
  0%, 53% { border-color: rgba(41, 45, 54, 0.15); background: #fff; }
  55%, 88% { border-color: var(--lx-teal); background: var(--lx-teal); }
  96%, 100% { border-color: rgba(41, 45, 54, 0.15); background: #fff; }
}

@keyframes lx-truck {
  0% { left: 0; opacity: 0; }
  5% { opacity: 1; }
  60%, 88% { left: calc(100% - 22px); opacity: 1; }
  100% { left: calc(100% - 22px); opacity: 0; }
}

.ec-track-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--lx-muted);
}

.ec-art-ship-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lx-ok);
  background: rgba(34, 163, 90, 0.1);
}

/* More modules strip */

.ec-more-mods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.ec-more-mods li {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: var(--lx-bg);
  border: 1px solid var(--lx-line);
  transition: transform 0.5s var(--lx-ease), box-shadow 0.5s ease, border-color 0.4s ease;
}

.ec-more-mods li:hover {
  transform: translateY(-4px);
  border-color: rgba(221, 101, 49, 0.3);
  box-shadow: 0 24px 40px -28px rgba(41, 45, 54, 0.4);
}

.ec-more-mods h3 {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 700;
}

.ec-more-mods p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lx-muted);
}

/* -------------------------------------------------------
   Multi-outlet network
------------------------------------------------------- */

.ec-net-hub > i {
  font-size: 30px;
  color: #fff;
}

.ec-net-hub b {
  font-size: 14px;
}

.ec-net-node > i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 18px;
  color: var(--lx-teal);
  background: rgba(221, 101, 49, 0.1);
}

.ec-net-node b {
  font-size: 15px;
}

.ec-net-node small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lx-ok);
}

.ec-group-list li {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--lx-line);
  transition: transform 0.5s var(--lx-ease), box-shadow 0.5s ease;
}

.ec-group-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -28px rgba(41, 45, 54, 0.4);
}

.ec-group-list h3 {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 700;
}

.ec-group-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lx-muted);
}

/* -------------------------------------------------------
   Stats band
------------------------------------------------------- */

.ec-stats-grid li {
  padding: 10px 28px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.ec-stats-grid li:first-child {
  border-left: 0;
}

.ec-stats-grid strong {
  display: block;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--lx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------
   Roles & products
------------------------------------------------------- */

.ec-role h3 {
  margin: 6px 0 16px;
  font-size: 22px;
  font-weight: 700;
}

.ec-role li {
  position: relative;
  padding: 7px 0 7px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--lx-muted);
}

.ec-product p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--lx-muted);
}

/* -------------------------------------------------------
   Trust
------------------------------------------------------- */

.ec-trust-copy > p {
  margin: 20px 0 30px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--lx-muted);
}

.ec-chips span {
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--lx-ink);
  background: #fff;
  border: 1px solid var(--lx-line);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.ec-trust-grid li {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--lx-line);
  box-shadow: var(--lx-card-shadow);
  transition: transform 0.5s var(--lx-ease), border-color 0.4s ease;
}

.ec-trust-grid li:hover {
  transform: translateY(-5px);
  border-color: rgba(221, 101, 49, 0.35);
}

.ec-trust-grid li:nth-child(even) {
  transform: translateY(30px);
}

.ec-trust-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
}

.ec-trust-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--lx-muted);
}

/* -------------------------------------------------------
   Process
------------------------------------------------------- */

.ec-steps-line span {
  display: block;
  height: 100%;
  background: var(--lx-grad);
  transform: scaleX(var(--lx-steps, 0));
  transform-origin: 0 50%;
  transition: transform 0.2s linear;
}

.ec-step h3 {
  margin: 6px 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.ec-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--lx-muted);
}

/* -------------------------------------------------------
   Pricing
------------------------------------------------------- */

.ec-plan h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ec-plan p {
  margin: 10px 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--lx-muted);
}

.ec-plan-trial .ec-checks i {
  color: var(--lx-teal);
  background: #fff;
}

.ec-plan-trial h3,
.ec-plan-trial .ec-checks li {
  color: #fff;
}

.ec-plan-trial p {
  color: rgba(255, 255, 255, 0.88);
}

/* -------------------------------------------------------
   Pricing plans with monthly / annual toggle
------------------------------------------------------- */

.ec-billing {
  margin-top: 30px;
}

.ec-billing button em {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: var(--lx-ok);
  background: rgba(34, 163, 90, 0.14);
}

.ec-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.ec-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: 26px;
  background: var(--lx-bg);
  border: 1px solid var(--lx-line);
  transition: transform 0.5s var(--lx-ease), box-shadow 0.5s ease, border-color 0.4s ease;
}

.ec-tier:hover {
  transform: translateY(-6px);
  border-color: rgba(221, 101, 49, 0.3);
  box-shadow: 0 34px 60px -36px rgba(41, 45, 54, 0.45);
}

.ec-tier-top {
  display: flex;
  align-items: center;
  min-height: 30px;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.ec-tier h3 {
  font-size: 22px;
  font-weight: 700;
}

.ec-tier-tag {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--lx-teal);
  background: rgba(221, 101, 49, 0.1);
}

.ec-tier > p {
  min-height: 44px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lx-muted);
}

.ec-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 52px;
}

.ec-price strong {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lx-ink);
  font-variant-numeric: tabular-nums;
}

.ec-price strong.is-swap {
  animation: lx-token 0.5s var(--lx-ease);
}

@keyframes lx-token {
  from { opacity: 0; transform: translateY(12px); }
}

.ec-price span {
  font-size: 14px;
  color: var(--lx-muted);
}

.ec-price-note {
  min-height: 20px;
  margin: 2px 0 18px;
  font-size: 12px;
  color: var(--lx-muted);
}

.ec-limits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.ec-limits li {
  padding: 8px 6px;
  border-radius: 12px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--lx-line);
}

.ec-limits b {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.ec-limits small {
  font-size: 11px;
  color: var(--lx-muted);
}

.ec-tier .ec-checks {
  margin-bottom: 24px;
}

.ec-tier .ec-checks li {
  font-size: 14px;
}

.ec-tier .ec-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.ec-tier-hot {
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.22), transparent 50%),
    var(--lx-panel);
  box-shadow: 0 40px 80px -40px rgba(221, 101, 49, 0.8);
}

.ec-tier-hot h3,
.ec-tier-hot .ec-price strong,
.ec-tier-hot .ec-checks li {
  color: #fff;
}

.ec-tier-hot > p,
.ec-tier-hot .ec-price span,
.ec-tier-hot .ec-price-note {
  color: rgba(255, 255, 255, 0.85);
}

.ec-tier-hot .ec-tier-tag {
  background: #fff;
}

.ec-tier-hot .ec-limits li {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.ec-tier-hot .ec-limits small {
  color: rgba(255, 255, 255, 0.8);
}

.ec-tier-hot .ec-checks i {
  color: var(--lx-teal);
  background: #fff;
}

.ec-enterprise {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 28px 32px;
  border-radius: 26px;
  color: #fff;
  background: var(--lx-dark-panel);
}

.ec-enterprise h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.ec-enterprise p {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.ec-enterprise .ec-plan-icon {
  margin: 0;
  color: #fff;
  background: var(--lx-panel);
}

.ec-pricing-foot {
  margin: 22px 0 0;
  font-size: 14px;
  text-align: center;
  color: var(--lx-muted);
}

.ec-pricing-foot a {
  color: var(--lx-teal);
  font-weight: 600;
}

/* -------------------------------------------------------
   FAQ
------------------------------------------------------- */

.ec-faq-search > i {
  position: absolute;
  left: 22px;
  top: 50%;
  font-size: 18px;
  color: var(--lx-muted);
  transform: translateY(-50%);
}

.ec-acc-body p {
  margin: 0;
  padding: 0 26px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--lx-muted);
}

/* -------------------------------------------------------
   CTA
------------------------------------------------------- */

.ec-cta-route {
  top: 50%;
  z-index: -1;
  height: 70%;
  transform: translateY(-50%);
}

.ec-cta-route .ec-trace-base {
  stroke: rgba(255, 255, 255, 0.15);
}

.ec-cta-route .ec-trace-pulse {
  stroke: #fff;
  opacity: 0.5;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
  stroke-dasharray: 30 70;
  animation-duration: 3.2s;
}

.ec-cta-copy p {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.ec-others > span {
  font-size: 14px;
  font-weight: 600;
  color: var(--lx-muted);
}

.ec-others div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ec-others a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lx-ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--lx-line);
  transition: transform 0.4s var(--lx-ease), border-color 0.3s ease, color 0.3s ease;
}

/* -------------------------------------------------------
   Responsive
------------------------------------------------------- */

@media (max-width: 1199px) {
  .ec-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ec-more-mods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ec-phone {
    right: -14px;
  }

  .ec-hero-inner {
    gap: 50px;
  }

  .ec-toasts {
    left: -20px;
  }

  .ec-roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ec-flip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ec-face {
    min-height: 250px;
  }

  .ec-mod-store,
  .ec-mod-orders,
  .ec-mod-pos,
  .ec-mod-inventory {
    grid-column: span 6;
    flex-direction: column;
  }

  .ec-group-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .ec-phone {
    right: 0;
    bottom: -60px;
  }

  .ec-enterprise {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ec-enterprise .ec-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .ec-section {
    padding: 100px 0 !important;
  }

  .ec-hero {
    min-height: 0;
    padding: 150px 0 110px !important;
  }

  .ec-hero-inner,
  .ec-journey-wrap,
  .ec-group-inner,
  .ec-trust-inner,
  .ec-faq-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ec-hero-inner {
    gap: 70px;
  }

  .ec-visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .ec-monitor {
    transform: none;
  }

  .ec-toasts {
    left: 50%;
    bottom: -32px;
    margin-left: -130px;
  }

  .ec-journey-wrap {
    gap: 40px;
  }

  .ec-stage {
    position: relative;
    top: 0;
    order: -1;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .ec-jstep.is-active .ec-jstep-btn {
    transform: none;
  }

  .ec-group-inner,
  .ec-trust-inner {
    gap: 60px;
  }

  .ec-group-list {
    grid-template-columns: 1fr 1fr;
  }

  .ec-trust-grid li:nth-child(even),
  .ec-trust-grid li:nth-child(even):hover {
    transform: none;
  }

  .ec-js .ec-trust-grid li.ec-reveal:nth-child(even):not(.is-visible) {
    transform: translateY(40px);
  }

  .ec-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .ec-stats-grid li:nth-child(3) {
    border-left: 0;
  }

  .ec-steps-line {
    top: 10px;
    bottom: 10px;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .ec-steps-line span {
    width: 100%;
    height: 100%;
    transform: scaleY(var(--lx-steps, 0));
    transform-origin: 50% 0;
  }

  .ec-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .ec-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 22px;
    text-align: left;
  }

  .ec-step-dot {
    grid-row: span 3;
    margin: 0;
  }

  .ec-step h3 {
    margin-top: 2px;
  }

  .ec-plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .ec-faq-inner {
    gap: 30px;
  }

  .ec-faq-inner .ec-head {
    position: static;
    margin-bottom: 0;
  }

  .ec-cta-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 50px 40px;
  }

  .ec-cta-actions {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (max-width: 767px) {
  .ec-phone {
    display: none;
  }

  .ec-tiers,
  .ec-more-mods {
    grid-template-columns: minmax(0, 1fr);
  }

  .ec-tier > p,
  .ec-price,
  .ec-price-note {
    min-height: 0;
  }

  .ec-enterprise {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 24px;
  }

  .ec-billing button {
    padding: 12px 14px;
  }

  .ec-art-pos {
    gap: 14px;
  }

  .ec-section {
    padding: 80px 0 !important;
  }

  .ec-head {
    margin-bottom: 44px;
  }

  .ec-head p,
  .ec-lead {
    font-size: 17px;
  }

  .ec-hero {
    padding: 130px 0 100px !important;
  }

  .ec-actions .ec-btn {
    flex: 1 1 100%;
  }

  .ec-monitor-body {
    padding: 12px;
    gap: 10px;
  }

  .ec-float-chip {
    right: 12px;
  }

  .ec-switch button {
    min-width: 0;
    padding: 12px 18px;
  }

  .ec-flip-grid,
  .ec-roles-grid,
  .ec-group-list,
  .ec-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ec-face {
    min-height: 0;
  }

  .ec-face-topic {
    margin-top: 10px;
  }

  .ec-mod-store,
  .ec-mod-orders,
  .ec-mod-pos,
  .ec-mod-inventory {
    grid-column: 1 / -1;
  }

  .ec-mod-art {
    min-height: 200px;
  }

  .ec-network {
    max-width: 400px;
  }

  .ec-net-hub {
    width: 112px;
    height: 112px;
  }

  .ec-net-hub > i {
    font-size: 24px;
  }

  .ec-net-hub b {
    font-size: 12px;
  }

  .ec-net-node {
    min-width: 0;
    padding: 12px 10px;
  }

  .ec-net-node > i {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .ec-net-node b {
    font-size: 13px;
  }

  .ec-net-node small {
    display: none;
  }

  .ec-stats-grid li {
    padding: 10px 12px;
  }

  .ec-jstep-btn {
    padding: 18px 16px;
    gap: 16px;
  }

  .ec-jsteps::before {
    left: 39px;
  }

  .ec-jstep-title {
    font-size: 20px;
  }

  .ec-device {
    padding: 16px;
    border-radius: 26px;
  }

  .ec-screen {
    padding: 14px;
  }

  .ec-screen-head b {
    font-size: 15px;
  }

  .ec-screen li {
    font-size: 13px;
  }

  .ec-timeline span {
    width: 32px;
    height: 32px;
  }

  .ec-plan {
    padding: 30px 24px;
  }

  .ec-acc summary {
    padding: 20px;
    font-size: 16px;
  }

  .ec-acc-body p {
    padding: 0 20px 20px;
  }

  .ec-cta {
    padding-bottom: 80px !important;
  }

  .ec-cta-card {
    padding: 40px 24px;
    border-radius: 28px;
  }

  .ec-cta-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575px) {
  .ec-ring-tile,
  .ec-feed-tile {
    grid-column: 1 / -1;
  }

  .ec-ring-tile {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  .ec-legend {
    flex-direction: column;
    gap: 6px;
  }

  .ec-feed {
    min-height: 100px;
  }
}

@media (max-width: 420px) {
  .ec-sales-head strong {
    font-size: 24px;
  }

  .ec-toasts {
    width: 240px;
    margin-left: -120px;
  }
}
