@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&display=swap');

:root {
  --color-bg: #fafaf7;
  --color-bg-2: #f4f3ee;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 250, 250, 247;
  --color-bg-white-rgb: 255, 255, 255;
  --color-text: #1f1f1f;
  --color-text-secondary: #4a4a4a;
  --color-text-muted: #8a8a85;
  --color-border: #e8e6df;
  --color-border-light: #f1efe8;

  --color-accent: #272fe8;
  --color-accent-2: #e8296e;
  --color-accent-3: #b6e922;
  --color-accent-warm: #e2b707;
  --color-accent-soft: #e3e4f1;
  --color-accent-2-soft: #f1e4e8;
  --color-accent-3-soft: #edf1e3;
  --color-accent-warm-soft: #f2efe2;

  --color-footer-bg: #1f1f1f;
  --color-footer-text: #f4f3ee;
  --color-footer-muted: #9a9a95;
  --color-footer-link: #d4d2cb;
  --color-footer-border: rgba(255,255,255,0.08);
  --color-footer-social-bg: rgba(250,204,21,0.12);
  --color-footer-social-border: rgba(250,204,21,0.25);

  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;

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

  --shadow-xs: 0 1px 2px rgba(31,31,31,0.04);
  --shadow-sm: 0 1px 3px rgba(31,31,31,0.05), 0 1px 2px rgba(31,31,31,0.03);
  --shadow-md: 0 4px 12px rgba(31,31,31,0.06), 0 2px 4px rgba(31,31,31,0.03);
  --shadow-lg: 0 12px 32px rgba(31,31,31,0.08), 0 4px 10px rgba(31,31,31,0.04);
  --shadow-xl: 0 24px 56px rgba(31,31,31,0.10), 0 8px 16px rgba(31,31,31,0.04);
}

body {
  letter-spacing: 0.01em;
}

.section-title,
.hero-title,
.page-title,
.logo-text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Announcement Bar — charcoal w/ canary accent ───────────────────────── */
.announcement-bar {
  background: #1f1f1f;
  color: #fafaf7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}
.announcement-bar strong { color: #facc15; }

/* ── Header — airy, generous breathing room ──────────────────────────────── */
.site-header {
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--color-border-light);
}
.nav-link {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.nav-link.active {
  color: #1f1f1f;
  background: #facc15;
  font-weight: 600;
}

/* ── HERO — airy, featherweight layout ──────────────────────────────────── */
.hero {
  text-align: center;
  background: linear-gradient(180deg, #fafaf7 0%, #faf6e6 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 80%;
  background:
    radial-gradient(circle at 20% 30%, rgba(250,204,21,0.18) 0%, transparent 35%),
    radial-gradient(circle at 80% 60%, rgba(232,41,110,0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(182,233,34,0.10) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
  0% { transform: translateX(-50%) translateY(0) rotate(0deg); }
  100% { transform: translateX(-50%) translateY(-20px) rotate(2deg); }
}

.hero-content { text-align: center; position: relative; z-index: 1; }
.hero-actions { justify-content: center; }
.hero-subtitle {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-style: italic;
  color: #4a4a4a;
}

.hero-badge {
  background: #1f1f1f;
  color: #facc15;
  border: 1px solid #1f1f1f;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-family: var(--font-heading);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
}

/* Floating feather accent — playful, decorative */
.hero::after {
  display: none;
}
.hero--split::after { display: none; }

.hero-content::after {
  content: '✦';
  position: absolute;
  top: -20px;
  right: -10%;
  font-size: 28px;
  color: #facc15;
  animation: twinkle 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(15deg); }
}

/* ── Buttons — bold canary primary ───────────────────────────────────────── */
.btn-primary {
  background: #facc15;
  color: #1f1f1f;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(250,204,21,0.35);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: #1f1f1f;
  color: #facc15;
  filter: none;
  box-shadow: 0 6px 20px rgba(31,31,31,0.25);
}

.btn-outline {
  border: 1.5px solid #1f1f1f;
  color: #1f1f1f;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 600;
}
.btn-outline:hover {
  background: #1f1f1f;
  color: #facc15;
  border-color: #1f1f1f;
}

.btn-cta {
  background: #1f1f1f;
  color: #facc15;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(31,31,31,0.15);
}
.btn-cta:hover {
  background: #facc15;
  color: #1f1f1f;
  filter: none;
  box-shadow: 0 4px 14px rgba(250,204,21,0.35);
}

/* ── Product Card — featherweight, airy ──────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s, border-color 0.4s;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #facc15;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 3;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(31,31,31,0.08);
  border-color: #facc15;
}
.product-card:hover::before {
  opacity: 1;
  transform: scale(1.5);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.card-brand {
  color: #1f1f1f;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.16em;
}
.card-title {
  font-family: var(--font-body);
  font-weight: 600;
}

.card-badge {
  background: #facc15;
  color: #1f1f1f;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ── Categories ──────────────────────────────────────────────────────────── */
.category-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
}
.category-card:hover {
  border-color: #facc15;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(250,204,21,0.18);
}
.category-icon {
  background: #faf6e6;
  color: #1f1f1f;
  border: 2px dashed #facc15;
}

/* ── Stats Section ──────────────────────────────────────────────────────── */
.stats-section {
  background: #1f1f1f;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(250,204,21,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.stats-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232,41,110,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.stat-number { color: #facc15; }
.stat-label { color: rgba(255,255,255,0.75); }

/* ── Newsletter ──────────────────────────────────────────────────────────── */
.newsletter-section {
  background: #faf6e6;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}
.newsletter-form button {
  background: #1f1f1f;
  color: #facc15;
}
.newsletter-form button:hover {
  background: #facc15;
  color: #1f1f1f;
}

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

/* ── Buying Guide ────────────────────────────────────────────────────────── */
.guide-card { background: #ffffff; }
.guide-number {
  background: #facc15;
  color: #1f1f1f;
  font-family: var(--font-heading);
  border: 2px solid #1f1f1f;
}
.guide-card:hover { border-color: #facc15; }
.guide-card-title { font-family: var(--font-heading); }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonials-section { background: var(--color-accent-2-soft); }
.testimonial-text { font-family: var(--font-body); font-style: italic; }
.testimonial-avatar {
  background: #1f1f1f;
  color: #facc15;
  font-family: var(--font-heading);
}

/* ── Top Picks ───────────────────────────────────────────────────────────── */
.top-picks-section { background: #faf6e6; }
.top-pick-rank {
  color: #1f1f1f;
  font-family: var(--font-heading);
  font-weight: 800;
}
.top-pick-rank::before {
  content: '№';
  font-size: 14px;
  color: #facc15;
  margin-right: 2px;
  vertical-align: super;
}
.top-pick-tag {
  background: #1f1f1f;
  color: #facc15;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}
.top-pick-item:hover { border-color: #facc15; }

/* ── Brand Showcase ──────────────────────────────────────────────────────── */
.brand-initial {
  background: linear-gradient(135deg, #facc15 0%, #e2b707 100%);
  color: #1f1f1f;
  font-family: var(--font-heading);
  border: 2px solid #1f1f1f;
}
.brand-name { font-family: var(--font-heading); font-weight: 700; }

/* ── Trending ────────────────────────────────────────────────────────────── */
.trending-rank { color: #1f1f1f; font-family: var(--font-heading); }
.trending-item:hover { background: #faf6e6; }

/* ── Delivery Widget ─────────────────────────────────────────────────────── */
.delivery-widget {
  background: #faf6e6;
  border: 1px solid #facc15;
  border-left: 4px solid #facc15;
}
.delivery-item svg { color: #1f1f1f; }
.delivery-item strong { font-family: var(--font-heading); }

/* ── Pros & Cons ─────────────────────────────────────────────────────────── */
.pros-cons-widget {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}
.pros-cons-widget h3 {
  font-family: var(--font-heading);
  border-bottom: 2px dashed #facc15;
  padding-bottom: 10px;
}
.pros-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cons-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Price History ──────────────────────────────────────────────────────── */
.price-history-section {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.price-history-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #facc15 0%, #e8296e 50%, #272fe8 100%);
}
.chart-bar {
  background: linear-gradient(180deg, #faf6e6 0%, #facc15 100%);
  opacity: 0.85;
}
.chart-bar-current {
  background: linear-gradient(180deg, #e2b707 0%, #facc15 100%);
  box-shadow: 0 0 16px rgba(250,204,21,0.5);
}
.chart-note {
  background: rgba(250,204,21,0.18);
  color: #1f1f1f;
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ── User Reviews ────────────────────────────────────────────────────────── */
.user-reviews-section {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}
.reviews-big-number {
  font-family: var(--font-heading);
  color: #1f1f1f;
}
.review-bar-fill {
  background: linear-gradient(90deg, #e2b707 0%, #facc15 100%);
}
.review-avatar {
  background: #facc15;
  color: #1f1f1f;
  font-family: var(--font-heading);
}
.review-card { background: #faf6e6; }

/* ── Social Proof Popup ──────────────────────────────────────────────────── */
.social-proof-popup {
  background: #ffffff;
  border: 1px solid #1f1f1f;
  border-left: 4px solid #facc15;
  box-shadow: 0 12px 32px rgba(31,31,31,0.15);
}
.popup-icon { background: #facc15; color: #1f1f1f; }
.popup-text strong { font-family: var(--font-heading); }

/* ── Filter pills ────────────────────────────────────────────────────────── */
.filter-btn.active {
  background: #1f1f1f;
  color: #facc15;
  border-color: #1f1f1f;
}
.filter-btn:hover {
  border-color: #facc15;
  color: #1f1f1f;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer-logo { font-family: var(--font-heading); }
.social-links a:hover {
  background: #facc15;
  border-color: #facc15;
  color: #1f1f1f;
}

/* ── Mobile — keep airy, ease pseudo-elements ────────────────────────────── */
@media (max-width: 768px) {
  .hero::before { opacity: 0.6; }
  .hero-content::after { display: none; }
}