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

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1a1a2e;
}

/* ── NAV ── */
nav {
  background: #ffffff;
  border-bottom: 1px solid #e8edf5;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(10, 36, 99, 0.06);
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0a2463;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.logo span {
  color: #1e88e5;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #0a2463;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 40px 90px;
  background: #ffffff;
}

/* Gradient blob – top right */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -160px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 36, 99, 0.07) 0%, rgba(30, 136, 229, 0.04) 50%, transparent 70%);
  pointer-events: none;
}

/* Gradient blob – bottom left */
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Trust badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef3fb;
  border: 1px solid #c8d8f0;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0a2463;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.trust-badge svg {
  flex-shrink: 0;
}

/* Headline */
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  color: #0a2463;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: #1e88e5;
}

/* Divider */
.hero-divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #0a2463, #1e88e5);
  border-radius: 4px;
  margin-bottom: 28px;
}

/* Body copy */
.hero-body p {
  font-size: 1rem;
  line-height: 1.78;
  color: #374151;
  margin-bottom: 18px;
}

.hero-body p:last-child {
  margin-bottom: 0;
}

.hero-body p.highlight {
  font-weight: 600;
  color: #0a2463;
}

/* Guide box */
.guide-box {
  margin-top: 48px;
  background: #f7f9fd;
  border: 1px solid #dce7f5;
  border-radius: 16px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}

.guide-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #0a2463, #1e88e5);
  border-radius: 4px 0 0 4px;
}

.guide-box h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a2463;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-box h2 svg {
  flex-shrink: 0;
}

/* Checklist */
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.5;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 1px;
  width: 20px;
  height: 20px;
  background: #0a2463;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon svg {
  display: block;
}

/* Stats row */
.stats-row {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e8edf5;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0a2463;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 4px;
  font-weight: 500;
}

/* ── WHY MEN SECTION ── */
.why-section {
  background: #f7f9fd;
  padding: 80px 40px 90px;
  border-top: 1px solid #e8edf5;
}

.section-inner {
  max-width: 860px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1e88e5;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: #0a2463;
  line-height: 1.22;
  letter-spacing: -0.4px;
  margin-bottom: 24px;
}

.section-divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #0a2463, #1e88e5);
  border-radius: 4px;
  margin-bottom: 32px;
}

.section-body p {
  font-size: 1rem;
  line-height: 1.78;
  color: #374151;
  margin-bottom: 18px;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.section-body p.highlight {
  font-weight: 700;
  color: #0a2463;
  font-size: 1.05rem;
}

/* Criteria highlight box */
.criteria-box {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid #dce7f5;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(10, 36, 99, 0.06);
}

.criteria-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a2463;
  margin-bottom: 10px;
}

.criteria-box-intro {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 28px;
  line-height: 1.5;
}

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f7f9fd;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 18px 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.criteria-item:hover {
  border-color: #c8d8f0;
  box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08);
}

.criteria-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0a2463, #1e88e5);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.criteria-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.criteria-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0a2463;
}

.criteria-text span {
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ── INGREDIENT GUIDE SECTION ── */
.ingredient-section {
  background: #ffffff;
  padding: 80px 40px 90px;
  border-top: 1px solid #e8edf5;
}

.ingredient-intro {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 40px;
  max-width: 780px;
}

/* Table wrapper for horizontal scroll on mobile */
.table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #dce7f5;
  box-shadow: 0 4px 24px rgba(10, 36, 99, 0.06);
}

.ingredient-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 580px;
}

.ingredient-table thead tr {
  background: #0a2463;
}

.ingredient-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffffff;
}

.ingredient-table thead th:first-child {
  border-radius: 15px 0 0 0;
}

.ingredient-table thead th:last-child {
  border-radius: 0 15px 0 0;
}

.ingredient-table tbody tr {
  border-bottom: 1px solid #eef2f9;
  transition: background 0.15s;
}

.ingredient-table tbody tr:last-child {
  border-bottom: none;
}

.ingredient-table tbody tr:hover {
  background: #f4f7fd;
}

.ingredient-table tbody td {
  padding: 15px 20px;
  color: #374151;
  vertical-align: middle;
  line-height: 1.45;
}

.ingredient-name {
  font-weight: 700;
  color: #0a2463 !important;
  white-space: nowrap;
}

/* Divider row between tiers */
.row-divider td {
  padding: 0 !important;
  height: 6px;
  background: #eef2f9;
  border-bottom: none !important;
}

/* Look For It? badges */
.look-yes,
.look-maybe,
.look-no {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 3px 0;
}

.look-yes  { color: #166534; }
.look-maybe { color: #92400e; }
.look-no   { color: #991b1b; }

/* Verdict badges */
.verdict {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.verdict-green {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.verdict-yellow {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
}

.verdict-orange {
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.verdict-red {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Legend */
.table-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding: 16px 20px;
  background: #f7f9fd;
  border: 1px solid #e8edf5;
  border-radius: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green  { background: #22c55e; }
.dot-yellow { background: #eab308; }
.dot-orange { background: #f97316; }
.dot-red    { background: #ef4444; }

/* ── INGREDIENT BREAKDOWN SECTION ── */
.breakdown-section {
  background: #f7f9fd;
  padding: 80px 40px 90px;
  border-top: 1px solid #e8edf5;
}

/* Individual ingredient card */
.ing-card {
  background: #ffffff;
  border: 1px solid #dce7f5;
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 28px;
  box-shadow: 0 2px 16px rgba(10, 36, 99, 0.05);
  scroll-margin-top: 80px;
}

.ing-card:last-child {
  margin-bottom: 0;
}

/* Card header: number + name + verdict badge */
.ing-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eef2f9;
  flex-wrap: wrap;
}

.ing-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #0a2463;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.ing-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0a2463;
  line-height: 1.2;
  flex: 1;
}

.ing-name-alt {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
}

.ing-verdict-badge {
  margin-left: auto;
  font-size: 0.8rem;
  padding: 5px 14px;
}

/* Sub-section blocks inside a card */
.ing-block {
  margin-bottom: 24px;
}

.ing-block:last-of-type {
  margin-bottom: 0;
}

.ing-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0a2463;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.ing-icon {
  font-size: 1rem;
  line-height: 1;
}

.ing-block p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 10px;
}

.ing-block p:last-child {
  margin-bottom: 0;
}

.ing-who-intro {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 8px !important;
}

/* Green checkmark list */
.ing-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ing-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.4;
}

.ing-checks li::before {
  content: '✅';
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Tick list (Who Might Benefit) */
.ing-ticks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ing-ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.45;
}

.ing-ticks li::before {
  content: '✔';
  color: #1e88e5;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Verdict row at the bottom of each card */
.ing-verdict-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #eef2f9;
  flex-wrap: wrap;
}

.ing-verdict-row .verdict-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.ing-verdict-row strong {
  font-size: 0.92rem;
  color: #0a2463;
  font-weight: 700;
  flex-shrink: 0;
}

.ing-verdict-row p {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.6;
  width: 100%;
  margin-top: 6px;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 52px 20px 64px;
  }

  .guide-box {
    padding: 28px 24px;
  }

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

  .stats-row {
    gap: 32px;
  }

  .why-section {
    padding: 52px 20px 64px;
  }

  .criteria-box {
    padding: 28px 24px;
  }

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

  .ingredient-section {
    padding: 52px 20px 64px;
  }

  .table-legend {
    gap: 12px;
  }

  .breakdown-section {
    padding: 52px 20px 64px;
  }

  .ing-card {
    padding: 28px 20px;
  }

  .ing-card-header {
    gap: 12px;
  }

  .ing-verdict-badge {
    margin-left: 0;
  }
}
