:root {
    --primary: #2d5a27;
    --secondary: #8b4513;
    --accent: #daa520;
    --bg-primary: #fefefe;
    --bg-secondary: #f5f0e8;
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --border-radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.header { background: white; box-shadow: var(--card-shadow); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--primary); }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), #4a7c43); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; }
.logo span { color: var(--secondary); }
.nav { display: flex; gap: 6px; }
.nav-link { padding: 8px 14px; border-radius: 8px; color: var(--text-primary); font-weight: 500; font-size: 15px; transition: all 0.2s; }
.nav-link:hover { background: var(--bg-secondary); color: var(--primary); text-decoration: none; }
.nav-link.active { background: var(--primary); color: white; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; padding: 8px; }
.page-header { background: linear-gradient(135deg, var(--primary), #4a7c43); padding: 60px 0; text-align: center; color: white; }
.page-header h1 { font-size: 42px; margin-bottom: 8px; }
.page-header p { opacity: 0.9; font-size: 18px; }
.section { padding: 50px 0; }
.card { background: white; border-radius: var(--border-radius); padding: 24px; box-shadow: var(--card-shadow); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #234a1e; }
.btn-secondary { background: var(--secondary); color: white; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); font-size: 14px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 14px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 15px; transition: border-color 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); }
.tools-grid, .articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.tool-card, .article-card { background: white; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--card-shadow); transition: transform 0.2s, box-shadow 0.2s; }
.tool-card:hover, .article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.tool-icon { width: 64px; height: 64px; margin: 20px auto 12px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: white; font-size: 28px; }
.tool-card h3 { font-size: 17px; text-align: center; margin-bottom: 6px; padding: 0 16px; }
.tool-card p { font-size: 14px; color: var(--text-secondary); text-align: center; padding: 0 16px 16px; }
.tool-link { display: block; padding: 16px; text-align: center; background: var(--bg-secondary); color: var(--primary); font-weight: 600; border-radius: 0 0 var(--border-radius) var(--border-radius); }
.article-image { height: 180px; overflow: hidden; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-card:hover .article-image img { transform: scale(1.05); }
.article-info { padding: 16px; }
.article-category { display: inline-block; padding: 4px 10px; background: var(--bg-secondary); color: var(--primary); border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.article-card h3 { font-size: 18px; margin-bottom: 6px; line-height: 1.4; }
.article-card p { color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; }
.article-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-secondary); }
.article-content { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.article-content img { width: 100%; border-radius: var(--border-radius); margin: 24px 0; }
.article-content h2 { color: var(--primary); margin: 32px 0 16px; font-size: 26px; }
.article-content p { margin-bottom: 16px; font-size: 17px; line-height: 1.8; color: var(--text-secondary); }
.article-content .lead { font-size: 20px; color: var(--text-primary); line-height: 1.7; }
.article-tags { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag { padding: 6px 14px; background: var(--bg-secondary); border-radius: 20px; font-size: 13px; color: var(--text-secondary); }
.footer { background: var(--primary); color: white; padding: 40px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer h4 { margin-bottom: 16px; font-size: 16px; }
.footer a { color: rgba(255,255,255,0.8); font-size: 14px; display: block; margin-bottom: 8px; }
.footer a:hover { color: white; text-decoration: none; }
.footer-bottom { text-align: center; padding: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; opacity: 0.8; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: white; padding: 30px; border-radius: var(--border-radius); text-align: center; box-shadow: var(--card-shadow); }
.stat-number { font-size: 42px; font-weight: 700; color: var(--primary); }
.stat-label { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }
.ads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ad-card { background: white; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--card-shadow); }
.ad-card img { width: 100%; height: 200px; object-fit: cover; }
.ad-info { padding: 16px; }
.ad-category { display: inline-block; padding: 4px 10px; background: var(--accent); color: white; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.ad-card h3 { font-size: 16px; margin-bottom: 8px; }
.ad-card .price { font-size: 20px; font-weight: 700; color: var(--primary); }
.ad-card .location { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }
@media (max-width: 768px) {
    .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 16px; box-shadow: var(--card-shadow); }
    .nav.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .page-header h1 { font-size: 28px; }
}
