/* ============================================================
   BIOHACK PERFORMANCE — Design System
   Variables, Reset, Typography, Layout, Components
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
  --navy:      #0A1128;
  --beige:     #F5EFE6;
  --white:     #FFFFFF;
  --anthracite:#36454F;
  --gold:      #C8A96E;
  --gold-dark: #B8924A;
  --gold-light:#E8D5AA;
  --navy-mid:  #14213D;
  --navy-light:#1E3355;
  --beige-dark:#EAE0CE;
  --text-muted:#6B7A8D;
  --success:   #2ECC71;
  --border:    rgba(200,169,110,0.25);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(10,17,40,0.08);
  --shadow-md: 0 8px 30px rgba(10,17,40,0.12);
  --shadow-lg: 0 20px 60px rgba(10,17,40,0.18);
  --shadow-gold: 0 4px 20px rgba(200,169,110,0.3);

  --transition: 0.25s ease;
  --transition-slow: 0.45s ease;

  --max-width: 1200px;
  --container-padding: clamp(1rem, 5vw, 2.5rem);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--beige);
  color: var(--navy);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1rem, 2vw, 1.2rem); }

p { color: var(--anthracite); font-size: 1rem; }
p + p { margin-top: 1rem; }

strong { font-weight: 600; color: var(--navy); }
em { font-style: italic; }

.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  max-width: 800px;
}

.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.section--dark {
  background-color: var(--navy);
}

.section--navy-mid {
  background-color: var(--navy-mid);
}

.section--white {
  background-color: var(--white);
}

.section--beige {
  background-color: var(--beige);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding-block: 1rem;
}

.nav.scrolled {
  background: rgba(10, 17, 40, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(200,169,110,0.2);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__logo span { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav__links a:hover { color: var(--gold); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Burger Menu */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  transition: color var(--transition);
}

.nav__mobile a:hover { color: var(--gold); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn--full { width: 100%; }

.btn--dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

/* ---- BADGES / LABELS ---- */
.badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge--gold {
  background: rgba(200,169,110,0.18);
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.35);
}

.badge--white {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.badge--navy {
  background: rgba(10,17,40,0.1);
  color: var(--navy);
  border: 1px solid rgba(10,17,40,0.15);
}

/* ---- SECTION HEADERS ---- */
.section-header {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-header .badge { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

.section-header--left { text-align: left; margin-inline: 0; }

/* ---- HERO ---- */
.hero {
  min-height: 100svh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1A2B4A 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-block: 7rem 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(200,169,110,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(30,51,85,0.6) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--beige));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge { margin-bottom: 1.5rem; }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero__subtitle {
  color: rgba(245,239,230,0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(245,239,230,0.65);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- BENEFIT CARDS ---- */
.benefit-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.benefit-card:hover::before { transform: scaleX(1); }

.benefit-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(200,169,110,0.15), rgba(200,169,110,0.05));
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.93rem;
  line-height: 1.65;
}

.benefit-card__study {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---- SCIENCE SECTION ---- */
.science-block {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.science-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,169,110,0.07), transparent 70%);
  pointer-events: none;
}

.science-block h2 { color: var(--white); margin-bottom: 0.75rem; }
.science-block .lead { color: rgba(245,239,230,0.75); font-size: 1.05rem; margin-bottom: 2rem; }

.compound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.compound-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.compound-item__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.compound-item p {
  color: rgba(245,239,230,0.7);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---- STATS BAR ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stats-bar__item {
  padding: 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stats-bar__item:last-child { border-right: none; }

.stats-bar__number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stats-bar__label {
  font-size: 0.8rem;
  color: rgba(245,239,230,0.6);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.4;
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--anthracite);
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* ---- NEWSLETTER ---- */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(200,169,110,0.07), transparent);
  pointer-events: none;
}

.newsletter-section h2 { color: var(--white); margin-bottom: 0.75rem; }
.newsletter-section p { color: rgba(245,239,230,0.72); margin-bottom: 2rem; max-width: 500px; margin-inline: auto; margin-bottom: 2rem; }

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin-inline: auto;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(200,169,110,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { border-color: var(--gold); }

.newsletter-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(245,239,230,0.45);
}

/* ---- BRIDGE PAGE ---- */
.bridge-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0D1A35 100%);
  padding-block: 6rem 4rem;
  position: relative;
  overflow: hidden;
}

.bridge-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(200,169,110,0.07), transparent);
  pointer-events: none;
}

.bridge-hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.bridge-hero h1 span { color: var(--gold); }

.bridge-hero__sub {
  color: rgba(245,239,230,0.78);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(245,239,230,0.8);
  font-size: 0.95rem;
}

.pain-list li::before {
  content: '✗';
  color: #E05C5C;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Product Box */
.product-box {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-gold);
  position: relative;
}

.product-box__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 0.3rem 1.5rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-image-placeholder {
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--beige) 0%, var(--beige-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--beige-dark);
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1.5rem;
}

.product-image-placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.4;
  margin-inline: auto;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.product-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.rating-score {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}

.rating-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Benefits checklist */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--anthracite);
  line-height: 1.55;
}

.benefits-list li .check {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ---- COMPARISON TABLE ---- */
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

table.comparison {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.92rem;
}

.comparison thead {
  background: var(--navy);
  color: var(--white);
}

.comparison thead th {
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.comparison thead th:nth-child(2) {
  background: var(--gold);
  color: var(--navy);
}

.comparison tbody tr {
  border-bottom: 1px solid var(--beige-dark);
  transition: background var(--transition);
}

.comparison tbody tr:hover { background: var(--beige); }

.comparison tbody td {
  padding: 1rem 1.25rem;
  color: var(--anthracite);
}

.comparison tbody td:first-child {
  font-weight: 600;
  color: var(--navy);
}

.comparison tbody td:nth-child(2) {
  background: rgba(200,169,110,0.06);
  font-weight: 500;
  color: var(--navy);
}

.comparison .win { color: var(--success); font-weight: 700; }
.comparison .neutral { color: var(--text-muted); }

/* ---- ARTICLE / BLOG ---- */
.article-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding-block: 7rem 4rem;
  position: relative;
  overflow: hidden;
}

.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 60% at 70% 60%, rgba(200,169,110,0.07), transparent);
  pointer-events: none;
}

.article-header h1 { color: var(--white); max-width: 720px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.article-meta span {
  font-size: 0.85rem;
  color: rgba(245,239,230,0.6);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-body {
  max-width: 760px;
  margin-inline: auto;
}

.article-body h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--beige-dark);
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  list-style: none;
  margin-bottom: 1.5rem;
}

.article-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--anthracite);
}

.article-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.article-body ol {
  counter-reset: ol-counter;
}

.article-body ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--anthracite);
  counter-increment: ol-counter;
}

.article-body ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--gold);
}

.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--beige);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 2rem;
  font-style: italic;
  color: var(--navy);
}

.article-body .study-ref {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  background: var(--beige);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  margin-top: 0.5rem;
}

.article-toc {
  background: var(--beige);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
}

.article-toc h4 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  color: var(--navy);
}

.article-toc ol {
  counter-reset: toc-counter;
}

.article-toc ol li {
  counter-increment: toc-counter;
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.article-toc ol li::before {
  content: counter(toc-counter) '.';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.article-toc a {
  color: var(--anthracite);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.article-toc a:hover { color: var(--gold); }

/* Info / Warning boxes */
.info-box {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-block: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-box--blue {
  background: rgba(30,51,85,0.08);
  border: 1px solid rgba(30,51,85,0.2);
}

.info-box--gold {
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.3);
}

.info-box__icon { font-size: 1.2rem; flex-shrink: 0; }

.info-box__content { flex: 1; }
.info-box__content p { margin: 0; font-size: 0.93rem; }
.info-box__content strong { display: block; margin-bottom: 0.25rem; }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--beige-dark);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--beige);
  border: 1px solid var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--navy);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 600px; }

/* ---- GUARANTEE BOX ---- */
.guarantee-box {
  background: linear-gradient(135deg, rgba(46,204,113,0.08), rgba(46,204,113,0.03));
  border: 2px solid rgba(46,204,113,0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.guarantee-box__icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.guarantee-box h3 {
  color: #1A7A45;
  margin-bottom: 0.5rem;
}

/* ---- ABOUT PAGE ---- */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding-block: 7rem 4rem;
}

.about-hero h1 { color: var(--white); }
.about-hero p { color: rgba(245,239,230,0.75); max-width: 600px; margin-top: 1rem; font-size: 1.1rem; }

.author-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  border: 3px solid var(--gold-light);
}

.author-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.credential-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--beige);
  border: 1px solid var(--beige-dark);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--anthracite);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.expertise-item {
  background: var(--beige);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.expertise-item__icon { font-size: 1.5rem; margin-bottom: 0.5rem; }

.expertise-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.expertise-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---- CTA BOX (in-article) ---- */
.cta-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin-block: 2.5rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(200,169,110,0.07), transparent);
  pointer-events: none;
}

.cta-box h3 { color: var(--white); margin-bottom: 0.5rem; }
.cta-box p { color: rgba(245,239,230,0.7); margin-bottom: 1.5rem; }

/* ---- STICKY CTA BANNER (bridge) ---- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 1rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 900;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  flex-wrap: wrap;
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta__text {
  color: var(--white);
  font-size: 0.9rem;
}

.sticky-cta__text strong { color: var(--gold); }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  color: rgba(245,239,230,0.65);
  padding-block: 3rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(auto-fit, minmax(140px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer__brand-name span { color: var(--gold); }

.footer__desc {
  font-size: 0.87rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__col-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(245,239,230,0.6);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer__disclaimer {
  font-size: 0.78rem;
  color: rgba(245,239,230,0.35);
  max-width: 700px;
  line-height: 1.5;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ---- UTILITY ---- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.divider {
  height: 1px;
  background: var(--beige-dark);
  margin-block: 2rem;
}

.divider--gold {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Progress / highlight bar */
.highlight-row {
  background: rgba(200,169,110,0.08);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 1rem;
}

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero__stats { gap: 1.5rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stats-bar__item:nth-child(2n) { border-right: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .author-card { flex-direction: column; align-items: center; text-align: center; }
  .guarantee-box { flex-direction: column; align-items: center; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { min-width: auto; }
  .article-meta { gap: 0.75rem; }
}

@media (min-width: 901px) {
  .nav__mobile { display: none !important; }
}
