.ecom-hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  padding: 18px 0 42px;
  background:
    radial-gradient(
      circle at 72% 35%,
      rgba(131, 106, 255, .16),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fafaff 52%,
      #f2efff 100%
    );
}

.ecom-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(112, 90, 255, .045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(112, 90, 255, .045) 1px,
      transparent 1px
    );
  background-size: 64px 64px;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 45%,
    #000 100%
  );
}

.ecom-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1540px, calc(100% - 64px));
  margin: 0 auto;
}

.ecom-hero__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 650px)
    minmax(560px, 1fr);
  align-items: start;
  gap: 24px;
  min-height: 620px;
}

.ecom-hero__content {
  position: static;
}

.ecom-hero__eyebrow,
.ecom-hero__title,
.ecom-hero__lead,
.ecom-hero__actions {
  position: relative;
  z-index: 3;
}

.ecom-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 18px;
  margin: 0 0 20px;
  border: 1px solid rgba(110, 88, 255, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #664cff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.ecom-hero__eyebrow-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6c50ff;
  box-shadow:
    0 0 0 6px rgba(108, 80, 255, .11);
}

.ecom-hero__title {
  max-width: 650px;
  margin: 0;
  color: #090b12;
  font-family:
    "Manrope",
    "Golos Text",
    sans-serif;
  font-size: clamp(54px, 4.2vw, 76px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.ecom-hero__accent {
  display: block;
  margin: 12px 0 0;
  font-size: .59em;
  line-height: 1.08;
  letter-spacing: -.035em;
  background:
    linear-gradient(
      90deg,
      #6654ff 0%,
      #8a53ff 42%,
      #ef55a6 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ecom-hero__lead {
  max-width: 630px;
  margin: 28px 0 0;
  color: #58668c;
  font-size: 19px;
  line-height: 1.46;
}

.ecom-hero__actions {
  display: flex;
  gap: 15px;
  margin-top: 28px;
}

.ecom-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.ecom-hero__btn:hover {
  transform: translateY(-2px);
}

.ecom-hero__btn--primary {
  gap: 18px;
  min-width: 350px;
  border: 0;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      #5c42ff 0%,
      #8b48f4 53%,
      #e952a7 100%
    );
  box-shadow:
    0 14px 32px rgba(111, 72, 240, .22);
}

.ecom-hero__btn--primary::after {
  content: "→";
  font-size: 23px;
  font-weight: 400;
}

.ecom-hero__btn--secondary {
  min-width: 240px;
  border: 1px solid #9ba4bd;
  color: #111827;
  background: rgba(255, 255, 255, .6);
}

.ecom-hero__visual {
  position: absolute;
  z-index: 2;
  top: -28px;
  right: 30px;
  width: min(57vw, 930px);
  pointer-events: none;
}

.ecom-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1280px) {
  .ecom-hero {
    min-height: 650px;
  }

  .ecom-hero__inner {
    width: min(
      1180px,
      calc(100% - 48px)
    );
  }

  .ecom-hero__grid {
    grid-template-columns:
      minmax(0, 540px)
      1fr;
    min-height: 590px;
  }

  .ecom-hero__visual {
    top: -55px;
    right: -100px;
    width: 815px;
  }
}

@media (max-width: 980px) {
  .ecom-hero {
    min-height: 0;
    padding: 26px 0 38px;
  }

  .ecom-hero__inner {
    width: min(
      calc(100% - 32px),
      720px
    );
  }

  .ecom-hero__grid {
    display: block;
    min-height: 0;
  }

  .ecom-hero__title {
    max-width: 680px;
    font-size: clamp(
      43px,
      10vw,
      68px
    );
  }

  .ecom-hero__lead {
    font-size: 18px;
  }

  .ecom-hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 14px;
  }

  .ecom-hero__btn,
  .ecom-hero__btn--primary,
  .ecom-hero__btn--secondary {
    width: 100%;
    min-width: 0;
  }

  .ecom-hero__visual {
    position: relative;
    z-index: 1;
    top: auto;
    right: auto;
    width: 116%;
    margin: 22px -8% 0;
    pointer-events: none;
  }
}

@media (max-width: 560px) {
  .ecom-hero {
    padding-top: 20px;
  }

  .ecom-hero__inner {
    width: calc(100% - 28px);
  }

  .ecom-hero__eyebrow {
    min-height: 38px;
    margin-bottom: 18px;
    padding: 0 14px;
    font-size: 14px;
  }

  .ecom-hero__title {
    font-size: clamp(36px, 10.4vw, 46px);
  }

  .ecom-hero__accent {
    margin-top: 10px;
    font-size: .55em;
  }

  .ecom-hero__lead {
    margin-top: 21px;
    font-size: 16px;
  }

  .ecom-hero__actions {
    margin-top: 12px;
  }

  .ecom-hero__btn {
    min-height: 54px;
    padding: 0 20px;
    font-size: 15px;
  }

  .ecom-hero__visual {
    width: 124%;
    margin: 18px -12% 0;
  }
}
