@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-accent: #454ae2;
  --color-accent-2: #e50955;
  --color-accent-3: #b2ed12;
  --color-accent-warm: #e57037;
  --color-accent-soft: #e4e4f0;
  --color-accent-2-soft: #f2e3e8;
  --color-accent-3-soft: #edf1e3;
  --color-accent-warm-soft: #f0e8e4;

  --color-bg: #f6f7f9;
  --color-bg-2: #eef0f3;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 246, 247, 249;
  --color-bg-white-rgb: 255, 255, 255;
  --color-surface: rgba(6, 95, 70, 0.03);
  --color-surface-hover: rgba(6, 95, 70, 0.06);

  --color-text: #10241d;
  --color-text-secondary: #45564f;
  --color-text-muted: #8a978f;
  --color-border: #e3e6ea;
  --color-border-light: #eef0f3;

  --color-footer-bg: #08201a;
  --color-footer-text: #e8f0ec;
  --color-footer-muted: #8fa39a;
  --color-footer-link: #c3d2ca;
  --color-footer-border: rgba(255,255,255,0.09);
  --color-footer-social-bg: rgba(255,255,255,0.07);
  --color-footer-social-border: rgba(255,255,255,0.12);

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Lora', Georgia, serif;

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

  --shadow-sm: 0 1px 3px rgba(16,36,29,0.06), 0 1px 2px rgba(16,36,29,0.04);
  --shadow-md: 0 6px 16px rgba(16,36,29,0.07);
  --shadow-lg: 0 14px 34px rgba(16,36,29,0.10);
  --shadow-xl: 0 24px 50px rgba(16,36,29,0.14);
}

/* ── Base tone ─────────────────────────────────────────────── */
body {
  background:
    radial-gradient(ellipse at 12% -10%, rgba(6,95,70,0.06) 0%, transparent 46%),
    radial-gradient(ellipse at 92% 4%, rgba(69,74,226,0.05) 0%, transparent 42%),
    var(--color-bg);
}

/* ── Hero — centered, energetic backdrop ───────────────────── */
.hero {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}
.hero-content { text-align: center; }
.hero::before {
  content: '';
  position: absolute;
  top: -55%; left: -20%;
  width: 140%; height: 130%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(6,95,70,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 74% 20%, rgba(229,9,85,0.07) 0%, transparent 52%);
  pointer-events: none;
}
.hero-actions { justify-content: center; }
.hero-subtitle { max-width: 540px; margin-left: auto; margin-right: auto; }
.hero-badge {
  border: 1px solid rgba(6,95,70,0.22);
  background: linear-gradient(135deg, rgba(6,95,70,0.10), rgba(69,74,226,0.08));
  color: #065f46;
  box-shadow: var(--shadow-xs);
}
.hero-title {
  background: linear-gradient(120deg, #10241d 0%, #065f46 60%, #454ae2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Glassy translucent surfaces + soft blur ───────────────── */
.product-card {
  display: flex !important;
  flex-direction: column !important;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 6px 22px rgba(16,36,29,0.06);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(6,95,70,0.14);
  border-color: rgba(6,95,70,0.28);
}
.card-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.card-body .btn-cta { margin-top: auto !important; }

.category-card,
.guide-card,
.testimonial-card,
.faq-item,
.top-pick-item,
.brand-card,
.trending-item,
.mini-badge {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.55);
}

/* ── Pill badges ───────────────────────────────────────────── */
.card-badge,
.card-brand,
.top-pick-tag,
.trending-hot,
.verified-badge,
.price-save {
  border-radius: 999px;
}
.card-brand {
  display: inline-block;
  width: fit-content;
  padding: 2px 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

/* ── Gradient-tinted CTA buttons ───────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #065f46 0%, #454ae2 100%);
  box-shadow: 0 6px 18px rgba(6,95,70,0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 26px rgba(69,74,226,0.32);
}
.btn-cta {
  background: linear-gradient(135deg, #065f46 0%, #0b7a5b 55%, #454ae2 100%);
  box-shadow: 0 4px 14px rgba(6,95,70,0.24);
}
.btn-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-outline {
  border: 1.5px solid var(--color-accent-2);
  color: var(--color-accent-2);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: var(--color-accent-2-soft); }

/* ── Stats — brand gradient ────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #065f46 0%, #0b7a5b 45%, #454ae2 100%);
}

/* ── New widgets ───────────────────────────────────────────── */
.price-history-section,
.user-reviews-section {
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow-md);
}
.chart-bar {
  background: linear-gradient(180deg, rgba(69,74,226,0.35) 0%, var(--color-accent) 100%);
}
.chart-bar-current {
  background: linear-gradient(180deg, #0b7a5b 0%, #065f46 100%);
  box-shadow: 0 0 14px rgba(6,95,70,0.30);
}
.chart-note {
  color: #065f46;
  background: rgba(6,95,70,0.08);
}
.review-avatar {
  background: linear-gradient(135deg, #065f46, #454ae2);
}

.pros-cons-widget,
.delivery-widget {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow-sm);
}
.delivery-item svg { color: #065f46; }

.social-proof-popup {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.popup-icon {
  background: linear-gradient(135deg, #065f46, #0b7a5b);
}

/* ── Decorative accent underline on section titles ─────────── */
.section-title {
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #065f46, #454ae2, #e50955);
}

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