.pre-footer {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.unlock-bg-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.25;
  z-index: 1;
}

.unlock-bg-track,
.unlock-bg-gradient {
  position: absolute;
  inset: 0;
}

.unlock-bg-track {
  width: 266.6664%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  animation: pre-footer-carousel 120s linear infinite;
  will-change: transform;
}

@media (max-width: 1024px) {
  .unlock-bg-track {
    width: 400%;
  }
}

@media (max-width: 640px) {
  .unlock-bg-track {
    width: 800%;
  }
}

.unlock-bg-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.unlock-bg-gradient {
  background: linear-gradient(135deg, var(--color-pre-footer-overlay-1) 20%, var(--color-pre-footer-overlay-2) 70%);
}

@keyframes pre-footer-carousel {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-62.5%);
  }
}

.unlock-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.unlock-col-left,
.unlock-col-right,
.unlock-benefits-list {
  display: flex;
  flex-direction: column;
}

.unlock-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 3.2rem;
  color: var(--color-bg-white);
  line-height: 1.1;
}

.unlock-col-right {
  gap: 2rem;
}

.unlock-benefits-list {
  list-style: none;
  gap: 0.85rem;
}

.unlock-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.benefit-checkmark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-accent-lime);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-checkmark svg {
  width: var(--icon-2xs);
  height: var(--icon-2xs);
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
}

.collage-container {
  position: relative;
  height: 320px;
  width: 100%;
}

.collage-img {
  position: absolute;
  border: 4px solid var(--color-bg-white);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.3s ease, z-index 0.2s;
}

.collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.5) contrast(1.1);
}

.collage-img:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 20 !important;
}

.img-main {
  width: 170px;
  height: 170px;
  top: 10%;
  left: 10%;
  transform: rotate(-4deg);
  z-index: 3;
}

.img-sub-1 {
  width: 160px;
  height: 130px;
  bottom: 10%;
  left: 35%;
  transform: rotate(6deg);
  z-index: 5;
}

.img-sub-2 {
  width: 110px;
  height: 110px;
  top: 25%;
  right: 5%;
  transform: rotate(-10deg);
  z-index: 2;
}

@media (max-width: 1024px) {
  .unlock-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .collage-container {
    height: 250px;
  }
}
