/* =====================================================
   E-COMMERCE INDUSTRY PAGE
   Scoped CSS
===================================================== */

.ecommerce-page {
  --ecom-dark: #073f42;
  --ecom-deep: #062f34;
  --ecom-teal: #079a9c;
  --ecom-bright: #64d5d1;
  --ecom-soft: #e9f5f3;
  --ecom-pale: #f4faf9;
  --ecom-text: #193d40;
  --ecom-muted: #718689;
  --ecom-border: rgba(7, 63, 66, 0.12);
}


/* =====================================================
   GLOBAL
===================================================== */

.ecommerce-page {
  overflow-x: hidden;
}

.ecommerce-page section {
  position: relative;
}

.ecommerce-page h1,
.ecommerce-page h2,
.ecommerce-page h3,
.ecommerce-page p {
  margin-top: 0;
}

.ecommerce-page a {
  text-decoration: none;
}


/* =====================================================
   HERO
===================================================== */

.ecom-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;

  background:
    radial-gradient(
      circle at 78% 20%,
      rgba(83, 213, 207, 0.20),
      transparent 28%
    ),
    radial-gradient(
      circle at 20% 90%,
      rgba(0, 160, 157, 0.20),
      transparent 30%
    ),
    linear-gradient(
      120deg,
      #063d40 0%,
      #07585a 48%,
      #123e49 100%
    );
}


.ecom-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255,255,255,0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.025) 1px,
      transparent 1px
    );

  background-size: 55px 55px;

  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,.8),
    transparent
  );
}


.ecom-hero .container {
  position: relative;
  z-index: 2;
}


.ecom-hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;

  background: rgba(70, 213, 207, 0.08);

  filter: blur(10px);

  right: -160px;
  bottom: -220px;

  animation: ecomGlow 7s ease-in-out infinite alternate;
}


@keyframes ecomGlow {

  from {
    transform: scale(.9);
    opacity: .5;
  }

  to {
    transform: scale(1.1);
    opacity: 1;
  }

}


/* =====================================================
   BREADCRUMB
===================================================== */

.ecom-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 13px;
  color: rgba(255,255,255,.58);
}


.ecom-breadcrumb a {
  color: rgba(255,255,255,.58);
  transition: color .25s ease;
}


.ecom-breadcrumb a:hover {
  color: #fff;
}


.ecom-breadcrumb i {
  font-size: 10px;
  opacity: .5;
}


.ecom-breadcrumb span {
  color: #fff;
}


/* =====================================================
   EYEBROW
===================================================== */

.ecom-eyebrow,
.ecom-section-label {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: .18em;
  text-transform: uppercase;
}


.ecom-eyebrow {
  color: var(--ecom-bright);
  margin-bottom: 22px;
}


.ecom-eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--ecom-bright);
}


/* =====================================================
   HERO TYPOGRAPHY
===================================================== */

.ecom-hero h1 {
  max-width: 780px;
  margin: 0 0 28px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}


.ecom-hero h1 strong {
  display: block;

  color: var(--ecom-bright);
  font-weight: 600;
}


.ecom-hero-copy {
  max-width: 650px;

  font-size: 17px;
  line-height: 1.8;

  color: rgba(255,255,255,.72);

  margin-bottom: 35px;
}


/* =====================================================
   HERO BUTTONS
===================================================== */

.ecom-hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}


.ecom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  min-height: 55px;

  padding: 0 25px;

  border-radius: 100px;

  font-size: 13px;
  font-weight: 700;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}


.ecom-btn i {
  transition: transform .3s ease;
}


.ecom-btn:hover {
  transform: translateY(-3px);
}


.ecom-btn:hover i {
  transform: translate(3px,-3px);
}


.ecom-btn-light {
  background: #fff;
  color: var(--ecom-dark);
}


.ecom-btn-light:hover {
  color: var(--ecom-dark);
  box-shadow: 0 14px 35px rgba(0,0,0,.15);
}


.ecom-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: rgba(255,255,255,.65);

  font-size: 13px;
  font-weight: 600;

  transition: color .25s ease;
}


.ecom-text-link:hover {
  color: #fff;
}


/* =====================================================
   HERO VISUAL
===================================================== */

.ecom-hero-visual {
  height: 520px;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}


.ecom-orbit {
  position: absolute;

  border: 1px solid rgba(115, 225, 220, .18);

  border-radius: 50%;

  animation: orbitPulse 5s ease-in-out infinite;
}


.orbit-one {
  width: 440px;
  height: 440px;
}


.orbit-two {
  width: 610px;
  height: 610px;

  opacity: .45;

  animation-delay: 1s;
}


@keyframes orbitPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .4;
  }

  50% {
    transform: scale(1.035);
    opacity: .8;
  }

}


/* =====================================================
   FLOW CARD
===================================================== */

.ecom-flow-card {
  width: min(500px, 90%);

  position: relative;
  z-index: 3;

  padding: 32px;

  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.13),
      rgba(255,255,255,.055)
    );

  border: 1px solid rgba(255,255,255,.16);

  box-shadow:
    0 35px 80px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.08);

  backdrop-filter: blur(18px);

  animation: cardFloat 5s ease-in-out infinite;
}


@keyframes cardFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

}


.flow-card-top {
  display: flex;
  align-items: center;
  gap: 13px;

  margin-bottom: 38px;
}


.flow-card-top span {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  color: var(--ecom-bright);

  background: rgba(93,215,208,.10);
}


.flow-card-top small {
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 700;

  color: rgba(255,255,255,.55);
}


.flow-track {
  display: flex;
  align-items: center;
}


.flow-node {
  width: 82px;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 10px;

  text-align: center;
}


.flow-node > span {
  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  border: 1px solid rgba(255,255,255,.14);

  background: rgba(255,255,255,.05);

  color: rgba(255,255,255,.65);

  transition: all .3s ease;
}


.flow-node.active > span {
  background: var(--ecom-teal);
  border-color: transparent;
  color: #fff;

  box-shadow:
    0 10px 30px rgba(0,190,183,.25);
}


.flow-node strong {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
}


.flow-line {
  flex: 1;
  height: 1px;

  margin: 0 5px;

  position: relative;

  background: rgba(255,255,255,.14);
}


.flow-line span {
  position: absolute;
  width: 20px;
  height: 2px;

  left: 0;
  top: -1px;

  background: var(--ecom-bright);

  animation: flowMove 2.2s linear infinite;
}


@keyframes flowMove {

  from {
    left: 0;
  }

  to {
    left: calc(100% - 20px);
  }

}


.flow-status {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-top: 32px;

  font-size: 11px;
  color: rgba(255,255,255,.48);
}


.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #64d5d1;

  box-shadow: 0 0 0 5px rgba(100,213,209,.08);

  animation: statusPulse 2s infinite;
}


@keyframes statusPulse {

  50% {
    box-shadow: 0 0 0 9px rgba(100,213,209,0);
  }

}


/* =====================================================
   FLOATING CARDS
===================================================== */

.ecom-floating-card {
  position: absolute;

  z-index: 4;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 15px 18px;

  border-radius: 14px;

  background: rgba(255,255,255,.96);

  color: var(--ecom-dark);

  box-shadow: 0 18px 40px rgba(0,0,0,.16);

  animation: floatingCard 4s ease-in-out infinite;
}


.ecom-floating-card i {
  width: 35px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: var(--ecom-soft);

  color: var(--ecom-teal);
}


.ecom-floating-card small {
  display: block;

  font-size: 8px;
  letter-spacing: .12em;

  color: var(--ecom-muted);
}


.ecom-floating-card strong {
  display: block;

  font-size: 11px;
}


.floating-top {
  top: 80px;
  right: 5px;
}


.floating-bottom {
  bottom: 75px;
  left: 5px;

  animation-delay: 1.2s;
}


@keyframes floatingCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

}


/* =====================================================
   INTRO
===================================================== */

.ecom-intro {
  padding: 125px 0;

  background: #fff;
}


.ecom-section-label {
  color: var(--ecom-teal);

  margin-bottom: 22px;
}


.ecom-intro h2,
.ecom-section-heading h2,
.ecom-flow-section h2,
.ecom-applications h2,
.ecom-why h2 {
  color: var(--ecom-text);
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
}


.ecom-large-copy {
  color: var(--ecom-text);

  font-size: 22px;
  line-height: 1.6;

  margin-bottom: 22px;
}


.ecom-intro p:not(.ecom-large-copy) {
  color: var(--ecom-muted);

  font-size: 16px;
  line-height: 1.9;

  max-width: 620px;
}


/* =====================================================
   CAPABILITIES
===================================================== */

.ecom-capabilities {
  padding: 125px 0;

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(55,180,176,.10),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #f1f8f7,
      #e9f5f3
    );
}


.ecom-section-heading {
  max-width: 760px;

  margin-bottom: 65px;
}


.ecom-section-heading p {
  max-width: 600px;

  margin-top: 24px;

  color: var(--ecom-muted);

  line-height: 1.8;
}


/* =====================================================
   CAPABILITY CARD
===================================================== */

.ecom-capability-card {
  height: 100%;

  min-height: 285px;

  position: relative;

  padding: 30px;

  border-radius: 22px;

  background: rgba(255,255,255,.82);

  border: 1px solid rgba(7,63,66,.08);

  overflow: hidden;

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}


.ecom-capability-card::before {
  content: "";

  position: absolute;

  width: 160px;
  height: 160px;

  right: -70px;
  top: -70px;

  border-radius: 50%;

  background: rgba(82,210,203,.10);

  transition: transform .4s ease;
}


.ecom-capability-card:hover {
  transform: translateY(-8px);

  border-color: rgba(7,154,156,.20);

  box-shadow:
    0 25px 50px rgba(20,70,70,.10);
}


.ecom-capability-card:hover::before {
  transform: scale(1.4);
}


.card-icon {
  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 32px;

  border-radius: 15px;

  background: var(--ecom-dark);

  color: var(--ecom-bright);

  font-size: 20px;
}


.ecom-capability-card > span {
  position: absolute;

  right: 27px;
  top: 29px;

  font-size: 10px;
  letter-spacing: .15em;

  color: #a4b5b5;
}


.ecom-capability-card h3 {
  position: relative;

  color: var(--ecom-text);

  font-size: 20px;
  font-weight: 600;

  margin-bottom: 14px;
}


.ecom-capability-card p {
  position: relative;

  color: var(--ecom-muted);

  font-size: 14px;
  line-height: 1.75;

  max-width: 330px;
}


.card-arrow {
  position: absolute;

  right: 28px;
  bottom: 28px;

  color: var(--ecom-teal);

  opacity: 0;

  transform: translate(-5px,5px);

  transition: all .3s ease;
}


.ecom-capability-card:hover .card-arrow {
  opacity: 1;
  transform: translate(0,0);
}


/* =====================================================
   FLOW SECTION
===================================================== */

.ecom-flow-section {
  padding: 130px 0;

  background: #fff;
}


.ecom-flow-section .row {
  margin-bottom: 75px;
}


.ecom-flow-section p {
  color: var(--ecom-muted);

  font-size: 16px;
  line-height: 1.85;
}


/* =====================================================
   PROCESS
===================================================== */

.ecom-process {
  display: flex;
  align-items: flex-start;

  padding: 50px 35px;

  border-radius: 26px;

  background:
    linear-gradient(
      135deg,
      #073f42,
      #0c6465
    );

  box-shadow:
    0 30px 70px rgba(7,63,66,.16);
}


.process-step {
  flex: 1;

  text-align: center;

  color: #fff;
}


.process-icon {
  width: 65px;
  height: 65px;

  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  color: var(--ecom-bright);

  background: rgba(255,255,255,.08);

  border: 1px solid rgba(255,255,255,.12);

  font-size: 21px;

  transition: all .3s ease;
}


.process-step:hover .process-icon {
  background: var(--ecom-bright);
  color: var(--ecom-dark);

  transform: translateY(-5px);
}


.process-step h3 {
  font-size: 17px;
  font-weight: 600;

  margin-bottom: 9px;
}


.process-step p {
  margin: 0;

  color: rgba(255,255,255,.55);

  font-size: 12px;
}


.process-connector {
  width: 65px;

  margin-top: 32px;

  height: 1px;

  position: relative;

  background: rgba(255,255,255,.18);
}


.process-connector span {
  position: absolute;

  width: 15px;
  height: 2px;

  top: -1px;
  left: 0;

  background: var(--ecom-bright);

  animation: processMove 2.5s linear infinite;
}


@keyframes processMove {

  from {
    left: 0;
  }

  to {
    left: calc(100% - 15px);
  }

}


/* =====================================================
   APPLICATIONS
===================================================== */

.ecom-applications {
  padding: 125px 0;
  background: radial-gradient(      circle at 90% 10%,      rgba(55,180,176,.10),      transparent 25%    ),    linear-gradient(      135deg,      #f1f8f7,      #e9f5f3    );
}


.ecom-applications p {
  color: var(--ecom-muted);

  line-height: 1.85;

  max-width: 560px;
}


.ecom-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 25px;

  padding: 15px 22px;

  border: 1px solid rgba(7,63,66,.22);

  border-radius: 100px;

  color: var(--ecom-dark);

  font-size: 13px;
  font-weight: 700;

  transition: all .3s ease;
}


.ecom-outline-btn:hover {
  background: var(--ecom-dark);
  color: #fff;

  border-color: var(--ecom-dark);

  transform: translateY(-3px);
}


/* =====================================================
   APPLICATION GRID
===================================================== */

.ecom-application-grid {
  display: grid;

  grid-template-columns: repeat(2,1fr);

  gap: 18px;
}


.application-tile {
  min-height: 210px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 28px;

  border-radius: 20px;

  background: #fff;

  border: 1px solid rgba(7,63,66,.08);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}


.application-tile:hover {
  transform: translateY(-6px);

  box-shadow:
    0 22px 45px rgba(20,70,70,.10);
}


.application-tile > i {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background: var(--ecom-soft);

  color: var(--ecom-teal);

  font-size: 19px;
}


.application-tile h3 {
  margin: 20px 0 8px;

  color: var(--ecom-text);

  font-size: 18px;
}


.application-tile p {
  margin: 0;

  color: var(--ecom-muted);

  font-size: 13px;
  line-height: 1.65;
}


/* =====================================================
   WHY
===================================================== */

.ecom-why {
  padding: 125px 0;

  background: #fff;
}


.ecom-why-card {
  min-height: 255px;

  padding: 30px;

  border-top: 2px solid var(--ecom-teal);

  background:
    linear-gradient(
      180deg,
      #f5faf9,
      #fff
    );

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}


.ecom-why-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 45px rgba(20,70,70,.08);
}


.ecom-why-card > i {
  font-size: 25px;

  color: var(--ecom-teal);

  display: block;

  margin-bottom: 45px;
}


.ecom-why-card h3 {
  color: var(--ecom-text);

  font-size: 18px;

  margin-bottom: 12px;
}


.ecom-why-card p {
  color: var(--ecom-muted);

  font-size: 13px;

  line-height: 1.7;
}


/* =====================================================
   CTA
===================================================== */

.ecom-cta {
  padding: 100px 0;

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      125deg,
      #073c40,
      #075e60
    );

  color: #fff;
}


.ecom-cta-glow {
  position: absolute;

  width: 450px;
  height: 450px;

  right: -120px;
  top: -200px;

  border-radius: 50%;

  background: rgba(87,215,208,.13);

  filter: blur(5px);
}


.ecom-cta-inner {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 50px;
}


.ecom-cta .ecom-section-label {
  color: var(--ecom-bright);
}


.ecom-cta h2 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
}


.ecom-cta p {
  max-width: 620px;

  margin: 0;

  color: rgba(255,255,255,.65);

  line-height: 1.8;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1199px) {

  .ecom-hero {
    min-height: auto;

    padding: 90px 0 100px;
  }

  .ecom-hero-visual {
    height: 470px;
  }

  .orbit-two {
    width: 520px;
    height: 520px;
  }

}


@media (max-width: 991px) {

  .ecom-hero {
    padding-top: 70px;
  }

  .ecom-breadcrumb {
    margin-bottom: 40px;
  }

  .ecom-hero h1 {
    max-width: 700px;
  }

  .ecom-hero-visual {
    margin-top: 30px;
  }

  .ecom-process {
    flex-wrap: wrap;

    row-gap: 35px;
  }

  .process-step {
    flex: 0 0 calc(33.333% - 25px);
  }

  .process-connector {
    display: none;
  }

  .ecom-cta-inner {
    align-items: flex-start;

    flex-direction: column;
  }

}


@media (max-width: 767px) {

  .ecom-hero {
    padding: 55px 0 75px;
  }

  .ecom-breadcrumb {
    margin-bottom: 35px;
  }

  .ecom-hero h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .ecom-hero-copy {
    font-size: 15px;
  }

  .ecom-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .ecom-hero-visual {
    height: 400px;
  }

  .ecom-flow-card {
    padding: 23px;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 430px;
    height: 430px;
  }

  .floating-top {
    top: 30px;
    right: 0;
  }

  .floating-bottom {
    bottom: 30px;
    left: 0;
  }

  .ecom-intro,
  .ecom-capabilities,
  .ecom-flow-section,
  .ecom-applications,
  .ecom-why {
    padding: 85px 0;
  }

  .ecom-intro h2,
  .ecom-section-heading h2,
  .ecom-flow-section h2,
  .ecom-applications h2,
  .ecom-why h2 {
    font-size: 40px;
  }

  .ecom-process {
    padding: 35px 20px;
  }

  .process-step {
    flex: 0 0 50%;
  }

  .ecom-application-grid {
    grid-template-columns: 1fr;
  }

  .ecom-cta {
    padding: 80px 0;
  }

}


@media (max-width: 575px) {

  .ecom-hero-visual {
    height: 350px;
  }

  .ecom-flow-card {
    width: 100%;
  }

  .flow-node {
    width: 65px;
  }

  .flow-node > span {
    width: 45px;
    height: 45px;
  }

  .flow-node strong {
    font-size: 9px;
  }

  .floating-top,
  .floating-bottom {
    transform: scale(.85);
  }

  .ecom-capability-card {
    min-height: 250px;
  }

  .process-step {
    flex: 0 0 100%;
  }

  .process-step p {
    max-width: 220px;
    margin: auto;
  }

  .ecom-cta h2 {
    font-size: 43px;
  }

}