:root {
    --primary: #2563eb; /* Freelancer Blue */
    --secondary: #1e40af;
    --bg-light: #f3f4f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; }

body { background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }

/* Navigation */
nav { background: var(--white); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow); }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); text-decoration: none; }
.nav-links a { margin-left: 20px; text-decoration: none; color: var(--text-dark); font-weight: 500; }
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero { text-align: center; padding: 4rem 1rem; background: var(--white); margin-bottom: 2rem; }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-dark); }
.hero p { color: var(--text-light); font-size: 1.2rem; margin-bottom: 2rem; }
.btn-cta { background: var(--primary); color: white; padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: bold; }

/* Grids */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }

/* Cards */
.card { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: var(--shadow); text-align: center; transition: transform 0.2s; }
.card:hover { transform: translateY(-5px); }
.card h3 { margin-bottom: 0.5rem; }
.card a { text-decoration: none; color: inherit; }
.icon { font-size: 2rem; margin-bottom: 1rem; display: block; }

/* Tool UI Area */
.tool-workspace { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: var(--shadow); margin: 2rem 0; text-align: center; border: 2px dashed #e5e7eb; }
.tool-controls { margin-top: 1rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
textarea { width: 100%; height: 200px; padding: 1rem; border: 1px solid #ddd; border-radius: 6px; resize: vertical; }
.result-box { margin-top: 1rem; padding: 1rem; background: #eff6ff; border-radius: 6px; font-weight: bold; }

/* Content Section (SEO) */
.seo-content { max-width: 800px; margin: 0 auto 4rem auto; }
.seo-content h2 { margin-top: 2rem; margin-bottom: 1rem; }

/* Footer */
footer { background: var(--text-dark); color: var(--white); padding: 3rem 1rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { margin-bottom: 1rem; color: var(--primary); }
.footer-col ul { list-style: none; }
.footer-col a { color: #d1d5db; text-decoration: none; display: block; margin-bottom: 0.5rem; }

/* Ads Placeholder */
.ad-banner { background: #eee; height: 100px; display: flex; align-items: center; justify-content: center; margin: 2rem 0; color: #999; border: 1px solid #ddd; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; } /* Simplified for mobile */
}