@import url('https://fonts.googleapis.com/css2?family=Pathway+Extreme:opsz,wght@8..144,400;8..144,600;8..144,700;8..144,800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #f0fdf4;
  --color-bg-2: #e6f7ec;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 240, 253, 244;
  --color-bg-white-rgb: 255, 255, 255;
  --color-surface: rgba(20, 83, 45, 0.03);
  --color-surface-hover: rgba(20, 83, 45, 0.06);
  --color-text: #14532d;
  --color-text-secondary: #3f6b4f;
  --color-text-muted: #87a795;

  --color-accent: #0fec71;
  --color-accent-2: #3218ec;
  --color-accent-3: #e72d5d;
  --color-accent-warm: #e2a045;
  --color-accent-soft: #e3f1e9;
  --color-accent-2-soft: #e5e3f1;
  --color-accent-3-soft: #f1e4e7;
  --color-accent-warm-soft: #f0ebe4;

  --color-border: #c8e0d1;
  --color-border-light: #dcedde;

  --color-footer-bg: #0a2f1c;
  --color-footer-text: #e6f7ec;
  --color-footer-muted: #87a795;
  --color-footer-link: #c8e0d1;
  --color-footer-border: rgba(255,255,255,0.08);
  --color-footer-social-bg: rgba(255,255,255,0.06);
  --color-footer-social-border: rgba(255,255,255,0.12);

  --font-heading: 'Pathway Extreme', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(20, 83, 45, 0.08), 0 1px 2px rgba(20, 83, 45, 0.04);
  --shadow-md: 0 4px 8px rgba(20, 83, 45, 0.1), 0 2px 4px rgba(20, 83, 45, 0.06);
  --shadow-lg: 0 12px 28px rgba(20, 83, 45, 0.12), 0 4px 10px rgba(20, 83, 45, 0.06);
  --shadow-xl: 0 22px 44px rgba(20, 83, 45, 0.15), 0 8px 18px rgba(20, 83, 45, 0.06);
}

body {
  background:
    repeating-linear-gradient(135deg, transparent 0, transparent 80px, rgba(20,83,45,0.025) 80px, rgba(20,83,45,0.025) 81px),
    var(--color-bg);
}

/* Topo map lines — faint contour pattern behind hero */
.hero {
  background:
    radial-gradient(ellipse 800px 600px at 50% 0%, rgba(15, 236, 113, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 80% 90%, rgba(20, 83, 45, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #f0fdf4 0%, #e6f7ec 100%);
  text-align: center;
  position: relative;
}
.hero-content { text-align: center; }
.hero-actions { justify-content: center; }
.hero-subtitle { margin-left: auto; margin-right: auto; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 400px 280px at 20% 30%, transparent 60%, rgba(20, 83, 45, 0.12) 60.5%, transparent 61.5%),
    radial-gradient(ellipse 340px 240px at 20% 30%, transparent 60%, rgba(20, 83, 45, 0.10) 60.5%, transparent 61.5%),
    radial-gradient(ellipse 280px 200px at 20% 30%, transparent 60%, rgba(20, 83, 45, 0.08) 60.5%, transparent 61.5%),
    radial-gradient(ellipse 220px 160px at 20% 30%, transparent 60%, rgba(20, 83, 45, 0.06) 60.5%, transparent 61.5%),
    radial-gradient(ellipse 500px 360px at 82% 75%, transparent 60%, rgba(20, 83, 45, 0.10) 60.5%, transparent 61.5%),
    radial-gradient(ellipse 420px 300px at 82% 75%, transparent 60%, rgba(20, 83, 45, 0.08) 60.5%, transparent 61.5%),
    radial-gradient(ellipse 340px 240px at 82% 75%, transparent 60%, rgba(20, 83, 45, 0.06) 60.5%, transparent 61.5%),
    radial-gradient(ellipse 260px 180px at 82% 75%, transparent 60%, rgba(20, 83, 45, 0.04) 60.5%, transparent 61.5%);
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }

.hero-badge {
  background: #14532d;
  color: #f0fdf4;
  border: 1px solid #14532d;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  position: relative;
}
.hero-badge::before {
  content: '▲';
  font-size: 10px;
  color: var(--color-accent);
  margin-right: 4px;
}

.hero-title {
  color: #14532d;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.section-title {
  color: #14532d;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #14532d 0%, #14532d 35%, transparent 35%, transparent 50%, #14532d 50%, #14532d 85%, transparent 85%);
}
.section-header { text-align: center; }

/* Buttons — trail-style pine */
.btn-primary {
  background: #14532d;
  color: #f0fdf4;
  box-shadow: 0 4px 14px rgba(20, 83, 45, 0.25);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 13px;
}
.btn-primary:hover {
  background: #0a2f1c;
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 83, 45, 0.35);
}
.btn-outline {
  border: 1.5px solid #14532d;
  color: #14532d;
  background: transparent;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 13px;
}
.btn-outline:hover {
  background: #14532d;
  color: #f0fdf4;
}
.btn-cta {
  background: #14532d;
  color: #f0fdf4;
  box-shadow: 0 2px 8px rgba(20, 83, 45, 0.22);
  font-family: var(--font-heading);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.btn-cta:hover {
  background: #0a2f1c;
  filter: none;
}

/* Announcement bar — trail blaze */
.announcement-bar {
  background: #0a2f1c;
  color: #f0fdf4;
  border-bottom: 2px solid var(--color-accent-warm);
}
.announcement-bar strong { color: var(--color-accent-warm); }

/* Header */
.site-header {
  background: rgba(240, 253, 244, 0.92);
  border-bottom: 1px solid var(--color-border);
}
.logo-text {
  color: #14532d;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.nav-link.active {
  background: #14532d;
  color: #f0fdf4;
}

/* Product cards — trail marker */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: #14532d;
  box-shadow: 0 16px 36px rgba(20, 83, 45, 0.16);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-brand {
  color: #14532d;
  font-family: var(--font-heading);
  letter-spacing: 1.5px;
}
.card-title a:hover { color: #14532d; }

/* Categories */
.category-card {
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.category-card:hover {
  border-color: #14532d;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.category-icon {
  background: rgba(50, 24, 236, 0.1);
  color: var(--color-accent-2);
}

/* Newsletter — using accent-2 */
.newsletter-section {
  background:
    repeating-linear-gradient(135deg, transparent 0, transparent 40px, rgba(50,24,236,0.03) 40px, rgba(50,24,236,0.03) 41px),
    var(--color-accent-2-soft);
}
.newsletter-text h3 { color: #14532d; }
.newsletter-form button {
  background: var(--color-accent-2);
  color: #fff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.newsletter-form button:hover { background: #2510b8; }

/* FAQ — accent-2 */
.faq-section { background: var(--color-accent-2-soft); }
.faq-item[open] { border-color: var(--color-accent-2); }
.faq-item[open] .faq-question::after { color: var(--color-accent-2); }

/* Buying guide — warm amber (trail badge) */
.guide-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.guide-card:hover {
  border-color: var(--color-accent-warm);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.guide-number {
  background: var(--color-accent-warm);
  color: #14532d;
  font-family: var(--font-heading);
}

/* Testimonials — rose */
.testimonials-section { background: var(--color-accent-3-soft); }
.testimonial-avatar {
  background: var(--color-accent-3-soft);
  color: var(--color-accent-3);
  font-family: var(--font-heading);
}

/* Stats — pine gradient */
.stats-section {
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 80px, rgba(255,255,255,0.04) 80px, rgba(255,255,255,0.04) 81px),
    linear-gradient(135deg, #14532d 0%, #0a2f1c 100%);
}
.stat-number {
  color: #f0fdf4;
  font-family: var(--font-heading);
  font-weight: 800;
}

/* Top picks — warm */
.top-picks-section { background: var(--color-accent-warm-soft); }
.top-pick-rank {
  color: var(--color-accent-warm);
  font-family: var(--font-heading);
}
.top-pick-item:hover { border-color: var(--color-accent-warm); }

/* Trail credibility — accent border */
.trust-section {
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
}
.trust-item svg { color: #14532d; }

/* Price history widget */
.price-history-section {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid #14532d;
}
.chart-bar {
  background: linear-gradient(180deg, rgba(20,83,45,0.2) 0%, #14532d 100%);
}
.chart-bar-current {
  background: linear-gradient(180deg, var(--color-accent) 0%, #0bc05c 100%);
  box-shadow: 0 0 12px rgba(15, 236, 113, 0.4);
}
.chart-note {
  background: rgba(15, 236, 113, 0.1);
  color: #14532d;
}

/* User reviews */
.user-reviews-section {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent-warm);
}
.reviews-big-number {
  color: #14532d;
  font-family: var(--font-heading);
}
.review-avatar {
  background: #14532d;
  color: #f0fdf4;
}
.review-bar-fill { background: var(--color-accent-warm); }

/* Pros & cons */
.pros-cons-widget {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid #14532d;
}
.pros-cons-widget h3 {
  color: #14532d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pros-cons-widget h3::before {
  content: '⛰';
  color: var(--color-accent-warm);
}

/* Delivery widget */
.delivery-widget {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent-warm);
}
.delivery-item svg { color: #14532d; }

/* Social proof popup */
.social-proof-popup {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid #14532d;
  box-shadow: 0 12px 30px rgba(20, 83, 45, 0.18);
}
.popup-icon {
  background: #14532d;
  color: var(--color-accent);
}

/* Brand showcase */
.brand-initial {
  background: linear-gradient(135deg, #14532d 0%, #0a2f1c 100%);
  font-family: var(--font-heading);
}
.brand-name {
  color: #14532d;
  font-family: var(--font-heading);
}

/* Trending */
.trending-rank {
  color: #14532d;
  font-family: var(--font-heading);
}

/* Product page */
.product-brand-link { color: #14532d; }
.product-title { color: #14532d; }
.price-big { color: #14532d; }
.price-save {
  background: rgba(15, 236, 113, 0.15);
  color: #14532d;
}

/* Filters */
.filter-btn.active {
  background: #14532d;
  color: #f0fdf4;
  border-color: #14532d;
}
.filter-btn:hover {
  border-color: #14532d;
  color: #14532d;
}

/* Pagination */
.page-num.active {
  background: #14532d;
  color: #f0fdf4;
  border-color: #14532d;
}

/* Trail compass animation accent */
@keyframes trail-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-badge::before {
  display: inline-block;
  animation: trail-pulse 2.5s ease-in-out infinite;
}

/* Section dividers — trail dash pattern */
.section + .section {
  position: relative;
}

@media (max-width: 768px) {
  .hero::before { display: none; }
}