/* Nutrivibe — Premium Digital Resource Landing
   Reusable · Apple + Headspace inspired */

.nv-v3 .nv-rl-page {
  padding-top: 5.5rem;
  padding-bottom: 0;
  overflow-x: clip;
}

.nv-v3 .nv-rl-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--nv-ink-secondary);
  text-decoration: none;
  transition: color 0.2s var(--nv-ease);
}

.nv-v3 .nv-rl-back:hover {
  color: var(--nv-purple);
}

/* ── Hero ── */
.nv-v3 .nv-rl-hero-wrap {
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.nv-v3 .nv-rl-hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .nv-v3 .nv-rl-hero {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
  }
}

.nv-v3 .nv-rl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nv-purple);
  background: var(--nv-purple-soft);
  border-radius: 999px;
}

.nv-v3 .nv-rl-badge--free {
  color: #4a6f14;
  background: var(--nv-green-soft);
}

.nv-v3 .nv-rl-title {
  margin: 0;
  font-family: var(--nv-font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.nv-v3 .nv-rl-subtitle {
  margin: 0.85rem 0 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--nv-purple);
  line-height: 1.4;
}

.nv-v3 .nv-rl-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-family: var(--nv-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nv-v3 .nv-rl-price small {
  font-family: var(--nv-font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nv-ink-muted);
}

.nv-v3 .nv-rl-price--free {
  color: #4a6f14;
}

.nv-v3 .nv-rl-lead {
  margin: 1.25rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--nv-ink-secondary);
  max-width: 36rem;
}

.nv-v3 .nv-rl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.nv-v3 .nv-rl-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.nv-v3 .nv-rl-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nv-ink-secondary);
}

.nv-v3 .nv-rl-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--nv-green-bright);
  background: var(--nv-green-soft);
  border-radius: 50%;
}

.nv-v3 .nv-rl-cover-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.nv-v3 .nv-rl-cover-glow {
  position: absolute;
  inset: 8% 5% -5%;
  background: radial-gradient(ellipse at center, var(--nv-purple-glow), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.nv-v3 .nv-rl-cover {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 3 / 4;
  border-radius: var(--nv-radius-xl);
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(28, 28, 34, 0.04),
    0 24px 64px rgba(28, 28, 34, 0.12),
    0 8px 24px rgba(124, 77, 255, 0.1);
  background: linear-gradient(145deg, var(--nv-purple-soft) 0%, #ede8ff 50%, var(--nv-green-soft) 100%);
}

.nv-v3 .nv-rl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nv-v3 .nv-rl-cover-fallback {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 2rem;
  background: linear-gradient(160deg, #8b6cf8 0%, var(--nv-purple) 45%, #5a30b0 100%);
  color: #fff;
}

.nv-v3 .nv-rl-cover-fallback span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nv-v3 .nv-rl-cover-fallback h2 {
  margin: 0.5rem 0 0;
  font-family: var(--nv-font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
}

/* ── Section shell ── */
.nv-v3 .nv-rl-section {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.nv-v3 .nv-rl-section--soft {
  background: var(--nv-surface-soft);
}

.nv-v3 .nv-rl-section--purple {
  background: linear-gradient(180deg, var(--nv-purple-soft) 0%, var(--nv-surface) 100%);
}

.nv-v3 .nv-rl-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.nv-v3 .nv-rl-section-head--left {
  text-align: left;
  margin-inline: 0;
}

.nv-v3 .nv-rl-section-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nv-purple);
}

.nv-v3 .nv-rl-section-title {
  margin: 0;
  font-family: var(--nv-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.nv-v3 .nv-rl-section-lead {
  margin: 0.85rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--nv-ink-secondary);
}

/* ── Benefits grid ── */
.nv-v3 .nv-rl-benefits-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .nv-v3 .nv-rl-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .nv-v3 .nv-rl-benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.nv-v3 .nv-rl-benefit-card {
  padding: 1.5rem;
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-lg);
  box-shadow: var(--nv-shadow-card);
  transition: transform 0.3s var(--nv-ease-out), box-shadow 0.3s var(--nv-ease-out);
}

.nv-v3 .nv-rl-section--soft .nv-rl-benefit-card {
  background: var(--nv-surface);
}

.nv-v3 .nv-rl-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nv-shadow-card-hover);
}

.nv-v3 .nv-rl-benefit-card h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.nv-v3 .nv-rl-benefit-card p {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--nv-ink-secondary);
}

/* ── Features grid ── */
.nv-v3 .nv-rl-features-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 720px) {
  .nv-v3 .nv-rl-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nv-v3 .nv-rl-feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem;
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-md);
  transition: border-color 0.2s, background 0.2s;
}

.nv-v3 .nv-rl-feature-card:hover {
  border-color: rgba(124, 77, 255, 0.2);
  background: var(--nv-purple-soft);
}

.nv-v3 .nv-rl-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.125rem;
  background: var(--nv-purple-soft);
  border-radius: var(--nv-radius-sm);
}

.nv-v3 .nv-rl-feature-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.nv-v3 .nv-rl-feature-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--nv-ink-secondary);
}

/* ── Gallery ── */
.nv-v3 .nv-rl-gallery-wrap {
  position: relative;
}

.nv-v3 .nv-rl-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nv-v3 .nv-rl-gallery::-webkit-scrollbar {
  display: none;
}

.nv-v3 .nv-rl-gallery-item {
  flex: 0 0 min(78vw, 280px);
  scroll-snap-align: start;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--nv-radius-lg);
  overflow: hidden;
  box-shadow: var(--nv-shadow-card);
  transition: transform 0.3s var(--nv-ease-out), box-shadow 0.3s;
}

.nv-v3 .nv-rl-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--nv-shadow-card-hover);
}

.nv-v3 .nv-rl-gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.nv-v3 .nv-rl-gallery-item--placeholder {
  cursor: default;
}

.nv-v3 .nv-rl-gallery-item--placeholder:hover {
  transform: none;
  box-shadow: var(--nv-shadow-card);
}

.nv-v3 .nv-rl-gallery-placeholder {
  display: flex;
  align-items: flex-end;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 1.25rem;
  background: linear-gradient(145deg, var(--nv-purple-soft), var(--nv-green-soft));
  color: var(--nv-ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
}

.nv-v3 .nv-rl-gallery-hint {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--nv-ink-muted);
  text-align: center;
}

/* Lightbox */
.nv-v3 .nv-rl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(12, 12, 18, 0.88);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--nv-ease), visibility 0.3s;
}

.nv-v3 .nv-rl-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.nv-v3 .nv-rl-lightbox img {
  max-width: min(92vw, 720px);
  max-height: 88vh;
  border-radius: var(--nv-radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.nv-v3 .nv-rl-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.nv-v3 .nv-rl-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ── Transformation ── */
.nv-v3 .nv-rl-transform {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.nv-v3 .nv-rl-transform-lead {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--nv-ink-secondary);
}

.nv-v3 .nv-rl-transform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.nv-v3 .nv-rl-transform-list li {
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nv-purple-deep);
  background: var(--nv-surface);
  border: 1px solid rgba(124, 77, 255, 0.15);
  border-radius: 999px;
}

/* ── Testimonials ── */
.nv-v3 .nv-rl-testimonials {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .nv-v3 .nv-rl-testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nv-v3 .nv-rl-testimonial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-lg);
  box-shadow: var(--nv-shadow-card);
}

.nv-v3 .nv-rl-testimonial-quote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--nv-ink);
}

.nv-v3 .nv-rl-testimonial-quote::before {
  content: "“";
  color: var(--nv-purple);
  font-family: var(--nv-font-display);
  font-size: 1.5rem;
  line-height: 0;
  vertical-align: -0.15em;
  margin-right: 0.15rem;
}

.nv-v3 .nv-rl-testimonial-author {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
}

.nv-v3 .nv-rl-testimonial-role {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--nv-ink-muted);
}

/* ── FAQ ── */
.nv-v3 .nv-rl-faq {
  max-width: 44rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nv-v3 .nv-rl-faq-item {
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-md);
  background: var(--nv-surface);
  overflow: hidden;
  transition: border-color 0.2s;
}

.nv-v3 .nv-rl-faq-item.is-open {
  border-color: rgba(124, 77, 255, 0.25);
  box-shadow: 0 4px 20px rgba(124, 77, 255, 0.06);
}

.nv-v3 .nv-rl-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.25rem;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--nv-ink);
  cursor: pointer;
}

.nv-v3 .nv-rl-faq-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--nv-purple);
  background: var(--nv-purple-soft);
  border-radius: 50%;
  transition: transform 0.25s var(--nv-ease-out);
}

.nv-v3 .nv-rl-faq-item.is-open .nv-rl-faq-icon {
  transform: rotate(45deg);
}

.nv-v3 .nv-rl-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--nv-ease-out);
}

.nv-v3 .nv-rl-faq-item.is-open .nv-rl-faq-panel {
  grid-template-rows: 1fr;
}

.nv-v3 .nv-rl-faq-panel-inner {
  overflow: hidden;
}

.nv-v3 .nv-rl-faq-panel p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--nv-ink-secondary);
}

/* ── Final CTA ── */
.nv-v3 .nv-rl-cta-band {
  margin-bottom: 0;
  padding-block: clamp(4rem, 10vw, 6rem);
  text-align: center;
  background: linear-gradient(165deg, var(--nv-purple) 0%, var(--nv-purple-deep) 100%);
  color: #fff;
}

.nv-v3 .nv-rl-cta-band .nv-shell {
  max-width: 36rem;
}

.nv-v3 .nv-rl-cta-band h2 {
  margin: 0;
  font-family: var(--nv-font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.nv-v3 .nv-rl-cta-band p {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  opacity: 0.92;
}

.nv-v3 .nv-rl-cta-band .nv-rl-actions {
  justify-content: center;
  margin-top: 2rem;
}

.nv-v3 .nv-rl-cta-band .nv-btn--primary {
  background: #fff;
  color: var(--nv-purple-deep);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.nv-v3 .nv-rl-cta-band .nv-btn--primary:hover {
  background: var(--nv-green-soft);
  color: var(--nv-ink);
}

.nv-v3 .nv-rl-cta-band .nv-btn--secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.nv-v3 .nv-rl-cta-band .nv-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ── Related ── */
.nv-v3 .nv-rl-related-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .nv-v3 .nv-rl-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .nv-v3 .nv-rl-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nv-v3 .nv-rl-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-lg);
  box-shadow: var(--nv-shadow-card);
  transition: transform 0.3s var(--nv-ease-out), box-shadow 0.3s;
}

.nv-v3 .nv-rl-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nv-shadow-card-hover);
}

.nv-v3 .nv-rl-related-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--nv-radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, var(--nv-purple-soft), var(--nv-green-soft));
}

.nv-v3 .nv-rl-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nv-v3 .nv-rl-related-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--nv-purple);
}

.nv-v3 .nv-rl-related-card h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.nv-v3 .nv-rl-related-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--nv-ink-secondary);
}

.nv-v3 .nv-rl-footer-mini {
  padding: 2rem 0 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--nv-ink-muted);
}

.nv-v3 .nv-rl-footer-mini a {
  color: var(--nv-purple);
  text-decoration: none;
  font-weight: 500;
}

.nv-v3 .nv-rl-footer-mini a:hover {
  text-decoration: underline;
}
