/* ============================================
   Ava's Review homepage — bestreviews.guide style
   ============================================ */

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5a6373;
  --color-text-faint: #8a92a0;
  --color-border: #e6e8ec;
  --color-border-strong: #c8ccd4;
  --color-brand: #000441;
  --color-accent: #2462ec;
  --color-cta: #ffa500;
  --color-cta-hover: #e69500;
  --color-deal: #d8232a;
  --color-deal-bg: #fff1f1;
  --color-rank: #000441;
  --color-success: #1ea35a;
  --color-page-bg: #f6f7f9;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-card-hover: 0 4px 12px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
}

body { background: var(--color-page-bg); color: var(--color-text); }

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

/* Advertiser-disclosure banner — sits above the header */
.disclosure-banner {
  background: #fff8e1;
  border-bottom: 1px solid #f1d98a;
  font-size: 12px;
  color: #5a4a14;
  padding: 8px 16px;
}
.disclosure-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}
.disclosure-banner-label {
  background: #f1d98a;
  color: #4a3a0a;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.disclosure-banner-text {
  line-height: 1.5;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  height: 64px;
  padding: 0 16px;
  box-shadow: none;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo-link { display: flex; align-items: center; }
.site-logo { width: 48px; height: 44px; object-fit: contain; }
.site-nav { display: flex; gap: 28px; }
.site-nav .nav-item {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.site-nav .nav-item:hover { color: var(--color-accent); text-decoration: none; }

/* Hero */
.home-hero {
  background: linear-gradient(180deg, #fff 0%, #f6f7f9 100%);
  padding: 56px 16px 48px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.home-hero-inner { max-width: 760px; margin: 0 auto; }
.home-headline {
  color: var(--color-brand);
  font-family: helvetica-lt-pro, sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.home-subheadline {
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto 28px;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.quick-link {
  background: #fff;
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}
.quick-link:hover {
  border-color: var(--color-accent);
  background: #f0f7ff;
  color: var(--color-accent);
  text-decoration: none;
}

/* Hero trust stats (matches article hero-trust-strip) */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto 28px;
}
.hero-stat-chip {
  flex: 1 1 140px;
  background: #fff;
  border: 1px solid #e2e2ea;
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.hero-stat-value {
  color: var(--color-brand);
  font-size: 28px;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.hero-stat-label {
  color: #6b6b76;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Trust pillars section */
.trust-pillars {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 56px 16px;
}
.trust-pillars-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.trust-pillars-header {
  text-align: center;
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.trust-pillars-title {
  color: var(--color-brand);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.trust-pillars-intro {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.6;
}
.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-pillar {
  background: #f8faf7;
  border: 1px solid #e0e9dc;
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.trust-pillar-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.trust-pillar-title {
  color: var(--color-brand);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.trust-pillar-body {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Main container */
.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px 80px;
}

/* Category sections */
.category-section { margin-bottom: 56px; scroll-margin-top: 80px; }

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-brand);
}
.category-title {
  color: var(--color-brand);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}
.category-intro {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.category-cta {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.product-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-rank);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  z-index: 2;
}

.product-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-deal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  z-index: 2;
}

.product-image-link { display: block; }
.product-image-wrap {
  background: #fff;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 8px -4px 12px;
}
.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.product-card:hover .product-image { transform: scale(1.04); }

.product-body { display: flex; flex-direction: column; flex: 1; }

.product-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.product-name {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  min-height: 38px;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--color-accent); text-decoration: none; }

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.rating-stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 1px;
}
.rating-number {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.price-sale {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-deal);
}
.price-original {
  font-size: 13px;
  color: var(--color-text-faint);
  text-decoration: line-through;
}

.product-cta {
  display: block;
  text-align: center;
  background: var(--color-cta);
  color: #fff;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  margin-top: auto;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 3px rgba(255, 165, 0, 0.3);
  transition: background 0.15s, box-shadow 0.15s, transform 0.05s;
}
.product-cta:hover,
.product-cta:focus {
  background: var(--color-cta-hover);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(255, 165, 0, 0.4);
}
.product-cta:active { transform: translateY(1px); }

/* In-depth reviews */
.reviews-section {
  margin-top: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
  scroll-margin-top: 80px;
}
.reviews-header { text-align: center; margin-bottom: 32px; }
.reviews-title {
  color: var(--color-brand);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}
.reviews-intro {
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-card);
}
.review-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  text-decoration: none;
}
.review-image-wrap {
  height: 160px;
  background: #f0f0f0;
  overflow: hidden;
}
.review-image { width: 100%; height: 100%; object-fit: cover; }
.review-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.review-title-card {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  flex: 1;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
}
.review-author { font-weight: 600; }
.review-products { color: var(--color-accent); font-weight: 600; }

/* Become a Tester */
.tester-section {
  margin-top: 56px;
  scroll-margin-top: 80px;
}
.tester-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 0.85fr 1fr;
}
.tester-image-col {
  position: relative;
  background: linear-gradient(135deg, #000441 0%, #1a1f4d 100%);
  min-height: 360px;
  overflow: hidden;
}
.tester-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.tester-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.tester-image-badge-line1 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cta);
  margin-bottom: 2px;
}
.tester-image-badge-line2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand);
}
.tester-content-col {
  padding: 36px 36px;
  display: flex;
  flex-direction: column;
}
.tester-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-cta);
  margin-bottom: 10px;
}
.tester-headline {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.tester-subheadline {
  font-size: 17px;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 14px;
}
.tester-body {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.tester-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tester-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
}
.tester-bullet-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.tester-form {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.tester-input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tester-input:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.15);
}
.tester-submit {
  background: var(--color-cta);
  color: #fff;
  border: 0;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(0,0,0,0.15);
  box-shadow: 0 1px 3px rgba(255,165,0,0.3);
  transition: background 0.15s, box-shadow 0.15s, transform 0.05s;
}
.tester-submit:hover,
.tester-submit:focus {
  background: var(--color-cta-hover);
  box-shadow: 0 2px 6px rgba(255,165,0,0.4);
}
.tester-submit:active { transform: translateY(1px); }
.tester-privacy {
  font-size: 12px;
  color: var(--color-text-faint);
  line-height: 1.5;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Footer */
.site-footer {
  background: var(--color-brand);
  color: #d9deea;
  padding: 32px 16px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 16px;
}
.footer-logo { width: 48px; height: 44px; object-fit: contain; background: #fff; padding: 4px; border-radius: 4px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-link {
  color: #c5cad8;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-link:hover { color: #fff; }
.footer-disclosure {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 16px;
}
.footer-disclosure-label {
  display: inline-block;
  background: var(--color-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.footer-disclosure p {
  font-size: 12.5px;
  line-height: 1.65;
  color: #d0d5e0;
  margin: 0;
}
.footer-text { font-size: 11px; line-height: 1.55; color: #a3aabb; }
.footer-meta { font-size: 11px; color: #a3aabb; }

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .hwt-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .tester-card { grid-template-columns: 1fr; }
  .tester-image-col { min-height: 220px; }
}

@media (max-width: 640px) {
  .home-headline { font-size: 30px; }
  .home-subheadline { font-size: 15px; }
  .category-header { flex-direction: column; align-items: flex-start; }
  .category-title { font-size: 22px; }
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hwt-grid { grid-template-columns: 1fr; }
  .how-we-test { padding: 32px 20px; }
  .site-nav { gap: 16px; }
  .site-nav .nav-item { font-size: 13px; }
  .hero-stats { gap: 8px; }
  .hero-stat-chip { padding: 10px 12px; flex: 1 1 100px; }
  .hero-stat-value { font-size: 22px; line-height: 26px; }
  .trust-pillars-grid { grid-template-columns: 1fr; }
  .trust-pillars { padding: 40px 16px; }
  .trust-pillars-title { font-size: 24px; }
  .tester-content-col { padding: 28px 20px; }
  .tester-headline { font-size: 24px; }
  .tester-form { flex-direction: column; }
  .tester-submit { padding: 12px 22px; }
  .disclosure-banner { font-size: 11px; }
  .footer-disclosure { padding: 14px 14px; }
}
