:root {
  --bg: #0f0f14;
  --bg-light: #1a1a24;
  --text: #f0eef8;
  --text-muted: #a89ec0;
  --accent: #8b5cf6;
  --accent-hover: #a78bfa;
  --accent-warm: #d4a24e;
  --card-bg: #1a1a24;
  --border: #2d2b3d;
  --badge-pick: #8b5cf6;
  --badge-value: #2e9e5a;
  --badge-premium: #d4a24e;
  --badge-luxury: #e85d91;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Header */
header, .site-header {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}
header.scrolled, .site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.5px; color: var(--text); }
.logo span { color: var(--accent); }
.logo a { color: inherit; }
.main-nav ul { list-style: none; display: flex; gap: 0.2rem; flex-wrap: wrap; padding: 0; margin: 0; }
.main-nav a { margin-left: 1rem; font-weight: 500; color: var(--text-muted); font-size: 0.88rem; }
.main-nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 0.3rem; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f0f14 0%, #1a0a2e 40%, #0d1a2e 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(139,92,246,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  max-width: 800px;
}
.hero h1 .accent { color: var(--accent-hover); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}
.hero-cta:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* Page Header */
.page-header {
  max-width: 900px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 1.5rem;
}
.page-header h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 0.5rem; }
.page-header .subtitle { color: var(--text-muted); font-size: 1.05rem; }
.page-header .meta { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; }

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.article-content { min-width: 0; }
.sidebar { position: sticky; top: 5.5rem; }
.widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  margin-bottom: 1rem;
}
.widget h4 { color: var(--accent-warm); margin-bottom: 0.6rem; font-size: 0.95rem; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { margin-bottom: 0.45rem; }
.widget a { color: var(--text-muted); font-size: 0.9rem; }
.widget a:hover { color: var(--accent); }

/* Article */
.article {
  max-width: 860px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.article h2 {
  font-size: 1.5rem;
  margin: 2.2rem 0 0.8rem;
  color: var(--accent-warm);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}
.article h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.article p { margin-bottom: 1rem; color: var(--text); font-size: 1rem; }
.article ul, .article ol { margin: 0.5rem 0 1rem 1.5rem; color: var(--text-muted); }
.article li { margin-bottom: 0.4rem; }

/* Product Cards */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.product-card .badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  color: #fff;
}
.badge-pick { background: var(--badge-pick); }
.badge-value { background: var(--badge-value); }
.badge-premium { background: var(--badge-premium); }
.badge-luxury { background: var(--badge-luxury); }
.badge-budget { background: #6366f1; }
.badge-hybrid { background: #0891b2; }
.product-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.product-card .price { color: var(--accent-warm); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.6rem; }
.product-card > p { color: var(--text-muted); font-size: 0.95rem; }
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}
.pros h4 { color: #2e9e5a; font-size: 0.85rem; margin-bottom: 0.3rem; }
.cons h4 { color: #e85d26; font-size: 0.85rem; margin-bottom: 0.3rem; }
.pros ul, .cons ul { list-style: none; padding: 0; margin: 0; }
.pros li::before { content: '✓ '; color: #2e9e5a; font-weight: 700; }
.cons li::before { content: '✗ '; color: #e85d26; font-weight: 700; }
.pros li, .cons li { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.btn-amazon {
  display: inline-block;
  background: #f0c14b;
  color: #111 !important;
  border: 1px solid #a88734;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.8rem;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-amazon:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.8rem;
  margin-right: 0.5rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); }

/* Category Cards (homepage) */
.categories {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(139,92,246,0.15); border-color: var(--accent); transform: translateY(-3px); }
.card .icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.card h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.2rem; }
.card .cta { font-weight: 600; font-size: 0.9rem; }
.card .cta::after { content: ' →'; }

/* TOC */
.toc {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
}
.toc h4 { margin-bottom: 0.5rem; color: var(--accent-warm); font-size: 0.95rem; }
.toc ol { margin-left: 1.2rem; }
.toc li { margin-bottom: 0.3rem; }
.toc a { color: var(--text-muted); font-size: 0.92rem; }
.toc a:hover { color: var(--accent); }

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  overflow-x: auto;
  display: block;
}
.comparison-table th {
  background: var(--bg-light);
  color: var(--accent-warm);
  padding: 0.8rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.comparison-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.comparison-table tr:hover td { background: rgba(139,92,246,0.05); }
.comparison-table .winner { color: #2e9e5a; font-weight: 600; }

/* FAQ Section */
.faq-section {
  max-width: 860px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
}
.faq-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--accent-warm);
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-q {
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
.faq-a {
  padding: 0 1.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Quick Picks Box */
.quick-picks {
  background: linear-gradient(135deg, #1a0a2e, #0d1a2e);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.quick-picks h3 { color: var(--accent-hover); margin-bottom: 1rem; font-size: 1.1rem; }
.quick-picks ul { list-style: none; padding: 0; }
.quick-picks li { padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; }
.quick-picks li:last-child { border: none; }
.quick-picks strong { color: var(--accent-warm); }

/* Network Links */
.network-links {
  background: #0d0d12;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: #666;
  border-top: 1px solid #1a1a24;
}
.network-links a { color: #6b8aff; margin: 0 0.35rem; }
.network-links strong { color: #999; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  background: var(--bg-light);
}
.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-col h4 { color: var(--text); margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--text-muted); font-size: 0.85rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { color: var(--text-muted); font-size: 0.85rem; }
.affiliate-disclosure {
  max-width: 1200px;
  margin: 1rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0.5rem auto 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--accent-warm); }

/* Updated badge */
.updated-badge {
  display: inline-block;
  background: rgba(139,92,246,0.15);
  color: var(--accent-hover);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 8px 0;
  border: 1px solid rgba(139,92,246,0.3);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(139,92,246,0.4);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .site-footer .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .site-header { padding: 0.8rem 1rem; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 0.5rem 0; }
  .main-nav a { display: block; margin-left: 0; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .categories { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 1.6rem; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 0.5rem; }
  .site-footer .footer-inner { grid-template-columns: 1fr; }
  .article { padding: 0 1rem; }
}
