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

:root {
  --color-accent: #34e5d6;
  --color-accent-2: #8c09e5;
  --color-accent-3: #e53809;
  --color-accent-warm: #ec7318;
  --color-accent-soft: #e4f0ef;
  --color-accent-2-soft: #ebe3f2;
  --color-accent-3-soft: #f2e6e3;
  --color-accent-warm-soft: #f1e9e3;
  --color-bg: #f4f9fc;
  --color-bg-2: #e8f1f8;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 244, 249, 252;
  --color-bg-white-rgb: 255, 255, 255;
  --color-text: #0c2a3e;
  --color-text-secondary: #3a5870;
  --color-text-muted: #7a8fa3;
  --color-border: #d8e4ed;
  --color-border-light: #e8f0f5;
  --color-footer-bg: #062536;
  --color-footer-text: #e0ecf3;
  --color-footer-muted: #8aa3b5;
  --color-footer-link: #b8ccdb;
  --color-footer-border: rgba(255,255,255,0.08);
  --color-footer-social-bg: rgba(255,255,255,0.08);
  --color-footer-social-border: rgba(255,255,255,0.12);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 6px rgba(3,105,161,0.08);
  --shadow-md: 0 6px 18px rgba(3,105,161,0.10);
  --shadow-lg: 0 14px 32px rgba(3,105,161,0.14);
  --shadow-xl: 0 24px 48px rgba(3,105,161,0.18);
}

body {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(52,229,214,0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 30%, rgba(3,105,161,0.05) 0%, transparent 50%),
    var(--color-bg);
}

/* ── Hero — Ocean Blue Gradient ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(52,229,214,0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 45%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-actions { justify-content: center; }

.hero-badge {
  background: rgba(255,255,255,0.14);
  color: #ccfbf1;
  border: 1px solid rgba(204,251,241,0.35);
  backdrop-filter: blur(8px);
}

.hero-title {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.hero-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 160px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 14' preserveAspectRatio='none'><path d='M0 7 Q 10 0, 20 7 T 40 7 T 60 7 T 80 7 T 100 7 T 120 7 T 140 7 T 160 7' fill='none' stroke='%2334e5d6' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  animation: wave-flow 3s ease-in-out infinite;
}

@keyframes wave-flow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.05); }
}

.hero-subtitle {
  color: rgba(224,242,254,0.92);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Sound-wave accent under section titles */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 110px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 10' preserveAspectRatio='none'><path d='M0 5 Q 7 0, 14 5 T 28 5 T 42 5 T 56 5 T 70 5 T 84 5 T 98 5 T 110 5' fill='none' stroke='%230284c7' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.section-header { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2,132,199,0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  box-shadow: 0 10px 24px rgba(2,132,199,0.45);
  filter: none;
}

.btn-cta {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 4px 12px rgba(2,132,199,0.28);
}

.btn-cta:hover {
  filter: none;
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
}

.btn-outline {
  background: rgba(255,255,255,0.92);
  border: 1.5px solid var(--color-accent-2);
  color: var(--color-accent-2);
}

.btn-outline:hover {
  background: var(--color-accent-2-soft);
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(2,132,199,0.12);
}

.nav-link.active {
  background: var(--color-accent-soft);
  color: #0369a1;
}

.logo-text {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Product Cards — Hi-Fi clean white ───────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e3edf5;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2,132,199,0.3);
  box-shadow: 0 18px 36px rgba(3,105,161,0.15);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-brand { color: #0284c7; }

/* ── Category Cards ──────────────────────────────────────────────────────── */
.category-card {
  background: #ffffff;
  border: 1px solid #e3edf5;
}

.category-card:hover {
  border-color: var(--color-accent-2);
  box-shadow: 0 14px 28px rgba(140,9,229,0.12);
}

.category-icon {
  background: linear-gradient(135deg, rgba(140,9,229,0.10), rgba(140,9,229,0.04));
  color: var(--color-accent-2);
}

/* ── Stats — Ocean gradient ──────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 50%, #0369a1 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0, transparent 40px, rgba(52,229,214,0.06) 40px, rgba(52,229,214,0.06) 41px);
  pointer-events: none;
}

/* ── FAQ — purple accent ─────────────────────────────────────────────────── */
.faq-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-accent-2-soft) 100%);
}

/* ── Testimonials — red accent ───────────────────────────────────────────── */
.testimonials-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-accent-3-soft) 100%);
}

/* ── Guide — warm accent ─────────────────────────────────────────────────── */
.guide-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-accent-warm-soft) 100%);
}

/* ── Newsletter ──────────────────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-top: 1px solid rgba(2,132,199,0.12);
  border-bottom: 1px solid rgba(2,132,199,0.12);
}

.newsletter-form button {
  background: linear-gradient(135deg, var(--color-accent-2) 0%, #6b07b3 100%);
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #6b07b3 0%, #520791 100%);
}

/* ── Widgets ─────────────────────────────────────────────────────────────── */
.price-history-section,
.user-reviews-section {
  background: #ffffff;
  border: 1px solid #e3edf5;
  box-shadow: 0 8px 20px rgba(3,105,161,0.06);
}

.price-history-section .section-title::after,
.user-reviews-section .section-title::after { display: none; }

.chart-bar {
  background: linear-gradient(180deg, rgba(2,132,199,0.25) 0%, #0284c7 100%);
}

.chart-bar-current {
  background: linear-gradient(180deg, #34e5d6 0%, #0284c7 100%);
  box-shadow: 0 0 16px rgba(52,229,214,0.4);
}

.pros-cons-widget,
.delivery-widget {
  background: #f8fbfd;
  border: 1px solid #e3edf5;
}

.pros-cons-widget h3 { position: relative; padding-left: 16px; }
.pros-cons-widget h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #0284c7, #34e5d6);
  border-radius: 2px;
}

.delivery-item svg { color: #0284c7; }

.social-proof-popup {
  background: #ffffff;
  border: 1px solid #e3edf5;
  border-left: 3px solid #0284c7;
  box-shadow: 0 12px 28px rgba(3,105,161,0.18);
}

.popup-icon {
  background: linear-gradient(135deg, #34e5d6 0%, #0284c7 100%);
}

/* ── Top Picks ───────────────────────────────────────────────────────────── */
.top-picks-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-accent-warm-soft) 100%);
}

.top-pick-item {
  background: #ffffff;
  border: 1px solid #e3edf5;
}

/* ── Brand Showcase ──────────────────────────────────────────────────────── */
.brand-initial {
  background: linear-gradient(135deg, #0284c7 0%, #34e5d6 100%);
}

.trending-rank { color: #0284c7; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background:
    linear-gradient(180deg, #062536 0%, #04192a 100%);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #0284c7 30%, #34e5d6 50%, #0284c7 70%, transparent 100%);
}

.social-links a:hover {
  background: linear-gradient(135deg, #0284c7 0%, #34e5d6 100%);
  border-color: transparent;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { text-align: center; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-title::after { width: 120px; }
}