/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    --primary-color: #1e272e;     /* Dark Charcoal */
    --accent-color: #0fbcf9;      /* Bright Blue */
    --btn-color: #ff5e57;         /* Red-Orange */
    --btn-hover: #ff3f34;
    --bg-gradient: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%); /* Soft modern gradient */
    --card-bg: #ffffff;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.site-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1.2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-highlight { color: var(--accent-color); font-weight: 400; }
.logo-tagline { 
    display: block; 
    font-size: 0.7rem; 
    color: #b2bec3; 
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: -3px;
}

.main-nav ul { display: flex; gap: 30px; }
.main-nav a { 
    color: rgba(255,255,255,0.8); 
    font-weight: 500; 
    font-size: 0.9rem; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.main-nav a:hover { color: var(--accent-color); }
.nav-toggle, .nav-toggle-label { display: none; }

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 0 4rem 0;
    text-align: center;
    border-bottom-left-radius: 50% 10px;
    border-bottom-right-radius: 50% 10px;
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1rem;
    color: #dfe6e9;
    max-width: 650px;
    margin: 0 auto 15px auto;
}

.updated-date {
    font-size: 0.8rem;
    color: var(--accent-color) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
}

/* =========================================
   4. FILTERS & UTILS
   ========================================= */
.filter-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.filter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.disclosure-link a { color: var(--text-muted); font-size: 0.8rem; }
.disclosure-link a:hover { color: var(--btn-color); }

/* =========================================
   5. PRODUCT CARDS
   ========================================= */
.main-content { padding: 40px 15px; }

.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* #1 Product Special Styling */
.top-pick {
    border: 2px solid var(--accent-color);
    background: #fafffe;
}

.ribbon-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent-color);
    color: #fff;
    padding: 6px 15px;
    border-bottom-right-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 10;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.rank-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 32px;
    height: 32px;
    background: #f1f2f6;
    color: var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: 160px 1fr 140px 160px;
    align-items: center;
    padding: 25px 20px;
    gap: 20px;
}

.col-logo img { max-height: 55px; margin: 0 auto; }

.col-features { padding-left: 10px; }
.feature-list li {
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: #555;
}
.feature-list i { color: var(--accent-color); margin-right: 8px; }
.review-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: underline;
    display: inline-block;
    margin-top: 5px;
}
.review-link:hover { color: var(--btn-color); }

.col-score { text-align: center; border-left: 1px solid #eee; border-right: 1px solid #eee; }
.score-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #b2bec3;
    letter-spacing: 1px;
}
.score-val {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.1;
}
.stars { color: #f1c40f; font-size: 0.8rem; margin-top: 3px; }

.col-action { text-align: center; }
.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    width: 100%;
    transition: 0.2s;
}

.btn-primary {
    background-color: var(--btn-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 94, 87, 0.3);
}
.btn-primary:hover { background-color: var(--btn-hover); color: #fff; transform: translateY(-2px); }

.btn-secondary {
    background-color: transparent;
    border: 2px solid #dfe6e9;
    color: var(--text-muted);
}
.btn-secondary:hover { border-color: var(--accent-color); color: var(--accent-color); }

/* =========================================
   6. DISCLOSURE & FOOTER
   ========================================= */
.disclosure-box {
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    font-size: 0.8rem;
    color: #7f8c8d;
    border: 1px solid #eee;
}
.disclosure-box h4 { margin-bottom: 8px; color: var(--primary-color); font-size: 0.9rem; }

.site-footer {
    background: var(--primary-color);
    color: #b2bec3;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
}
.footer-links { margin-bottom: 15px; }
.footer-links a { color: #fff; margin: 0 10px; }

/* =========================================
   7. LEGACY COMPATIBILITY (FIX FOR OTHER PAGES)
   ========================================= */
/* These classes restore basic structure for pages using the old Foundation framework */
.row { width: 100%; max-width: 1200px; margin: 0 auto; display: block; }
.row:before, .row:after { content: " "; display: table; } 
.row:after { clear: both; }

.columns { padding-left: 0.9rem; padding-right: 0.9rem; float: left; position: relative; }
.medium-12 { width: 100%; }
.medium-8 { width: 66.66667%; }
.medium-6 { width: 50%; }
.medium-5 { width: 41.66667%; }
.medium-4 { width: 33.33333%; }
.large-8 { width: 66.66667%; }
.large-4 { width: 33.33333%; }
.large-3 { width: 25%; }
.small-12 { width: 100%; }

/* Basic Fixes for Old Header/Content */
.main-header { background: var(--primary-color); padding: 15px 0; margin-bottom: 20px; }
.site-title { color: #fff; font-size: 1.5rem; font-weight: bold; }
.content-wrapper { padding: 20px; background: #fff; border-radius: 8px; margin-bottom: 20px; }
.button { display: inline-block; padding: 10px 20px; background: var(--accent-color); color: #fff; border-radius: 4px; }

/* =========================================
   8. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .card-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .col-score { border: none; text-align: left; padding-left: 10px; }
    .col-action { text-align: right; }
    .col-logo { grid-column: span 2; text-align: center; padding-bottom: 15px; border-bottom: 1px solid #f5f5f5; }
}

@media (max-width: 768px) {
    .card-grid { grid-template-columns: 1fr; text-align: center; }
    .col-features, .col-score, .col-action { text-align: center; padding: 0; }
    .feature-list { display: inline-block; text-align: left; margin: 15px 0; }
    .col-score { display: none; /* Hide score on mobile to save space */ }
    .main-nav ul { display: none; } /* Simplified menu */
    
    /* Legacy grid mobile fix */
    .columns { width: 100% !important; float: none; }
}
/* =========================================
   9. REVIEW PAGE SPECIFIC STYLES
   ========================================= */
.review-container {
    padding: 40px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.review-main {
    flex: 2;
    min-width: 300px; /* Responsive: stacks on mobile */
}

.review-sidebar {
    flex: 1;
    min-width: 280px;
}

/* Review Header/Hero */
.review-header-block {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-top: 4px solid var(--accent-color);
}

.review-title { font-size: 2rem; margin-bottom: 10px; color: var(--primary-color); }
.review-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

/* Verdict Box */
.verdict-box {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.verdict-score {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.verdict-text h4 { margin-bottom: 5px; color: var(--text-color); }

/* Pros & Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.pros-box, .cons-box {
    padding: 20px;
    border-radius: 8px;
}

.pros-box { background: rgba(39, 174, 96, 0.1); border: 1px solid rgba(39, 174, 96, 0.2); }
.cons-box { background: rgba(231, 76, 60, 0.1); border: 1px solid rgba(231, 76, 60, 0.2); }

.pros-box h5 { color: #27ae60; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.cons-box h5 { color: #c0392b; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }

.pros-box ul li { list-style: none; margin-bottom: 5px; font-size: 0.9rem; position: relative; padding-left: 20px; }
.pros-box ul li:before { content: "✓"; position: absolute; left: 0; color: #27ae60; font-weight: bold; }

.cons-box ul li { list-style: none; margin-bottom: 5px; font-size: 0.9rem; position: relative; padding-left: 20px; }
.cons-box ul li:before { content: "✕"; position: absolute; left: 0; color: #c0392b; font-weight: bold; }

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.1rem;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.top-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 15px;
}
.top-list-item:last-child { border: none; margin: 0; padding: 0; }
.top-list-img { width: 50px; margin-right: 15px; }
.top-list-info h6 { margin-bottom: 3px; font-size: 0.95rem; }
.top-list-rating { color: #f1c40f; font-size: 0.8rem; }

/* Responsive Review */
@media (max-width: 768px) {
    .pros-cons-grid { grid-template-columns: 1fr; }
    .review-container { flex-direction: column; }
}