:root {
    --primary-blue: #004a99;
    --primary-dark: #003366;
    --gold: #d4af37;
    --green-check: #28b01b;
    --red-warn: #c0392b;
    --bg-light: #f4f7f9;
    --bg-cream: #fffde7;
    --text-dark: #2c2c2c;
    --text-mid: #555;
    --border-color: #e0e0e0;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-strong: 0 4px 24px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #fff;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; height: auto; }

/* ===================== HEADER ===================== */
.main-header {
    border-bottom: 2px solid var(--primary-blue);
    padding: 18px 0;
    text-align: center;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary-blue);
    font-weight: 500;
}

.header-meta {
    font-size: 0.82rem;
    color: #666;
    margin-top: 4px;
}

.disclosure {
    font-size: 0.7rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ===================== HERO ===================== */
.hero {
    text-align: center;
    padding: 50px 0 30px;
}

h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.2;
    color: var(--text-dark);
}

.subheadline {
    font-size: 1.15rem;
    color: var(--text-mid);
    margin-bottom: 0;
}

.anchor-nav {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: #fff;
}

.btn-solid {
    background: var(--primary-blue);
    color: #fff;
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-solid:hover {
    background: var(--primary-dark);
}

/* ===================== EDITOR NOTE ===================== */
.editor-note {
    background-color: var(--bg-cream);
    border-left: 5px solid #ffd600;
    padding: 22px 24px;
    margin: 24px 0;
    font-size: 0.95rem;
    border-radius: 0 8px 8px 0;
}

.important-text {
    border-top: 1px solid #eee;
    padding-top: 16px;
    margin-top: 16px;
}

/* ===================== HERO IMAGE ===================== */
.hero-image {
    margin: 30px 0;
    text-align: center;
}

.full-width-img {
    border-radius: 10px;
    box-shadow: var(--shadow-strong);
    width: 100%;
}

/* ===================== CONTENT SECTIONS ===================== */
.content-section {
    margin: 40px 0;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.content-section p {
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.highlight {
    background: var(--bg-light);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    font-size: 1.05rem !important;
    margin: 20px 0;
}

/* Info Block (Icon + Text side by side) */
.info-block {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg-light);
    padding: 28px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.info-icon { flex-shrink: 0; }
.info-icon img { width: 120px; height: 120px; }
.info-text { flex: 1; }
.info-text h2 { margin-top: 0; }

/* Content Image */
.content-image {
    margin: 24px 0;
    text-align: center;
}

.rounded-img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 600px;
}

/* Benefit Lists */
.benefit-list, .warning-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.benefit-list li, .warning-list li {
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.benefit-list li {
    background: #e8f5e9;
    color: #2e7d32;
}

.benefit-list li::before { content: "✅  "; }

.benefit-list.green li {
    background: #e0f2f1;
    color: #00695c;
}

.warning-list li {
    background: #fce4ec;
    color: #c62828;
}

.warning-list li::before { content: "⚠️  "; }

/* Type Cards */
.type-card {
    background: var(--bg-light);
    padding: 18px 22px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 4px solid var(--primary-blue);
}

.type-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--primary-blue);
}

.type-card p { margin: 0; font-size: 0.9rem; }

/* Tip Box */
.tip-box {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    padding: 28px;
    border-radius: 12px;
    border: 2px solid #ff9800;
}

.tip-box h2 { color: #e65100; }

/* Mistake Items */
.mistake-list { margin-top: 16px; }

.mistake-item {
    background: #fff8e1;
    padding: 18px 22px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 4px solid #ff9800;
}

.mistake-item h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.mistake-item p { margin: 0; font-size: 0.9rem; }

/* ===================== BEST OF SECTION ===================== */
.best-of-section {
    margin: 50px 0;
}

.best-header {
    text-align: center;
    margin-bottom: 30px;
}

.best-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
}

.award-icon { width: 60px; margin-bottom: 10px; }

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background: #fff;
}

th, td {
    border: 1px solid #f0f0f0;
    padding: 14px 12px;
    font-size: 0.88rem;
}

thead th {
    background: var(--primary-blue);
    color: #fff;
    font-weight: 700;
    padding: 16px 12px;
}

thead th:first-child {
    background: var(--primary-dark);
}

thead th img { width: 70px; border-radius: 6px; }

tbody td:first-child {
    text-align: left;
    font-weight: 600;
    background: #fafafa;
    white-space: nowrap;
}

tbody tr:hover { background: #f8f9ff; }

.rating {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--text-mid);
}

.rating.gold {
    color: var(--gold);
    text-shadow: 0 1px 3px rgba(212,175,55,0.3);
}

/* ===================== PRODUCT CARDS ===================== */
.product-card {
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    margin-bottom: 30px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: var(--shadow-strong);
}

.product-card.featured {
    border-color: var(--primary-blue);
    background: linear-gradient(180deg, #f0f4ff 0%, #fff 40%);
}

.rank-badge {
    background: var(--primary-blue);
    color: #fff;
    padding: 12px 24px;
    font-weight: 800;
    font-size: 1.1rem;
    display: block;
}

.rank-badge.secondary {
    background: #546e7a;
}

.rank-badge .by-brand {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.8;
}

.card-layout {
    display: flex;
    padding: 24px;
    gap: 30px;
}

.product-visuals {
    flex: 0 0 220px;
    text-align: center;
}

.main-prod-img {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
}

.rating-stars {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-check);
}

.star-img { height: 18px; }

.reviews-count {
    font-size: 0.78rem;
    color: #888;
    margin-top: 4px;
}

.product-info {
    flex: 1;
}

.grade-badge {
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1;
}

.grade-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 4px;
}

.grade-badge.alt { color: #2e7d32; }
.grade-badge.avg { color: #e65100; }

.product-info h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin: 16px 0 8px;
}

.pros, .cons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros li, .cons li {
    margin-bottom: 6px;
    font-size: 0.88rem;
    line-height: 1.4;
}

.pros li { font-weight: 600; }
.cons li { color: #888; font-size: 0.82rem; }

/* Bottom Line */
.bottom-line {
    padding: 24px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.bottom-line h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: var(--text-dark) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.bottom-line p {
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.cta-button {
    display: block;
    background: linear-gradient(180deg, #6DDD70, #4FBF52 50%);
    color: #fff;
    text-align: center;
    padding: 18px 24px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 8px;
    font-size: 1.15rem;
    margin-top: 16px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(79,191,82,0.3);
}

.cta-button:hover {
    background: linear-gradient(180deg, #777CE1, #6366F1 50%);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
    transform: translateY(-1px);
}

.cta-button.secondary-cta {
    background: var(--primary-blue);
    font-size: 1rem;
    padding: 14px 20px;
    box-shadow: 0 4px 12px rgba(0,74,153,0.2);
}

.cta-button.secondary-cta:hover {
    background: var(--primary-dark);
}

.social-proof {
    text-align: center;
    font-size: 0.82rem;
    color: #888;
    margin-top: 12px;
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    text-align: center;
    background: linear-gradient(135deg, #e3f2fd, #f0f4ff);
    padding: 40px 30px;
    border-radius: 16px;
    margin-top: 40px;
    border: 2px solid var(--primary-blue);
}

.final-cta h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.final-cta p { font-size: 1rem; max-width: 600px; margin: 0 auto 20px; }

/* ===================== REFERENCES ===================== */
.references {
    margin: 40px 0;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    font-size: 0.8rem;
}

.references h3 { margin: 0 0 8px; font-size: 0.9rem; }
.references a { color: var(--primary-blue); word-break: break-all; }

/* ===================== FOOTER ===================== */
.main-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 40px 0;
    font-size: 0.78rem;
    margin-top: 60px;
    text-align: center;
}

.disclaimer {
    opacity: 0.5;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-nav {
    margin-top: 12px;
}

.footer-nav a {
    color: #aaa;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.copyright {
    opacity: 0.4;
    font-size: 0.75rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    h1 { font-size: 1.7rem; }

    .card-layout {
        flex-direction: column;
        padding: 16px;
    }

    .product-visuals { flex: none; }

    .anchor-nav { flex-direction: column; align-items: center; }

    .info-block {
        flex-direction: column;
        text-align: center;
    }

    .benefit-list, .warning-list {
        grid-template-columns: 1fr;
    }

    .grade-badge { font-size: 1.5rem; }

    .main-header { position: static; }

    thead th img { width: 50px; }

    td, th { padding: 10px 6px; font-size: 0.78rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    h1 { font-size: 1.45rem; }
    .cta-button { font-size: 1rem; padding: 16px; }
}