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

:root {
  --color-bg: #f5f4f1;
  --color-bg-2: #ebe8e3;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 245, 244, 241;
  --color-bg-white-rgb: 255, 255, 255;
  --color-text: #292524;
  --color-text-secondary: #57534e;
  --color-text-muted: #a8a29e;
  --color-border: #d6d3d1;
  --color-border-light: #e7e5e4;
  --color-accent: #0ae61f;
  --color-accent-2: #1546ec;
  --color-accent-3: #e14ca6;
  --color-accent-warm: #e27a45;
  --color-accent-soft: #e3f2e4;
  --color-accent-2-soft: #e3e6f1;
  --color-accent-3-soft: #f0e4eb;
  --color-accent-warm-soft: #f0e8e4;
  --font-heading: 'IBM Plex Serif', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(41,37,36,0.06), 0 1px 1px rgba(41,37,36,0.04);
  --shadow-md: 0 4px 8px rgba(41,37,36,0.08), 0 2px 4px rgba(41,37,36,0.04);
  --shadow-lg: 0 10px 24px rgba(41,37,36,0.10), 0 4px 10px rgba(41,37,36,0.05);
  --shadow-xl: 0 20px 40px rgba(41,37,36,0.12);
  --color-footer-bg: #292524;
  --color-footer-text: #f5f4f1;
  --color-footer-muted: #a8a29e;
  --color-footer-link: #d6d3d1;
  --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);
}

body {
  background-image:
    linear-gradient(rgba(41,37,36,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,37,36,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
  background-position: -1px -1px;
}

.announcement-bar {
  background: #292524;
  letter-spacing: 0.8px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.announcement-bar strong { color: var(--color-accent-warm); }

.site-header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(41,37,36,0.04);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #292524;
}

.nav-link {
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.2px;
}
.nav-link.active {
  background: var(--color-accent-2-soft);
  color: var(--color-accent-2);
}

.hero {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f4f1 100%);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.hero, .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(41,37,36,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,37,36,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: 0 0;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }

.hero-badge {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: #292524;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  position: relative;
}
.hero-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: middle;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -1.2px;
  color: #292524;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #292524;
  position: relative;
  display: inline-block;
}
.section-header .section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--color-accent-warm);
  margin: 12px auto 0;
  border-radius: 2px;
}

.btn { letter-spacing: 0.4px; }
.btn-primary {
  background: #292524;
  color: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 0 rgba(0,0,0,0.15);
}
.btn-primary:hover {
  background: #1c1917;
  filter: none;
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  color: #292524;
  border: 1.5px solid #292524;
  border-radius: var(--radius-sm);
}
.btn-outline:hover {
  background: #292524;
  color: #ffffff;
  border-color: #292524;
}

.btn-cta {
  background: #292524;
  color: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 0 rgba(0,0,0,0.12);
  font-weight: 600;
  letter-spacing: 0.4px;
}
.btn-cta:hover {
  background: var(--color-accent-warm);
  filter: none;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-warm) 0%, var(--color-accent-warm) 25%, transparent 25%, transparent 50%, var(--color-accent-2) 50%, var(--color-accent-2) 75%, transparent 75%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}
.product-card:hover {
  border-color: #292524;
  box-shadow: 0 8px 24px rgba(41,37,36,0.12);
  transform: translateY(-3px);
}
.product-card:hover::before { opacity: 1; }

.card-image-wrapper { background: var(--color-bg-2); }
.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-body .btn-cta { margin-top: auto; }

.card-brand {
  color: var(--color-accent-warm);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 10px;
}
.card-title { font-family: var(--font-body); font-weight: 600; color: #292524; }
.card-title a:hover { color: var(--color-accent-warm); }
.price-current { font-family: var(--font-heading); font-weight: 700; color: #292524; }

.card-badge {
  background: var(--color-accent-warm);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.8px;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
}
.category-card::after {
  content: '';
  position: absolute;
  top: 10px; right: 10px;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--color-text-muted);
  border-right: 1px solid var(--color-text-muted);
  opacity: 0.4;
}
.category-card:hover {
  border-color: #292524;
  box-shadow: 0 6px 20px rgba(41,37,36,0.10);
}
.category-icon {
  background: var(--color-accent-warm-soft);
  color: var(--color-accent-warm);
  border-radius: var(--radius-sm);
}

.filter-btn {
  border-radius: var(--radius-sm);
  background: #ffffff;
  border-color: var(--color-border);
  font-weight: 500;
}
.filter-btn.active {
  background: #292524;
  border-color: #292524;
  color: #ffffff;
}

.newsletter-section {
  background: #292524;
  border-top: 1px solid #292524;
  border-bottom: 1px solid #292524;
  position: relative;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.newsletter-inner { position: relative; }
.newsletter-text h3 { color: #ffffff; font-family: var(--font-heading); }
.newsletter-text p { color: #d6d3d1; }
.newsletter-form input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  border-radius: var(--radius-sm);
}
.newsletter-form input::placeholder { color: #a8a29e; }
.newsletter-form input:focus { border-color: var(--color-accent-warm); background: rgba(255,255,255,0.12); }
.newsletter-form button {
  background: var(--color-accent-warm);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.newsletter-form button:hover { background: #c96a37; transform: translateY(-1px); }

.faq-section { background: var(--color-bg-2); }
.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.faq-item[open] { border-color: var(--color-accent-2); border-left: 3px solid var(--color-accent-2); }

.guide-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.guide-card:hover { border-color: var(--color-accent-warm); }
.guide-number {
  background: #292524;
  color: var(--color-accent-warm);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
}

.testimonials-section { background: var(--color-bg-2); }
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: var(--font-heading);
  font-size: 56px;
  color: var(--color-accent-3-soft);
  line-height: 1;
  font-weight: 700;
}
.testimonial-avatar {
  background: var(--color-accent-3-soft);
  color: var(--color-accent-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
}

.stats-section {
  background: #292524;
  position: relative;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.stats-grid { position: relative; }
.stat-number { color: #ffffff; font-family: var(--font-heading); }
.stat-label { color: rgba(255,255,255,0.7); letter-spacing: 1px; text-transform: uppercase; font-size: 11px; }

.top-picks-section { background: var(--color-accent-warm-soft); }
.top-pick-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.top-pick-item:hover { border-color: var(--color-accent-warm); }
.top-pick-rank {
  font-family: var(--font-heading);
  color: var(--color-accent-warm);
}
.top-pick-tag {
  background: var(--color-accent-warm);
  color: #ffffff;
  border-radius: var(--radius-sm);
  letter-spacing: 0.8px;
}

.price-history-section {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
}
.price-history-section::before {
  content: 'CHART';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-text-muted);
}
.chart-bar {
  background: linear-gradient(180deg, var(--color-accent-2-soft) 0%, var(--color-accent-2) 100%);
  border-radius: 2px 2px 0 0;
}
.chart-bar-current {
  background: linear-gradient(180deg, var(--color-accent) 0%, #0aaa1a 100%);
  box-shadow: 0 0 12px rgba(10, 230, 31, 0.25);
}
.chart-note {
  background: var(--color-accent-soft);
  color: #0aaa1a;
  border-radius: var(--radius-sm);
}

.user-reviews-section {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.review-card {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent-warm);
}
.review-avatar {
  background: #292524;
  color: var(--color-accent-warm);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
}
.review-bar-fill { background: var(--color-accent-warm); }

.pros-cons-widget {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.pros-cons-widget h3 { font-family: var(--font-heading); }
.pros-heading { color: var(--color-accent); }
.cons-heading { color: var(--color-accent-3); }
.check-icon { color: var(--color-accent); }
.cross-icon { color: var(--color-accent-3); }

.delivery-widget {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent-2);
}
.delivery-item svg { color: var(--color-accent-2); }

.social-proof-popup {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
  box-shadow: 0 12px 32px rgba(41,37,36,0.18);
}
.popup-icon {
  background: var(--color-accent);
  color: #ffffff;
  border-radius: var(--radius-sm);
}

.product-price-block {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent-warm);
}
.price-big { font-family: var(--font-heading); color: #292524; }
.price-save {
  background: var(--color-accent-soft);
  color: #0aaa1a;
  border-radius: var(--radius-sm);
}

.gallery-main {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.thumb { border-radius: var(--radius-sm); }

.brand-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.brand-initial {
  background: linear-gradient(135deg, #292524 0%, #57534e 100%);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
}

.trending-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.trending-rank { font-family: var(--font-heading); color: var(--color-accent-warm); }

.banner-link {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.site-footer {
  background: #1c1917;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.site-footer .container { position: relative; }
.footer-logo { font-family: var(--font-heading); color: #ffffff; }

@keyframes blueprint-fade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.hero-badge::before { animation: blueprint-fade 2.4s ease-in-out infinite; }

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