/* ====================================================
   PRANA LOUNGE — style.css
   Design: Biomimetic Mint / Bento Grid
   Palette: Mint / Teal / Sage / Slate
   Fonts: Plus Jakarta Sans (display) + Inter (body)
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,300&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --mint:        #ECFDF5;
  --mint-mid:    #D1FAE5;
  --teal:        #0D9488;
  --teal-dark:   #0F766E;
  --sage:        #6EE7B7;
  --sage-dark:   #34D399;
  --slate:       #1E293B;
  --slate-mid:   #334155;
  --muted:       #64748B;
  --white:       #FFFFFF;
  --border:      rgba(13,148,136,0.15);

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--mint);
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ── CELL BACKGROUND ── */
.cell-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 10% 20%, rgba(110,231,183,0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 90% 80%, rgba(13,148,136,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 50%, rgba(209,250,229,0.3) 0%, transparent 70%);
  animation: cell-pulse 8s ease-in-out infinite alternate;
}
@keyframes cell-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 1; }
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  height: 64px;
  background: rgba(236,253,245,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-pulse {
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  animation: nav-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(13,148,136,0.4);
}
@keyframes nav-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(13,148,136,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(13,148,136,0); }
  100% { box-shadow: 0 0 0 0 rgba(13,148,136,0); }
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
}
.nav-tagline {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.08em;
  border-left: 1px solid var(--border);
  padding-left: 12px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* ── HERO BENTO ── */
.hero {
  position: relative;
  z-index: 1;
  padding: 96px var(--space-lg) var(--space-xl);
}
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 280px 200px;
  grid-template-rows: auto auto auto;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── BENTO CARDS ── */
.bento-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(13,148,136,0.12);
}
.card-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-sm);
}

.bento-hero {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-mid) 100%);
  color: var(--white);
}
.bento-hero .card-eyebrow { color: var(--sage); }
.bento-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}
.bento-hero h1 em { color: var(--sage); font-style: normal; }
.bento-hero p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 420px;
}
.bento-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(110,231,183,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.bento-bioage {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  text-align: center;
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
  color: var(--white);
}
.bento-bioage .card-eyebrow { color: rgba(255,255,255,0.7); }
.bioage-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: var(--space-sm) 0;
}
.bioage-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  color: var(--white);
}
.bioage-unit {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
  text-align: left;
}
.bioage-sub { font-size: 11px; color: rgba(255,255,255,0.6); line-height: 1.5; }

.bento-pulse {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}
.hrv-svg {
  width: 100%;
  overflow: visible;
  margin: var(--space-xs) 0;
}
.pulse-stat { margin-top: var(--space-sm); }
.pulse-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  display: block;
}
.pulse-label { font-size: 11px; color: var(--muted); }

.bento-protocols-mini {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.proto-mini-list { display: flex; flex-direction: column; gap: 10px; }
.proto-mini-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
}
.proto-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--teal));
  flex-shrink: 0;
}

.bento-stat {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--mint-mid);
}
.bento-big-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--teal-dark);
}
.bento-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.bento-biomarkers {
  grid-column: 1 / -1;
  grid-row: 3 / 4;
}
.markers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.marker-tile {
  background: var(--mint);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.marker-tile--alt { background: var(--mint-mid); }
.marker-tile span {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
}
.marker-tile small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.btn-ghost:hover { background: var(--mint-mid); }

/* ── SECTION HEADER ── */
.section-header { margin-bottom: var(--space-lg); }
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-xs);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate);
}

/* ── PROTOCOLS ── */
.protocols-section {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}
.protocols-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.proto-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.proto-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(13,148,136,0.1); }
.proto-icon {
  width: 52px;
  height: 52px;
  background: var(--mint-mid);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.proto-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--slate);
}
.proto-card p {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
}
.proto-duration {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

/* ── QUIZ ── */
.quiz-section {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-lg);
  background: var(--slate);
}
.quiz-container {
  max-width: 720px;
  margin: 0 auto;
}
.quiz-header { margin-bottom: var(--space-lg); color: var(--white); }
.quiz-header .section-eyebrow { color: var(--sage); }
.quiz-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.quiz-header p { font-size: 15px; color: rgba(255,255,255,0.6); margin-top: var(--space-xs); }

.quiz-widget {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.quiz-progress { display: flex; flex-direction: column; gap: 8px; }
.progress-bar {
  height: 6px;
  background: var(--mint-mid);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--sage));
  border-radius: 99px;
  width: 0;
  transition: width 0.4s ease;
}
.progress-text { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }

.question-card { display: flex; flex-direction: column; gap: var(--space-md); }
.q-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--teal);
}
.q-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.3;
}
.q-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}
.q-opt {
  background: var(--mint);
  border: 2px solid var(--border);
  color: var(--slate);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}
.q-opt:hover { border-color: var(--teal); background: var(--mint-mid); }
.q-opt.selected { border-color: var(--teal); background: rgba(13,148,136,0.08); color: var(--teal-dark); }

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Results */
.quiz-results { display: flex; flex-direction: column; gap: var(--space-lg); }
.result-gauge-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.gauge-svg { width: 200px; }
.gauge-bio-age {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  fill: var(--teal-dark);
}
.gauge-label { font-size: 11px; fill: var(--muted); font-family: 'Inter', sans-serif; }
.result-ages {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.age-compare { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.age-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.age-val { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1; }
.age-val.chron { color: var(--slate-mid); }
.age-val.bio { color: var(--teal); }
.age-arrow { font-size: 24px; color: var(--muted); }

.result-band {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

.result-protocols h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: var(--space-sm);
}
.protocol-recs { display: flex; flex-direction: column; gap: 10px; }
.protocol-recs li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  padding: 10px 16px;
  background: var(--mint);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.protocol-recs li::before {
  content: '→';
  color: var(--teal);
  font-weight: 700;
}

.result-cta {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
}

/* ── BOOK CTA ── */
.book-section {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  text-align: center;
}
.book-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.book-inner .section-eyebrow { color: var(--sage); }
.book-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.book-inner p { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.7); }
.book-inner .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
  margin-top: var(--space-xs);
}
.book-inner .btn-primary:hover { background: var(--mint); }
.book-note { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--slate);
  padding: var(--space-md) var(--space-lg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--sage);
  letter-spacing: 0.1em;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-hero { grid-column: 1 / -1; grid-row: auto; }
  .bento-biomarkers { grid-column: 1 / -1; }
  .protocols-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .protocols-grid { grid-template-columns: 1fr; }
  .markers-grid { grid-template-columns: repeat(2, 1fr); }
  .q-options { grid-template-columns: 1fr; }
  .hero { padding: 80px var(--space-sm) var(--space-xl); }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
