/* ============================================================
Nervelin — "Deep Purple Nerve Health" Editorial Theme
Palette: Deep Purple #493784 | Light Lavender #F0EEF8 | Clean White #FFFFFF
Type: Inter (body) + Playfair Display (display/headings)
============================================================ */
:root{
  --nv-primary: #493784;
  --nv-primary-lt: #6B58A3;
  --nv-primary-dd: #352566;
  --nv-bg: #FAFAFE;
  --nv-bg-alt: #F0EEF8;
  --nv-card: #FFFFFF;
  --nv-line: #E5E1F0;
  --nv-line-soft: #F3F1F8;
  --nv-card-line: rgba(73, 55, 132, 0.10);
  --nv-text: #1A1533;
  --nv-body: #4A4566;
  --nv-muted: #7A7599;
  --nv-deep-text: #F9FAFB;
  --nv-deep-mut: #D1D5DB;
  --nv-yes: #10B981;
  --nv-no: #EF4444;
  --nv-grad: linear-gradient(135deg, #6B58A3 0%, #493784 100%);
  --nv-grad-d: linear-gradient(150deg, #352566 0%, #493784 100%);
  --nv-display: 'Playfair Display', Georgia, serif;
  --nv-body-f: 'Inter', system-ui, sans-serif;
  --nv-r: 12px;
  --nv-r-sm: 8px;
  --nv-sh: 0 4px 6px -1px rgba(73, 55, 132, 0.05), 0 2px 4px -1px rgba(73, 55, 132, 0.03);
  --nv-sh-lg: 0 10px 15px -3px rgba(73, 55, 132, 0.08), 0 4px 6px -2px rgba(73, 55, 132, 0.04);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--nv-bg);
  color: var(--nv-body);
  font-family: var(--nv-body-f);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nv-primary-lt); text-decoration: none; transition: color 0.2s; font-weight: 500; }
a:hover { color: var(--nv-primary); }
h1, h2, h3, h4 { font-family: var(--nv-display); color: var(--nv-text); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
.nv-skip { position: absolute; left: -9999px; top: 0; background: var(--nv-primary); color: #fff; padding: 0.8rem 1.2rem; z-index: 2000; border-radius: 0 0 8px 0; font-weight: 700; }
.nv-skip:focus { left: 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.nv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--nv-body-f); font-weight: 600; font-size: 1.05rem;
  padding: 1rem 2.2rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.25; transition: all 0.25s ease;
}
.nv-btn:hover { transform: translateY(-2px); text-decoration: none; }
.nv-btn--primary { 
  background: var(--nv-grad); 
  color: #fff; 
  box-shadow: 0 8px 20px rgba(73, 55, 132, 0.3); 
}
.nv-btn--primary:hover { 
  background: linear-gradient(135deg, #7D6AB3 0%, #5A4794 100%); 
  color: #fff; 
  box-shadow: 0 12px 28px rgba(73, 55, 132, 0.4); 
}
.nv-btn--ghost { background: transparent; color: var(--nv-primary); border-color: var(--nv-primary); }
.nv-btn--ghost:hover { background: var(--nv-primary); color: #fff; }
.nv-sec--deep .nv-btn--ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.nv-sec--deep .nv-btn--ghost:hover { background: rgba(255,255,255,0.1); }
.nv-btn--lg { padding: 1.2rem 2.6rem; font-size: 1.1rem; }
.nv-btn--sm { padding: 0.7rem 1.4rem; font-size: 0.95rem; }
.nv-btn--full { width: 100%; }

/* ── Navbar ──────────────────────────────────────────────── */
.nv-nav { 
  background: rgba(250, 250, 254, 0.95); 
  backdrop-filter: blur(12px); 
  border-bottom: 1px solid var(--nv-line); 
  padding: 0.8rem 0; 
}
.nv-logo { font-family: var(--nv-display); font-size: 1.7rem; font-weight: 700; color: var(--nv-primary); }
.nv-logo em { font-style: normal; color: var(--nv-primary-lt); }
.nv-nav .nav-link { font-weight: 500; font-size: 0.95rem; color: var(--nv-body); padding: 0.5rem 0.8rem; border-radius: 8px; }
.nv-nav .nav-link:hover { color: var(--nv-primary); background: var(--nv-bg-alt); }
.nv-nav .nav-link.active { color: var(--nv-primary); font-weight: 600; }
@media (max-width: 991.98px) {
  .nv-nav .navbar-collapse { background: var(--nv-bg); border: 1px solid var(--nv-line); border-radius: var(--nv-r); margin-top: 0.5rem; padding: 1rem; }
  .nv-nav .nav-link { padding: 0.8rem; font-size: 1rem; }
  .nv-nav .nv-btn { margin-top: 0.5rem; width: 100%; }
}

/* ── Layout & Sections ───────────────────────────────────── */
.nv-sec { padding: 6rem 0; position: relative; }
.nv-sec--alt { background: var(--nv-bg-alt); position: relative; }
.nv-sec--alt::before { 
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; 
  background-image: radial-gradient(circle, rgba(73, 55, 132, 0.04) 1px, transparent 1px); 
  background-size: 24px 24px; 
}
.nv-sec--alt > .container { position: relative; z-index: 1; }
.nv-sec--deep { background: var(--nv-grad-d); color: var(--nv-deep-mut); }
.nv-sec--deep h1, .nv-sec--deep h2, .nv-sec--deep h3 { color: #fff; }
.nv-head { max-width: 65ch; margin: 0 auto 3.5rem; }
.nv-head--c { text-align: center; }
.nv-eyebrow { 
  display: inline-flex; align-items: center; gap: 0.5rem; 
  font-family: var(--nv-body-f); font-size: 0.75rem; font-weight: 700; 
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--nv-primary); 
  margin-bottom: 1rem; 
}
.nv-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--nv-primary); }
.nv-eyebrow--c { justify-content: center; }
.nv-lede { font-size: 1.15rem; color: var(--nv-body); font-weight: 400; line-height: 1.8; }
.nv-sec--deep .nv-lede { color: var(--nv-deep-mut); }

/* ── Hero ────────────────────────────────────────────────── */
.nv-hero { 
  padding: 8rem 0 5rem; 
  background: linear-gradient(180deg, var(--nv-bg-alt) 0%, var(--nv-bg) 100%); 
}
.nv-pill { 
  display: inline-flex; align-items: center; gap: 0.4rem; 
  background: #fff; border: 1px solid var(--nv-line); color: var(--nv-primary); 
  font-family: var(--nv-body-f); font-weight: 600; font-size: 0.75rem; 
  padding: 0.5rem 1rem; border-radius: 999px; letter-spacing: 0.05em;
}
.nv-answer { 
  background: #fff; border: 1px solid var(--nv-line); border-left: 4px solid var(--nv-primary); 
  border-radius: 0 var(--nv-r-sm) var(--nv-r-sm) 0; padding: 1.5rem 1.8rem; 
  margin: 2rem 0; box-shadow: var(--nv-sh); 
}
.nv-answer__tag { 
  display: block; font-family: var(--nv-body-f); font-size: 0.7rem; font-weight: 800; 
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--nv-primary); margin-bottom: 0.6rem; 
}
.nv-answer p { margin: 0; font-size: 1.05rem; color: var(--nv-text); line-height: 1.7; font-weight: 500; }
.nv-answer p + p { margin-top: 0.8rem; }
.nv-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.nv-cta-micro { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.85rem; font-weight: 500; color: var(--nv-muted); margin-bottom: 1rem; }
.nv-cta-micro i { color: var(--nv-primary-lt); margin-right: 4px; }
.nv-sec--deep .nv-cta-micro { color: var(--nv-deep-mut); }
.nv-sec--deep .nv-cta-micro i { color: var(--nv-primary-lt); }
.nv-cta-price { font-size: 1.05rem; color: var(--nv-body); margin: 0; font-weight: 500; }
.nv-cta-price strong { color: var(--nv-primary); font-weight: 700; }
.nv-sec--deep .nv-cta-price { color: var(--nv-deep-mut); }
.nv-sec--deep .nv-cta-price strong { color: #fff; }
.nv-hero__img { filter: drop-shadow(0 30px 60px rgba(73, 55, 132, 0.15)); }
.nv-hero-badges { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; font-size: 0.85rem; font-weight: 600; color: var(--nv-muted); }
.nv-hero-badges i { color: var(--nv-primary); margin-right: 4px; font-size: 1.1rem; }
.nv-ribbon { 
  background: var(--nv-primary); color: #fff; text-align: center; 
  padding: 1rem 1.5rem; font-family: var(--nv-body-f); font-size: 0.75rem; 
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; 
  line-height: 1.6; margin-top: 3.5rem; border-radius: var(--nv-r); 
  box-shadow: var(--nv-sh-lg);
}
.nv-ribbon b { color: #D4C5F9; }
@media (max-width: 768px) { 
  .nv-hero__cta { flex-direction: column; } 
  .nv-hero__cta .nv-btn { width: 120%; } 
}

/* ── Badges & Trust ──────────────────────────────────────── */
.nv-badge-img { 
  max-width: 72px; max-height: 72px; width: auto; height: auto; 
  margin: 0 auto; display: block; filter: drop-shadow(0 4px 8px rgba(73, 55, 132, 0.08)); 
  transition: transform 0.3s ease; 
}
.nv-badge-img:hover { transform: translateY(-4px) scale(1.05); }
@media (max-width: 768px) { .nv-badge-img { max-width: 56px; max-height: 56px; } }

/* ── Cards ───────────────────────────────────────────────── */
.nv-card { 
  background: var(--nv-card); border: 1px solid var(--nv-line); 
  border-radius: var(--nv-r); padding: 2.2rem; height: 100%; 
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
}
.nv-card:hover { transform: translateY(-6px); box-shadow: var(--nv-sh-lg); border-color: var(--nv-primary-lt); }
.nv-card h3 { font-size: 1.25rem; margin-bottom: 0.8rem; font-weight: 600; }
.nv-card p { font-size: 1rem; margin: 0; color: var(--nv-body); font-weight: 400; line-height: 1.7; }
.nv-card__n { 
  display: inline-flex; align-items: center; justify-content: center; 
  width: 44px; height: 44px; border-radius: 12px; 
  background: var(--nv-bg-alt); color: var(--nv-primary); 
  font-family: var(--nv-body-f); font-weight: 700; font-size: 1rem; margin-bottom: 1.2rem; 
}
.nv-icon-accent { color: var(--nv-primary); }
.nv-card--highlight { background: #fff; border-top: 4px solid var(--nv-primary); }

/* ── Ingredients ─────────────────────────────────────────── */
.nv-layer { 
  display: inline-block; font-family: var(--nv-body-f); font-size: 0.65rem; 
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; 
  padding: 0.4rem 0.8rem; border-radius: 999px; margin-bottom: 1rem; 
}
.nv-layer--primary { background: #F3F0FF; color: #5B21B6; border: 1px solid rgba(91, 33, 182, 0.2); }
.nv-layer--secondary { background: #ECFDF5; color: #047857; border: 1px solid rgba(4, 120, 87, 0.2); }
.nv-layer--tertiary { background: #FFF7ED; color: #C2410C; border: 1px solid rgba(194, 65, 12, 0.2); }
.nv-layer--quaternary { background: #EFF6FF; color: #1D4ED8; border: 1px solid rgba(29, 78, 216, 0.2); }

/* ── Tables ──────────────────────────────────────────────── */
.nv-tablewrap { overflow-x: auto; border: 1px solid var(--nv-line); border-radius: var(--nv-r); background: #fff; }
.nv-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 1rem; }
.nv-table th, .nv-table td { padding: 1.2rem 1.4rem; text-align: left; border-bottom: 1px solid var(--nv-line-soft); font-weight: 400; }
.nv-table th { background: var(--nv-primary); font-weight: 600; color: #fff; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; font-family: var(--nv-body-f); }
.nv-table tr:last-child td { border-bottom: none; }
.nv-table tr:hover { background: var(--nv-bg-alt); }
.nv-yes { color: var(--nv-yes); font-weight: 600; }
.nv-no { color: var(--nv-no); font-weight: 600; }

/* ── Pricing & Guarantee ─────────────────────────────────── */
.nv-pack { 
  background: var(--nv-card); border: 1px solid var(--nv-line); 
  border-radius: var(--nv-r); padding: 2.5rem 1.8rem; height: 100%; 
  display: flex; flex-direction: column; position: relative; 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.nv-pack:hover { transform: translateY(-6px); box-shadow: var(--nv-sh-lg); }
.nv-pack--best { border: 2px solid var(--nv-primary); box-shadow: var(--nv-sh-lg); }
.nv-pack__tag { 
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); 
  font-family: var(--nv-body-f); font-size: 0.7rem; font-weight: 700; 
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 1.2rem; 
  border-radius: 999px; white-space: nowrap; background: var(--nv-bg-alt); 
  color: var(--nv-primary); border: 1px solid var(--nv-line); 
}
.nv-pack--best .nv-pack__tag { background: var(--nv-grad); color: #fff; border-color: transparent; }
.nv-pack h3 { text-align: center; margin: 0.5rem 0 0.2rem; font-size: 1.5rem; }
.nv-pack__sub { text-align: center; font-family: var(--nv-body-f); font-size: 0.75rem; color: var(--nv-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.nv-pack__price { text-align: center; }
.nv-pack__price b { font-family: var(--nv-display); font-size: 3.4rem; color: var(--nv-primary); line-height: 1; display: block; font-weight: 700; }
.nv-pack__price span { font-family: var(--nv-body-f); font-size: 0.8rem; color: var(--nv-muted); display: block; margin-top: 0.4rem; }
.nv-pack__tot { text-align: center; font-family: var(--nv-body-f); font-size: 0.9rem; color: var(--nv-primary); font-weight: 600; margin: 0.6rem 0 1.2rem; }
.nv-pack ul { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 0.95rem; color: var(--nv-body); }
.nv-pack li { padding: 0.6rem 0 0.6rem 1.8rem; position: relative; border-bottom: 1px solid var(--nv-line-soft); }
.nv-pack li:last-child { border-bottom: none; }
.nv-pack li::before { content: "✓"; position: absolute; left: 0; color: var(--nv-yes); font-weight: 700; font-size: 1.1rem; }
.nv-pack .nv-btn { margin-top: auto; }
.nv-guar { 
  display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; 
  background: var(--nv-card); border: 1px solid var(--nv-line); 
  border-radius: var(--nv-r); padding: 2.5rem; box-shadow: var(--nv-sh); 
}
.nv-seal { 
  width: 130px; height: 130px; border-radius: 50%; 
  background: var(--nv-grad); color: #fff; 
  display: flex; flex-direction: column; align-items: center; justify-content: center; 
  text-align: center; flex-shrink: 0; box-shadow: 0 16px 34px rgba(73, 55, 132, 0.25);
}
.nv-seal b { font-family: var(--nv-display); font-size: 2.4rem; line-height: 1; font-weight: 700; }
.nv-seal span { font-family: var(--nv-body-f); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.2rem; }
.nv-guar h3 { margin-bottom: 0.6rem; font-size: 1.6rem; }
.nv-guar p { margin: 0; color: var(--nv-body); font-size: 1.05rem; line-height: 1.7; }
@media (max-width: 768px) { .nv-guar { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ── Reviews ─────────────────────────────────────────────── */
.nv-rev { 
  background: var(--nv-card); border: 1px solid var(--nv-line); 
  border-radius: var(--nv-r); padding: 2rem; display: flex; flex-direction: column; 
}
.nv-rev__st { color: #F59E0B; letter-spacing: 0.1em; font-size: 0.9rem; margin-bottom: 1rem; font-weight: 600; }
.nv-rev p { font-size: 1.05rem; flex: 1; color: var(--nv-text); font-weight: 400; line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.nv-rev__by { display: flex; align-items: center; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--nv-line-soft); }
.nv-avatar-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--nv-line); }
.nv-rev__info { display: flex; flex-direction: column; gap: 0.15rem; }
.nv-rev__info b { display: block; font-size: 1.05rem; color: var(--nv-text); font-weight: 600; font-family: var(--nv-display); }
.nv-rev__info span { font-size: 0.85rem; color: var(--nv-muted); font-weight: 400; }

/* ── FAQ ─────────────────────────────────────────────────── */
.nv-acc .accordion-item { background: var(--nv-card); border: 1px solid var(--nv-line); border-radius: var(--nv-r) !important; margin-bottom: 1rem; overflow: hidden; }
.nv-acc .accordion-button { background: transparent; color: var(--nv-text); font-family: var(--nv-display); font-weight: 600; font-size: 1.15rem; padding: 1.4rem 1.8rem; box-shadow: none; }
.nv-acc .accordion-button:not(.collapsed) { background: var(--nv-bg-alt); color: var(--nv-primary); box-shadow: none; }
.nv-acc .accordion-button:focus { box-shadow: none; border-color: var(--nv-primary-lt); }
.nv-acc .accordion-button::after { 
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23493784'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); 
}
.nv-acc .accordion-body { color: var(--nv-body); padding: 0 1.8rem 1.5rem; font-size: 1.05rem; line-height: 1.75; font-weight: 400; }

/* ── Final CTA & Footer ──────────────────────────────────── */
.nv-final-cta { padding: 6rem 0; }
.nv-final__img { filter: drop-shadow(0 30px 60px rgba(0,0,0,0.3)); }
.nv-foot { background: var(--nv-primary-dd); color: var(--nv-deep-mut); padding: 5rem 0 2.5rem; font-size: 0.95rem; }
.nv-logo-footer { font-family: var(--nv-display); font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.nv-logo-footer em { font-style: normal; color: var(--nv-primary-lt); }
.nv-foot h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.2rem; font-family: var(--nv-body-f); font-weight: 600; }
.nv-foot ul { list-style: none; padding: 0; margin: 0; }
.nv-foot li { margin-bottom: 0.75rem; }
.nv-foot a { color: var(--nv-deep-mut); font-weight: 400; }
.nv-foot a:hover { color: #fff; }
.nv-foot__blurb { max-width: 35ch; line-height: 1.7; }
.nv-legal { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 2rem; font-size: 0.85rem; line-height: 1.7; color: #9CA3AF; }
.nv-legal strong { color: #D1D5DB; font-weight: 600; }
.nv-legal p { margin-bottom: 1rem; }
.nv-foot hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 2rem 0; }

/* ── Sticky Bar ──────────────────────────────────────────── */
.nv-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: none;
  background: rgba(53, 37, 102, 0.97); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.8rem 1.2rem calc(0.8rem + env(safe-area-inset-bottom));
  align-items: center; gap: 1rem;
}
.nv-bar div { flex: 1; min-width: 0; }
.nv-bar b { display: block; color: #fff; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.nv-bar span { font-size: 0.8rem; color: var(--nv-deep-mut); white-space: nowrap; }
@media (max-width: 768px) { .nv-bar { display: flex; } body { padding-bottom: 75px; } }
.nv-bar.on { display: flex; }

/* ── Force Image Centering ───────────────────────────────── */
img { display: block !important; margin-left: auto !important; margin-right: auto !important; }
.nv-hero .col-lg-6.text-center, .nv-pack, .nv-final-cta .col-lg-5 { 
  text-align: center !important; display: flex !important; 
  flex-direction: column !important; align-items: center !important; justify-content: center !important; 
}