﻿:root {
  --ink: #18201d;
  --muted: #607169;
  --paper: #f6f3ee;
  --panel: #ffffff;
  --line: #d9ddd5;
  --forest: #21483b;
  --copper: #b45f35;
  --steel: #49636a;
  --sage: #dce7dc;
  --gold: #d59a3a;
  --shadow: 0 18px 45px rgba(24, 32, 29, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 243, 238, 0.92);
  border-bottom: 1px solid rgba(24, 32, 29, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--forest);
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: clamp(10px, 2vw, 24px);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--forest);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(18, 28, 24, 0.86) 0%, rgba(18, 28, 24, 0.62) 43%, rgba(18, 28, 24, 0.05) 100%),
    url("assets/hero-men-health.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  padding: clamp(56px, 9vw, 112px) 0 clamp(70px, 11vw, 120px);
  margin-left: clamp(18px, 7vw, 92px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero .eyebrow {
  color: #f2bc78;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions,
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: var(--copper);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats span {
  min-width: 126px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
}

section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.band {
  background: #fff;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 34px;
}

.section-heading.with-actions {
  max-width: 1180px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.intro-grid,
.safety-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.intro-grid article,
.safety-grid article,
.keyword-note,
.finder-panel,
.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(24, 32, 29, 0.06);
}

.intro-grid article,
.safety-grid article {
  padding: 24px;
}

.intro-grid p,
.safety-grid p,
.product-card p,
.keyword-note p {
  color: var(--muted);
  line-height: 1.65;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--steel);
  font-size: 0.78rem;
  font-weight: 900;
}

.finder {
  background: var(--paper);
}

.goal-tabs,
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.goal-tabs {
  width: min(980px, 100%);
  margin: 0 auto 16px;
}

.goal-tab,
.filter {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}

.goal-tab.active,
.filter.active {
  color: #fff;
  border-color: var(--forest);
  background: var(--forest);
}

.finder-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.finder-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.match-list {
  display: grid;
  gap: 12px;
}

.match-item {
  padding: 14px;
  border-radius: 8px;
  background: var(--sage);
}

.match-item strong {
  display: block;
  margin-bottom: 5px;
}

.product-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 18px;
}

.product-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.product-badge,
.type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.product-badge {
  color: var(--forest);
  background: var(--sage);
}

.type-badge {
  color: #fff;
  background: var(--steel);
}

.product-card h3 {
  margin-top: 16px;
  font-size: 1.45rem;
}

.product-title {
  margin: 8px 0 0;
  color: var(--forest) !important;
  font-weight: 900;
  line-height: 1.35 !important;
}

.product-image {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #eef4ee, #d7e4e6);
}

.product-image::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.product-image.vigrx { background: linear-gradient(135deg, #e9f2e6, #b8d2c7); }
.product-image.prosolution { background: linear-gradient(135deg, #eef1f7, #b9c6d8); }
.product-image.gel { background: linear-gradient(135deg, #f2eadf, #d8b99f); }
.product-image.semenax { background: linear-gradient(135deg, #edf3f6, #a9c5ce); }
.product-image.testrx { background: linear-gradient(135deg, #f3eee6, #d6a96f); }
.product-image.testosil { background: linear-gradient(135deg, #e9eff0, #9db5ba); }
.product-image.prostara { background: linear-gradient(135deg, #edf3e8, #a9c68f); }

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.highlight-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.highlight-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
}

.product-caution {
  padding: 12px;
  border-radius: 8px;
  background: #f8f5ef;
  font-size: 0.9rem;
}

.keyword-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 750;
}

.product-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.product-actions .button {
  min-height: 44px;
}

.product-actions .button.ghost {
  color: var(--forest);
  border-color: var(--line);
  background: #fff;
}

.comparison {
  background: var(--paper);
}

.table-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--forest);
  background: #eef4ee;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  color: var(--muted);
  line-height: 1.5;
}

tr:last-child td {
  border-bottom: 0;
}

.keyword-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
}

.keyword-note {
  padding: 24px;
  align-self: start;
}

.keyword-groups {
  display: grid;
  gap: 12px;
}

.keyword-group {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.keyword-group h3 {
  margin-bottom: 12px;
}

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(52px, 7vw, 84px);
  padding: clamp(28px, 5vw, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  background: var(--forest);
  border-radius: 8px;
}

.cta-band .eyebrow {
  color: #f2bc78;
}

.cta-band .button.primary {
  background: var(--gold);
  color: var(--ink);
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #14201b;
  font-size: 0.9rem;
}

.site-footer p {
  max-width: 980px;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .site-header {
    align-items: start;
    flex-direction: column;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(18, 28, 24, 0.9) 0%, rgba(18, 28, 24, 0.62) 58%, rgba(18, 28, 24, 0.2) 100%),
      url("assets/hero-men-health.png");
    background-position: 63% center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .intro-grid,
  .safety-grid,
  .product-grid,
  .finder-panel,
  .keyword-layout {
    grid-template-columns: 1fr;
  }

  .section-heading.with-actions {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 720px;
  }

  h1 {
    font-size: clamp(2.55rem, 16vw, 4.2rem);
  }

  .button {
    width: 100%;
  }

  .goal-tab,
  .filter {
    flex: 1 1 calc(50% - 8px);
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
  }
}


/* Final product-card polish */
.hero-content {
  width: min(700px, calc(100% - 36px));
}

h1 {
  max-width: 680px;
  font-size: clamp(2.55rem, 5.4vw, 4.95rem);
  line-height: 1;
}

.product-card {
  min-height: 620px;
  padding: 16px;
}

.product-image {
  min-height: 238px;
  padding: 18px 18px 48px;
  background: linear-gradient(135deg, #f5f7f5, #e1e9e3);
}

.product-image::before {
  inset: 28px;
  background: radial-gradient(circle, rgba(255,255,255,0.88), rgba(255,255,255,0.15) 62%, transparent 70%);
}

.product-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 240px;
  height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(24, 32, 29, 0.18));
}

.product-badges {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.product-badge,
.type-badge {
  min-height: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(24, 32, 29, 0.12);
}

.type-badge {
  background: rgba(73, 99, 106, 0.94);
}

.product-title {
  min-height: 46px;
}

.product-caution {
  margin-top: auto;
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.25rem, 12vw, 3.45rem);
  }

  .product-image {
    min-height: 220px;
  }
}


/* Screenshot pass: calmer hero and clearer product-image badges */
.hero-content {
  width: min(640px, calc(100% - 36px));
}

.hero-copy {
  max-width: 540px;
  font-size: clamp(1rem, 1.55vw, 1.16rem);
}

h1 {
  max-width: 620px;
  font-size: clamp(2.35rem, 4.7vw, 4.35rem);
  line-height: 1.03;
}

.hero-stats span {
  min-width: 116px;
  padding: 10px 12px;
  font-size: 0.86rem;
}

.hero-stats strong {
  font-size: 1.02rem;
}

.product-image {
  min-height: 250px;
  padding: 22px 16px 52px;
  background: linear-gradient(135deg, #f8faf8 0%, #edf3ef 48%, #dce8de 100%);
}

.product-image img {
  max-width: 270px;
  height: 184px;
}

.product-badges {
  justify-content: flex-start;
  left: 14px;
  right: 14px;
  bottom: 14px;
}

.product-card h3 {
  margin-top: 18px;
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.1rem, 10.8vw, 3.15rem);
  }

  .hero-stats span {
    min-width: 100%;
  }
}
