:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --bg-light: #f8fafc;
    --text-color: #1e293b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --border-radius: 8px;
    --container-width: 1100px;
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--white); }
a { text-decoration: none; color: var(--primary-color); transition: 0.3s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* Layout */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 60px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; } .mb-5 { margin-bottom: 3rem; } .mb-2 { margin-bottom: 0.5rem; }

/* Header */
.site-header { box-shadow: var(--shadow); padding: 15px 0; position: sticky; top: 0; background: var(--white); z-index: 100; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.5rem; font-weight: bold; color: var(--text-color); display: flex; align-items: center; gap: 10px; }
.main-nav ul { display: flex; gap: 25px; }
.main-nav a { font-weight: 500; color: var(--secondary-color); }
.main-nav a:hover { color: var(--primary-color); }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero-section { background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.9)), url('../img/hero-bg.jpg'); background-size: cover; background-position: center; color: white; padding: 100px 0; text-align: center; }
.hero-content h1 { font-size: 2.5rem; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: var(--border-radius); font-weight: 600; cursor: pointer; border: none; }
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: var(--primary-dark); color: white; }
.btn-secondary { background-color: white; color: var(--primary-color); }
.btn-secondary:hover { background-color: #f1f5f9; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-card { background: white; padding: 30px; border-radius: var(--border-radius); box-shadow: var(--shadow); text-align: center; transition: transform 0.2s; }
.feature-card:hover { transform: translateY(-5px); }
.feature-card .icon { font-size: 2.5rem; margin-bottom: 15px; }

/* Table */
.table-responsive { overflow-x: auto; margin-top: 30px; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.comparison-table th, .comparison-table td { padding: 15px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.comparison-table th { background-color: #f8fafc; font-weight: 600; }
.text-success { color: #16a34a; font-weight: bold; }
.text-warning { color: #d97706; font-weight: bold; }
.text-danger { color: #dc2626; font-weight: bold; }

/* Product Cards */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.product-card { border: 1px solid #e2e8f0; border-radius: var(--border-radius); overflow: hidden; position: relative; background: white; transition: box-shadow 0.3s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.featured-product { border: 2px solid var(--primary-color); transform: scale(1.02); z-index: 1; }
.product-badge { position: absolute; top: 10px; right: 10px; background: #334155; color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; }
.product-badge.best-buy { background: var(--primary-color); }
.product-img-placeholder { background: #cbd5e1; height: 200px; display: flex; align-items: center; justify-content: center; color: #64748b; font-weight: bold; text-align: center; }
.product-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.product-content h3 { margin-bottom: 10px; font-size: 1.2rem; }
.price-tag { font-size: 1.1rem; font-weight: bold; color: var(--primary-color); margin-bottom: 15px; }
.product-specs { margin: 15px 0; padding-left: 20px; list-style: disc; font-size: 0.9rem; color: var(--secondary-color); flex-grow: 1; }

/* Content Pages */
.page-content { max-width: 800px; margin: 0 auto; }
.page-content h1 { margin-bottom: 1.5rem; font-size: 2.2rem; }
.page-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; color: #1e293b; }
.page-content h3 { margin-top: 1.5rem; margin-bottom: 0.8rem; color: #334155; }
.page-content p { margin-bottom: 1rem; font-size: 1.05rem; }
.check-list li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; }
.alert-box { background: #eff6ff; border-left: 4px solid var(--primary-color); padding: 15px; margin: 20px 0; border-radius: 0 var(--border-radius) var(--border-radius) 0; }
.affiliate-disclaimer { background: #f1f5f9; padding: 10px; border-radius: var(--border-radius); font-size: 0.85rem; color: #64748b; margin-bottom: 20px; border: 1px solid #e2e8f0; }

/* Footer */
.site-footer { background: #1e293b; color: #94a3b8; padding: 60px 0 20px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-col h3 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: white; }
.small-text { font-size: 0.85rem; margin-top: 10px; }
.copyright { border-top: 1px solid #334155; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.9rem; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: white; box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.1); padding: 20px 0; z-index: 1000; border-top: 1px solid #e2e8f0; }
.cookie-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cookie-buttons { display: flex; gap: 10px; }

/* Reviews Page Styles */
.review-tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.tip-card { padding: 20px; border-radius: var(--border-radius); border: 1px solid #e2e8f0; }
.tip-card h3 { margin-bottom: 15px; }
.tip-card ul { list-style: disc; padding-left: 20px; }
.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* Mobile */
@media (max-width: 768px) {
    .header-container { flex-wrap: wrap; }
    .mobile-menu-toggle { display: block; }
    .main-nav { width: 100%; display: none; margin-top: 20px; }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 10px; }
    .hero-content h1 { font-size: 1.8rem; }
    .review-tips-grid, .grid-2-cols { grid-template-columns: 1fr; }
    .featured-product { transform: none; }
}