/* ============================================================
   NA2R® MICROSITE — SHARED STYLESHEET
   na2r.us · Bioseutica B.V.
   Design: Dark biotech-luxury · Cormorant + Syne
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Syne:wght@400;500;600;700;800&display=swap');

/* BryantLG — Bioseutica brand font */
@font-face {
  font-family: 'BryantLG';
  src: url('assets/fonts/BryantLG-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BryantLG';
  src: url('assets/fonts/BryantLG-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BryantLG';
  src: url('assets/fonts/BryantLG-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BryantLG';
  src: url('assets/fonts/BryantLG-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- DESIGN TOKENS ---- */
:root {
  --bg:            #07101D;
  --bg-2:          #0B1523;
  --bg-card:       #0F1D2E;
  --bg-card-2:     #132030;

  --gold:          #94c34c;
  --gold-lt:       #aad464;
  --gold-dim:      rgba(148, 195, 76, 0.55);
  --gold-glow:     rgba(148, 195, 76, 0.08);
  --gold-border:   rgba(148, 195, 76, 0.2);

  --cream:         #EDEAD4;
  --cream-2:       #B8B2A0;
  --muted:         #5C7088;
  --faint:         rgba(255,255,255,0.04);
  --border:        rgba(255,255,255,0.07);

  --green:         #29C49A;
  --green-dim:     rgba(41, 196, 154, 0.12);
  --red:           #C84B4B;

  --font-display:  'Cormorant', Georgia, serif;
  --font-ui:       'BryantLG', 'Syne', system-ui, sans-serif;

  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:       cubic-bezier(0.4, 0, 0.2, 1);

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;

  --max-w:         1180px;
  --pad-x:         clamp(20px, 5vw, 60px);
  --section-y:     clamp(80px, 10vw, 130px);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---- TYPOGRAPHY ---- */
.t-display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.t-display.xl  { font-size: clamp(50px, 7vw, 92px); }
.t-display.lg  { font-size: clamp(38px, 5.5vw, 70px); }
.t-display.md  { font-size: clamp(28px, 4vw, 50px); }

.t-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.t-lead {
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.75;
  color: var(--cream-2);
  font-weight: 400;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all 300ms var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-primary {
  background: var(--gold);
  color: #06101C;
}
.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(148, 195, 76, 0.4);
}

.btn-outline {
  border: 1px solid var(--gold-border);
  color: var(--gold-lt);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--cream-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.14);
  color: var(--cream);
  background: var(--faint);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 400ms var(--ease-io), background 400ms, border-color 400ms;
}
.nav.scrolled {
  padding: 14px var(--pad-x);
  background: rgba(7, 16, 29, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 6px;
}

/* Legacy text logo — kept for fallback only */
.nav-logo-mark {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(72, 190, 220, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: #7ED8EC;
  background: rgba(13, 31, 74, 0.6);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(72, 190, 220, 0.15);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--cream);
}
.nav-logo-text sup {
  font-size: 10px;
  color: #7ED8EC;
  vertical-align: super;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-2);
  transition: color 200ms;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 280ms var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active       { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 16px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 300ms ease;
}

/* Mobile overlay */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 29, 0.98);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.nav-mobile-overlay.open { opacity: 1; pointer-events: all; }
.nav-mobile-overlay a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--cream-2);
  transition: color 200ms;
}
.nav-mobile-overlay a:hover { color: var(--gold-lt); }
.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: var(--pad-x);
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}

/* ---- HERO (Home) ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 60% 50%, rgba(148,195,76,0.04), transparent 70%),
              linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 80px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-headline {
  max-width: 840px;
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-lt);
}
.hero-sub {
  max-width: 540px;
  margin-bottom: 48px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-proof-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.hero-proof-text {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--cream-2);
  letter-spacing: 0.02em;
}

/* Hero animations */
.hero-eyebrow  { animation: fadeUp 0.9s var(--ease-out) 0.1s both; }
.hero-headline { animation: fadeUp 0.9s var(--ease-out) 0.2s both; }
.hero-sub      { animation: fadeUp 0.9s var(--ease-out) 0.32s both; }
.hero-ctas     { animation: fadeUp 0.9s var(--ease-out) 0.44s both; }
.hero-proof    { animation: fadeUp 0.9s var(--ease-out) 0.56s both; }

/* ---- STATS BAND ---- */
.stats-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--border);
  gap: 1px;
}
.stat-item {
  background: var(--bg-2);
  padding: 36px 40px;
  text-align: center;
  transition: background 300ms ease;
}
.stat-item:hover { background: var(--bg-card); }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 300;
  color: var(--gold-lt);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- SECTION HEADERS ---- */
.section-header { margin-bottom: 60px; }
.section-header .t-eyebrow { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 18px; }
.section-header p  { max-width: 540px; }

/* ---- MECHANISM (Home) ---- */
.mechanism { padding: var(--section-y) 0; }
.mechanism-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mechanism-step {
  background: var(--bg-card);
  padding: 48px 40px;
  transition: background 300ms ease;
  position: relative;
}
.mechanism-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}
.mechanism-step:hover { background: var(--bg-card-2); }
.mechanism-step:hover::before { opacity: 1; }
.step-number {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 300;
  color: rgba(148, 195, 76, 0.14);
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
  transition: color 300ms;
}
.mechanism-step:hover .step-number { color: rgba(148, 195, 76, 0.3); }
.step-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--cream);
}
.step-desc {
  font-size: 14.5px;
  color: var(--cream-2);
  line-height: 1.75;
}

/* ---- APPLICATIONS ---- */
.applications {
  padding: var(--section-y) 0;
  background: var(--bg-2);
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 300ms var(--ease-out);
}
.app-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}
.app-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
}
.app-icon svg { width: 22px; height: 22px; }
.app-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--cream);
}
.app-desc {
  font-size: 13.5px;
  color: var(--cream-2);
  line-height: 1.65;
}

/* ---- EVIDENCE ---- */
.evidence { padding: var(--section-y) 0; }
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.evidence-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: border-color 300ms ease;
}
.evidence-card:hover { border-color: var(--gold-border); }
.evidence-stat {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 300;
  color: var(--gold-lt);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.evidence-unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1.5;
}
.evidence-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--cream);
}
.evidence-desc {
  font-size: 13.5px;
  color: var(--cream-2);
  line-height: 1.7;
}
.evidence-source {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--muted);
  font-style: italic;
}

/* ---- CERTIFICATIONS ---- */
.certifications {
  padding: var(--section-y) 0;
  background: var(--bg-2);
}
.certs-header-centered {
  text-align: center;
  margin-bottom: 60px;
}
.certs-header-centered .t-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cert-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 18px;
  text-align: center;
  transition: all 300ms ease;
}
.cert-badge:hover {
  border-color: rgba(41, 196, 154, 0.35);
  background: rgba(41, 196, 154, 0.03);
  transform: translateY(-3px);
}
.cert-check {
  width: 38px;
  height: 38px;
  background: var(--green-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}
.cert-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 7px;
}
.cert-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---- CTA BLOCK ---- */
.cta-block {
  padding: var(--section-y) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(148, 195, 76, 0.07), transparent);
  pointer-events: none;
  z-index: 1;
}
.cta-block .container {
  position: relative;
  z-index: 2;
}
.cta-block .t-display { margin-bottom: 18px; }
.cta-block .t-lead    { margin: 0 auto 48px; max-width: 500px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---- FOOTER ---- */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px var(--pad-x) 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
/* NA2R mark in footer — same technique as nav */
.footer-na2r-mark {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.footer-na2r-circle {
  width: 32px; height: 32px;
  border: 1.5px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-lt);
  flex-shrink: 0;
}
.footer-na2r-wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--cream);
}
.footer-na2r-wordmark sup { font-size: 9px; color: var(--gold); vertical-align: super; }

/* Divider between footer logos */
.footer-logo-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* Bioseutica wordmark in footer */
.footer-bioseutica-mark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}
.footer-bioseutica-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream-2);
  transition: color 200ms;
}
.footer-bioseutica-name:hover { color: var(--cream); }
.footer-bioseutica-name span { color: var(--green); }
.footer-bioseutica-tagline {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Image versions — used when PNGs are available */
.footer-na2r-logo {
  height: 44px; width: auto; display: block; border-radius: 6px;
}
.footer-bioseutica-logo {
  height: 32px; width: auto; display: block;
  mix-blend-mode: screen; opacity: 0.85; transition: opacity 200ms;
}
.footer-bioseutica-logo:hover { opacity: 1; }

.footer-brand p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 300px;
  margin-top: 16px;
  line-height: 1.75;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 200ms;
}
.footer-col a:hover { color: var(--cream-2); }
.footer-addr {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.7;
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p  { font-size: 12.5px; color: var(--muted); }
.footer-bottom a  { font-size: 12.5px; color: var(--muted); transition: color 200ms; }
.footer-bottom a:hover { color: var(--cream-2); }
.footer-legal-links { display: flex; gap: 24px; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse 70% 90% at 70% 50%, rgba(148, 195, 76, 0.04), transparent);
  pointer-events: none;
}
.page-hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.page-hero .t-eyebrow     { margin-bottom: 20px; }
.page-hero h1             { max-width: 700px; margin-bottom: 22px; }
.page-hero .t-lead        { max-width: 560px; }

/* ---- SCIENCE: BBB Diagram ---- */
.mechanism-deep { padding: var(--section-y) 0; }

.bbb-diagram {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 60px;
}
.bbb-diagram-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}
.bbb-diagram-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 44px;
}
.bbb-flow {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 0;
}
.bbb-node {
  background: var(--bg-2);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
}
.bbb-node-emoji { font-size: 30px; margin-bottom: 12px; line-height: 1; }
.bbb-node-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.bbb-node-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 8px;
}
.bbb-node-desc {
  font-size: 12.5px;
  color: var(--cream-2);
  line-height: 1.55;
}
.bbb-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

/* Science: mechanism steps expanded */
.sci-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.sci-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  gap: 20px;
}
.sci-step-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  color: var(--gold-border);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.sci-step-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--cream);
}
.sci-step-body p {
  font-size: 14px;
  color: var(--cream-2);
  line-height: 1.7;
}

/* ---- SCIENCE: Data Visualization ---- */
.data-viz {
  padding: var(--section-y) 0;
  background: var(--bg-2);
}
.chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 60px;
}
.chart-header { margin-bottom: 48px; }
.chart-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
}
.chart-header p { font-size: 13.5px; color: var(--muted); }
.chart-legend {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--cream-2);
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.legend-dot.gold { background: var(--gold-lt); }
.legend-dot.red  { background: var(--red); }

.chart-area {
  position: relative;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 2vw, 20px);
  height: 220px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--border);
}
.chart-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}
.chart-bar {
  width: 100%;
  max-width: 80px;
  border-radius: 4px 4px 0 0;
  height: 0;
  transition: height 1.4s var(--ease-out);
  position: relative;
}
.chart-bar.gold-bar {
  background: linear-gradient(to top, var(--gold) 0%, var(--gold-lt) 100%);
  box-shadow: 0 0 20px rgba(148,195,76,0.25);
}
.chart-bar.red-bar {
  background: linear-gradient(to top, #7a2828 0%, var(--red) 100%);
}
.bar-val {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.gold-bar .bar-val { color: var(--gold-lt); }
.red-bar  .bar-val { color: var(--red); }
.chart-bar-label {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
  margin-top: 12px;
}
.chart-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* ---- SCIENCE: Studies ---- */
.studies { padding: var(--section-y) 0; }
.studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.study-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.study-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}
.study-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.study-year {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.study-journal {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.study-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 14px;
}
.study-design {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.study-finding {
  font-size: 14px;
  color: var(--cream-2);
  line-height: 1.75;
}
.study-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 5px 14px;
  background: var(--green-dim);
  border: 1px solid rgba(41, 196, 154, 0.22);
  border-radius: 100px;
  font-size: 11.5px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---- PARTNER PAGE ---- */
.partner-layout {
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
#partner-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}
.partner-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.partner-info h2 { margin-bottom: 22px; }
.partner-info .t-lead { margin-bottom: 40px; }
.partner-benefits-list { display: flex; flex-direction: column; gap: 22px; }
.partner-benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  width: 36px; height: 36px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.benefit-icon svg { width: 15px; height: 15px; }
.benefit-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--cream); }
.benefit-text p  { font-size: 13.5px; color: var(--cream-2); line-height: 1.65; }

/* ---- FORM ---- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 6px;
}
.form-subtitle { font-size: 13.5px; color: var(--muted); margin-bottom: 36px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-ui);
  font-size: 14.5px;
  color: var(--cream);
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C7088' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--bg-2);
  padding-right: 40px;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(148, 195, 76, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: #0B1523; color: var(--cream); }

/* Checkboxes */
.form-check-group { margin-bottom: 22px; }
.form-check-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-bottom: 14px;
  display: block;
}
.form-checks { display: flex; flex-direction: column; gap: 10px; }
.check-item  { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.check-item input[type="checkbox"] {
  width: 19px; height: 19px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  background: var(--bg-2);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background 180ms, border-color 180ms;
  margin: 0; padding: 0;
}
.check-item input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.check-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px; left: 6px;
  width: 5px; height: 9px;
  border: 2px solid #06101C;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.check-item span { font-size: 14.5px; color: var(--cream-2); }

.form-submit { width: 100%; margin-top: 8px; padding: 16px; font-size: 14px; justify-content: center; }

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 68px; height: 68px;
  background: var(--green-dim);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--green);
  font-size: 26px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 14px;
}
.form-success p { font-size: 15px; color: var(--cream-2); line-height: 1.75; max-width: 380px; margin: 0 auto; }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.visible             { opacity: 1; transform: translateY(0); }
.reveal.delay-1             { transition-delay: 100ms; }
.reveal.delay-2             { transition-delay: 200ms; }
.reveal.delay-3             { transition-delay: 300ms; }
.reveal.delay-4             { transition-delay: 400ms; }
.reveal.delay-5             { transition-delay: 500ms; }

/* ---- KEYFRAMES ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(41, 196, 154, 0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(41, 196, 154, 0); }
}
.hero-proof-dot { animation: pulse 2.5s ease infinite; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .stats-inner         { grid-template-columns: repeat(2, 1fr); }
  .apps-grid           { grid-template-columns: repeat(2, 1fr); }
  .evidence-grid       { grid-template-columns: repeat(2, 1fr); }
  .certs-grid          { grid-template-columns: repeat(3, 1fr); }
  .studies-grid        { grid-template-columns: 1fr; }
  .partner-grid        { grid-template-columns: 1fr; gap: 60px; }
  .footer-inner        { grid-template-columns: 1fr 1fr; gap: 40px; }
  .bbb-flow            { grid-template-columns: 1fr; gap: 0; }
  .bbb-arrow           { transform: rotate(90deg); padding: 8px 0; }
  .sci-steps-grid      { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger       { display: flex; }
  .mechanism-steps     { grid-template-columns: 1fr; }
  .apps-grid           { grid-template-columns: 1fr; }
  .evidence-grid       { grid-template-columns: 1fr; }
  .certs-grid          { grid-template-columns: repeat(2, 1fr); }
  .form-row            { grid-template-columns: 1fr; }
  .footer-inner        { grid-template-columns: 1fr; gap: 36px; }
  .form-card           { padding: 32px 24px; }
  .chart-container     { padding: 28px 20px; }
  .bbb-diagram         { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas  { flex-direction: column; align-items: flex-start; }
  .btn        { width: 100%; justify-content: center; }
  .cta-btns   { flex-direction: column; align-items: center; }
  .cta-btns .btn { min-width: 260px; }
}

/* ===== HERO H2 + SUBTEXT ===== */
h2.hero-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-lt);
  opacity: 0.75;
  margin-bottom: 12px;
}
.hero-sub-detail {
  max-width: 540px;
  margin-bottom: 48px;
  margin-top: 0;
}

/* ===== REGULATORY STATUS SECTION ===== */
.regulatory-section {
  padding: 80px 0 60px;
  background: rgba(7, 16, 29, 0.6);
  border-top: 1px solid var(--border);
}
.regulatory-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.regulatory-note {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 760px;
}
.regulatory-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.regulatory-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
  max-width: 760px;
}
.regulatory-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.6;
}
.disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.6;
  line-height: 1.6;
  max-width: 760px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ===== PROTEIN COMPARISON CHART ===== */
.protein-compare { padding: var(--section-y) 0; background: var(--bg-2); }

.pcomp-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.pcomp-chart {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  height: 260px;
}

.pcomp-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 220px;
  align-items: flex-end;
  padding-bottom: 28px;
}
.pcomp-y-axis span {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.pcomp-bars {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex: 1;
  height: 220px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  position: relative;
}
.pcomp-bars::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.pcomp-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.pcomp-bar-wrap {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 192px;
}

.pcomp-bar {
  width: 75%;
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.pcomp-cas {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.pcomp-alact {
  background: linear-gradient(180deg, rgba(148,195,76,0.35) 0%, rgba(148,195,76,0.15) 100%);
  border: 1px solid rgba(148,195,76,0.3);
}
.pcomp-na2r {
  background: linear-gradient(180deg, var(--gold) 0%, rgba(148,195,76,0.55) 100%);
  border: 1px solid var(--gold);
  box-shadow: 0 0 24px rgba(148,195,76,0.2);
}

.pcomp-val {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--cream);
}
.pcomp-na2r .pcomp-val { color: var(--gold-lt); }

.pcomp-label {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--cream-2);
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.pcomp-label span {
  font-size: 9.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pcomp-legend-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.pcomp-legend-desc {
  font-size: 14.5px;
  color: var(--cream-2);
  line-height: 1.75;
  margin-bottom: 24px;
}
.pcomp-callout {
  background: rgba(148,195,76,0.06);
  border: 1px solid rgba(148,195,76,0.2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--cream);
  line-height: 1.65;
  margin-bottom: 20px;
}
.pcomp-callout strong { color: var(--gold-lt); }
.pcomp-source {
  font-size: 11.5px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

/* ===== COMPETITIVE LANDSCAPE TABLE ===== */
.competitive { padding: var(--section-y) 0; }

.comp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.comp-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.comp-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 200ms ease;
}
.comp-table tbody tr:last-child { border-bottom: none; }
.comp-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.comp-table td {
  padding: 18px 20px;
  color: var(--cream-2);
  vertical-align: middle;
  line-height: 1.4;
}

.comp-row-hero {
  background: rgba(148,195,76,0.04) !important;
  border-bottom: 1px solid rgba(148,195,76,0.15) !important;
}
.comp-row-hero td { color: var(--cream); }
.comp-row-hero td:first-child strong {
  font-size: 15px;
  color: var(--gold-lt);
}

.comp-brand {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.comp-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.comp-high  { background: rgba(148,195,76,0.12); color: var(--gold-lt); border: 1px solid rgba(148,195,76,0.25); }
.comp-mid   { background: rgba(255,255,255,0.04); color: var(--cream-2); border: 1px solid var(--border); }
.comp-low   { background: rgba(255,255,255,0.04); color: var(--muted);   border: 1px solid var(--border); }
.comp-none  { background: rgba(148,195,76,0.12); color: var(--gold-lt); border: 1px solid rgba(148,195,76,0.25); }
.comp-risk  { background: rgba(200, 60, 60, 0.1); color: #e07070; border: 1px solid rgba(200,60,60,0.2); }

.comp-disclaimer {
  font-size: 11.5px;
  color: var(--muted);
  font-style: italic;
  padding: 16px 20px;
  background: var(--bg-card-2);
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pcomp-wrap { grid-template-columns: 1fr; gap: 40px; }
}
