/* ============================================
   LabTestInsight.com - Main Stylesheet
   Brand: Blue (#0072CE) + Green (#4CAF50)
   ============================================ */

:root {
  --primary: #0072CE;
  --primary-dark: #005BA1;
  --primary-light: #E8F4FD;
  --green: #4CAF50;
  --green-dark: #388E3C;
  --green-light: #E8F5E9;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --text: #1a1a2e;
  --text-light: #555770;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.3; }
h2 { font-size: 1.8rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p { margin-bottom: 14px; }
ul { margin-bottom: 14px; }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover { background: var(--green-dark); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-sm { padding: 10px 22px; font-size: 0.92rem; }

/* --- HEADER --- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo img { width: 250px !important; height: auto !important; display: block; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  color: var(--text-light);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--primary); text-decoration: none; }

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, #0a2e1a 0%, #0f4a2a 50%, #0072CE 100%) !important;
  color: #fff;
  padding: 72px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  max-width: 720px;
  margin: 0 auto 18px;
  color: #fff;
}
.hero-subheadline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero .updated {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.hero .btn-primary {
  background: var(--green);
  padding: 15px 36px;
  font-size: 1.15rem;
}
.hero .btn-primary:hover { background: var(--green-dark); }
.hero .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  padding: 13px 34px;
  font-size: 1.15rem;
}
.hero .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* --- REVIEW HERO (for review/comparison pages) --- */
.review-hero {
  background: linear-gradient(135deg, #0a2e1a 0%, #0f4a2a 100%);
  color: #fff;
  padding: 48px 0 40px;
  text-align: center;
}
.review-hero h1 {
  font-size: 2.2rem;
  line-height: 1.25;
  margin: 0 auto 16px;
  max-width: 720px;
  color: #fff;
}
.review-subheadline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto 12px;
}

/* --- BREADCRUMB --- */
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* --- SECTIONS --- */
section { padding: 64px 0; }
section:nth-child(even):not(.hero):not(.review-hero):not(.pattern-interrupt):not(.final-cta) { background: var(--bg-alt); }
.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title {
  font-size: 1.8rem;
  margin-bottom: 14px;
  color: var(--text);
}
.section-intro {
  font-size: 1.08rem;
  color: var(--text-light);
  max-width: 700px;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* --- QUICK PICK BOX --- */
.quick-pick-box {
  background: var(--bg-alt);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.quick-pick-box h3 { color: var(--primary); margin-bottom: 12px; }

/* --- VERDICT BOX --- */
.verdict-box {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 32px;
}
.verdict-box h3 { font-size: 1rem; margin-bottom: 16px; }
.verdict-header h3 { font-size: 1.1rem; margin-bottom: 16px; }
.verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.verdict-item {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.verdict-item.verdict-winner {
  border-color: var(--green);
  background: rgba(76,175,80,0.15);
}
.verdict-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  font-weight: 600;
}
.verdict-product { font-size: 1.3rem; font-weight: 700; }
.verdict-why { font-size: 0.9rem; opacity: 0.8; line-height: 1.5; }
.verdict-item .btn { margin-top: 8px; align-self: flex-start; }

/* --- PICK BADGE --- */
.pick-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pick-badge-accent {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}
.pick-badge-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

/* --- PRODUCT CARDS --- */
.product-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.product-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.product-card h3 { font-size: 1.3rem; margin-bottom: 8px; }

/* --- BENEFITS GRID --- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}
.benefit-item {
  padding: 20px;
  background: var(--bg-alt);
  border-radius: 8px;
}
.benefit-item strong { display: block; font-size: 0.98rem; margin-bottom: 6px; color: var(--text); }
.benefit-item p { font-size: 0.9rem; margin-bottom: 0; }

/* --- DEEP DIVE CARD --- */
.deep-dive-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
}
.deep-dive-card.deep-dive-winner { border-color: var(--primary); }
.deep-dive-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.deep-dive-card p { font-size: 0.96rem; color: var(--text-light); margin-bottom: 12px; }
.deep-dive-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* --- PROS & CONS --- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 16px 0;
}
.pros-col, .cons-col { padding: 20px; border-radius: 8px; }
.pros-col { background: var(--green-light); border: 1px solid #c8e6c9; }
.cons-col { background: #fef5f4; border: 1px solid #f0d0cc; }
.pros-col h4 { color: var(--green-dark); font-size: 0.95rem; margin-bottom: 12px; }
.cons-col h4 { color: #c0392b; font-size: 0.95rem; margin-bottom: 12px; }
.pros-col ul, .cons-col ul { list-style: none; }
.pros-col li, .cons-col li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-light);
}
.pros-col li::before { content: '+'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.cons-col li::before { content: '\2013'; position: absolute; left: 0; color: #c0392b; font-weight: 700; }

/* --- KEY INSIGHT --- */
.key-insight {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.key-insight p { font-size: 0.96rem; color: var(--text); margin-bottom: 0; }

/* --- COMPARISON TABLE --- */
.comparison-wrapper { overflow-x: auto; margin: 20px 0; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.comparison-table th, .comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.comparison-table th {
  background: var(--bg-alt);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
}
.comparison-table td:first-child { font-weight: 600; color: var(--text); }
.comparison-table .highlight-row td { background: var(--green-light); }
.winner-tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
  margin-left: 6px;
}

/* --- MID CTA --- */
.mid-cta {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0;
  text-align: center;
}
.mid-cta p { margin-bottom: 12px; }

/* --- DECISION GRID --- */
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0 0;
}
.decision-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.decision-card.decision-primary {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.decision-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.decision-card ul { list-style: none; margin-bottom: 20px; }
.decision-card li {
  padding: 5px 0 5px 22px;
  position: relative;
  font-size: 0.93rem;
  color: var(--text-light);
}
.decision-primary li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.decision-card:not(.decision-primary) li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--text-light);
  font-weight: 700;
}

/* --- FAQ --- */
.faq-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
}
.faq-item p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- SOLUTION POINTS --- */
.solution-points { list-style: none; margin: 16px 0; }
.solution-points li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
}
.solution-points li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* --- MICRO PROOF --- */
.micro-proof {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.proof-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* --- TRUST BOX --- */
.trust-box {
  background: var(--green-light);
  border: 1px solid #c8e6c9;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  text-align: center;
}

/* --- PATTERN INTERRUPT --- */
.pattern-interrupt {
  background: linear-gradient(135deg, #0a2e1a, #0f4a2a);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.pattern-interrupt h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}
.pattern-interrupt .pi-failures {
  list-style: none;
  margin: 0 auto 24px;
  max-width: 450px;
  text-align: left;
}
.pattern-interrupt .pi-failures li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}
.pattern-interrupt .pi-failures li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: #e74c3c;
  font-weight: 700;
}
.pattern-interrupt .pi-winner {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 20px;
}
.pattern-interrupt .pi-winner strong { color: var(--accent); }

/* --- CATEGORY GRID (homepage) --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.category-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.category-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.category-card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 12px; }

/* --- QUICK VERDICT STRIP --- */
.quick-verdict-strip {
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.quick-verdict-strip .qvs-points {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.quick-verdict-strip .qvs-points li {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}
.quick-verdict-strip .qvs-points li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* --- FINAL CTA --- */
.final-cta {
  background: linear-gradient(135deg, #0a2e1a, #0072CE);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.final-cta h2 { color: #fff; font-size: 1.7rem; margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 24px; }
.final-cta .btn-primary { background: var(--green); }
.final-cta .btn-primary:hover { background: var(--green-dark); }
.final-subtext {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}

/* --- FOOTER --- */
.site-footer {
  background: #0a2e1a;
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
  font-size: 0.85rem;
  text-align: center;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; }
.disclosure {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  text-align: left;
  line-height: 1.6;
}

/* --- STICKY BOTTOM BAR --- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0a2e1a;
  color: #fff;
  padding: 12px 0;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.sticky-cta-bar .sticky-text {
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sticky-cta-bar .sticky-star { color: #f1c40f; font-size: 1.1rem; }
.sticky-cta-bar .sticky-label {
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  font-size: 0.82rem;
}
body.has-sticky-bar { padding-bottom: 65px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero h1, .review-hero h1 { font-size: 1.7rem; }
  .verdict-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .decision-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .site-header nav { display: none; }
  .sticky-cta-bar .sticky-text { display: none; }
  .sticky-cta-bar .container { justify-content: center; }
  .quick-verdict-strip { flex-direction: column; text-align: center; }
  .quick-verdict-strip .qvs-points { flex-direction: column; gap: 8px; }
}
