.lp-hero-bg {
  --lp-hero-bg-ink: #0f172a;
  --lp-hero-bg-line: #cbd5e1;
  --lp-hero-bg-card: #ffffff;
  --lp-hero-bg-soft: #f1f5f9;
  --lp-hero-bg-accent: #93c5fd;

  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 42%, #f8fafc 100%);
}

.lp-hero-bg__aurora {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 55% 45% at 18% 22%, rgba(147, 197, 253, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 40% at 82% 18%, rgba(196, 181, 253, 0.22), transparent 72%),
    radial-gradient(ellipse 60% 50% at 50% 88%, rgba(186, 230, 253, 0.28), transparent 68%);
  animation: lpHeroAurora 24s ease-in-out infinite alternate;
}

.lp-hero-bg__columns {
  position: absolute;
  inset: -12% -8%;
  display: flex;
  justify-content: center;
  gap: clamp(0.65rem, 1.6vw, 1rem);
  transform: rotate(-10deg) scale(1.14);
  transform-origin: center center;
  filter: saturate(1.05);
}

.lp-hero-bg__col {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.5vw, 0.9rem);
  width: clamp(7.5rem, 11vw, 10.5rem);
  flex-shrink: 0;
  animation: lpHeroColScroll var(--col-dur) linear infinite;
  animation-delay: var(--col-delay);
}

.lp-hero-bg__col:nth-child(odd) {
  animation-direction: reverse;
  padding-top: 1.75rem;
}

.lp-hero-bg__card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid var(--lp-hero-bg-line);
  background: var(--lp-hero-bg-card);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 24px rgba(15, 23, 42, 0.07);
  animation: lpHeroCardFloat calc(5s + (var(--col-i) * 0.6s)) ease-in-out infinite;
  animation-delay: calc(var(--col-i) * -0.55s);
}

.lp-hero-bg__card--v1 {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.lp-hero-bg__card--v2 {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-color: #bfdbfe;
}

.lp-hero-bg__card--v3 {
  min-height: 5.5rem;
}

.lp-hero-bg__card--v3 .lp-hero-bg__card-line--sm {
  width: 42%;
}

.lp-hero-bg__card-chrome {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.lp-hero-bg__card-chrome span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #e2e8f0;
}

.lp-hero-bg__card-chrome span:first-child {
  background: #fca5a5;
}

.lp-hero-bg__card-chrome span:nth-child(2) {
  background: #fde047;
}

.lp-hero-bg__card-chrome span:nth-child(3) {
  background: #86efac;
}

.lp-hero-bg__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.lp-hero-bg__card-line {
  display: block;
  height: 0.38rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 100%);
}

.lp-hero-bg__card-line--sm {
  width: 58%;
}

.lp-hero-bg__card-pill {
  display: block;
  width: 44%;
  height: 0.55rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #bfdbfe, #dbeafe);
}

.lp-hero-bg__card--v2 .lp-hero-bg__card-pill {
  background: linear-gradient(90deg, #c4b5fd, #e9d5ff);
}

.lp-hero-bg__fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 85% 70% at 50% 42%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 48%, transparent 72%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.94) 0%, rgba(248, 250, 252, 0.35) 28%, rgba(248, 250, 252, 0.35) 72%, rgba(248, 250, 252, 0.9) 100%);
}

@keyframes lpHeroAurora {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(2%, -3%, 0) scale(1.06);
    opacity: 1;
  }
}

@keyframes lpHeroColScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes lpHeroCardFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -4px, 0);
  }
}

@media (max-width: 900px) {
  .lp-hero-bg__columns {
    gap: 0.55rem;
    transform: rotate(-8deg) scale(1.22);
  }

  .lp-hero-bg__col {
    width: clamp(6.5rem, 24vw, 8.5rem);
  }

  .lp-hero-bg__col:nth-child(n + 6) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-bg__aurora,
  .lp-hero-bg__col,
  .lp-hero-bg__card {
    animation: none;
  }
}
