/* ==========================================================================
   Top Honest Reviews — Main Stylesheet
   Pure CSS, no framework. Mobile-first, responsive.
   ========================================================================== */

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

/* ---------- Custom Properties ---------- */
:root {
  --color-primary: #1a73e8;
  --color-accent: #34a853;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-cta: #ff6b35;
  --color-pro: #16a34a;
  --color-con: #dc2626;
  --color-bg-alt: #f9fafb;
  --max-width-content: 800px;
  --max-width-wide: 1100px;
}

/* ---------- Typography & Base ---------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  padding-left: 1.5em;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
}

.site-header .header-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-header .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.site-header .logo:hover {
  text-decoration: none;
  color: var(--color-primary);
}

.site-header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0;
}

.site-header nav a {
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-bg-alt);
  text-align: center;
  padding: 3rem 1.25rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero p {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero {
    padding: 4.5rem 2rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
}

/* ---------- Review Card Grid ---------- */
.reviews-grid {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.review-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.review-card .card-body {
  padding: 1.25rem;
}

.review-card .card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.review-card .card-body h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.review-card .card-body h3 a:hover {
  color: var(--color-primary);
}

.review-card .card-body .rating-stars {
  margin-bottom: 0.5rem;
}

.review-card .card-body p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.review-card .card-body .read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ---------- Trust Badges ---------- */
.trust-badges {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  text-align: center;
}

.trust-badges .badge {
  flex: 1 1 250px;
  max-width: 320px;
}

.trust-badges .badge-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.trust-badges .badge h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.trust-badges .badge p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-alt);
  text-align: center;
  padding: 2rem 1.25rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin-bottom: 0.5rem;
}

.site-footer .footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  padding: 0;
}

.site-footer .footer-links li + li::before {
  content: "|";
  margin-right: 0.25rem;
  color: var(--color-border);
}

.site-footer .footer-links a {
  color: var(--color-muted);
}

.site-footer .footer-links a:hover {
  color: var(--color-primary);
}

/* ---------- Content Pages (review, about, legal) ---------- */
main {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

main.wide {
  max-width: var(--max-width-wide);
}

main h1 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

main h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

main p {
  margin-bottom: 1rem;
}

main ul, main ol {
  margin-bottom: 1rem;
}

main li {
  margin-bottom: 0.35rem;
}

main article img {
  border-radius: 6px;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  main {
    padding: 3rem 2rem;
  }

  main h1 {
    font-size: 2.25rem;
  }
}

/* ---------- Meta Box ---------- */
.meta-box {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.meta-box .rating-stars {
  margin-bottom: 0.5rem;
}

.meta-box .verdict {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.meta-box .cta-wrap {
  text-align: center;
}

/* ---------- Pros & Cons ---------- */
.pros-cons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.pros-cons .pros,
.pros-cons .cons {
  flex: 1;
  padding: 1rem 1.25rem;
  border-radius: 6px;
}

.pros-cons .pros {
  border-left: 4px solid var(--color-pro);
  background: rgba(22, 163, 74, 0.04);
}

.pros-cons .cons {
  border-left: 4px solid var(--color-con);
  background: rgba(220, 38, 38, 0.04);
}

.pros-cons h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pros-cons ul {
  list-style: none;
  padding: 0;
}

.pros-cons li {
  padding: 0.25rem 0;
  line-height: 1.5;
}

@media (min-width: 600px) {
  .pros-cons {
    flex-direction: row;
  }
}

/* ---------- CTA Button ---------- */
.cta-button {
  display: inline-block;
  background: var(--color-cta);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.cta-button:hover {
  background: #e55a2b;
  text-decoration: none;
  color: #ffffff;
}

@media (min-width: 600px) {
  .cta-button {
    width: auto;
  }
}

/* ---------- Rating Stars ---------- */
.rating-stars {
  color: var(--color-cta);
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.rating-stars .score {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 0.35rem;
}

/* ---------- Disclaimer Inline ---------- */
.disclaimer-inline {
  border-top: 1px solid var(--color-border);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.disclaimer-inline a {
  color: var(--color-muted);
  text-decoration: underline;
}

.disclaimer-inline a:hover {
  color: var(--color-primary);
}

/* ---------- Pricing List ---------- */
.pricing-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.pricing-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list .price {
  font-weight: 700;
  color: var(--color-primary);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-muted  { color: var(--color-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
