/* =============================================
   NRR — ValueFlex Scroll-driven Product Showcase
============================================= */
/* ---- Background: dot grid (scoped to sticky viewport) ---- */
.nrr-ps__sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ---- Background: concentric circles, bottom-right corner ---- */
.nrr-ps__sticky::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 920PX;
  height: 920px;
  background: transparent;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px   rgba(255,255,255,0.10),
    0 0 0 60px  rgba(255,255,255,0.05),
    0 0 0 120px rgba(255,255,255,0.04),
    0 0 0 180px rgba(255,255,255,0.03),
    0 0 0 240px rgba(255,255,255,0.02);
  pointer-events: none;
  z-index: 0;
}

.nrr-ps *,
.nrr-ps *::before,
.nrr-ps *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.nrr-ps {
  font-family: "Poppins", sans-serif;
  background: #247ffd;
}

/* Sticky viewport-height frame */
.nrr-ps__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  overflow: hidden;
  z-index: 1; /* above pseudo-element backgrounds */
}

/* ---- Logos top-right ---- */
.nrr-ps__logos {
  position: absolute;
  top: 15%;
  right: 25%;
  display: flex;
  align-items: center;
  gap: 40px;
  z-index: 10;
}

.nrr-ps__logo {
  width: 160px;
  height: auto;
}

.nrr-ps__logo--white {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}


/* ---- Left panel ---- */
.nrr-ps__left {
  width: 40%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px 0 64px;
}

.nrr-ps__eyebrow {
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.nrr-ps__title {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.nrr-ps__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 32px;
}

/* CTA button — white solid on blue */
.nrr-ps__cta {
  display: inline-flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 6px;
  background: #ff3317;
  color: #ffffff;
  border: 2px solid #ff3317;
  transition: all 0.2s ease;
  margin-bottom: 36px;
  align-self: flex-start;
}

.nrr-ps__cta:hover {
  background: #e02a10;
  border-color: #e02a10;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 51, 23, 0.4);
}

/* Progress dots */
.nrr-ps__dots {
  display: flex;
  gap: 8px;
}

.nrr-ps__dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, width 0.3s ease;
}

.nrr-ps__dot.is-active {
  background: #ffffff;
  width: 40px;
}

/* ---- Right panel ---- */
.nrr-ps__right {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-left: 16px;
}

.nrr-ps__track {
  display: flex;
  gap: 20px;
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  align-items: center;
}

/* ---- Product card — photo + name only ---- */
.nrr-ps__card {
  flex-shrink: 0;
  width: 280px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  transform: scale(0.92);
  opacity: 0.5;
  transition: transform 0.4s ease, opacity 0.4s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.nrr-ps__card.is-active {
  transform: scale(1);
  opacity: 1;
}

.nrr-ps__card-img-wrap {
  position: relative;
  height: 320px;
  background: #f0f1f3;
  overflow: hidden;
}

.nrr-ps__card-num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 10px;
  border-radius: 100px;
  z-index: 1;
}

.nrr-ps__card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.nrr-ps__card.is-active .nrr-ps__card-img {
  transform: scale(1.04);
}

.nrr-ps__card-footer {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nrr-ps__card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #247ffd;
}

.nrr-ps__card-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f1721;
  line-height: 1.25;
}

/* ---- Mobile ---- */
@media (max-width: 900px) {
  .nrr-ps {
    height: auto !important;
    padding: 64px 0 48px;
  }

  .nrr-ps__sticky {
    position: static;
    height: auto;
    flex-direction: column;
    overflow: visible;
  }

  /* Hide decorative effects and floating logos — they escape when sticky loses position */
  .nrr-ps__sticky::before,
  .nrr-ps__sticky::after,
  .nrr-ps__logos {
    display: none;
  }

  .nrr-ps__left {
    width: 100%;
    padding: 0 24px 40px;
  }

  .nrr-ps__right {
    padding-left: 24px;
    overflow: hidden;
  }

  .nrr-ps__track {
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nrr-ps__card {
    width: calc(75vw);
    max-width: 300px;
    transform: scale(1);
    opacity: 1;
  }

  .nrr-ps__card.is-active {
    transform: scale(1);
    opacity: 1;
  }
}

