@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-accent: #31e691;
  --color-accent-2: #491eea;
  --color-accent-3: #ea1d40;
  --color-accent-warm: #eca215;
  --color-accent-soft: #e4f1ea;
  --color-accent-2-soft: #e6e3f1;
  --color-accent-3-soft: #f1e3e6;
  --color-accent-warm-soft: #f1ece3;

  --color-bg: #f7f8fa;
  --color-bg-2: #eef1f5;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 247, 248, 250;
  --color-bg-white-rgb: 255, 255, 255;

  --color-text: #1e293b;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;

  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  --color-footer-bg: #334155;
  --color-footer-text: #f1f5f9;
  --color-footer-muted: #94a3b8;
  --color-footer-link: #cbd5e1;
  --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: 'Zilla Slab', 'Georgia', serif;
  --font-body: 'Open Sans', -apple-system, sans-serif;

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

  --shadow-sm: 0 1px 3px rgba(51,65,85,0.06), 0 1px 2px rgba(51,65,85,0.04);
  --shadow-md: 0 4px 12px rgba(51,65,85,0.08);
  --shadow-lg: 0 12px 28px rgba(51,65,85,0.10);
  --shadow-xl: 0 24px 48px rgba(51,65,85,0.12);
}

body {
  background:
    linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
  background-attachment: fixed;
}

/* ── Hero — calm architectural light ─────────────────────────────────────── */
.hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(71,85,105,0.06) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  text-align: center;
}
.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:
    linear-gradient(rgba(71,85,105,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71,85,105,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 75%);
}

.hero-badge {
  background: rgba(71,85,105,0.08);
  color: #334155;
  border: 1px solid rgba(71,85,105,0.18);
  letter-spacing: 1.6px;
}

.hero-title {
  color: #1e293b;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* ── Section titles — slab serif gravitas ───────────────────────────────── */
.section-title {
  font-weight: 600;
  letter-spacing: -0.3px;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #64748b, #cbd5e1);
  border-radius: 2px;
}

/* ── Product cards — cool slate on white ─────────────────────────────────── */
.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(51,65,85,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #64748b 0%, #94a3b8 50%, #cbd5e1 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(51,65,85,0.12);
  border-color: #cbd5e1;
}
.product-card:hover::before { opacity: 1; }

.card-image-wrapper {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.card-brand {
  color: #475569;
  letter-spacing: 1.4px;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 500;
  color: #1e293b;
}

/* ── Buttons — architectural restraint ───────────────────────────────────── */
.btn-primary {
  background: #334155;
  color: #fff;
  box-shadow: 0 4px 12px rgba(51,65,85,0.18);
}
.btn-primary:hover {
  background: #1e293b;
  box-shadow: 0 6px 18px rgba(51,65,85,0.28);
  filter: none;
}

.btn-outline {
  border: 1.5px solid #475569;
  color: #475569;
  background: transparent;
}
.btn-outline:hover {
  background: #475569;
  color: #fff;
  border-color: #475569;
}

.btn-cta {
  background: #334155;
  box-shadow: 0 2px 8px rgba(51,65,85,0.18);
}
.btn-cta:hover {
  background: #1e293b;
  filter: none;
}

/* ── Category cards ──────────────────────────────────────────────────────── */
.category-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.category-card:hover {
  border-color: #491eea;
  box-shadow: 0 12px 28px rgba(73,30,234,0.10);
}
.category-icon {
  background: var(--color-accent-2-soft);
  color: var(--color-accent-2);
}

/* ── Stats — cool slate gradient ─────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #334155 0%, #475569 50%, #64748b 100%);
}

/* ── Newsletter ──────────────────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, #ffffff 0%, #e6e3f1 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.newsletter-form button {
  background: var(--color-accent-2);
}
.newsletter-form button:hover {
  background: #3617c4;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-section { background: var(--color-accent-2-soft); }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonials-section { background: var(--color-accent-3-soft); }

/* ── Guide ───────────────────────────────────────────────────────────────── */
.guide-card:hover {
  border-color: var(--color-accent-warm);
  box-shadow: 0 10px 24px rgba(236,162,21,0.10);
}

/* ── Top Picks ───────────────────────────────────────────────────────────── */
.top-picks-section { background: var(--color-accent-warm-soft); }

/* ── Widgets ─────────────────────────────────────────────────────────────── */
.price-history-section,
.user-reviews-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(51,65,85,0.05);
}

.pros-cons-widget {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #64748b;
}

.delivery-widget {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--color-accent-2);
}
.delivery-item svg { color: var(--color-accent-2); }

.social-proof-popup {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 32px rgba(51,65,85,0.15);
  border-left: 3px solid var(--color-accent);
}

/* ── Footer — stone texture ──────────────────────────────────────────────── */
.site-footer {
  background:
    radial-gradient(circle at 20% 30%, rgba(148,163,184,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(148,163,184,0.08) 0%, transparent 40%),
    radial-gradient(circle at 60% 20%, rgba(100,116,139,0.06) 0%, transparent 35%),
    linear-gradient(135deg, #334155 0%, #1e293b 100%);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(203,213,225,0.04) 1px, transparent 2px),
    radial-gradient(circle at 30% 60%, rgba(203,213,225,0.05) 1px, transparent 2px),
    radial-gradient(circle at 70% 30%, rgba(203,213,225,0.03) 1px, transparent 2px),
    radial-gradient(circle at 90% 80%, rgba(203,213,225,0.04) 1px, transparent 2px);
  background-size: 80px 80px, 120px 120px, 100px 100px, 140px 140px;
  pointer-events: none;
  opacity: 0.6;
}
.site-footer .container { position: relative; z-index: 1; }

/* ── Announcement bar ────────────────────────────────────────────────────── */
.announcement-bar {
  background: #1e293b;
}

@keyframes calm-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge { animation: calm-fade 0.8s ease-out; }

@media (max-width: 768px) {
  .hero::before { background-size: 40px 40px; }
}