/* ==========================================================
   E-COMMERCE INDUSTRY PAGE STYLES – loaded only on industries/ecommerce-marketing.php
   ========================================================== */

.ec-center-head {
  max-width: 740px;
  margin: 0 auto 46px;
  text-align: center;
}
.ec-center-head > p,
.ec-faq__intro > p,
.ec-calc__content > p {
  font-size: 16px;
  color: var(--muted);
}
.ec-center-head h2,
.ec-solve__head h2,
.ec-calc__content h2,
.ec-faq__intro h2 {
  margin: 6px 0 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Hero (cinematic) ---------- */
.ec-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 0 130px;
  color: #b9c6e4;
  background: #04060f;
}
.ec-hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(30, 107, 255, 0.3), transparent 70%),
    radial-gradient(600px 320px at 12% 70%, rgba(236, 72, 153, 0.14), transparent 70%),
    radial-gradient(600px 320px at 88% 70%, rgba(46, 230, 242, 0.1), transparent 70%);
}
.ec-hero__top {
  max-width: 880px;
  text-align: center;
}
.ec-hero__top .crumbs {
  margin-bottom: 22px;
}
.ec-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.ec-hero__lead {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.65;
}
.ec-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}
.ec-hero__call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
}
.ec-hero__call span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    background 0.3s,
    color 0.3s;
}
.ec-hero__call:hover span {
  color: var(--navy-900);
  background: var(--cyan);
}
/* wide photo, fading into the page on every side */
.ec-hero__stage {
  position: relative;
  max-width: 1640px;
  margin: 10px auto 0;
}
.ec-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  filter: brightness(0.82) saturate(1.05);
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
  animation: ecImgIn 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes ecImgIn {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(1.03);
  }
}
/* dashboard row: overlaps the bottom of the photo */
.ec-hero__hud {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: stretch;
  margin-top: -170px;
}
.ring,
.ec-strip,
.feed {
  border-radius: 22px;
  background: rgba(10, 18, 40, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* conversion ring */
.ring {
  position: relative;
  display: grid;
  place-items: center;
  padding: 22px;
}
.ring__svg {
  display: block;
  width: 170px;
  height: 170px;
  rotate: -90deg;
}
.ring__track,
.ring__fill {
  fill: none;
  stroke-width: 11;
}
.ring__track {
  stroke: rgba(255, 255, 255, 0.08);
}
.ring__fill {
  stroke: url(#ecRingGrad);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.4));
}
.ring__read {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.ring__read i {
  font-size: 16px;
  color: var(--cyan);
}
.ring__read strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 17px;
  color: #fff;
}
.ring__read small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f9cc0;
}

/* highlights */
.ec-strip {
  display: grid;
  align-content: center;
  padding: 8px 22px;
}
.ec-strip li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}
.ec-strip li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ec-strip li > span {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 10px 22px rgba(21, 84, 232, 0.28);
}
.ec-strip li:nth-child(3) > span {
  background: linear-gradient(135deg, #f472b6, #db2777);
  box-shadow: 0 10px 22px rgba(219, 39, 119, 0.28);
}
.ec-strip p {
  font-size: 13px;
  color: #8f9cc0;
}
.ec-strip b {
  display: block;
  font-family: var(--font-head);
  font-size: 15.5px;
  color: #fff;
}

/* live store activity feed */
.feed {
  padding: 14px;
}
.feed__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.feed__ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #fff;
  background: var(--grad-primary);
}
.feed__head b {
  flex: 1;
  font-family: var(--font-head);
  font-size: 13.5px;
  color: #fff;
}
.feed__head em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: #86efac;
}
.feed__head em i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: ecBlink 1.4s ease-in-out infinite;
}
@keyframes ecBlink {
  50% {
    opacity: 0.25;
  }
}
.feed__list {
  display: grid;
  gap: 8px;
  height: 172px;
  overflow: hidden;
  align-content: start;
}
.feed__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: feedIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.feed__item.is-out {
  animation: feedOut 0.4s ease forwards;
}
@keyframes feedIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.96);
  }
}
@keyframes feedOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}
.feed__item > span {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #fff;
  background: var(--c, #1e6bff);
}
.feed__item p {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: #8f9cc0;
}
.feed__item p b {
  display: block;
  overflow: hidden;
  font-family: var(--font-head);
  font-size: 12.5px;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.feed__item time {
  font-size: 10.5px;
  color: #6c7ba3;
}

/* ---------- Platforms (logo marquee) ---------- */
.ec-platforms {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: -64px;
  padding: 22px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.ec-platforms__label {
  flex: none;
  max-width: 170px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.ec-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ec-marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: ecMarquee 38s linear infinite;
}
.ec-marquee:hover .ec-marquee__track {
  animation-play-state: paused;
}
@keyframes ecMarquee {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}
.ec-marquee__track li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.ec-marquee__track li i {
  font-size: 18px;
  color: var(--blue-600);
  transition: color 0.3s;
}
.ec-marquee__track li:hover {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-600);
}
.ec-marquee__track li:hover i {
  color: #fff;
}

/* ---------- Shopper journey ---------- */
.ec-journey {
  padding-top: 110px;
}
.journey {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: stretch;
}
.journey__funnel {
  display: grid;
  gap: 10px;
  align-content: center;
}
/* funnel: every step a little narrower than the one above */
.journey__step {
  --w: calc(100% - var(--i) * 7%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  width: var(--w);
  margin: 0 auto;
  padding: 15px 16px;
  border-radius: 16px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    background 0.35s,
    color 0.35s,
    box-shadow 0.35s,
    transform 0.35s,
    border-color 0.35s;
}
.journey__step:hover {
  transform: translateX(4px);
  border-color: #c9d8fb;
}
.journey__step.is-active {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(21, 84, 232, 0.32);
  transform: none;
}
.journey__step:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
.journey__no {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--blue-600);
}
.journey__step.is-active .journey__no {
  color: var(--cyan);
}
.journey__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.35s,
    color 0.35s;
}
.journey__step.is-active .journey__icon {
  color: var(--navy-900);
  background: var(--cyan);
}
.journey__name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
}
/* autoplay progress line */
.journey__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
}
.journey__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cyan);
}
.journey.is-auto .journey__step.is-active .journey__bar {
  opacity: 1;
}
.journey.is-auto .journey__step.is-active .journey__bar span {
  animation: journeyFill 6s linear forwards;
}
@keyframes journeyFill {
  to {
    width: 100%;
  }
}
.journey__stage {
  display: grid;
}
.jpanel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.jpanel[hidden] {
  display: none;
}
.jpanel.is-active {
  animation: jpanelIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes jpanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.jpanel__media {
  position: relative;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
}
.jpanel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jpanel.is-active .jpanel__media img {
  animation: jpanelZoom 7s ease-out both;
}
@keyframes jpanelZoom {
  from {
    transform: scale(1.1);
  }
}
.jpanel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 21, 56, 0.7));
}
.jpanel__channels {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jpanel__channels li {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.jpanel__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 36px;
}
.jpanel__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
}
.jpanel__body h3 {
  margin: 10px 0 12px;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}
.jpanel__body > p {
  font-size: 15px;
  line-height: 1.7;
}
.jpanel__list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.jpanel__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.jpanel__list i {
  margin-top: 3px;
  color: var(--green);
}

/* ---------- Services (bento) ---------- */
.ec-services {
  background: var(--bg-soft);
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento__card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border-radius: 24px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s,
    border-color 0.4s;
}
.bento__card--wide {
  grid-column: span 2;
}
.bento__card:hover {
  transform: translateY(-6px);
  border-color: #c9d8fb;
  box-shadow: var(--shadow-lg);
}
/* soft light that follows the mouse */
.bento__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(30, 107, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.bento__card:hover .bento__glow {
  opacity: 1;
}
.bento__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 12px 24px rgba(21, 84, 232, 0.28);
  transition: transform 0.4s;
}
.bento__card:hover .bento__icon {
  transform: rotate(-8deg) scale(1.06);
}
.bento__card h3 {
  margin: 20px 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.bento__card p {
  font-size: 14.5px;
  line-height: 1.7;
}
.bento__card--wide p {
  max-width: 560px;
}
.bento__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}
.bento__tags li {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
}
.bento__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
}
.bento__more i {
  transition: transform 0.3s;
}
.bento__card:hover .bento__more i {
  transform: translateX(5px);
}

/* ---------- Challenges (flip cards) ---------- */
.ec-solve__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 70px 56px;
  border-radius: 34px;
  color: #c9d4ee;
  background: var(--navy-900);
}
.ec-solve__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.ec-solve__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(520px 360px at 0% 0%, rgba(30, 107, 255, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(6, 21, 56, 0.72), rgba(6, 21, 56, 0.92));
}
.ec-solve__head {
  max-width: 640px;
  margin-bottom: 40px;
}
.ec-solve__head h2 {
  color: #fff;
}
.ec-solve__head .eyebrow {
  color: var(--cyan);
}
.ec-solve__head .eyebrow--line::before {
  background: var(--cyan);
}
.ec-solve__head p {
  font-size: 15px;
}
.flip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.flip > li {
  perspective: 1200px;
}
.flip__card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 210px;
  padding: 0;
  text-align: left;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.flip__card:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 22px;
}
.flip__card.is-flipped {
  transform: rotateY(180deg);
}
@media (hover: hover) and (pointer: fine) {
  .flip__card:hover {
    transform: rotateY(180deg);
  }
}
/* both faces share one grid cell, so the card is as tall as the taller face */
.flip__face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  border-radius: 22px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip__face--front {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.flip__face--back {
  transform: rotateY(180deg);
  color: #dbe5ff;
  background: var(--grad-primary);
  box-shadow: 0 24px 50px rgba(10, 42, 138, 0.45);
}
.flip__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.flip__icon--ok {
  color: var(--navy-900);
  background: var(--cyan);
  border-color: transparent;
}
.flip__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f9cc0;
}
.flip__face--back .flip__label {
  color: var(--cyan);
}
.flip__face strong {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.35;
  color: #fff;
}
.flip__fix {
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
}
.flip__hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
}

/* ---------- Revenue calculator ---------- */
.ec-calc__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.ec-calc__media {
  position: relative;
  padding-right: 30px;
}
.ec-calc__media figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}
.ec-calc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ec-calc__badge {
  position: absolute;
  right: 0;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 12.5px;
  color: var(--muted);
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.ec-calc__badge > span {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2fe07a, #16a34a);
}
.ec-calc__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14.5px;
  color: var(--ink);
}
.calc {
  margin-top: 26px;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.calc__row + .calc__row {
  margin-top: 20px;
}
.calc__row label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.calc__row output {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-600);
}
/* range slider – the filled part follows --p (set by JS) */
.calc input[type="range"] {
  --p: 50%;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1554e8 var(--p), #e3e9f5 var(--p));
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.calc input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--blue-600);
  box-shadow: 0 4px 12px rgba(21, 84, 232, 0.35);
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s;
}
.calc input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--blue-600);
  box-shadow: 0 4px 12px rgba(21, 84, 232, 0.35);
}
.calc input[type="range"]:hover::-webkit-slider-thumb,
.calc input[type="range"]:focus-visible::-webkit-slider-thumb {
  transform: scale(1.15);
}
.calc input[type="range"]:focus-visible {
  box-shadow: 0 0 0 4px rgba(46, 230, 242, 0.45);
}
.calc__result {
  display: grid;
  grid-template-columns: 1fr auto 1.25fr;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 20px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.calc__result small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc__result strong {
  display: block;
  margin: 4px 0 2px;
  font-family: var(--font-head);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc__result span {
  font-size: 12.5px;
  color: var(--muted);
}
.calc__new {
  padding: 14px 16px;
  border-radius: 16px;
  color: #dbe5ff;
  background: var(--grad-primary);
  box-shadow: 0 14px 30px rgba(21, 84, 232, 0.28);
}
.calc__new small,
.calc__new span {
  color: #c9d8ff;
}
.calc__new strong {
  color: #fff;
}
.calc__new b {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.calc__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--blue-600);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.calc__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.calc__note i {
  margin-top: 3px;
}

/* ---------- CTA band ---------- */
.ec-boost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  margin: 20px 0;
  padding: 44px 50px;
  border-radius: 30px;
  color: #dbe5ff;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(46, 230, 242, 0.3), transparent 65%),
    linear-gradient(120deg, #1e6bff 0%, #1554e8 40%, #0a2a8a 100%);
  box-shadow: 0 34px 70px rgba(10, 42, 138, 0.3);
}
.ec-boost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.2px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}
.ec-boost__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.ec-boost h2 {
  margin: 16px 0 24px;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.ec-boost h2 span {
  color: var(--cyan);
}
.ec-boost__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.ec-boost__ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition:
    background 0.3s,
    color 0.3s;
}
.ec-boost__ghost:hover {
  color: var(--navy-900);
  background: #fff;
}

/* ---------- Process steps ---------- */
.steps {
  position: relative;
}
.steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* line behind the dots; fills when the section scrolls into view */
.steps__line {
  position: absolute;
  top: 34px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
}
.steps__line span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-primary);
  transition: width 1.6s cubic-bezier(0.65, 0, 0.25, 1);
}
.steps.is-run .steps__line span {
  width: 100%;
}
.steps__item {
  position: relative;
  text-align: center;
}
.steps__dot {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--blue-600);
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  transition:
    background 0.5s,
    color 0.5s,
    border-color 0.5s,
    transform 0.4s;
  transition-delay: calc(var(--k, 0) * 0.4s);
}
.steps.is-run .steps__dot {
  color: #fff;
  background: var(--grad-primary);
  border-color: #fff;
}
.steps__item:hover .steps__dot {
  transform: translateY(-4px);
}
.steps__no {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.steps__item h3 {
  margin: 6px 0 8px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}
.steps__item p {
  max-width: 250px;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- Client story (dark premium card) ---------- */
.ec-story {
  padding-top: 0;
}
.ecstory {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin: 0;
  padding: 56px;
  border-radius: 34px;
  color: #b9c6e4;
  background:
    radial-gradient(520px 380px at 0% 0%, rgba(30, 107, 255, 0.38), transparent 70%),
    radial-gradient(460px 360px at 100% 100%, rgba(236, 72, 153, 0.16), transparent 70%),
    linear-gradient(135deg, #0a1f4f 0%, var(--navy-900) 60%);
  box-shadow: 0 40px 80px rgba(6, 21, 56, 0.28);
}
/* fine dot texture */
.ecstory::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(110deg, transparent 30%, #000 100%);
}
/* large quote mark in the corner */
.ecstory::after {
  content: "\201D";
  position: absolute;
  right: 40px;
  bottom: -110px;
  z-index: -1;
  font-family: var(--font-serif);
  font-size: 340px;
  line-height: 1;
  color: rgba(46, 230, 242, 0.06);
  pointer-events: none;
}

/* left: client profile card */
.ecstory__profile {
  position: relative;
  padding: 30px 26px 24px;
  border-radius: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.ecstory__avatar {
  position: relative;
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  padding: 4px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--cyan), #1e6bff, #ec4899, var(--cyan));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.ecstory__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--navy-900);
}
.ecstory__shop {
  position: absolute;
  right: -4px;
  bottom: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  border: 3px solid var(--navy-900);
}
.ecstory__profile strong {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  color: #fff;
}
.ecstory__role {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
}
.ecstory__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.ecstory__rating i {
  font-size: 12px;
  color: var(--star);
}
.ecstory__rating b {
  font-family: var(--font-head);
  font-size: 13px;
  color: #fff;
}
.ecstory__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.ecstory__tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #dbe5ff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.ecstory__tags i {
  font-size: 10px;
  color: var(--cyan);
}
/* the result the client mentions */
.ecstory__result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border-radius: 18px;
  text-align: left;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.04));
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.ecstory__result > span {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2fe07a, #16a34a);
}
.ecstory__result p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #b9e8c9;
}
.ecstory__result b {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  color: #fff;
}

/* right: the story */
.ecstory__body .eyebrow {
  color: var(--cyan);
}
.ecstory__body .eyebrow--line::before {
  background: var(--cyan);
}
.ecstory__qicon {
  width: 52px;
  height: 52px;
  margin: 14px 0 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--navy-900);
  background: var(--cyan);
  box-shadow: 0 14px 30px rgba(46, 230, 242, 0.3);
}
.ecstory__headline {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #fff;
}
.ecstory__headline span {
  background: linear-gradient(90deg, var(--cyan), #7db4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ecstory blockquote {
  position: relative;
  margin: 20px 0 0;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #b9c6e4;
  border-left: 2px solid rgba(46, 230, 242, 0.45);
}
.ecstory__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ecstory__sign {
  font-size: 14px;
}
.ecstory__sign b {
  color: #fff;
}
.ecstory__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  background: #fff;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.ecstory__more i {
  transition: transform 0.3s;
}
.ecstory__more:hover {
  color: var(--navy-900);
  background: var(--cyan);
  transform: translateY(-2px);
}
.ecstory__more:hover i {
  transform: translateX(4px);
}

/* ---------- FAQ ---------- */
.ec-faq {
  padding-top: 0;
}
.ec-faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.ec-faq__contact {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.ec-faq__contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s;
}
.ec-faq__contact span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.3s,
    color 0.3s;
}
.ec-faq__contact a:hover {
  color: var(--blue-600);
}
.ec-faq__contact a:hover span {
  color: #fff;
  background: var(--blue-600);
}

@media (prefers-reduced-motion: reduce) {
  .ec-hero__img,
  .ec-calc__badge,
  .ec-marquee__track,
  .feed__head em i {
    animation: none;
  }
  .flip__card,
  .steps__line span,
  .steps__dot {
    transition: none;
  }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .journey {
    grid-template-columns: 1fr;
  }
  /* funnel becomes a scrollable row of stage tabs */
  .journey__funnel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scrollbar-width: none;
  }
  .journey__funnel::-webkit-scrollbar {
    display: none;
  }
  .journey__step {
    flex: none;
    width: auto;
    margin: 0;
  }
  .journey__step:hover {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .ec-hero {
    padding: 90px 0 120px;
  }
  /* ring + feed side by side, highlights underneath */
  .ec-hero__hud {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: -90px;
  }
  .ec-strip {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px 8px;
  }
  .ec-strip li {
    padding: 14px 12px;
  }
  .ec-strip li + li {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
  .ec-calc__grid,
  .ec-faq__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ec-platforms {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .ec-platforms__label {
    max-width: none;
    text-align: center;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento__card--wide {
    grid-column: span 1;
  }
  .bento__card:first-child,
  .bento__card:last-child {
    grid-column: span 2;
  }
  .flip {
    grid-template-columns: repeat(2, 1fr);
  }
  .ec-solve__panel {
    padding: 56px 34px;
  }
  .ec-calc__media {
    max-width: 520px;
  }
  .ec-calc__media figure {
    aspect-ratio: 16 / 11;
  }
  .ec-boost {
    grid-template-columns: 1fr;
    padding: 40px 34px;
  }
  .steps__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .steps__line {
    display: none;
  }
  .ecstory {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 36px;
    padding: 40px;
  }
}
/* tablet portrait: profile sits on top as a horizontal strip */
@media (max-width: 900px) {
  .ecstory {
    grid-template-columns: minmax(0, 1fr);
  }
  .ecstory__profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 22px;
    align-items: center;
    text-align: left;
  }
  .ecstory__avatar {
    grid-row: span 4;
    width: 112px;
    height: 112px;
    margin: 0;
  }
  .ecstory__rating {
    justify-self: start;
    margin-top: 10px;
  }
  .ecstory__tags {
    justify-content: flex-start;
    margin-top: 12px;
  }
  .ecstory__result {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .ec-hero {
    padding: 70px 0 100px;
  }
  .ec-hero__lead {
    font-size: 15.5px;
  }
  .ec-hero__img {
    aspect-ratio: 16 / 10;
  }
  .ec-hero__hud {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -40px;
  }
  .ec-strip {
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: 6px 18px;
  }
  .ec-strip li {
    padding: 13px 0;
  }
  .ec-strip li + li {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .ring__svg {
    width: 150px;
    height: 150px;
  }
  .ec-platforms {
    margin-top: -50px;
    padding: 18px 14px;
  }
  .journey__funnel {
    margin: 0 -16px;
    padding: 4px 16px 10px;
  }
  .jpanel {
    grid-template-columns: 1fr;
  }
  .jpanel__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .jpanel__body {
    padding: 26px 22px 28px;
  }
  .bento,
  .flip,
  .steps__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento__card:first-child,
  .bento__card:last-child {
    grid-column: auto;
  }
  .bento__card {
    padding: 26px 22px 24px;
  }
  .ec-solve__panel {
    margin: 0 -8px;
    padding: 44px 20px;
    border-radius: 26px;
  }
  .flip__card {
    min-height: 0;
  }
  .ec-calc__media {
    padding-right: 0;
  }
  .ec-calc__badge {
    right: 12px;
    bottom: -20px;
  }
  .calc {
    padding: 22px 18px;
  }
  .calc__result {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }
  .calc__arrow {
    margin: 0 auto;
    rotate: 90deg;
  }
  .ec-boost {
    padding: 34px 22px;
  }
  .ecstory {
    margin: 0 -8px;
    padding: 30px 18px 26px;
    gap: 30px;
    border-radius: 26px;
  }
  .ecstory__profile {
    display: block;
    padding: 26px 18px 18px;
    text-align: center;
  }
  .ecstory__avatar {
    width: 112px;
    height: 112px;
    margin: 0 auto 16px;
  }
  .ecstory__tags {
    justify-content: center;
  }
  .ecstory blockquote {
    padding-left: 16px;
    font-size: 15px;
  }
  .ecstory__more {
    margin-left: 0;
  }
}
