/* ============================================
   GET WEB REVIEWS — Clean Reviews Theme
   Palette: White bg, deep navy accent, gold stars
   ============================================ */

:root {
    --color-bg: #FFFFFF;
    --color-surface: #F8F9FA;
    --color-surface-2: #F0F2F5;
    --color-border: rgba(0,0,0,0.08);
    --color-navy: #1B2A4A;
    --color-navy-light: #2D4470;
    --color-accent: #2563EB;
    --color-accent-light: rgba(37,99,235,0.08);
    --color-star: #F59E0B;
    --color-star-empty: #E5E7EB;
    --color-green: #10B981;
    --color-red: #EF4444;
    --color-heading: #111827;
    --color-text: #374151;
    --color-text-muted: #6B7280;
    --color-text-faint: #9CA3AF;
    --color-white: #FFFFFF;
    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --max-width: 1200px;
    --content-width: 720px;
    --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--color-text); background: var(--color-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--color-heading); }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo { font-size: 1.25rem; font-weight: 800; color: var(--color-heading); letter-spacing: -0.02em; }
.site-logo span { color: var(--color-accent); }
.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav a { font-size: 0.875rem; font-weight: 500; color: var(--color-text-muted); }
.site-nav a:hover { color: var(--color-accent); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--color-heading); margin: 4px 0; transition: var(--transition); }
.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--color-white); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.mobile-nav.active { opacity: 1; pointer-events: all; }
.mobile-nav a { font-size: 1.5rem; font-weight: 600; color: var(--color-heading); }

/* ============ HERO ============ */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero h1 { margin-bottom: 1rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-subtitle { font-size: 1.125rem; color: var(--color-text-muted); max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }

.hero-categories { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.hero-cat {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-muted);
    transition: var(--transition);
}
.hero-cat:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ============ SECTION ============ */
.section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-desc { font-size: 1rem; color: var(--color-text-muted); }

/* ============ REVIEW CARDS (Post List) ============ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.review-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: var(--color-accent);
}

.review-card-image { display: block; overflow: hidden; }
.review-card-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.3s ease; }
.review-card:hover .review-card-image img { transform: scale(1.03); }

.review-card-content { padding: 1.25rem; }

.review-card-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.review-card-content h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; font-weight: 600; }
.review-card-content h3 a:hover { color: var(--color-accent); }
.review-card-content p { font-size: 0.9375rem; color: var(--color-text-muted); margin-bottom: 0.75rem; line-height: 1.6; }

.review-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--color-text-faint);
}

/* ============ STAR RATING ============ */
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; }
.star-filled { fill: var(--color-star); }
.star-empty { fill: var(--color-star-empty); }

/* ============ VERDICT BOX (used in post content) ============ */
.verdict-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.verdict-box h3 { margin-bottom: 1rem; font-size: 1.25rem; }

.verdict-score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.verdict-label { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pros h4 { color: var(--color-green); margin-bottom: 0.75rem; }
.cons h4 { color: var(--color-red); margin-bottom: 0.75rem; }
.pros li, .cons li { list-style: none; font-size: 0.9375rem; padding: 0.25rem 0; padding-left: 1.25rem; position: relative; }
.pros li::before { content: '✓'; position: absolute; left: 0; color: var(--color-green); font-weight: 700; }
.cons li::before { content: '✗'; position: absolute; left: 0; color: var(--color-red); font-weight: 700; }

/* ============ COMPARISON TABLE ============ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9375rem;
}

.comparison-table th {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table tr:hover td { background: var(--color-surface); }

/* ============ POST CONTENT ============ */
.post-header { padding: 5rem 0 2rem; text-align: center; }
.post-header .review-card-tag { margin-bottom: 1rem; }
.post-title { margin-bottom: 1rem; }
.post-excerpt { font-size: 1.125rem; color: var(--color-text-muted); margin-bottom: 1.5rem; max-width: 650px; margin-left: auto; margin-right: auto; }
.post-meta-header { font-size: 0.875rem; color: var(--color-text-faint); }

.post-feature-image { max-width: 900px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.post-feature-image img { border-radius: 12px; }

.post-content { max-width: var(--content-width); margin: 0 auto; padding: 0 1.5rem 4rem; }
.post-content p { font-size: 1.0625rem; line-height: 1.85; margin-bottom: 1.5rem; }
.post-content h2 { margin: 2.5rem 0 1rem; }
.post-content h3 { margin: 2rem 0 0.75rem; }
.post-content img { border-radius: 8px; margin: 2rem 0; }
.post-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.post-content a:hover { color: var(--color-navy); }
.post-content blockquote { border-left: 3px solid var(--color-accent); padding-left: 1.5rem; margin: 2rem 0; font-style: italic; color: var(--color-text-muted); }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-content li { list-style: disc; margin-bottom: 0.5rem; line-height: 1.8; }
.post-content ol li { list-style: decimal; }

/* ============ RELATED / TAGS ============ */
.post-tags { max-width: var(--content-width); margin: 0 auto; padding: 0 1.5rem 3rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.post-tag-link { font-size: 0.8125rem; padding: 0.375rem 0.875rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; color: var(--color-text-muted); }
.post-tag-link:hover { border-color: var(--color-accent); color: var(--color-accent); }

.related-section { padding: 4rem 0; border-top: 1px solid var(--color-border); background: var(--color-surface); }
.related-title { text-align: center; margin-bottom: 2rem; }

/* ============ PAGE ============ */
.page-header { padding: 5rem 0 2rem; text-align: center; }
.page-content { max-width: 800px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.page-content p { font-size: 1.0625rem; line-height: 1.85; margin-bottom: 1.5rem; }
.page-content h2 { margin: 2.5rem 0 1rem; }
.page-content h3 { margin: 2rem 0 0.75rem; }

/* ============ ARCHIVE ============ */
.archive-header { padding: 5rem 0 2rem; text-align: center; border-bottom: 1px solid var(--color-border); }
.archive-desc { font-size: 1rem; color: var(--color-text-muted); margin-top: 0.5rem; }

/* ============ FOOTER ============ */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 2rem;
    background: var(--color-surface);
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p { color: var(--color-text-muted); font-size: 0.9375rem; line-height: 1.7; margin-top: 0.5rem; }

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: 0.75rem;
}

.footer-col li { margin-bottom: 0.375rem; }
.footer-col a { color: var(--color-text-muted); font-size: 0.875rem; }
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}

.footer-bottom p { font-size: 0.8125rem; color: var(--color-text-faint); }

/* ============ PAGINATION ============ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 3rem 0 0; }
.pagination a { font-size: 0.875rem; font-weight: 600; color: var(--color-accent); }
.pagination a:hover { color: var(--color-navy); }
.pagination .page-number { font-size: 0.8125rem; color: var(--color-text-faint); }

/* ============ ERROR ============ */
.error-page { padding: 6rem 0; text-align: center; }
.error-code { font-size: 5rem; color: var(--color-text-faint); margin-bottom: 0.5rem; }
.error-message { font-size: 1.125rem; color: var(--color-text-muted); margin-bottom: 2rem; }

/* ============ BROWSE BUTTON ============ */
.btn-browse {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-muted);
    transition: var(--transition);
}
.btn-browse:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ============ NEWSLETTER ============ */
.newsletter-section {
    padding: 4rem 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.newsletter-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-card h2 { margin-bottom: 0.75rem; }
.newsletter-card p { color: var(--color-text-muted); margin-bottom: 1.5rem; line-height: 1.7; }

.btn-newsletter {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    background: #E84685;
    color: #FFFFFF;
    border-radius: 8px;
    transition: var(--transition);
}
.btn-newsletter:hover { background: #D13A75; transform: translateY(-2px); }

/* ============ TRUST / WHY WE REVIEW ============ */
.trust-section { padding-bottom: 5rem; }

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: var(--transition);
}

.trust-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.trust-icon { font-size: 2rem; margin-bottom: 1rem; }
.trust-card h3 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.trust-card p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.7; }

/* ============ GHOST CARD WIDTHS ============ */
.kg-width-wide { max-width: 1040px; margin-left: auto; margin-right: auto; }
.kg-width-full { max-width: none; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
.kg-width-full img { width: 100%; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .site-nav { display: none; }
    .menu-toggle { display: block; }
    .mobile-nav { display: flex; }
    .reviews-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .hero { padding: 3rem 0; }
    .hero-categories { gap: 0.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
