/* =========================================================
   MERSAD IMPACT NUMBERS
   ========================================================= */

.mersad-impact {
  position: relative;
  isolation: isolate;

  width: 100%;
  overflow: hidden;

  padding: 132px 0 120px;

  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(211, 242, 0, 0.055),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #050505 0%,
      #070707 52%,
      #050505 100%
    );

  border-bottom:
    1px solid rgba(255, 255, 255, 0.055);
}

.mersad-impact::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -3;

  pointer-events: none;

  opacity: 0.24;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    );

  background-size: 48px 48px;

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 16%,
      black 84%,
      transparent
    );

  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 16%,
      black 84%,
      transparent
    );
}

/* =========================================================
   BACKGROUND GLOWS
   ========================================================= */

.mersad-impact__glow {
  position: absolute;
  z-index: -2;

  pointer-events: none;

  border-radius: 50%;

  filter: blur(12px);
}

.mersad-impact__glow--left {
  top: 80px;
  left: -260px;

  width: 620px;
  height: 620px;

  background:
    radial-gradient(
      circle,
      rgba(211, 242, 0, 0.065),
      transparent 70%
    );
}

.mersad-impact__glow--right {
  right: -320px;
  bottom: -220px;

  width: 700px;
  height: 700px;

  background:
    radial-gradient(
      circle,
      rgba(211, 242, 0, 0.04),
      transparent 72%
    );
}

/* =========================================================
   CONTAINER
   ========================================================= */

.mersad-impact__container {
  position: relative;
  z-index: 2;

  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.mersad-impact__header {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(320px, 0.65fr);

  gap: 80px;
  align-items: end;

  margin-bottom: 76px;
}

.mersad-impact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 22px;

  color: #d3f200;

  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mersad-impact__eyebrow::before {
  content: "";

  width: 7px;
  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: #d3f200;

  box-shadow:
    0 0 16px rgba(211, 242, 0, 0.45);
}

.mersad-impact__title {
  max-width: 820px;
  margin: 0;

  color: #f7f7f5;

  font-family: "Inter", sans-serif;
  font-size: clamp(46px, 5vw, 74px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;

  text-wrap: balance;
}

.mersad-impact__title span {
  display: block;

  color: #d3f200;
}

.mersad-impact__header-copy p {
  max-width: 470px;
  margin: 0;

  color: #9c9c9c;

  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.mersad-impact__header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 28px;

  color: #f2f2f0;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.mersad-impact__header-link svg {
  width: 18px;
  height: 18px;

  fill: none;
  stroke: #d3f200;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform 180ms ease;
}

.mersad-impact__header-link:hover svg {
  transform:
    translateX(4px);
}

/* =========================================================
   NUMBERS
   ========================================================= */

.mersad-impact__numbers {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  border-top:
    1px solid rgba(255, 255, 255, 0.11);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.11);
}

.mersad-impact-stat {
  position: relative;

  min-width: 0;
  min-height: 470px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 54px 42px 48px;

  overflow: hidden;
}

.mersad-impact-stat:not(:last-child) {
  border-right:
    1px solid rgba(255, 255, 255, 0.11);
}

.mersad-impact-stat::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(211, 242, 0, 0.03)
    );

  opacity: 0;

  transition:
    opacity 260ms ease;
}

.mersad-impact-stat:hover::before {
  opacity: 1;
}

.mersad-impact-stat__background {
  position: absolute;
  top: 48px;
  left: 30px;

  color:
    rgba(255, 255, 255, 0.025);

  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 8vw, 132px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-transform: uppercase;

  white-space: nowrap;

  transform:
    rotate(-90deg)
    translateX(-100%);

  transform-origin: top left;

  user-select: none;
  pointer-events: none;
}

.mersad-impact-stat__index {
  position: absolute;
  top: 30px;
  right: 30px;

  color: #5f5f5f;

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.mersad-impact-stat__number {
  display: block;

  color: #d3f200;

  font-family: "Inter", sans-serif;
  font-size: clamp(64px, 7.4vw, 112px);
  font-weight: 850;
  line-height: 0.86;
  letter-spacing: -0.075em;

  white-space: nowrap;

  text-shadow:
    0 0 30px rgba(211, 242, 0, 0.06);
}

.mersad-impact-stat__label {
  max-width: 360px;
  margin: 28px 0 0;

  color: #f0f0ee;

  font-family: "Inter", sans-serif;
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.038em;
}

.mersad-impact-stat__description {
  max-width: 360px;
  margin: 18px 0 0;

  color: #858585;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.72;
}

/* =========================================================
   FOOTER
   ========================================================= */

.mersad-impact__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  margin-top: 48px;
}

.mersad-impact__formula {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;

  color: #797979;

  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mersad-impact__formula i {
  display: block;

  width: 22px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      rgba(211, 242, 0, 0.15),
      #d3f200
    );
}

.mersad-impact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  min-height: 52px;
  padding: 0 24px;

  color: #050505;
  background: #d3f200;

  border: 1px solid #d3f200;
  border-radius: 10px;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;

  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.mersad-impact__cta svg {
  width: 18px;
  height: 18px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform 180ms ease;
}

.mersad-impact__cta:hover {
  transform:
    translateY(-2px);

  background: #e0ff00;

  box-shadow:
    0 16px 34px rgba(211, 242, 0, 0.12);
}

.mersad-impact__cta:hover svg {
  transform:
    translateX(4px);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .mersad-impact {
    padding: 108px 0 100px;
  }

  .mersad-impact__header {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mersad-impact__header-copy p {
    max-width: 700px;
  }

  .mersad-impact-stat {
    min-height: 420px;
    padding: 46px 28px 42px;
  }

  .mersad-impact-stat__number {
    font-size:
      clamp(54px, 7vw, 82px);
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .mersad-impact {
    padding: 84px 0 76px;
  }

  .mersad-impact__container {
    width: min(100% - 24px, 560px);
  }

  .mersad-impact__header {
    margin-bottom: 46px;
  }

  .mersad-impact__eyebrow {
    margin-bottom: 18px;

    font-size: 10px;
  }

  .mersad-impact__title {
    font-size:
      clamp(38px, 11vw, 52px);

    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .mersad-impact__header-copy p {
    font-size: 14px;
    line-height: 1.7;
  }

  .mersad-impact__numbers {
    grid-template-columns: 1fr;
  }

  .mersad-impact-stat {
    min-height: 360px;
    padding: 44px 10px 40px;
  }

  .mersad-impact-stat:not(:last-child) {
    border-right: 0;

    border-bottom:
      1px solid rgba(255, 255, 255, 0.11);
  }

  .mersad-impact-stat__background {
    top: 40px;
    left: 0;

    font-size: 78px;

    transform: none;
  }

  .mersad-impact-stat__index {
    top: 28px;
    right: 8px;
  }

  .mersad-impact-stat__number {
    font-size:
      clamp(66px, 20vw, 94px);
  }

  .mersad-impact-stat__label {
    margin-top: 24px;

    font-size: 27px;
  }

  .mersad-impact-stat__description {
    font-size: 13px;
  }

  .mersad-impact__footer {
    align-items: flex-start;
    flex-direction: column;

    margin-top: 38px;
  }

  .mersad-impact__formula {
    gap: 8px;
  }

  .mersad-impact__formula i {
    width: 14px;
  }

  .mersad-impact__cta {
    width: 100%;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .mersad-impact-stat::before,
  .mersad-impact__header-link svg,
  .mersad-impact__cta,
  .mersad-impact__cta svg {
    transition-duration:
      0.01ms !important;
  }
}