/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6; color: #1a1a2e; background: #fafafa;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: all .2s;
  border: none; text-align: center;
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.btn-outline { background: transparent; color: #2563eb; border: 2px solid #2563eb; }
.btn-outline:hover { background: #2563eb; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .875rem; }
.section { padding: 80px 0; }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: #64748b; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0; transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 800; color: #2563eb; }
.logo span { color: #1a1a2e; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 6px; font-size: .95rem; font-weight: 500; color: #475569; transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: #2563eb; background: #eff6ff; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.1);
  border: 1px solid #e2e8f0; padding: 8px; display: none; z-index: 100;
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 6px; font-size: .9rem; }
.dropdown-menu a:hover { background: #f1f5f9; }
.nav-search { position: relative; margin-left: 16px; }
.nav-search input {
  width: 200px; padding: 8px 14px 8px 36px; border: 1px solid #e2e8f0;
  border-radius: 8px; font-size: .9rem; background: #f8fafc; transition: all .2s;
}
.nav-search input:focus { outline: none; border-color: #2563eb; width: 260px; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.nav-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: #1a1a2e; transition: all .3s; border-radius: 2px; }

/* === HERO === */
.hero {
  padding: 140px 0 80px; text-align: center;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 50%, #fef3c7 100%);
}
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(135deg, #2563eb, #16a34a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.2rem; color: #64748b; max-width: 640px; margin: 0 auto 32px; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.trust-badges { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 8px; color: #475569; font-size: .95rem; font-weight: 500; }
.trust-badge .icon { width: 32px; height: 32px; background: #2563eb; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; }

/* === CATEGORIES === */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.category-card {
  background: #fff; border-radius: 14px; padding: 32px 24px; text-align: center;
  border: 1px solid #e2e8f0; transition: all .3s; position: relative; overflow: hidden;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); border-color: #2563eb; }
.category-card .emoji { font-size: 2.5rem; margin-bottom: 16px; }
.category-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.category-card p { font-size: .9rem; color: #64748b; margin-bottom: 16px; }
.category-card .count { font-size: .8rem; color: #2563eb; font-weight: 600; background: #eff6ff; padding: 4px 10px; border-radius: 20px; display: inline-block; }

/* === FEATURED REVIEWS === */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.review-card {
  background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e2e8f0;
  transition: all .3s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.review-card-img { height: 200px; background: linear-gradient(135deg, #dbeafe, #dcfce7); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.review-card-body { padding: 24px; }
.review-card-body .category-tag { font-size: .75rem; font-weight: 600; color: #2563eb; background: #eff6ff; padding: 4px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.review-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.review-card-body .rating { color: #f59e0b; font-size: .95rem; margin-bottom: 8px; }
.review-card-body .rating .score { color: #1a1a2e; font-weight: 600; margin-left: 4px; }
.review-card-body p { font-size: .9rem; color: #64748b; margin-bottom: 16px; }
.review-card-body .price { font-weight: 700; color: #16a34a; }

/* === COMPARISON TABLE === */
.comparison-wrapper { overflow-x: auto; border-radius: 14px; border: 1px solid #e2e8f0; background: #fff; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.comparison-table th, .comparison-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #f1f5f9; font-size: .9rem; }
.comparison-table thead th { background: #f8fafc; font-weight: 700; color: #475569; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.comparison-table tbody tr:hover { background: #f8fafc; }
.comparison-table .product-name { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.comparison-table .product-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; background: #eff6ff; }
.comparison-table .stars { color: #f59e0b; }
.comparison-table .best { background: #f0fdf4; }
.comparison-table .badge-best { background: #16a34a; color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 10px; font-weight: 600; }

/* === EMAIL CAPTURE === */
.newsletter {
  background: linear-gradient(135deg, #1e40af, #7c3aed); color: #fff;
  border-radius: 20px; padding: 60px 40px; text-align: center;
}
.newsletter h2 { font-size: 2rem; margin-bottom: 12px; }
.newsletter p { opacity: .85; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 14px 18px; border-radius: 10px; border: none;
  font-size: 1rem; background: rgba(255,255,255,.15); color: #fff;
  backdrop-filter: blur(10px);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form input:focus { outline: none; background: rgba(255,255,255,.25); }
.newsletter-form .btn { background: #fff; color: #1e40af; font-weight: 700; }
.newsletter-form .btn:hover { background: #f0fdf4; }
.newsletter .privacy { font-size: .8rem; opacity: .6; margin-top: 16px; }

/* === SOCIAL PROOF === */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: #fff; border-radius: 14px; padding: 28px; border: 1px solid #e2e8f0;
  position: relative;
}
.testimonial-card .quote-icon { font-size: 2rem; color: #2563eb; opacity: .2; position: absolute; top: 16px; right: 20px; }
.testimonial-card .stars { color: #f59e0b; margin-bottom: 12px; }
.testimonial-card p { font-size: .95rem; color: #475569; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #dbeafe, #dcfce7); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #2563eb; font-size: .9rem; }
.testimonial-author .name { font-weight: 600; font-size: .9rem; }
.testimonial-author .role { font-size: .8rem; color: #94a3b8; }

/* === FOOTER === */
.footer { background: #0f172a; color: #94a3b8; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: .9rem; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .85rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px; background: #1e293b;
  display: flex; align-items: center; justify-content: center; transition: all .2s; font-size: .9rem;
}
.footer-social a:hover { background: #2563eb; color: #fff; }

/* === BREADCRUMBS === */
.breadcrumbs { padding: 16px 0; font-size: .85rem; color: #64748b; }
.breadcrumbs a { color: #2563eb; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 8px; color: #cbd5e1; }

/* === AUTHOR BIO === */
.author-bio {
  display: flex; gap: 20px; align-items: flex-start; padding: 28px;
  background: #f8fafc; border-radius: 14px; border: 1px solid #e2e8f0; margin-top: 32px;
}
.author-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #7c3aed); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }
.author-info h4 { font-size: 1rem; margin-bottom: 4px; }
.author-info .title { font-size: .85rem; color: #2563eb; font-weight: 600; margin-bottom: 8px; }
.author-info p { font-size: .9rem; color: #64748b; }

/* === REVIEW DETAIL === */
.review-hero { padding: 120px 0 40px; background: linear-gradient(135deg, #eff6ff, #f0fdf4); }
.review-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.review-meta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; color: #64748b; font-size: .9rem; margin-bottom: 16px; }
.review-meta .rating-stars { color: #f59e0b; }
.review-body { padding: 40px 0; }
.review-body .container { max-width: 800px; }
.review-body h2 { font-size: 1.5rem; font-weight: 700; margin: 32px 0 16px; }
.review-body h3 { font-size: 1.2rem; font-weight: 600; margin: 24px 0 12px; }
.review-body p { margin-bottom: 16px; color: #334155; }
.review-body ul, .review-body ol { margin-bottom: 16px; padding-left: 24px; }
.review-body li { margin-bottom: 8px; color: #334155; list-style: disc; }
.review-body ol li { list-style: decimal; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.pros, .cons { padding: 24px; border-radius: 12px; }
.pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.cons { background: #fef2f2; border: 1px solid #fecaca; }
.pros h3, .cons h3 { margin-top: 0; }
.pros li::marker { content: "✓ "; color: #16a34a; }
.cons li::marker { content: "✗ "; color: #dc2626; }
.pros li { list-style: none; }
.cons li { list-style: none; }
.cta-box {
  background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff;
  border-radius: 14px; padding: 32px; text-align: center; margin: 32px 0;
}
.cta-box h3 { margin-bottom: 8px; color: #fff; }
.cta-box p { opacity: .85; margin-bottom: 20px; }
.cta-box .btn { background: #fff; color: #2563eb; }
.rating-box {
  background: #fff; border: 2px solid #2563eb; border-radius: 14px;
  padding: 24px; text-align: center; float: right; margin: 0 0 24px 24px; min-width: 200px;
}
.rating-box .big-score { font-size: 3rem; font-weight: 800; color: #2563eb; line-height: 1; }
.rating-box .label { font-size: .85rem; color: #64748b; margin-top: 4px; }

/* === CATEGORY PAGE === */
.category-hero { padding: 120px 0 40px; text-align: center; }
.category-hero h1 { font-size: 2.2rem; font-weight: 800; }
.category-hero p { color: #64748b; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }
.product-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.product-card {
  background: #fff; border-radius: 14px; padding: 28px; border: 1px solid #e2e8f0;
  display: flex; flex-direction: column; transition: all .3s;
}
.product-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.product-card .rank { font-size: .8rem; font-weight: 700; color: #fff; background: #2563eb; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.product-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-card .rating { color: #f59e0b; font-size: .9rem; margin-bottom: 8px; }
.product-card p { font-size: .9rem; color: #64748b; margin-bottom: 16px; flex: 1; }
.product-card .price-line { font-weight: 700; color: #16a34a; margin-bottom: 12px; }

/* === STATIC PAGES === */
.page-hero { padding: 120px 0 40px; background: linear-gradient(135deg, #eff6ff, #f0fdf4); text-align: center; }
.page-hero h1 { font-size: 2.2rem; font-weight: 800; }
.page-content { padding: 40px 0 80px; }
.page-content .container { max-width: 800px; }
.page-content h2 { font-size: 1.5rem; font-weight: 700; margin: 32px 0 16px; }
.page-content p { margin-bottom: 16px; color: #334155; }
.page-content ul { margin-bottom: 16px; padding-left: 24px; }
.page-content li { margin-bottom: 8px; color: #334155; list-style: disc; }
.page-content a { color: #2563eb; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 110px 0 60px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.6rem; }
  .trust-badges { gap: 16px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .rating-box { float: none; margin: 0 0 24px 0; min-width: auto; }
  .comparison-table { font-size: .85rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  
  /* Mobile Nav */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 20px; gap: 4px; transform: translateX(100%); transition: transform .3s;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 16px; font-size: 1rem; }
  .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .nav-search { margin: 16px 0 0; }
  .nav-search input { width: 100%; }
  .nav-search input:focus { width: 100%; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
}

/* === COMPARISON PAGES === */
.comparison-hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #fff; padding: 100px 0 60px; text-align: center;
}
.comparison-hero h1 { font-size: 2.2rem; max-width: 800px; margin: 0 auto 16px; line-height: 1.3; }
.comparison-hero p { color: #94a3b8; font-size: 1.1rem; max-width: 700px; margin: 0 auto; }
.comparison-content { max-width: 860px; margin: 0 auto; padding: 40px 20px 80px; }
.comparison-content h2 { font-size: 1.5rem; color: #1e293b; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid #e2e8f0; }
.comparison-content h2:first-of-type { border-top: none; padding-top: 0; }
.comparison-content h3 { font-size: 1.2rem; color: #334155; margin: 28px 0 12px; }
.comparison-content p { margin-bottom: 16px; color: #475569; line-height: 1.75; }
.comparison-content ul, .comparison-content ol { margin: 0 0 16px 24px; color: #475569; }
.comparison-content li { margin-bottom: 8px; line-height: 1.6; }
.comparison-content ul { list-style: disc; }
.comparison-content ol { list-style: decimal; }
.comparison-content strong { color: #1e293b; }
.comparison-content em { color: #64748b; }
.comparison-content hr { border: none; border-top: 1px solid #e2e8f0; margin: 32px 0; }
.comparison-content table { width: 100%; border-collapse: collapse; margin: 24px 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.comparison-content th { background: #1e293b; color: #fff; padding: 12px 16px; text-align: left; font-size: .9rem; font-weight: 600; }
.comparison-content td { padding: 12px 16px; border-bottom: 1px solid #e2e8f0; font-size: .9rem; color: #475569; }
.comparison-content tr:last-child td { border-bottom: none; }
.comparison-content tr:hover td { background: #f8fafc; }
.comparison-content blockquote { border-left: 4px solid #2563eb; padding: 16px 20px; margin: 24px 0; background: #eff6ff; border-radius: 0 8px 8px 0; }
.comparison-content blockquote p { color: #1e40af; margin-bottom: 0; }
.verdict-box { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border: 2px solid #2563eb; border-radius: 12px; padding: 28px; margin: 32px 0; }
.verdict-box h3 { color: #1e40af; margin-top: 0; }
.verdict-box p { color: #1e3a5f; margin-bottom: 0; }
.breadcrumbs { font-size: .85rem; color: #64748b; padding: 80px 0 0; }
.breadcrumbs a { color: #2563eb; }
.breadcrumbs a:hover { text-decoration: underline; }
.comparison-cta { text-align: center; padding: 40px 20px; background: #f8fafc; border-radius: 12px; margin: 40px 0; }
.comparison-cta h3 { margin-bottom: 12px; color: #1e293b; }
.comparison-cta .btn { margin: 6px; }
.related-comparisons { margin-top: 60px; padding-top: 40px; border-top: 2px solid #e2e8f0; }
.related-comparisons h3 { font-size: 1.3rem; color: #1e293b; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.related-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; transition: all .2s; display: block; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.related-card h4 { font-size: 1rem; margin-bottom: 8px; color: #1e293b; }
.related-card p { font-size: .85rem; color: #64748b; margin: 0; }
