:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --radius: 8px;
    --max-width: 960px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

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

/* Header */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: sticky; top: 0; z-index: 100;
}
.site-header .container {
    display: flex; justify-content: space-between; align-items: center;
}
.site-title { font-size: 1.2rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.site-nav { display: flex; gap: 20px; align-items: center; }
.site-nav a { color: var(--text-light); text-decoration: none; font-size: 0.9rem; }
.site-nav a:hover { color: var(--primary); }
.lang-switch {
    padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 0.85rem; color: var(--text); text-decoration: none;
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }

/* Main */
main { padding: 40px 0; min-height: 60vh; }

/* Article */
.article { max-width: 720px; margin: 0 auto; }
h1 { font-size: 2rem; line-height: 1.3; margin-bottom: 10px; color: var(--text); }
h2 { font-size: 1.5rem; margin: 30px 0 12px; color: var(--text); }
h3 { font-size: 1.2rem; margin: 24px 0 8px; }
p, li { margin-bottom: 12px; color: var(--text-light); }
a { color: var(--primary); }
img { max-width: 100%; height: auto; }

/* Table */
table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-light); font-weight: 600; color: var(--text); }
tr:hover { background: var(--bg-light); }

/* Price Table */
.price-table-container { margin: 24px 0; }
.price-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price-card {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
    text-align: center; transition: box-shadow 0.2s;
}
.price-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.price-card.recommended {
    border-color: var(--primary); border-width: 2px;
    position: relative;
}
.price-card.recommended::before {
    content: "BEST VALUE"; position: absolute; top: -10px; left: 50%;
    transform: translateX(-50%); background: var(--primary); color: white;
    font-size: 0.7rem; font-weight: 700; padding: 2px 12px; border-radius: 10px;
}
.price-card h3 { margin-bottom: 5px; }
.price-card .price { font-size: 2rem; font-weight: 700; color: var(--text); margin: 10px 0; }
.price-card .price-period { font-size: 0.85rem; color: var(--text-light); }
.price-card .features { list-style: none; margin: 15px 0; text-align: left; }
.price-card .features li { padding: 6px 0; font-size: 0.9rem; }
.price-card .features li::before { content: "✓ "; color: var(--success); font-weight: 700; }

/* Free Badge */
.free-badge {
    display: inline-block; background: #dcfce7; color: #166534;
    padding: 2px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: 600;
}
.free-badge-alt {
    display: inline-block; background: #fef3c7; color: #92400e;
    padding: 2px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: 600;
}

/* CTA */
.cta-box {
    background: var(--primary); color: white; text-align: center;
    padding: 24px; border-radius: var(--radius); margin: 30px 0;
}
.cta-box a { color: white; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.cta-box a:hover { text-decoration: underline; }
.cta-box .cta-sub { font-size: 0.85rem; opacity: 0.85; margin-top: 5px; }

/* Affiliate Disclosure */
.affiliate-disclosure {
    font-size: 0.8rem; color: var(--text-light); padding: 15px 0;
    border-top: 1px solid var(--border); margin-top: 40px; font-style: italic;
}

/* Footer */
.site-footer {
    background: var(--bg-light); border-top: 1px solid var(--border);
    padding: 20px 0; font-size: 0.85rem; color: var(--text-light);
    text-align: center;
}

/* Hero */
.hero { text-align: center; padding: 40px 0; }
.hero h1 { font-size: 2.5rem; }
.hero p { font-size: 1.1rem; max-width: 600px; margin: 15px auto; }
.hero .cta-btn {
    display: inline-block; background: var(--primary); color: white;
    padding: 14px 32px; border-radius: var(--radius); text-decoration: none;
    font-size: 1.1rem; font-weight: 700; margin-top: 10px;
}
.hero .cta-btn:hover { background: var(--primary-dark); }

/* Tool Grid */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 30px 0; }
.tool-card {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
    transition: box-shadow 0.2s;
}
.tool-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.tool-card h2 { margin-top: 0; font-size: 1.2rem; }
.tool-card .rating { color: var(--accent); font-size: 1rem; }
.tool-card .price-tag {
    display: inline-block; margin-top: 10px;
    background: var(--bg-light); padding: 4px 12px; border-radius: 12px;
    font-size: 0.85rem; color: var(--text-light);
}

/* Responsive */
@media (max-width: 640px) {
    h1 { font-size: 1.5rem; }
    .tool-grid { grid-template-columns: 1fr; }
    .price-table { grid-template-columns: 1fr; }
}
