/* ==========================================================================
   Ecommerce Development inner page — page-scoped styles
   (see references/CONTEXT.md -> "Inner pages": header/footer frozen/shared)
   ========================================================================== */

.ecom-hero {
  position: relative;
  overflow: hidden;
  background-color: #020010;
  padding-block: 48px 0;
}

.ecom-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ecom-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.ecom-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 0, 16, 0.55) 0%, rgba(2, 0, 16, 0.75) 45%, #020010 100%),
    rgba(1, 0, 16, 0.35);
    opacity: 0.8;
}

.ecom-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-inline);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ecom-hero__text {
  display: flex;
  flex-direction: column;
  max-width: 599px;
}

.ecom-hero__eyebrow {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.86px;
  text-transform: uppercase;
  color: #cab5ff;
  margin-bottom: 16px;
}

.ecom-hero__heading {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: clamp(32px, 8vw, 64px);
  line-height: 1.125;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.ecom-hero__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(16px, 3.2vw, 25px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 44ch;
}

/* ---------------------------------------------------------------------
   Review card
   --------------------------------------------------------------------- */
.ecom-hero__review {
    align-self: center;
    width: 100%;
    max-width: 455px;
    border: 15px solid #ac82c754;
    border-radius: 30px;
}

.ecom-hero__review-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: clamp(16px, 4vw, 38px) clamp(14px, 4vw, 38px) clamp(12px, 3.4vw, 18px);
}

.ecom-hero__review-stars {
  display: block;
  margin-inline: auto;
  width: clamp(84px, 21vw, 112px);
  height: clamp(14px, 3.5vw, 19px);
}

.ecom-hero__review-quote {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: clamp(15px, 4vw, 20px);
  line-height: 1.5;
  letter-spacing: 0.89px;
  color: #333333;
  text-align: center;
  margin-top: 14px;
}

.ecom-hero__review-person {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    justify-content: center;
}

.ecom-hero__review-avatar {
  width: clamp(56px, 14vw, 79px);
  height: clamp(56px, 14vw, 79px);
  border: 1px solid #aeaeae;
  border-radius: 4.5px;
  object-fit: cover;
  flex-shrink: 0;
}

.ecom-hero__review-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ecom-hero__review-logo {
    height: 18px;
    width: auto;
    margin-bottom: 8px;
    max-width: fit-content;
}

.ecom-hero__review-name {
  font-family: var(--font-mono-label);
  font-weight: 600;
  font-size: clamp(15px, 3.6vw, 18px);
  color: #333333;
  letter-spacing: 0.02em;
}

.ecom-hero__review-role {
  font-family: var(--font-mono-label);
  font-weight: 300;
  font-size: clamp(11px, 2.6vw, 13px);
  color: #4e4e4e;
}

.ecom-hero__review-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-mono-label);
  font-weight: 600;
  font-size: clamp(11px, 2.6vw, 13px);
  letter-spacing: 0.02em;
  color: #929292;
}

.ecom-hero__review-source img {
  width: 62px;
  height: 17px;
}

/* ---------------------------------------------------------------------
   Platform strip
   --------------------------------------------------------------------- */
.ecom-hero__platforms {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(188, 119, 255, 0.28);
}

.ecom-hero__platforms li {
  flex: 1 1 33.333%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 62px;
  padding: 8px;
  border: 1px solid rgba(188, 119, 255, 0.28);
  border-top: none;
  margin-left: -1px;
  margin-top: -1px;
}

.ecom-hero__platforms img {
  height: 24px;
  width: auto;
  max-width: 24px;
  flex-shrink: 0;
}

.ecom-hero__platforms span {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 11.2px;
  color: #d7ccdd;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------
   Tablet
   --------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .ecom-hero__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

  .ecom-hero__text {
    flex: 1 1 100%;
  }

  .ecom-hero__review {
    align-self: flex-start;
    margin-left: auto;
    margin-top: -12px;
  }

  .ecom-hero__platforms {
    flex: 1 1 100%;
  }

  .ecom-hero__platforms li {
    flex-basis: 33.333%;
  }
}

/* ---------------------------------------------------------------------
   Desktop
   --------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .ecom-hero {
    padding-block: 0;
  }

  .ecom-hero__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 78px;
    padding-bottom: 90px;
    gap: 0;
}

  .ecom-hero__text {
    flex: 1 1 420px;
    min-width: 0;
  }

  .ecom-hero__eyebrow {
    margin-bottom: 20px;
  }

  .ecom-hero__heading {
    margin-bottom: 26px;
  }

  .ecom-hero__review {
    align-self: flex-start;
    margin-top: -10px;
    flex: 1 1 340px;
    width: auto;
    min-width: 0;
    margin-right: 90px;
}

  .ecom-hero__platforms {
    flex-basis: 100%;
    margin-top: 71px;
  }

  .ecom-hero__platforms li {
    flex: 1 1 0;
  }
}

/* ---------------------------------------------------------------------
   Small phone
   --------------------------------------------------------------------- */
@media (max-width: 479px) {
  .ecom-hero__platforms li {
    flex-basis: 50%;
  }
}

/* ---------------------------------------------------------------------
   Industry solutions
   --------------------------------------------------------------------- */
.ecom-industry {
    background-color: #020010;
    padding-block: 74px;
}

.ecom-industry__inner {
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-inline);
}

.ecom-industry__eyebrow {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.86px;
  text-transform: uppercase;
  color: #cab5ff;
  text-align: center;
  margin-bottom: 16px;
}

.ecom-industry__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 6vw, 76px);
  line-height: 1.13;
  letter-spacing: -0.0454em;
  color: #ffffff;
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: 33px;
}

.ecom-industry__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.ecom-industry__card {
    background-color: #0F0821;
    border: 1px solid #b96cff52;
    border-radius: 25px;
    padding: 40px 31px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ecom-industry__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: #201b35;
  border: 1px solid #4f466f;
  border-radius: 10px;
  box-shadow: 0 4px 2px rgba(5, 1, 16, 0.25);
  margin-bottom: 24px;
}

.ecom-industry__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  object-position: center;
}

.ecom-industry__card-title {
    font-family: var(--font-base);
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #ffffffcc;
    margin-bottom: 8px;
}

.ecom-industry__list {
  list-style: disc;
  padding-left: 24px;
}

.ecom-industry__list li {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.ecom-industry__card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 108, 255, 0.5);
  box-shadow: 0 16px 32px rgba(120, 60, 200, 0.12);
}

@media (min-width: 768px) {
  .ecom-industry__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ecom-industry__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------------------------------------------------------------------
   Touch-guard / reduced-motion
   --------------------------------------------------------------------- */
@media (hover: none) and (pointer: coarse) {
  .ecom-industry__card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecom-hero [data-reveal] {
    transition: none !important;
  }

  .ecom-industry__card:hover {
    transform: none !important;
  }
}

/* ---------------------------------------------------------------------
   View our work — sticky-nav scroll-spy (same composition/behavior as
   .shopify-work in css/shopify.css; recolored for this page's dark bg)
   --------------------------------------------------------------------- */
.ecom-work {
  background-color: #ffffff;
  padding-block: 64px 72px;
}

.ecom-work__container {
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-inline);
}

.ecom-work__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.ecom-work__nav-col {
  min-width: 0;
}

.ecom-work__nav-sticky {
  position: static;
}

.ecom-work__eyebrow {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2.86px;
  text-transform: uppercase;
  color: #9a60fb;
  margin: 0 0 14px;
}

.ecom-work__heading {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: clamp(32px, 9vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #171717;
  margin: 0 0 24px;
}

.ecom-work__heading-accent {
  color: #9a60fb;
  font-weight: 300;
}

.ecom-work__nav-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(23, 23, 23, 0.12);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ecom-work__nav-list li {
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
}

.ecom-work__nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-block: 14px;
  text-align: left;
}

.ecom-work__nav-indicator {
  flex-shrink: 0;
  width: 3px;
  height: 32px;
  background-color: #9a60fb;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ecom-work__nav-item.is-active .ecom-work__nav-indicator {
  opacity: 1;
}

.ecom-work__nav-label {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: rgba(23, 23, 23, 0.48);
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.ecom-work__nav-item.is-active .ecom-work__nav-label {
  color: #171717;
  font-weight: 500;
}

.ecom-work__content-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ecom-work-card {
  scroll-margin-top: calc(var(--header-height) + 24px);
  background-color: #0f0821;
  border-radius: 20px;
  padding: 20px 16px;
}

.ecom-work-card__header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.ecom-work-card__eyebrow {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.86px;
  text-transform: uppercase;
  color: #9a60fb;
  margin: 0 0 12px;
}

.ecom-work-card__title {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 8px;
}

.ecom-work-card__desc {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.714;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 52ch;
}

.ecom-work-card__view-more {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono-label);
  font-weight: 600;
  font-size: 13px;
  color: #b96cff;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ecom-work-card__view-more img {
  transform: rotate(90deg);
}

.ecom-work-card__view-more:hover,
.ecom-work-card__view-more:focus-visible {
  color: #ffffff;
}

.ecom-work-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 822 / 454;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ecom-work__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .ecom-work__nav-sticky {
    position: static;
  }

  .ecom-work__nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    border-top: none;
  }

  .ecom-work__nav-list li {
    border-bottom: none;
  }

  .ecom-work__nav-item {
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    gap: 10px;
    padding: 8px 0 12px;
  }

  .ecom-work__nav-indicator {
    order: 2;
    width: 100%;
    height: 2px;
  }

  .ecom-work__nav-label {
    order: 1;
  }

  .ecom-work-card__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }

  .ecom-work-card__view-more {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .ecom-work {
    padding-block: 120px;
  }

  .ecom-work__grid {
    grid-template-columns: 522.6px minmax(0, 1fr);
    column-gap: 47.4px;
  }

  .ecom-work__nav-sticky {
    position: sticky;
    top: calc(var(--header-height) + 40px);
  }

  .ecom-work__heading {
    font-weight: 700;
    font-size: 72px;
    line-height: 79px;
    letter-spacing: -3.46px;
}

  .ecom-work__nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    border-top: 1px solid rgba(23, 23, 23, 0.12);
  }

  .ecom-work__nav-list li {
    border-bottom: 1px solid rgba(23, 23, 23, 0.12);
  }

  .ecom-work__nav-item {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding-block: 12px;
  }

  .ecom-work__nav-indicator {
    order: initial;
    width: 5px;
    height: 55px;
  }

  .ecom-work__nav-label {
    order: initial;
  }

  .ecom-work-card {
    border-radius: 25px;
    padding: 24px;
  }

  .ecom-work-card__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
  }

  .ecom-work-card__view-more {
    flex-shrink: 0;
    font-size: 14px;
  }

  .ecom-work-card__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.556;
  }

  .ecom-work-card__desc {
    font-size: 14px;
    line-height: 1.714;
  }

  .ecom-work-card__img {
    border-radius: 12px;
  }
}

@media (max-width: 767px) {
  .ecom-work__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ecom-work__nav-sticky {
    position: static;
  }

  .ecom-work__nav-list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-top: none;
    gap: 20px;
    margin-inline: calc(var(--container-padding-inline) * -1);
    padding-inline: var(--container-padding-inline);
  }

  .ecom-work__nav-list::-webkit-scrollbar {
    display: none;
  }

  .ecom-work__nav-list li {
    border-bottom: none;
    flex-shrink: 0;
  }

  .ecom-work__nav-item {
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    flex: 0 0 auto;
    gap: 8px;
    padding: 8px 0 12px;
    white-space: nowrap;
  }

  .ecom-work__nav-indicator {
    order: 2;
    width: 100%;
    height: 2px;
  }

  .ecom-work__nav-label {
    order: 1;
    font-size: 13px;
  }
}

/* ---------------------------------------------------------------------
   Built for proof — services grid
   --------------------------------------------------------------------- */
.ecom-proof {
  position: relative;
  background-color: #020010;
  padding-block: 64px;
  overflow: hidden;
}

.ecom-proof__inner {
  position: relative;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-inline);
}

.ecom-proof__eyebrow {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.86px;
  text-transform: uppercase;
  color: #cab5ff;
  text-align: center;
  margin-bottom: 40px;
}

.ecom-proof__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 6vw, 76px);
  line-height: 1.13;
  letter-spacing: -0.0454em;
  color: #ffffff;
  text-align: center;
  max-width: 1020px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.ecom-proof__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ecom-proof__card {
  display: flex;
  flex-direction: column;
  background-color: #100a21;
  border: 1px solid rgba(168, 114, 216, 0.3);
  border-radius: 20px;
  padding: 18px 18px 42px;
}

.ecom-proof__card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 428 / 260;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 28px;
}

.ecom-proof__card-heading {
  font-family: var(--font-base);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.616;
  color: #ffffff;
  margin-bottom: 8px;
}

.ecom-proof__card-desc {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.867;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .ecom-proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ecom-proof {
    padding-block: 112px;
  }

  .ecom-proof__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 56px;
  }

  .ecom-proof__card-heading {
    font-size: 22px;
  }
}

/* ---------------------------------------------------------------------
   Testimonial
   --------------------------------------------------------------------- */
.ecom-testimonial {
  position: relative;
  background-color: #020010;
  padding-block: 64px;
  overflow: hidden;
}

.ecom-testimonial__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(40% 60% at 95% 0%, rgba(160, 100, 255, 0.28), transparent 70%);
}

.ecom-testimonial__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-inline);
}

.ecom-testimonial__eyebrow {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.86px;
  text-transform: uppercase;
  color: #cab5ff;
  text-align: center;
  margin-bottom: 16px;
}

.ecom-testimonial__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 8vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.0454em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 48px;
}

.ecom-testimonial__row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.ecom-testimonial__photo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 472 / 526;
  object-fit: cover;
  border-radius: 0;
}

.ecom-testimonial__content {
  max-width: 640px;
}

.ecom-testimonial__quote {
  font-family: var(--font-base);
  font-weight: 300;
  font-size: clamp(22px, 6vw, 50px);
  line-height: 1.32;
  color: #ffffff;
}

.ecom-testimonial__person {
  font-family: var(--font-base);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 40px;
}

.ecom-testimonial__person span {
  font-weight: 500;
  color: #ffffff;
}

.ecom-testimonial__nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.ecom-testimonial__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 1024px) {
  .ecom-testimonial {
    padding-block: 120px;
  }

  .ecom-testimonial__row {
    flex-direction: row;
    align-items: center;
    gap: 95px;
  }

  .ecom-testimonial__photo {
    max-width: 483px;
    flex-shrink: 0;
  }

  .ecom-testimonial__content {
    text-align: left;
  }
}

/* ---------------------------------------------------------------------
   What we do — pill marquee (same pattern as .shopify-whatwedo)
   --------------------------------------------------------------------- */
.ecom-whatwedo {
  background-color: #ffffff;
  padding-block: 56px 64px;
  overflow: hidden;
}

.ecom-whatwedo__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
  padding-inline: var(--container-padding-inline);
}

.ecom-whatwedo__eyebrow {
  font-family: var(--font-mono-label);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 2.86px;
  text-transform: uppercase;
  color: #6c3acb;
  margin-bottom: 22px;
}

.ecom-whatwedo__heading {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: clamp(28px, 9vw, 36px);
  line-height: 1.039;
  letter-spacing: -2px;
  color: #171717;
}

.ecom-whatwedo__marquee {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ecom-whatwedo__row {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.ecom-whatwedo__track {
  display: flex;
  width: max-content;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: ecom-whatwedo-scroll 32s linear infinite;
}

.ecom-whatwedo__row:hover .ecom-whatwedo__track {
  animation-play-state: paused;
}

.ecom-whatwedo__row--reverse .ecom-whatwedo__track {
  animation-direction: reverse;
}

.ecom-whatwedo__track li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dadada;
  background-color: rgba(245, 243, 248, 0.16);
  font-family: var(--font-mono-label);
  font-weight: 450;
  font-size: 14px;
  color: #171717;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ecom-whatwedo__track li:hover {
  background-color: #9a60fb;
  border-color: #b96cff;
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(185, 108, 255, 0.3), 0 8px 20px rgba(120, 60, 200, 0.35);
}

@keyframes ecom-whatwedo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) {
  .ecom-whatwedo {
    padding-block: 88px 96px;
  }

  .ecom-whatwedo__heading {
    font-size: clamp(36px, 5vw, 48px);
  }
}

@media (min-width: 1024px) {
  .ecom-whatwedo {
    padding-block: 120px;
  }

  .ecom-whatwedo__heading {
    font-size: 76px;
    line-height: 0.868;
    letter-spacing: -3.456px;
  }

  .ecom-whatwedo__header {
    margin-bottom: 48px;
  }

  .ecom-whatwedo__track li {
    padding: 10px 16px;
    font-size: 16px;
}
}

@media (hover: none) and (pointer: coarse) {
  .ecom-whatwedo__track li:hover {
    background-color: rgba(245, 243, 248, 0.16);
    border-color: #dadada;
    color: #171717;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecom-whatwedo__track {
    animation: none;
  }

  .ecom-whatwedo__track li:hover {
    background-color: rgba(245, 243, 248, 0.16) !important;
    border-color: #dadada !important;
    color: #171717 !important;
    box-shadow: none !important;
  }
}

/* ---------------------------------------------------------------------
   Why Brihaspati — stats + CTA banner
   --------------------------------------------------------------------- */
.ecom-why {
  position: relative;
  overflow: hidden;
  background-color: #020010;
  padding-block: 56px 64px;
}

.ecom-why__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(45% 60% at 85% 5%, rgba(160, 100, 255, 0.28), transparent 70%);
}

.ecom-why__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-inline);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ecom-why__eyebrow {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.86px;
  text-transform: uppercase;
  color: #cab5ff;
  margin: 0 0 22px;
}

.ecom-why__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 9vw, 36px);
  line-height: 1.04;
  letter-spacing: -2px;
  color: var(--color-text-light);
  max-width: 620px;
  margin: 0 0 20px;
}

.ecom-why__subheading {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
  max-width: 46ch;
  margin: 0 0 36px;
}

.ecom-why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
  width: 100%;
  max-width: 420px;
  margin: 0 0 40px;
  text-align: left;
}

.ecom-why__divider {
  display: none;
}

.ecom-why__item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ecom-why__bar {
  display: block;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background-color: #b96cff;
}

.ecom-why__num {
  font-family: var(--font-base);
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -1.5px;
  color: var(--color-text-light);
  margin: 0;
}

.ecom-why__label {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.714;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.ecom-why__cta-box {
  width: 100%;
  background-color: #04030d;
  border: 0.5px solid #b96cff;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 24px;
  text-align: left;
}

.ecom-why__cta-title {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0 0 10px;
}

.ecom-why__cta-desc {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4375;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.ecom-why__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #7605f5;
    color: #ffffff;
    font-family: var(--font-roboto);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 20px;
    border-radius: 0;
    white-space: nowrap;
    transition: transform 0.25s ease;
}

.ecom-why__cta-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.ecom-why__cta-btn:hover,
.ecom-why__cta-btn:focus-visible {
  transform: scale(1.08);
}

.ecom-why__subheading {
    display: none;
}
.ecom-why__subheading + p {
    font-family: var(--font-base);
    font-weight: 400;
    font-size: 18px;
    line-height: 31.7px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}
.ecom-why__cta-box {
    width: 100%;
    max-width: 1160px;
}


@media (min-width: 768px) {
  .ecom-why {
    padding-block: 88px 96px;
  }

  .ecom-why__heading {
    font-size: clamp(36px, 5vw, 48px);
    max-width: 760px;
  }

  .ecom-why__grid {
    display: flex;
    flex-wrap: wrap;
    max-width: none;
    gap: 0;
    align-items: center;
    justify-content: center;
  }

  .ecom-why__divider {
    display: block;
    width: 1px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.16);
    margin-inline: 24px;
  }

  .ecom-why__item {
    padding-inline: 12px;
  }

  .ecom-why__cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 38px 40px;
  }
}

/* Tablet: 3+1 lopsided wrap from the flex-wrap row above (4 items, 3 fit per
   row at this width) looks unintentional — force a clean 2x2 grid instead.
   Dividers only make sense in a single row, so hide them here. */
@media (min-width: 768px) and (max-width: 1023px) {
  .ecom-why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
    row-gap: 40px;
  }

  .ecom-why__divider {
    display: none;
  }

  .ecom-why__item {
    padding-inline: 0;
  }
}

@media (min-width: 1024px) {
  .ecom-why {
    padding-block: 120px;
  }

  .ecom-why__eyebrow {
    font-family: var(--font-base);
    font-weight: 700;
  }

  .ecom-why__heading {
    font-size: 76px;
    line-height: 1.03;
    letter-spacing: -4.29px;
    max-width: 940px;
    margin-bottom: 28px;
  }

  .ecom-why__grid {
    margin-block: 56px;
}

  .ecom-why__divider {
    margin-inline: 80px;
  }

  .ecom-why__num {
    font-size: 56px;
  }

  .ecom-why__label {
    font-size: 15px;
  }

  .ecom-why__bar {
    width: 64px;
    height: 4px;
  }

  .ecom-why__cta-title {
    font-size: 34px;
    letter-spacing: -2.46px;
  }

  .ecom-why__cta-btn {
      font-size: 19px;
      padding: 26px 20px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .ecom-why__cta-btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecom-why__cta-btn:hover {
    transform: none !important;
  }
}

/* ---------------------------------------------------------------------
   Team — Shopify developers with us
   --------------------------------------------------------------------- */
.ecom-team {
  background-color: #ffffff;
  padding-block: 64px;
}

.ecom-team__inner {
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-inline);
  text-align: center;
}

.ecom-team__eyebrow {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.86px;
  text-transform: uppercase;
  color: #6c3acb;
  margin-bottom: 16px;
}

.ecom-team__heading {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: clamp(28px, 8vw, 76px);
  letter-spacing: -0.0455em;
  line-height: 1.1;
  color: #171717;
  margin-bottom: 40px;
}

.ecom-team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ecom-team__card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.13);
  padding: 32px 20px;
  text-align: center;
}

.ecom-team__avatar {
  width: 81px;
  height: 81px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline: auto;
  margin-bottom: 20px;
}

.ecom-team__name {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 19px;
  color: #171717;
  margin-bottom: 10px;
}

.ecom-team__role,
.ecom-team__hours {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: #414c5b;
}

@media (min-width: 768px) {
  .ecom-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ecom-team {
    padding-block: 120px;
  }

  .ecom-team__heading {
    line-height: 0.868;
  }

  .ecom-team__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------------------------------------------------------------------
   Ready to Build — yellow CTA panel (same pattern as .automation-cta)
   --------------------------------------------------------------------- */
.ecom-cta {
    background: #F7F5F9;
    padding: 120px;
}

.ecom-cta__container {
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-inline);
}

.ecom-cta__panel {
  max-width: 1265px;
  margin-inline: auto;
  background: #f6e339;
  border-radius: 10px;
  padding: clamp(40px, 6vw, 91px) clamp(24px, 7vw, 97px) clamp(40px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.ecom-cta__eyebrow {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #171717;
  margin: 0;
}

.ecom-cta__heading {
  font-family: var(--font-base);
  font-weight: 900;
  font-size: clamp(32px, 3.2vw + 20px, 63px);
  line-height: 1.13;
  letter-spacing: normal;
  color: #171717;
  max-width: 900px;
  margin: 0;
}

.ecom-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 23px 36px;
  background: #543582;
  color: #ffffff;
  font-family: var(--font-mono-label);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.ecom-cta__button:hover,
.ecom-cta__button:focus-visible {
  transform: scale(1.08);
}

.ecom-cta__button-arrow {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .ecom-cta {
    padding: 64px 0;
  }

  .ecom-cta__panel {
    max-width: none;
    border-radius: 8px;
    padding: 40px 15px;
    gap: 24px;
  }

  .ecom-cta__eyebrow {
    font-size: 12px;
  }

  .ecom-cta__heading {
    font-weight: 700;
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.19;
    letter-spacing: -0.02em;
    max-width: none;
  }

  .ecom-cta__button {
    width: 100%;
    padding: 17px 24px;
    white-space: normal;
    text-align: center;
  }
}

@media (hover: none) and (pointer: coarse) {
  .ecom-cta__button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecom-cta__button:hover {
    transform: none !important;
  }
}
