/* Nutrivibe V3 — Family wellness hub
   Editorial serif + clean sans · Apple · Calm */

:root {
  --nv-purple: #7c4dff;
  --nv-purple-hover: #6840e0;
  --nv-purple-deep: #5530c4;
  --nv-purple-soft: #f6f2ff;
  --nv-purple-glow: rgba(124, 77, 255, 0.14);
  --nv-green: #8fb82e;
  --nv-green-bright: #a4c639;
  --nv-green-soft: #f3f8e8;
  --nv-green-glow: rgba(143, 184, 46, 0.18);
  --nv-ink: #1c1c22;
  --nv-ink-secondary: #5c5c68;
  --nv-ink-muted: #9494a0;
  --nv-surface: #ffffff;
  --nv-surface-soft: #fbfbfc;
  --nv-surface-muted: #f4f4f6;
  --nv-border: rgba(28, 28, 34, 0.08);
  --nv-radius-sm: 12px;
  --nv-radius-md: 18px;
  --nv-radius-lg: 24px;
  --nv-radius-xl: 32px;
  --nv-max: 1080px;
  --nv-section: clamp(5rem, 12vw, 7.5rem);
  --nv-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nv-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --nv-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --nv-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nv-shadow-card: 0 1px 2px rgba(28, 28, 34, 0.04), 0 8px 32px rgba(28, 28, 34, 0.05);
  --nv-shadow-card-hover: 0 12px 40px rgba(28, 28, 34, 0.08), 0 4px 16px rgba(124, 77, 255, 0.08);
  --nv-shadow-nav: 0 1px 0 rgba(28, 28, 34, 0.04), 0 8px 32px rgba(28, 28, 34, 0.06);
}

/* ── Base ── */
body.nv-v3 {
  background: var(--nv-surface);
  color: var(--nv-ink);
  font-family: var(--nv-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  font-optical-sizing: auto;
}

.nv-v3 .nv-shell {
  width: min(100% - 2rem, var(--nv-max));
  margin-inline: auto;
}

.nv-v3 .nv-skip {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--nv-purple);
  color: #fff;
  border-radius: var(--nv-radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.nv-v3 .nv-skip:focus {
  left: 1rem;
  top: 1rem;
}

.nv-v3 .nv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Typography ── */
.nv-v3 .nv-display,
.nv-v3 .nv-headline,
.nv-v3 .nv-logo span,
.nv-v3 .nv-newsletter h2 {
  font-family: var(--nv-font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}

.nv-v3 .nv-display {
  font-size: clamp(2.375rem, 5.8vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--nv-ink);
}

.nv-v3 .nv-display em {
  font-style: italic;
  font-weight: 500;
  color: var(--nv-purple-deep);
}

.nv-v3 .nv-headline {
  font-size: clamp(1.875rem, 3.8vw, 2.625rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
}

.nv-v3 .nv-hero-kicker {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nv-ink-muted);
}

.nv-v3 .nv-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nv-purple);
  margin: 0 0 0.875rem;
}

.nv-v3 .nv-eyebrow--green {
  color: var(--nv-green);
}

.nv-v3 .nv-lead {
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.7;
  color: var(--nv-ink-secondary);
  margin: 0;
  max-width: 34rem;
  font-weight: 400;
}

/* ── Buttons ── */
.nv-v3 .nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.375rem;
  font-family: var(--nv-font);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  border-radius: 980px;
  cursor: pointer;
  transition: transform 0.3s var(--nv-ease-out), box-shadow 0.3s var(--nv-ease-out),
    background 0.2s var(--nv-ease), border-color 0.2s;
}

.nv-v3 .nv-btn--primary {
  background: var(--nv-purple);
  color: #fff;
  box-shadow: 0 2px 12px var(--nv-purple-glow);
}
.nv-v3 .nv-btn--primary:hover {
  background: var(--nv-purple-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--nv-purple-glow);
}

.nv-v3 .nv-btn--secondary {
  background: var(--nv-surface);
  color: var(--nv-ink);
  border: 1px solid var(--nv-border);
}
.nv-v3 .nv-btn--secondary:hover {
  border-color: rgba(124, 77, 255, 0.22);
  background: var(--nv-purple-soft);
  transform: translateY(-1px);
}

.nv-v3 .nv-btn--green {
  background: var(--nv-green);
  color: #fff;
  box-shadow: 0 2px 12px var(--nv-green-glow);
}
.nv-v3 .nv-btn--green:hover {
  background: var(--nv-green-bright);
  transform: translateY(-1px);
}

.nv-v3 .nv-btn--lg {
  padding: 1.0625rem 2rem;
  font-size: 1.0625rem;
}

.nv-v3 .nv-btn--ghost {
  background: transparent;
  color: var(--nv-purple);
  padding: 0.625rem 1rem;
  box-shadow: none;
}
.nv-v3 .nv-btn--ghost:hover {
  background: var(--nv-purple-soft);
  transform: none;
}

/* ── Header ── */
.nv-v3 .nv-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  pointer-events: none;
}

.nv-v3 .nv-nav-wrap.is-scrolled .nv-float-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--nv-shadow-nav);
  border-color: var(--nv-border);
}

.nv-v3 .nv-float-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: calc(var(--nv-max) + 4rem);
  margin-inline: auto;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 980px;
  transition: background 0.3s var(--nv-ease), box-shadow 0.3s var(--nv-ease), border-color 0.3s;
}

.nv-v3 .nv-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--nv-ink);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nv-v3 .nv-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nv-v3 .nv-nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .nv-v3 .nv-nav-links {
    display: flex;
  }
}

.nv-v3 .nv-nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nv-ink-secondary);
  text-decoration: none;
  border-radius: var(--nv-radius-pill, 999px);
  transition: color 0.2s, background 0.2s;
}
.nv-v3 .nv-nav-link:hover {
  color: var(--nv-purple);
  background: var(--nv-purple-soft);
}

.nv-v3 .nv-nav-actions {
  display: none;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .nv-v3 .nv-nav-actions {
    display: flex;
  }
}

.nv-v3 .nv-nav-cta {
  padding: 0.5625rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--nv-purple);
  text-decoration: none;
  border-radius: var(--nv-radius-pill, 999px);
  transition: background 0.2s, transform 0.2s var(--nv-ease-out);
}
.nv-v3 .nv-nav-cta:hover {
  background: var(--nv-purple-hover);
  transform: translateY(-1px);
}

.nv-v3 .nv-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 101;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 900px) {
  .nv-v3 .nv-nav-toggle {
    display: none;
  }
}
.nv-v3 .nv-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--nv-ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
body.nv-v3.nv-nav-open .nv-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nv-v3.nv-nav-open .nv-nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nv-v3.nv-nav-open .nv-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nv-v3 .nv-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  cursor: pointer;
}
.nv-v3 .nv-nav-backdrop[hidden] {
  display: none;
}

.nv-v3 .nv-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: min(18rem, 85vw);
  height: 100%;
  padding: 0 1.5rem 2rem;
  background: var(--nv-surface);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s var(--nv-ease-out), visibility 0.35s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nv-v3 .nv-nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 1.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--nv-border);
  flex-shrink: 0;
}

.nv-v3 .nv-logo--drawer {
  font-size: 1.0625rem;
}

.nv-v3 .nv-nav-drawer-close {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: var(--nv-surface-muted);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nv-v3 .nv-nav-drawer-close span {
  position: absolute;
  width: 1rem;
  height: 2px;
  background: var(--nv-ink);
  border-radius: 2px;
}
.nv-v3 .nv-nav-drawer-close span:first-child {
  transform: rotate(45deg);
}
.nv-v3 .nv-nav-drawer-close span:last-child {
  transform: rotate(-45deg);
}

@media (max-width: 899px) {
  body.nv-v3.nv-nav-open .nv-nav-wrap {
    visibility: hidden;
    pointer-events: none;
  }
}
body.nv-v3.nv-nav-open .nv-nav-drawer {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* Cuando está abierto, anular display:none del atributo hidden */
body.nv-v3.nv-nav-open .nv-nav-drawer[hidden] {
  display: flex !important;
}
.nv-v3 .nv-nav-drawer .nv-nav-link {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.125rem;
}
.nv-v3 .nv-nav-drawer .nv-nav-cta {
  margin-top: 1rem;
  text-align: center;
  padding: 0.875rem;
}

/* ── Reveal animations ── */
.nv-v3 .nv-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--nv-ease-out), transform 0.7s var(--nv-ease-out);
}
.nv-v3 .nv-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nv-v3 .nv-reveal--delay {
  transition-delay: 0.12s;
}

/* ── Hero ── */
.nv-v3 .nv-hero {
  position: relative;
  padding: clamp(7rem, 15vw, 10rem) 0 clamp(4.5rem, 9vw, 6rem);
  overflow: hidden;
}

.nv-v3 .nv-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(124, 77, 255, 0.07), transparent 60%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(143, 184, 46, 0.06), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--nv-surface-soft) 100%);
  pointer-events: none;
}

.nv-v3 .nv-hero-grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .nv-v3 .nv-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.nv-v3 .nv-hero-sub {
  margin: 1.5rem 0 2.25rem;
  font-size: clamp(1.0625rem, 1.9vw, 1.1875rem);
  line-height: 1.75;
  color: var(--nv-ink-secondary);
  max-width: 26rem;
}

.nv-v3 .nv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nv-v3 .nv-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.nv-v3 .nv-hero-trust li {
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nv-ink-secondary);
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: 980px;
}

.nv-v3 .nv-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.nv-v3 .nv-hero-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
}

.nv-v3 .nv-hero-frame-ring {
  position: absolute;
  inset: -12px -12px 12px 12px;
  border-radius: var(--nv-radius-xl);
  background: linear-gradient(145deg, var(--nv-purple-soft), var(--nv-green-soft));
  z-index: 0;
}

.nv-v3 .nv-hero-frame-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--nv-radius-xl);
  box-shadow: var(--nv-shadow-card-hover);
}

.nv-v3 .nv-hero-frame-chip {
  position: absolute;
  z-index: 2;
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nv-ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--nv-border);
  border-radius: 980px;
  box-shadow: var(--nv-shadow-card);
  white-space: nowrap;
}

.nv-v3 .nv-hero-frame-chip--1 {
  top: 12%;
  left: -4%;
}
.nv-v3 .nv-hero-frame-chip--2 {
  bottom: 14%;
  right: -6%;
}

@media (max-width: 899px) {
  .nv-v3 .nv-hero-frame-chip--1 {
    left: 0;
  }
  .nv-v3 .nv-hero-frame-chip--2 {
    right: 0;
  }
}

/* ── Sections ── */
.nv-v3 .nv-section,
.nv-v3 .nv-hero {
  scroll-margin-top: 5rem;
}

.nv-v3 .nv-section {
  padding: var(--nv-section) 0;
}

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

.nv-v3 .nv-section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.nv-v3 .nv-section-head .nv-lead {
  margin: 1rem auto 0;
}

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

/* ── Free guide ── */
.nv-v3 .nv-free-guide {
  position: relative;
  padding: clamp(2.75rem, 6vw, 4.25rem);
  background: var(--nv-ink);
  border-radius: var(--nv-radius-xl);
  overflow: hidden;
  color: #fff;
}

.nv-v3 .nv-free-guide::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.35), transparent 68%);
  pointer-events: none;
}

.nv-v3 .nv-free-guide::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(143, 184, 46, 0.2), transparent 70%);
  pointer-events: none;
}

.nv-v3 .nv-free-guide .nv-headline {
  color: #fff;
}

.nv-v3 .nv-free-guide-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .nv-v3 .nv-free-guide-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.nv-v3 .nv-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  margin-bottom: 1.125rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nv-green-bright);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 980px;
}

.nv-v3 .nv-free-subtitle {
  margin: 0.875rem 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.nv-v3 .nv-free-cta {
  margin-top: 1.75rem;
}

.nv-v3 .nv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .nv-v3 .nv-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nv-v3 .nv-benefit-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--nv-radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.25s, border-color 0.25s;
}
.nv-v3 .nv-benefit-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.nv-v3 .nv-benefit-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
  font-size: 0.6875rem;
  color: var(--nv-ink);
  background: var(--nv-green-bright);
  border-radius: 50%;
}

.nv-v3 .nv-free-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nv-v3 .nv-free-mockup {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 3 / 4;
  background: var(--nv-surface);
  border-radius: var(--nv-radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.nv-v3 .nv-free-mockup-cover {
  height: 48%;
  background: linear-gradient(165deg, var(--nv-purple) 0%, var(--nv-purple-deep) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.375rem;
  color: #fff;
}

.nv-v3 .nv-free-mockup-cover h3 {
  margin: 0;
  font-family: var(--nv-font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
}

.nv-v3 .nv-free-mockup-body {
  padding: 1.25rem;
  font-size: 0.8125rem;
  color: var(--nv-ink-muted);
  line-height: 1.5;
}

.nv-v3 .nv-free-mockup-dots {
  display: flex;
  gap: 0.375rem;
  margin-top: 0.75rem;
}
.nv-v3 .nv-free-mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nv-green);
  opacity: 0.6;
}
.nv-v3 .nv-free-mockup-dots span:first-child {
  opacity: 1;
}

/* ── Library ── */
.nv-v3 .nv-library-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .nv-v3 .nv-library-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .nv-v3 .nv-library-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nv-v3 .nv-library-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--nv-shadow-card);
  transition: transform 0.3s var(--nv-ease-out), box-shadow 0.3s var(--nv-ease-out), border-color 0.3s;
}
.nv-v3 .nv-library-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--nv-shadow-card-hover);
  border-color: rgba(124, 77, 255, 0.2);
}

.nv-v3 .nv-library-card--soon {
  border-style: dashed;
  border-color: rgba(124, 77, 255, 0.2);
  background: var(--nv-surface-soft);
  cursor: default;
}
.nv-v3 .nv-library-card--soon:hover {
  transform: none;
  box-shadow: var(--nv-shadow-card);
}

.nv-v3 .nv-library-cover {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--nv-radius-md);
  margin-bottom: 1.25rem;
  overflow: hidden;
  position: relative;
}

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

.nv-v3 .nv-library-cover--1 {
  background: linear-gradient(145deg, #e8d5ff 0%, var(--nv-purple) 60%, #5a2fd4 100%);
}
.nv-v3 .nv-library-cover--2 {
  background: linear-gradient(145deg, #e8f5c8 0%, var(--nv-green) 55%, #7a9e22 100%);
}
.nv-v3 .nv-library-cover--soon {
  background: var(--nv-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nv-v3 .nv-library-cover-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-family: var(--nv-font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.nv-v3 .nv-library-price {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--nv-purple);
}

.nv-v3 .nv-library-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--nv-font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.28;
}

.nv-v3 .nv-library-price--muted {
  color: var(--nv-ink-muted);
}

.nv-v3 .nv-library-soon-icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px dashed rgba(124, 77, 255, 0.25);
  border-radius: 50%;
  position: relative;
}
.nv-v3 .nv-library-soon-icon::before {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--nv-purple);
  opacity: 0.5;
}

.nv-v3 .nv-library-card p {
  margin: 0 0 1.25rem;
  flex: 1;
  font-size: 0.9375rem;
  color: var(--nv-ink-secondary);
  line-height: 1.55;
}

.nv-v3 .nv-library-card .nv-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ── Featured content (Netflix-style) ── */
.nv-v3 .nv-content-category {
  margin-bottom: 2.5rem;
}
.nv-v3 .nv-content-category:last-child {
  margin-bottom: 0;
}

.nv-v3 .nv-content-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-inline: 0.25rem;
}

.nv-v3 .nv-content-category-head h3 {
  margin: 0;
  font-family: var(--nv-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nv-v3 .nv-content-row-wrap {
  position: relative;
}

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

.nv-v3 .nv-content-card {
  flex: 0 0 min(72vw, 220px);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  border-radius: var(--nv-radius-md);
  overflow: hidden;
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  box-shadow: var(--nv-shadow-card);
  transition: transform 0.3s var(--nv-ease-out), box-shadow 0.3s;
}
@media (min-width: 640px) {
  .nv-v3 .nv-content-card {
    flex-basis: 200px;
  }
}
.nv-v3 .nv-content-card:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: var(--nv-shadow-card-hover);
  z-index: 2;
}

.nv-v3 .nv-content-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--nv-surface-muted);
}
.nv-v3 .nv-content-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--nv-ease-out);
}

.nv-v3 .nv-content-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--nv-purple-soft), var(--nv-green-soft));
}

.nv-v3 .nv-free-cover-img {
  width: min(100%, 280px);
  margin-inline: auto;
  border-radius: var(--nv-radius-lg);
  overflow: hidden;
  box-shadow: var(--nv-shadow-card-hover);
}

.nv-v3 .nv-free-cover-img img {
  display: block;
  width: 100%;
  height: auto;
}
.nv-v3 .nv-content-card:hover .nv-content-thumb img {
  transform: scale(1.06);
}

.nv-v3 .nv-content-badge {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(124, 77, 255, 0.9);
  border-radius: var(--nv-radius-pill, 999px);
}

.nv-v3 .nv-content-badge--carousel {
  background: rgba(164, 198, 57, 0.92);
}

.nv-v3 .nv-content-card h4 {
  margin: 0;
  padding: 0.875rem 1rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* ── Mission ── */
.nv-v3 .nv-mission {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .nv-v3 .nv-mission {
    grid-template-columns: 1fr 1fr;
  }
}

.nv-v3 .nv-mission-text p {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--nv-ink-secondary);
  max-width: 28rem;
}

.nv-v3 .nv-mission-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.nv-v3 .nv-mission-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}
.nv-v3 .nv-mission-blob--1 {
  width: 220px;
  height: 220px;
  background: var(--nv-purple-soft);
  top: 10%;
  left: 15%;
}
.nv-v3 .nv-mission-blob--2 {
  width: 180px;
  height: 180px;
  background: var(--nv-green-soft);
  bottom: 10%;
  right: 10%;
}

.nv-v3 .nv-mission-card {
  position: relative;
  z-index: 1;
  max-width: 300px;
  padding: 2rem;
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-xl);
  box-shadow: var(--nv-shadow-card-hover);
}

.nv-v3 .nv-mission-card-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nv-purple);
}

.nv-v3 .nv-mission-card p {
  margin: 0;
  font-family: var(--nv-font-display);
  font-size: 1.375rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  color: var(--nv-ink);
}

/* ── Newsletter ── */
.nv-v3 #newsletter {
  background: var(--nv-purple-soft);
}

.nv-v3 .nv-newsletter {
  max-width: 36rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
  background: var(--nv-surface);
  border: 1px solid rgba(124, 77, 255, 0.1);
  border-radius: var(--nv-radius-xl);
  box-shadow: var(--nv-shadow-card);
}

.nv-v3 .nv-newsletter h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.625rem, 3.2vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.nv-v3 .nv-newsletter > p {
  margin: 0 0 1.75rem;
  color: var(--nv-ink-secondary);
  font-size: 1.0625rem;
}

.nv-v3 .nv-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .nv-v3 .nv-newsletter-form {
    flex-direction: row;
  }
}

.nv-v3 .nv-newsletter-form input {
  flex: 1;
  padding: 0.9375rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--nv-border);
  border-radius: var(--nv-radius-pill, 999px);
  background: var(--nv-surface-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nv-v3 .nv-newsletter-form input:focus {
  outline: none;
  border-color: var(--nv-purple);
  box-shadow: 0 0 0 4px var(--nv-purple-glow);
}

.nv-v3 .nv-newsletter-note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--nv-ink-muted);
}

/* ── Footer ── */
.nv-v3 .nv-footer {
  padding: clamp(3rem, 8vw, 4.5rem) 0 2rem;
  background: #141418;
  color: rgba(255, 255, 255, 0.72);
}

.nv-v3 .nv-footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .nv-v3 .nv-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
  }
}

.nv-v3 .nv-footer .nv-logo {
  color: #fff;
  margin-bottom: 0.75rem;
}

.nv-v3 .nv-footer-tagline {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
}

.nv-v3 .nv-footer-title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.nv-v3 .nv-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nv-v3 .nv-footer li {
  margin-bottom: 0.5rem;
}

.nv-v3 .nv-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}
.nv-v3 .nv-footer a:hover {
  color: #fff;
}

.nv-v3 .nv-footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nv-v3 .nv-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 0;
  transition: background 0.2s, transform 0.2s;
}
.nv-v3 .nv-footer-social a:hover {
  background: rgba(124, 77, 255, 0.4);
  transform: translateY(-2px);
}

.nv-v3 .nv-footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

.nv-v3 .nv-footer-copy {
  margin: 2rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  grid-column: 1 / -1;
}

.nv-v3 .nv-footer-legal {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}
.nv-v3 .nv-footer-legal a {
  font-size: 0.8125rem;
}
