/* ==========================================================================
   virility-theme.css — Override layer for virilitylab.com
   Loaded AFTER style.css. Shifts palette to deep navy + electric blue +
   cool silver appropriate to a men's T-booster / blood-flow / vitality
   authority site. The tone is clinical/scientific, not bedroom — this is
   the "lab coat" to maleperformancereview's "bedroom" angle.
   ========================================================================== */

:root {
  --primary: #1f4d8f;            /* deep navy blue */
  --primary-dark: #163767;       /* darker navy */
  --primary-light: #eef3fa;      /* subtle blue tint */
  --accent: #3ab8c9;             /* electric cyan */
  --accent-hover: #2b9aaa;
  --dark-panel: #0a1220;
  --text: #121a2b;
  --text-light: #55637a;
  --bg: #fbfcfd;
  --bg-alt: #f2f5f9;
  --border: #d6dfec;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 4px;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; outline: 2px solid var(--accent); }

/* ---------- HEADER ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(31,77,143,0.1);
  box-shadow: 0 1px 6px rgba(18,26,43,0.05);
}
.logo { color: var(--primary); letter-spacing: -0.3px; }
.logo span { color: var(--accent); }

/* ---------- HERO: dark navy panel ---------- */
.hero {
  position: relative;
  background: #0a1220 !important;
  padding: 72px 0 56px !important;
  color: #fff !important;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 25%, rgba(58,184,201,0.18) 0%, transparent 55%),
              radial-gradient(ellipse at 85% 75%, rgba(31,77,143,0.28) 0%, transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .hero-content {
  display: flex !important;
  flex-direction: row;
  gap: 48px;
  align-items: stretch;
}
.hero .hero-text {
  flex: 1 1 55%;
  min-width: 0;
  padding: 32px 0;
}
.hero .hero-visual {
  flex: 1 1 48%;
  min-width: 0;
  max-width: 560px;
  height: 480px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(58,184,201,0.3);
}
.hero .hero-visual img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero .eyebrow,
.hero p.eyebrow,
.hero p.updated {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  font-size: 0.8rem;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--accent); font-style: italic; font-family: 'DM Serif Display', serif; font-weight: 400; }
.hero h1 strong { color: var(--accent); }
.hero .subheadline {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  line-height: 1.6;
}
.hero .hero-ctas .btn.btn-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--dark-panel);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(58,184,201,0.4);
}
.hero .hero-ctas .btn.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.hero .hero-ctas .btn.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
}
.hero .hero-ctas .btn.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* Quick-pick card */
.quick-pick-box {
  background: #fff;
  border: 1px solid rgba(31,77,143,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 2px 8px rgba(31,77,143,0.08);
  margin-top: 48px;
  border-radius: 10px;
  padding: 28px 32px;
}
.quick-pick-box .qp-header h3 { color: var(--primary); }
.quick-pick-list li {
  grid-template-columns: 56px 180px 1fr auto !important;
  gap: 18px !important;
  border-bottom: 1px solid rgba(31,77,143,0.08);
}
.quick-pick-list .qp-label { color: var(--accent); font-weight: 700; }
.quick-pick-list .qp-product { color: var(--primary); font-weight: 800; }
.quick-pick-list .qp-link { color: #fff; background: var(--primary); }
.quick-pick-list .qp-link:hover { background: var(--primary-dark); color: #fff; }
.qp-thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #f8fafd;
  border-radius: 6px;
  padding: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.product-image-stats {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(31,77,143,0.04);
  border-radius: 8px;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.55;
}
.product-image-stats .pis-rating {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(31,77,143,0.12);
}
.product-image-stats .pis-stars {
  color: var(--accent);
  letter-spacing: 2px;
  margin-right: 4px;
}
.product-image-stats .pis-row { color: #222; margin: 4px 0; }
.product-image-stats .pis-ico {
  display: inline-block;
  width: 16px;
  color: #21a971;
  font-weight: 800;
}
.product-image-stats .pis-brand {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(31,77,143,0.12);
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
}

.comp-hero {
  background: linear-gradient(135deg, #142340 0%, #0a1220 100%);
  color: #fff;
  padding: 72px 0 40px;
}
.comp-hero h1 { color: #fff; font-size: 2.2rem; }
.comp-hero .subheadline { color: rgba(255,255,255,0.88); }
.comp-hero .breadcrumb,
.comp-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.comp-hero .breadcrumb a:hover { color: var(--accent); }
.comp-hero .updated { color: var(--accent); }

.btn-primary { background: var(--primary); border: 1px solid var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-accent { background: var(--accent); border: 1px solid var(--accent); color: var(--dark-panel); font-weight: 700; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }

.section-label { color: var(--accent); font-weight: 700; }
.section-title { color: var(--text); }
.section-title::after { background: var(--primary); }
.problem-points,
.solution-points { list-style: none; margin: 28px 0; }
.problem-points li,
.solution-points li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 1.02rem;
}
.problem-points li::before { content: '\2022'; position: absolute; left: 8px; color: var(--accent); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.solution-points li::before { content: '\2713'; position: absolute; left: 0; color: var(--primary); font-weight: 700; font-size: 1.1rem; }

.product-row.top-pick {
  border-color: var(--primary);
  box-shadow: 0 6px 30px rgba(31,77,143,0.12);
}
.pick-badge { background: var(--primary); color: #fff; }
.pick-badge-accent { background: var(--accent); color: var(--dark-panel); }
.pick-rating-num { color: var(--primary); }
.pick-pros li::before { content: '+'; color: var(--accent); }
.mid-cta { background: var(--primary-light); }
.mid-cta p strong { color: var(--primary); }

.compare-table-wrap { overflow-x: auto; margin: 24px 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.compare-table tr:nth-child(even) td { background: var(--bg-alt); }
.winner-tag { background: var(--accent); color: var(--dark-panel); font-weight: 700; }
.tbl-btn {
  display: inline-block;
  padding: 8px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.tbl-btn:hover { background: var(--primary-dark); }

.lifestyle-break {
  position: relative;
  background: linear-gradient(90deg, rgba(8,14,28,0.9) 0%, rgba(10,18,32,0.72) 45%, rgba(20,35,64,0.45) 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0;
  margin: 48px 0;
}
.lifestyle-break .container { max-width: 720px; position: relative; z-index: 1; }
.lifestyle-break h2 {
  color: #fff;
  font-size: 2.3rem;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  text-shadow: 0 4px 24px rgba(0,0,0,0.9);
  margin-bottom: 20px;
  line-height: 1.15;
}
.lifestyle-break h2 em { color: var(--accent); font-style: italic; }
.lifestyle-break p {
  color: rgba(255,255,255,0.95);
  font-size: 1.15rem;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0,0,0,0.8);
}

.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-panel) 100%);
  color: #fff;
  padding: 80px 0;
}
.final-cta h2 { color: #fff; font-size: 2.2rem; }
.final-cta p { color: rgba(255,255,255,0.92); }
.final-cta .btn.btn-accent { box-shadow: 0 6px 22px rgba(58,184,201,0.4); }

.site-footer { background: var(--dark-panel); color: rgba(255,255,255,0.7); }
.site-footer a { color: var(--accent); }
.site-footer a:hover { color: #fff; }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.guide-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}
.guide-item h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.guide-item p { font-size: 0.95rem; color: var(--text-light); }

@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero .hero-content { flex-direction: column !important; gap: 28px; }
  .hero .hero-text { flex: 1 1 auto; padding: 0; }
  .hero .hero-visual { flex: 1 1 auto; max-width: 100%; height: 280px; order: -1; }
  .hero h1 { font-size: 2rem; }
  .hero .subheadline { font-size: 1rem; }
  .comp-hero h1 { font-size: 1.7rem; }
  .lifestyle-break { padding: 56px 0; }
  .lifestyle-break h2 { font-size: 1.6rem; }
  .final-cta h2 { font-size: 1.8rem; }
  .quick-pick-list li { grid-template-columns: 1fr !important; gap: 6px !important; }
}

/* ---------- TRUST STRIP ---------- */
/* section.trust-strip beats style.css's `section:nth-child(even)` rule
   that would otherwise paint this band in --bg-alt and bury the white
   labels on a near-white background. */
section.trust-strip {
  background: linear-gradient(180deg, #0a1220 0%, #0d1628 100%);
  padding: 26px 0;
  border-top: 1px solid rgba(58,184,201,0.22);
  border-bottom: 1px solid rgba(58,184,201,0.12);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.trust-num small {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-left: 2px;
}
.trust-lbl {
  margin-top: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .trust-item { border-right: none; }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .trust-num { font-size: 1.8rem; }
}

/* ---------- PATHWAY QUIZ ---------- */
section.pathway-quiz {
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--border);
}
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.quiz-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px 22px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.quiz-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(31,77,143,0.14);
}
.quiz-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.quiz-icon {
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}
.quiz-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0;
  font-weight: 400;
}
.quiz-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.quiz-answer {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--primary-dark);
  font-weight: 500;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.quiz-answer strong { color: var(--accent-hover); }
@media (max-width: 900px) {
  .quiz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .quiz-grid { grid-template-columns: 1fr; }
}

/* Highlight flash when quiz scrolls you to a pick */
.product-row.quiz-target-highlight {
  animation: quizPulse 2.2s ease-out;
}
@keyframes quizPulse {
  0% { box-shadow: 0 0 0 0 rgba(58,184,201,0); }
  15% { box-shadow: 0 0 0 6px rgba(58,184,201,0.35); }
  100% { box-shadow: 0 0 0 0 rgba(58,184,201,0); }
}

/* ---------- ENHANCED MOST-POPULAR ACCENT ---------- */
.pick-badge-accent {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #47d4e7 100%);
  color: #0a1220;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 8px;
  box-shadow: 0 4px 12px rgba(58,184,201,0.32);
}
