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

:root {
  --color-bg: #f1f5f9;
  --color-bg-2: #e2e8f0;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 241, 245, 249;
  --color-bg-white-rgb: 255, 255, 255;
  --color-surface: rgba(30, 64, 175, 0.03);
  --color-surface-hover: rgba(30, 64, 175, 0.06);
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-border: #cbd5e1;
  --color-border-light: #e2e8f0;

  --color-accent: #e9bb0c;
  --color-accent-2: #0ce874;
  --color-accent-3: #4636e5;
  --color-accent-warm: #e29146;
  --color-accent-soft: #f1eee3;
  --color-accent-2-soft: #e3f1ea;
  --color-accent-3-soft: #e5e4f0;
  --color-accent-warm-soft: #f0eae4;

  --color-footer-bg: #0f172a;
  --color-footer-text: #e2e8f0;
  --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: 'Lexend', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(30, 64, 175, 0.04);
  --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(30, 64, 175, 0.04);
  --shadow-lg: 0 12px 28px rgba(30, 64, 175, 0.08), 0 4px 10px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px rgba(30, 64, 175, 0.12), 0 8px 18px rgba(15, 23, 42, 0.05);
}

body {
  background:
    linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  letter-spacing: 0.1px;
}

.hero-title,
.section-title,
.page-title,
.product-title,
.logo-text,
.footer-logo {
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* ── Frost grid backdrop ──────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  text-align: center;
}
.hero-content { text-align: center; }
.hero-actions { justify-content: center; }
.hero-subtitle { max-width: 560px; margin-left: auto; margin-right: auto; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 64, 175, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.06) 1px, transparent 1px),
    radial-gradient(ellipse at 50% -10%, rgba(30, 64, 175, 0.12) 0%, transparent 55%);
  background-size: 56px 56px, 56px 56px, auto;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }

@media (max-width: 768px) {
  .hero::before {
    background-size: 36px 36px, 36px 36px, auto;
    opacity: 0.6;
  }
  .hero { text-align: center; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
}

.hero-badge {
  background: #ffffff;
  border: 1px solid #1e40af;
  color: #1e40af;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08);
}

/* ── Header (Nordic minimal) ───────────────────────────────────────────── */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(30, 64, 175, 0.12);
}
.announcement-bar {
  background: #1e40af;
  color: #f1f5f9;
  letter-spacing: 0.8px;
}
.announcement-bar strong { color: #e9bb0c; }
.nav-link {
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 12px;
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: #1e40af;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ── Product cards (clean Nordic grid) ─────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1),
              box-shadow 0.35s cubic-bezier(.4,0,.2,1),
              border-color 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: #1e40af;
  box-shadow: 0 18px 36px rgba(30, 64, 175, 0.14);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body .btn-cta { margin-top: auto; }
.card-brand {
  color: #1e40af;
  font-weight: 700;
}
.card-image-wrapper {
  background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-primary {
  background: #1e40af;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
}
.btn-primary:hover {
  background: #1e3a8a;
  filter: none;
  box-shadow: 0 8px 22px rgba(30, 64, 175, 0.32);
}
.btn-outline {
  border: 1.5px solid #1e40af;
  color: #1e40af;
  background: #ffffff;
}
.btn-outline:hover {
  background: rgba(30, 64, 175, 0.08);
  border-color: #1e40af;
  color: #1e40af;
}
.btn-cta {
  background: #1e40af;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}
.btn-cta:hover {
  background: #1e3a8a;
  filter: none;
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.28);
}

/* ── Categories ────────────────────────────────────────────────────────── */
.category-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.category-card:hover { border-color: var(--color-accent-2); }

/* ── Newsletter ────────────────────────────────────────────────────────── */
.newsletter-section {
  background:
    linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}
.newsletter-form input:focus { border-color: var(--color-accent-2); box-shadow: 0 0 0 3px rgba(12, 232, 116, 0.15); }

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

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

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

/* ── Stats ─────────────────────────────────────────────────────────────── */
.stats-section {
  background:
    linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

/* ── New widgets ───────────────────────────────────────────────────────── */
.price-history-section,
.user-reviews-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.06);
}
.chart-bar {
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.15) 0%, #1e40af 100%);
}
.chart-bar-current {
  background: linear-gradient(180deg, rgba(12, 232, 116, 0.5) 0%, #0ce874 100%);
  box-shadow: 0 0 14px rgba(12, 232, 116, 0.35);
}
.chart-note {
  background: rgba(12, 232, 116, 0.1);
  color: #047857;
}

.pros-cons-widget,
.delivery-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #1e40af;
}
.delivery-item svg { color: #1e40af; }

.social-proof-popup {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 3px solid #1e40af;
  box-shadow: 0 18px 36px rgba(30, 64, 175, 0.16);
}
.popup-icon { background: #1e40af; }

/* ── Brand showcase ────────────────────────────────────────────────────── */
.brand-initial {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  border-top: 3px solid #1e40af;
}

/* ── Frost accent line animation ───────────────────────────────────────── */
@keyframes frost-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.hero-title {
  background: linear-gradient(90deg, #0f172a 0%, #1e40af 50%, #0f172a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: frost-shimmer 8s linear infinite;
}