/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Primary — Vibrant Blue */
    --primary: #3B82F6;
    --primary-hover: #2563EB;
    --primary-light: #EFF6FF;

    /* Secondary — Soft Orange (CTA, accents) */
    --secondary: #F97316;
    --secondary-hover: #EA580C;
    --secondary-light: #FFF7ED;

    /* Neutrals */
    --bg: #F8FAFC;
    --bg-secondary: #F1F5F9;
    --text: #1E293B;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;

    /* Dark surfaces */
    --dark: #0B1121;
    --dark-secondary: #1E293B;

    /* Status */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-hover));
    --gradient-cta: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    --gradient-hero: linear-gradient(135deg, var(--dark), var(--dark-secondary));

    /* Shadows */
    --shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; }

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

h1, h2, h3, h4 { line-height: 1.2; }
h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 15px; cursor: pointer; transition: all .2s; border: 2px solid transparent;
    text-decoration: none; white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-primary); color: #fff; border: none;
}
.btn-primary:hover {
    transform: translateY(-2px); box-shadow: var(--shadow-lg);
    filter: brightness(1.05); color: #fff;
}
.btn-outline {
    background: transparent; color: var(--text); border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-light);
}
/* Outline button on dark backgrounds */
.hero .btn-outline,
.site-footer .btn-outline,
.nav-links .btn-outline {
    color: #fff; border-color: rgba(255,255,255,0.3); background: transparent;
}
.hero .btn-outline:hover,
.site-footer .btn-outline:hover,
.nav-links .btn-outline:hover {
    background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.6);
}
.btn-donate {
    background: var(--gradient-cta); color: #fff; border: none;
}
.btn-donate:hover {
    transform: translateY(-2px); box-shadow: var(--shadow-lg);
    filter: brightness(1.05); color: #fff;
}
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-full { width: 100%; }
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: 4px; }
.btn-danger { background: var(--color-error); color: #fff; border: none; }
.btn-danger:hover { background: #dc2626; color: #fff; }

/* ===== NAVBAR ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--dark);
}
.navbar { position: relative; }
.nav-inner {
    display: flex; align-items: center; height: 64px;
}
.logo {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
    color: #fff; font-weight: 700; font-size: 18px;
    flex-shrink: 0;
}
.logo img { width: 36px; height: 36px; }
.nav-menus {
    flex: 1; display: flex; justify-content: space-between; align-items: center;
}
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
    padding: 8px 14px; border-radius: var(--radius-sm);
    color: #cbd5e1; font-weight: 500; font-size: 15px;
    transition: all .15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-main {
    flex: 1; justify-content: center;
}
.nav-auth {
    flex-shrink: 0;
}
.nav-links .btn-donate {
    color: #fff; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(249,115,22,0.3);
}
.nav-links .btn-donate:hover {
    color: #fff; background: var(--gradient-cta);
}

.dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--dark); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-xl);
    padding: 8px 0; min-width: 200px; z-index: 200; list-style: none;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block; padding: 10px 16px; white-space: nowrap;
    color: #cbd5e1;
}
.dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.dropdown-divider { border-top: 1px solid rgba(255,255,255,0.08); margin: 4px 12px; }

/* Mega Menu */
.mega-menu {
    display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: var(--dark); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-xl);
    padding: 32px; width: 100vw; max-width: 1100px; z-index: 200;
}
.dropdown:hover .mega-menu { display: block; }
.mega-menu-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px;
}
.mega-menu-col h4 {
    color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .5px;
    margin-bottom: 10px; padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mega-menu-col a {
    display: block; padding: 5px 0; color: #9ca3af; font-size: 14px;
    white-space: nowrap; transition: all .15s;
}
.mega-menu-col a:hover { color: #fff; background: none; padding-left: 4px; }
.mega-menu-footer {
    margin-top: 20px; padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08); text-align: center;
}
.mega-menu-footer a { color: var(--primary); font-weight: 600; font-size: 14px; }
.mega-menu-footer a:hover { color: #fff; }

/* Badges */
.badge-popular {
    display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
    background: var(--secondary); color: #fff; padding: 2px 6px;
    border-radius: 4px; vertical-align: middle; margin-left: 6px; line-height: 1.4;
}
.badge-new {
    display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
    background: var(--color-success); color: #fff; padding: 2px 6px;
    border-radius: 4px; vertical-align: middle; margin-left: 6px; line-height: 1.4;
}

.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .2s; }

/* ===== HERO ===== */
.hero {
    padding: 56px 0 64px; text-align: center;
    background: var(--gradient-hero); color: #fff;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    margin-bottom: 48px;
}
.hero h1 {
    font-size: 2.75rem; margin-bottom: 12px;
    background: linear-gradient(135deg, #FFFFFF, var(--text-muted));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-h2 { font-size: 1.3rem; color: #fff; margin-bottom: 10px; font-weight: 600; }
.hero-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 680px; margin: 0 auto 32px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.tools-section { padding: 64px 0; background: var(--bg-secondary); }
.section-title { text-align: center; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--text-secondary); max-width: 560px; margin: 0 auto 48px; font-size: 1.05rem; }

/* ===== TOOL CARDS ===== */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.tool-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 32px 28px; transition: all .25s; text-align: center;
    box-shadow: var(--shadow);
}
.tool-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}
.tool-icon { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--primary); }
.tool-card h3 { margin-bottom: 8px; }
.tool-card p { color: var(--text-secondary); margin-bottom: 20px; font-size: 14px; }

/* ===== TRUST SECTION ===== */
.trust-section { padding: 64px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 40px; }
.trust-item { text-align: center; padding: 24px; }
.trust-icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--primary); }
.trust-item h4 { margin-bottom: 6px; }
.trust-item p { color: var(--text-secondary); font-size: 14px; }

/* ===== DONATE SECTION ===== */
.donate-section { padding: 64px 0; background: var(--secondary-light); text-align: center; }

/* ===== AUDIENCE SECTION ===== */
.audience-section { padding: 64px 0; }
.audience-section .trust-item h4 { color: var(--primary); }

/* ===== CTA SECTION ===== */
.cta-section { padding: 64px 0; background: var(--bg-secondary); text-align: center; }
.donate-cta { margin-top: 24px; }

/* ===== TOOL PAGES ===== */
.tool-page { padding: 48px 0 64px; }
.tool-header { margin-bottom: 32px; }
.tool-header h1 { margin-bottom: 8px; }
.tool-header p { color: var(--text-secondary); font-size: 1.05rem; }
.breadcrumb { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }

.tool-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.tool-sidebar { position: sticky; top: 80px; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; margin-bottom: 16px; }
.sidebar-card h4 { margin-bottom: 12px; }
.sidebar-card ul { padding-left: 20px; font-size: 14px; color: var(--text-secondary); }
.sidebar-card li { margin-bottom: 6px; }
.sidebar-ad { margin-bottom: 16px; }

@media (max-width: 860px) {
    .tool-layout { grid-template-columns: 1fr; }
    .tool-sidebar { position: static; }
}

/* ===== FORMS ===== */
.tool-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-group .required { color: var(--color-error); }
.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="color"],
.form-group select,
.form-group textarea {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 15px; font-family: inherit; transition: border-color .2s; background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { resize: vertical; }

/* Word Counter */
.wc-textarea {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 15px; font-family: inherit; line-height: 1.6; resize: none; min-height: 280px;
    transition: border-color .2s; background: #fff;
}
.wc-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.tool-sidebar .stats-grid { grid-template-columns: 1fr 1fr; margin-top: 0; }
.tool-sidebar .stats-grid .stat-card { padding: 14px 10px; }
.tool-sidebar .stats-grid .stat-number { font-size: 1.5rem; }
.form-group small { display: block; color: var(--text-secondary); font-size: 12px; margin-top: 4px; }
.form-group input[type="color"] { width: 60px; height: 40px; padding: 2px; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
fieldset { border: none; padding: 0; margin-bottom: 20px; }
fieldset legend { font-weight: 700; font-size: 16px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); width: 100%; }

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== STATS GRID ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 24px 0; }
.stat-card { background: var(--primary-light); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { display: block; font-size: 12px; color: var(--text-secondary); margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }

.tool-actions { display: flex; gap: 12px; margin-top: 12px; }

/* ===== SUCCESS / ERROR BOXES ===== */
.success-box { background: #ecfdf5; border: 1px solid var(--color-success); border-radius: var(--radius-sm); padding: 20px; margin-bottom: 20px; }
.success-box h3 { color: #059669; margin-bottom: 8px; }
.error-box { background: #fef2f2; border: 1px solid var(--color-error); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 20px; }
.error-box p { color: #dc2626; font-size: 14px; margin-bottom: 4px; }
.error-box p:last-child { margin-bottom: 0; }

/* ===== COPY FIELD ===== */
.copy-field { display: flex; gap: 8px; margin: 8px 0; }
.copy-field input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; background: var(--bg-secondary); }
.copy-field input:focus { outline: none; border-color: var(--primary); }

/* ===== TABLE ===== */
.recent-links { margin-top: 32px; }
.recent-links h3 { margin-bottom: 12px; }
.links-table-wrap { overflow-x: auto; }
.links-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.links-table th { background: var(--bg-secondary); padding: 10px 12px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--border); }
.links-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.links-table .truncate { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.links-table a { font-family: monospace; font-size: 13px; }

/* ===== AFFILIATE BOX ===== */
.affiliate-box {
    background: #fff; border: 1px solid var(--primary); border-radius: var(--radius);
    padding: 28px; margin-top: 32px; text-align: center;
    box-shadow: var(--shadow);
}
.affiliate-box h3 { margin-bottom: 8px; }
.affiliate-box p { color: var(--text-secondary); margin-bottom: 16px; }

/* ===== ADS ===== */
.ad-container { text-align: center; padding: 16px 0; overflow: hidden; }
.ad-content { text-align: center; padding: 24px 0; margin: 0 auto; }
.ad-footer { text-align: center; padding: 24px 0 0; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark); color: #d1d5db;
    padding: 48px 0 0; margin-top: 64px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 24px; padding-bottom: 32px;
}
@media (max-width: 1100px) {
    .footer-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #9ca3af; font-size: 14px; }
.footer-col ul a:hover { color: var(--primary); }
.footer-col .btn-donate { font-size: 14px; }
.affiliate-disclaimer { font-size: 12px; color: var(--text-secondary); margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: #6b7280; }

/* ===== BIO PAGE ===== */
.bio-page { display: flex; justify-content: center; align-items: flex-start; min-height: 100vh; padding: 40px 20px; }
.bio-container { width: 100%; max-width: 480px; text-align: center; }
.bio-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; border: 3px solid #fff; box-shadow: var(--shadow); }
.bio-title { font-size: 1.5rem; margin-bottom: 8px; }
.bio-desc { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; }
.bio-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.bio-btn { display: block; padding: 14px 20px; color: #fff; font-weight: 600; text-align: center; transition: all .2s; text-decoration: none; font-size: 15px; border-radius: var(--radius-sm); }
.bio-btn:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.bio-ad { margin-bottom: 24px; }
.bio-footer { font-size: 13px; color: var(--text-secondary); margin-top: 32px; }

/* ===== ERROR PAGE ===== */
.error-page { padding: 100px 0; text-align: center; }
.error-content h1 { font-size: 6rem; color: var(--primary); line-height: 1; }
.error-content h2 { margin: 12px 0; }
.error-content p { color: var(--text-secondary); margin-bottom: 24px; }
.error-actions { display: flex; gap: 12px; justify-content: center; }

/* ===== BLOG ===== */
.blog-page { padding: 48px 0 64px; }

/* Blog Layout */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.blog-main { min-width: 0; }
.blog-listing-header { margin-bottom: 32px; }
.blog-listing-header h1 { margin-bottom: 8px; }
.blog-subtitle { color: var(--text-secondary); font-size: 1rem; }

/* Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: all .2s; box-shadow: var(--shadow);
}
.blog-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.blog-card-image { display: block; height: 180px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-card-category {
    display: inline-block; font-size: 12px; font-weight: 600; color: var(--primary);
    text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px;
}
.blog-card-title { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card-title a { color: var(--text); text-decoration: none; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt {
    color: var(--text-secondary); font-size: 14px; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-meta { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* Blog Pagination */
.blog-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; align-items: center; }
.pagination a,
.pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; text-decoration: none; color: var(--text); background: #fff; transition: all .15s; }
.pagination a:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.pagination-current { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; font-weight: 600; }
.pagination-dots { border: none !important; background: transparent !important; color: var(--text-muted) !important; min-width: auto !important; }
.pagination-prev,
.pagination-next { font-weight: 500; }

/* Single Post */
.blog-article-full { max-width: 720px; }
.blog-header h1 { margin-bottom: 12px; }
.blog-meta { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.blog-meta-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-meta-tags a { color: var(--primary); font-size: 13px; }
.blog-featured-image { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.blog-featured-image img { width: 100%; display: block; }
.blog-content { line-height: 1.8; color: var(--text); }
.blog-content h2 { margin: 32px 0 12px; font-size: 1.5rem; }
.blog-content h3 { margin: 24px 0 10px; font-size: 1.2rem; }
.blog-content p { margin-bottom: 16px; color: var(--text-secondary); }
.blog-content ul, .blog-content ol { margin: 0 0 16px 24px; color: var(--text-secondary); }
.blog-content li { margin-bottom: 6px; }
.blog-content pre { background: var(--dark-secondary); color: #e2e8f0; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; margin-bottom: 16px; font-size: 14px; }
.blog-content code { background: var(--bg-secondary); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.blog-content pre code { background: none; padding: 0; }
.blog-content blockquote { border-left: 4px solid var(--primary); padding-left: 16px; margin: 0 0 16px; color: var(--text-secondary); font-style: italic; }
.blog-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; }
.blog-cta { background: var(--primary-light); border-radius: var(--radius); padding: 32px; text-align: center; margin-top: 40px; }
.blog-cta h2, .blog-cta h3 { margin-bottom: 8px; }
.blog-cta p { color: var(--text-secondary); margin-bottom: 16px; }

/* Blog Sidebar */
.blog-sidebar { position: sticky; top: 24px; align-self: start; }
.blog-sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.blog-sidebar-widget h3 { font-size: 1rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.blog-search-form { display: flex; gap: 8px; }
.blog-search-form input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; }
.blog-search-form input:focus { outline: none; border-color: var(--primary); }
.blog-categories { list-style: none; }
.blog-categories li { margin-bottom: 4px; }
.blog-categories a { display: flex; justify-content: space-between; padding: 6px 0; color: var(--text); font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--bg-secondary); }
.blog-categories a:hover, .blog-categories a.active { color: var(--primary); }
.blog-categories .count { color: var(--text-muted); font-size: 12px; background: var(--bg-secondary); padding: 2px 8px; border-radius: var(--radius-full); }
.blog-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-tag { display: inline-block; padding: 4px 10px; background: var(--bg-secondary); border-radius: var(--radius-full); font-size: 12px; color: var(--text-secondary); text-decoration: none; }
.blog-tag:hover, .blog-tag.active { background: var(--primary); color: #fff; }
.blog-related { list-style: none; }
.blog-related li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--bg-secondary); }
.blog-related li:last-child { border-bottom: none; }
.blog-related a { font-size: 14px; color: var(--text); text-decoration: none; font-weight: 500; }
.blog-related a:hover { color: var(--primary); }
.blog-related small { display: block; color: var(--text-muted); font-size: 11px; }

/* Comments */
.blog-comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.blog-comments h3 { margin-bottom: 20px; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--bg-secondary); }
.comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.comment-header strong { font-size: 14px; }
.comment-header time { font-size: 12px; color: var(--text-muted); }
.comment-body { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.no-comments { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.comment-form-wrap { margin-top: 24px; background: var(--bg-secondary); padding: 24px; border-radius: var(--radius); }
.comment-form-wrap h4 { margin-bottom: 16px; }
.comment-form .form-group { margin-bottom: 14px; }
.comment-form .form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.comment-form .form-group input,
.comment-form .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; }
.comment-form .form-group input:focus,
.comment-form .form-group textarea:focus { outline: none; border-color: var(--primary); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-secondary); }
.empty-state h3 { margin-bottom: 8px; color: var(--text); }
.empty-state .btn { margin-top: 16px; }

/* ===== SEARCH HIGHLIGHTS ===== */
.search-highlight { background: #FEF08A; padding: 1px 2px; border-radius: 2px; }

/* ===== ADMIN ===== */
.admin-login-page { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: var(--bg-secondary); }
.admin-login-box { width: 100%; max-width: 400px; background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-xl); }
.admin-login-header { text-align: center; margin-bottom: 24px; }
.admin-login-header img { margin-bottom: 12px; }
.admin-login-form .form-group { margin-bottom: 16px; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .hero { padding: 48px 0 40px; border-radius: 0 0 var(--radius) var(--radius); }
    .hero h1 { font-size: 2.2rem; }
    .tools-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; flex-direction: column; padding: 16px; }
    .nav-menus {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: var(--dark); border-bottom: 1px solid rgba(255,255,255,0.08);
        box-shadow: var(--shadow-xl); flex-direction: column;
    }
    .nav-menus.open { display: flex; }
    .nav-menus.open .nav-links { display: flex; }
    .nav-main, .nav-auth { width: 100%; }
    .mobile-menu-toggle { display: flex; }
    .dropdown-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; }
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.open .dropdown-menu { display: block; }
    .mega-menu { position: static; transform: none; width: 100%; max-width: 100%; padding: 16px; border-radius: var(--radius-sm); }
    .dropdown:hover .mega-menu { display: none; }
    .dropdown.open .mega-menu { display: block; }
    .mega-menu-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
    .mega-menu-col h4 { font-size: 12px; }
    .mega-menu-col a { font-size: 13px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: center; }
    .trust-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-form { padding: 20px; }
}

/* ===== FEATURES SECTION ===== */
.features-section { padding: 60px 0; }
.features-section h2 { text-align: center; font-size: 1.8rem; margin-bottom: 40px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-item {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; transition: all .2s; box-shadow: var(--shadow);
}
.feature-item:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.feature-item h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text); }
.feature-item p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ===== HOW-TO SECTION ===== */
.how-to-section { padding: 60px 0; background: var(--bg-secondary); border-radius: var(--radius); margin: 20px 0; }
.how-to-section h2 { text-align: center; font-size: 1.8rem; margin-bottom: 40px; }
.steps-list { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.step-item { display: flex; gap: 20px; margin-bottom: 32px; align-items: flex-start; }
.step-number {
    flex-shrink: 0; width: 44px; height: 44px;
    background: var(--gradient-primary); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
}
.step-content h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--text); }
.step-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ===== FAQ SECTION ===== */
.faq-section { padding: 60px 0; }
.faq-section h2 { text-align: center; font-size: 1.8rem; margin-bottom: 40px; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text); }
.faq-item p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* ===== SEO ARTICLE SECTION ===== */
.seo-article { padding: 60px 0; max-width: 800px; margin: 0 auto; }
.seo-article h2 { font-size: 1.7rem; margin-bottom: 20px; color: var(--text); }
.seo-article h3 { font-size: 1.25rem; margin: 32px 0 12px; color: var(--text); }
.seo-article p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.seo-article p strong { color: var(--text); }

/* ===== COMPARISON TABLE ===== */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 20px 0; }
.comparison-table th { background: var(--dark); color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; }
.comparison-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); background: #fff; }
.comparison-table tr:nth-child(even) td { background: var(--bg-secondary); }
.comparison-table .check { color: var(--color-success); font-weight: 700; }
.comparison-table .cross { color: var(--text-muted); }

/* ===== RECOMMENDED TOOLS PAGE ===== */
.recommended-tools-page { padding: 48px 0 64px; }
.affiliate-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; margin-bottom: 24px; box-shadow: var(--shadow);
    display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center;
}
.affiliate-card img { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; }
.affiliate-card h3 { margin-bottom: 6px; }
.affiliate-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
@media (max-width: 640px) {
    .affiliate-card { grid-template-columns: 1fr; text-align: center; }
    .affiliate-card img { margin: 0 auto; }
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .step-item { gap: 14px; }
    .step-number { width: 36px; height: 36px; font-size: 1rem; }
    .seo-article { padding: 40px 16px; }
    .faq-list { padding: 0 16px; }
}
