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

:root {
  --color-bg: #0f172a;
  --color-bg-2: #0a0f1f;
  --color-bg-white: #131b30;
  --color-bg-rgb: 15, 23, 42;
  --color-bg-white-rgb: 19, 27, 48;
  --color-surface: rgba(255,255,255,0.03);
  --color-surface-hover: rgba(124,58,237,0.08);
  --color-text: #e6e8ef;
  --color-text-secondary: #9aa3b8;
  --color-text-muted: #6b7388;
  --color-border: rgba(255,255,255,0.08);
  --color-border-light: rgba(255,255,255,0.04);

  --color-accent: #ed1098;
  --color-accent-2: #d9e43c;
  --color-accent-3: #2be7ac;
  --color-accent-warm: #e9b323;
  --color-accent-soft: #301c28;
  --color-accent-2-soft: #2d2e1d;
  --color-accent-3-soft: #1d2f29;
  --color-accent-warm-soft: #2f2a1c;

  --color-star: #e9b323;
  --color-success: #2be7ac;
  --color-badge: #ed1098;
  --color-info: #7c3aed;

  --color-footer-bg: #070b18;
  --color-footer-text: #e6e8ef;
  --color-footer-muted: #6b7388;
  --color-footer-link: #9aa3b8;
  --color-footer-border: rgba(255,255,255,0.06);
  --color-footer-social-bg: rgba(124,58,237,0.12);
  --color-footer-social-border: rgba(124,58,237,0.25);

  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 10px rgba(0,0,0,0.55), 0 2px 4px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.6), 0 4px 10px rgba(0,0,0,0.4);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.7), 0 8px 16px rgba(0,0,0,0.5);
}

/* Starfield noise overlay (~2% opacity) */
body {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(1200px 600px at 12% -10%, rgba(124,58,237,0.18), transparent 60%),
    radial-gradient(900px 500px at 95% 8%, rgba(237,16,152,0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(43,231,172,0.07), transparent 60%);
  background-attachment: fixed;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.02;
  background-image:
    radial-gradient(1px 1px at 25% 15%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 65%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 80%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 10% 90%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 45%, #fff 50%, transparent 51%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: 320px 320px, 280px 280px, 360px 360px, 240px 240px, 300px 300px, 260px 260px, 220px 220px;
}
main, .site-header, .site-footer, .hero, .section { position: relative; z-index: 1; }

/* Header glass */
.site-header {
  background: rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid rgba(124,58,237,0.25);
  box-shadow: 0 1px 0 rgba(124,58,237,0.12), 0 8px 24px rgba(0,0,0,0.35);
}
.nav-link.active {
  background: rgba(124,58,237,0.15);
  color: #c4b5fd;
}
.logo-text {
  background: linear-gradient(120deg, #c4b5fd 0%, #ed1098 60%, #2be7ac 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Announcement bar */
.announcement-bar {
  background: linear-gradient(90deg, #050816, #15102b 50%, #050816);
  color: #e6e8ef;
  border-bottom: 1px solid rgba(124,58,237,0.2);
}
.announcement-bar strong { color: #c4b5fd; }

/* HERO — centered with violet glow orbs */
.hero {
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(124,58,237,0.35) 0%, transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(237,16,152,0.20) 0%, transparent 45%),
    radial-gradient(circle at 50% 110%, rgba(43,231,172,0.18) 0%, transparent 50%),
    linear-gradient(180deg, #0a0f1f 0%, #0f172a 100%);
  overflow: hidden;
}
.hero-content { text-align: center; margin-left: auto; margin-right: auto; }
.hero-actions { justify-content: center; }
.hero-subtitle { max-width: 560px; margin-left: auto; margin-right: auto; color: #b6bccb; }
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(124,58,237,0.45) 0%, rgba(124,58,237,0.18) 30%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: orb-pulse 9s ease-in-out infinite;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  background: rgba(124,58,237,0.15);
  color: #c4b5fd;
  border: 1px solid rgba(124,58,237,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-title {
  letter-spacing: -1.5px;
  background: linear-gradient(180deg, #ffffff 0%, #cdb6ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes orb-pulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #ed1098 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(124,58,237,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 28px rgba(124,58,237,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-outline {
  background: rgba(255,255,255,0.02);
  border-color: rgba(124,58,237,0.45);
  color: #c4b5fd;
}
.btn-outline:hover {
  background: rgba(124,58,237,0.12);
  border-color: #7c3aed;
  color: #e6e8ef;
}
.btn-cta {
  background: linear-gradient(135deg, #7c3aed 0%, #ed1098 100%);
  box-shadow: 0 4px 14px rgba(124,58,237,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-cta:hover { filter: brightness(1.08); }

/* Product cards */
.product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
}
.product-card:hover {
  border-color: rgba(124,58,237,0.45);
  box-shadow: 0 12px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,58,237,0.25), 0 0 28px rgba(124,58,237,0.18);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-image-wrapper { background: #0a0f1f; }
.card-brand { color: #c4b5fd; }
.card-quick-view { background: rgba(124,58,237,0.85); }
.price-current { color: #ffffff; }

/* Categories */
.category-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-color: rgba(255,255,255,0.08);
}
.category-card:hover {
  border-color: #d9e43c;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 24px rgba(217,228,60,0.15);
}
.category-icon {
  background: rgba(217,228,60,0.12);
  color: #d9e43c;
}

/* Stats — gradient remains accent+accent-2 (pink to lime). Add depth */
.stats-section {
  background: linear-gradient(135deg, #1a0f2e 0%, #2a0e3d 50%, #0f172a 100%);
  border-top: 1px solid rgba(124,58,237,0.3);
  border-bottom: 1px solid rgba(124,58,237,0.3);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(237,16,152,0.18), transparent 40%),
              radial-gradient(circle at 70% 50%, rgba(124,58,237,0.22), transparent 40%);
  pointer-events: none;
}
.stat-number {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* FAQ */
.faq-section { background: linear-gradient(180deg, #0f172a, #0a0f1f); }
.faq-item {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
}
.faq-item[open] {
  border-color: #d9e43c;
  box-shadow: 0 0 20px rgba(217,228,60,0.08);
}
.faq-item[open] .faq-question::after { color: #d9e43c; }

/* Testimonials */
.testimonials-section { background: linear-gradient(180deg, #0a0f1f, #0f172a); }
.testimonial-card {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
}
.testimonial-card:hover {
  border-color: rgba(43,231,172,0.4);
  box-shadow: 0 0 24px rgba(43,231,172,0.10);
}
.testimonial-avatar {
  background: rgba(43,231,172,0.12);
  color: #2be7ac;
}

/* Top picks & guide */
.top-picks-section { background: linear-gradient(180deg, #0f172a, #1a1408); }
.guide-card {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
}
.guide-card:hover { border-color: #e9b323; box-shadow: 0 0 24px rgba(233,179,35,0.10); }
.top-pick-item {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
}
.top-pick-item:hover { border-color: #e9b323; box-shadow: 0 0 24px rgba(233,179,35,0.10); }

/* Newsletter */
.newsletter-section {
  background: linear-gradient(135deg, #0a0f1f 0%, #15102b 100%);
  border-top: 1px solid rgba(124,58,237,0.2);
  border-bottom: 1px solid rgba(124,58,237,0.2);
}
.newsletter-form input {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
  color: #e6e8ef;
}
.newsletter-form input::placeholder { color: #6b7388; }
.newsletter-form button {
  background: linear-gradient(135deg, #d9e43c, #e9b323);
  color: #0f172a;
}
.newsletter-form button:hover { filter: brightness(1.08); background: linear-gradient(135deg, #e9ee5e, #f0c44a); }

/* Trust */
.trust-section { border-bottom: 1px solid rgba(255,255,255,0.06); }
.trust-item svg { color: #c4b5fd; }
.mini-badge {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  color: #c0c5d4;
}

/* Forms */
.search-input {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: #e6e8ef;
}
.search-input::placeholder { color: #6b7388; }
.search-overlay { background: rgba(15,23,42,0.95); }

/* Filters */
.filter-btn {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  color: #b6bccb;
}
.filter-btn:hover { border-color: #7c3aed; color: #c4b5fd; }
.filter-btn.active {
  background: linear-gradient(135deg, #7c3aed, #ed1098);
  border-color: transparent;
}
.sort-select, .category-filters select {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
  color: #e6e8ef;
}

/* Pagination */
.page-btn, .page-num {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  color: #b6bccb;
}
.page-num.active { background: linear-gradient(135deg, #7c3aed, #ed1098); border-color: transparent; }

/* Product page */
.product-price-block {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
}
.price-save {
  background: rgba(43,231,172,0.12);
  color: #2be7ac;
}
.breadcrumb { background: rgba(255,255,255,0.02); border-bottom-color: rgba(255,255,255,0.06); }
.gallery-main { background: #0a0f1f; border-color: rgba(255,255,255,0.08); }
.thumb { background: #0a0f1f; border-color: rgba(255,255,255,0.08); }

/* Widgets — Pros/Cons, Delivery, Price History, Reviews, Social Proof */
.pros-cons-widget,
.delivery-widget {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
}
.check-icon { color: #2be7ac; }
.cross-icon { color: #ed1098; }

.price-history-section,
.user-reviews-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(124,58,237,0.2);
  box-shadow: 0 0 40px rgba(124,58,237,0.06);
}
.chart-bar {
  background: linear-gradient(180deg, rgba(124,58,237,0.25) 0%, #7c3aed 100%);
  opacity: 0.85;
}
.chart-bar-current {
  background: linear-gradient(180deg, #2be7ac 0%, #16a085 100%);
  box-shadow: 0 0 16px rgba(43,231,172,0.4);
}
.chart-note {
  background: rgba(43,231,172,0.1);
  color: #2be7ac;
}
.review-card {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}
.review-bar-track { background: rgba(255,255,255,0.06); }
.review-avatar { background: linear-gradient(135deg, #7c3aed, #ed1098); }
.verified-badge {
  background: rgba(43,231,172,0.12);
  color: #2be7ac;
}
.reviews-big-number {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-proof-popup {
  background: rgba(19,27,48,0.95);
  border: 1px solid rgba(124,58,237,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.6), 0 0 24px rgba(124,58,237,0.15);
}
.popup-icon { background: linear-gradient(135deg, #2be7ac, #16a085); }

/* Brand showcase */
.brand-showcase-section { background: linear-gradient(180deg, #0a0f1f, #0f172a); }
.brand-card {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
}
.brand-card:hover {
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 0 20px rgba(124,58,237,0.12);
}
.brand-initial { background: linear-gradient(135deg, #7c3aed, #ed1098); }

/* Trending */
.trending-section { background: var(--color-bg); }
.trending-item {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}
.trending-hot {
  background: rgba(237,16,152,0.12);
  color: #ed1098;
}
.trending-rank { color: #c4b5fd; }

/* Cookie banner */
.cookie-banner {
  background: rgba(19,27,48,0.97);
  border-top: 1px solid rgba(124,58,237,0.3);
  backdrop-filter: blur(12px);
}

/* Footer */
.site-footer {
  background:
    radial-gradient(800px 300px at 80% 0%, rgba(124,58,237,0.10), transparent 60%),
    #070b18;
  border-top: 1px solid rgba(124,58,237,0.18);
}
.social-links a:hover {
  background: linear-gradient(135deg, #7c3aed, #ed1098);
  border-color: transparent;
}

/* Comparison table */
.comparison-table {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
}
.comparison-table th { background: rgba(255,255,255,0.03); color: #9aa3b8; }
.comparison-table th, .comparison-table td { border-bottom-color: rgba(255,255,255,0.06); }

/* Mobile menu */
.mobile-menu { background: rgba(15,23,42,0.97); }
.mobile-nav-link { border-bottom-color: rgba(255,255,255,0.06); }

/* Tone down decorative pseudo on small screens */
@media (max-width: 768px) {
  .hero::before { width: 460px; height: 460px; filter: blur(40px); }
  body::before { opacity: 0.015; }
}