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

:root {
  /* ── Palette (mandatory, exact) ─────────────────────────── */
  --color-accent: #6a1dea;
  --color-accent-2: #ea2a1e;
  --color-accent-3: #7ce14c;
  --color-accent-warm: #e45109;
  --color-accent-soft: #e8e3f1;
  --color-accent-2-soft: #f1e4e3;
  --color-accent-3-soft: #e8f0e4;
  --color-accent-warm-soft: #f2e8e3;

  --color-star: #e45109;
  --color-success: #2f9e6b;
  --color-badge: #ea2a1e;
  --color-info: #6a1dea;

  /* ── Cool, airy neutral supports ────────────────────────── */
  --color-bg: #f4f6f8;
  --color-bg-2: #eaeef2;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 244, 246, 248;
  --color-bg-white-rgb: 255, 255, 255;
  --color-surface: rgba(15, 23, 42, 0.02);
  --color-surface-hover: rgba(106, 29, 234, 0.05);
  --color-text: #14181f;
  --color-text-secondary: #4b5563;
  --color-text-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-light: #eef2f6;

  --color-footer-bg: #12121a;
  --color-footer-text: #eef1f6;
  --color-footer-muted: #8b93a3;
  --color-footer-link: #c3c9d4;
  --color-footer-border: rgba(255,255,255,0.1);
  --color-footer-social-bg: rgba(255,255,255,0.07);
  --color-footer-social-border: rgba(255,255,255,0.12);

  /* ── Typography ─────────────────────────────────────────── */
  --font-heading: 'Sora', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Radius (mandatory default) ─────────────────────────── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(20,24,31,0.06), 0 1px 2px rgba(20,24,31,0.04);
  --shadow-md: 0 6px 18px rgba(20,24,31,0.07);
  --shadow-lg: 0 14px 34px rgba(20,24,31,0.09);
  --shadow-xl: 0 24px 50px rgba(20,24,31,0.12);
}

body {
  letter-spacing: 0.1px;
  background:
    radial-gradient(60rem 30rem at 88% -8%, rgba(106,29,234,0.06), transparent 60%),
    radial-gradient(48rem 24rem at 6% 4%, rgba(228,81,9,0.05), transparent 60%),
    var(--color-bg);
}

/* ── Header: glassy ─────────────────────────────────────────── */
.site-header {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.8);
}
.logo-text { letter-spacing: -0.5px; }

/* ── Announcement bar ───────────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, #14181f 0%, #241539 100%);
}

/* ═══════════════════════ HERO ═══════════════════════════════ */
.hero {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}
.hero-content { text-align: center; }
.hero-actions { justify-content: center; }
.hero-subtitle { max-width: 540px; margin-left: auto; margin-right: auto; }

.hero::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 130%; height: 130%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(106,29,234,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 70%, rgba(124,225,76,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 72% 60%, rgba(228,81,9,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  border-radius: 999px;
  border: 1px solid rgba(106,29,234,0.25);
  background: linear-gradient(135deg, var(--color-accent-soft), rgba(255,255,255,0.6));
  backdrop-filter: blur(8px);
  color: var(--color-accent);
}
.hero-title { letter-spacing: -1.2px; }

/* ═══════════ Glassy translucent cards ══════════════════════ */
.product-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 6px 24px rgba(20,24,31,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(106,29,234,0.12);
  border-color: rgba(106,29,234,0.28);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body .btn-cta { margin-top: auto; }

.card-badge {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent-warm));
  box-shadow: 0 4px 12px rgba(234,42,30,0.28);
}

/* ── Buttons: gradient-tinted pills ─────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #8b3bff 100%);
  box-shadow: 0 6px 18px rgba(106,29,234,0.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(106,29,234,0.38);
  filter: brightness(1.04);
}
.btn-cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, #8b3bff 100%);
  box-shadow: 0 4px 14px rgba(106,29,234,0.26);
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(106,29,234,0.34);
  filter: brightness(1.04);
}
.btn-outline {
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: var(--color-accent-soft); }

/* ── Category cards: glassy ─────────────────────────────────── */
.category-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.7);
}
.category-card:hover { border-color: var(--color-accent-2); }
.category-icon {
  background: var(--color-accent-2-soft);
  color: var(--color-accent-2);
}

/* ── Section accents keep 4 distinct hues ───────────────────── */
.faq-section { background: var(--color-accent-2-soft); }
.testimonials-section { background: var(--color-accent-3-soft); }
.top-picks-section { background: var(--color-accent-warm-soft); }
.testimonial-avatar { background: var(--color-accent-3-soft); color: #2f7a1c; }
.stats-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-warm) 100%);
}

.newsletter-form button { background: var(--color-accent-2); }
.newsletter-form button:hover { background: #c8221a; }
.newsletter-form input:focus { border-color: var(--color-accent-2); }

/* ── New widgets: glassy surfaces ───────────────────────────── */
.price-history-section,
.user-reviews-section {
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-md);
}
.chart-bar {
  background: linear-gradient(180deg, var(--color-accent-soft) 0%, var(--color-accent) 100%);
}
.chart-bar-current {
  background: linear-gradient(180deg, #7ce14c 0%, #4fb31f 100%);
  box-shadow: 0 0 14px rgba(124,225,76,0.35);
}
.review-avatar { background: linear-gradient(135deg, var(--color-accent), #8b3bff); }

.pros-cons-widget,
.delivery-widget {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7);
}
.delivery-item svg { color: var(--color-accent); }

.social-proof-popup {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.popup-icon { background: linear-gradient(135deg, var(--color-accent-3), #4fb31f); }

/* ── Pill badges & soft glass tags ──────────────────────────── */
.nav-link.active { border-radius: 999px; }
.mini-badge, .filter-btn { border-radius: 999px; }
.price-save {
  background: var(--color-accent-3-soft);
  color: #2f7a1c;
}

/* ── Footer accent glow ─────────────────────────────────────── */
.site-footer {
  background:
    radial-gradient(40rem 20rem at 80% 0%, rgba(106,29,234,0.18), transparent 60%),
    var(--color-footer-bg);
}

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