:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --transition: all 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

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

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

/* Typography */
h1, h2, h3, h4 { color: var(--secondary); line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }
.text-green { color: var(--success); }
.text-red { color: var(--danger); }
.text-yellow { color: var(--warning); }
.text-premium { color: var(--accent); }
.mt-2 { margin-top: 2rem; }
.small { font-size: 0.85rem; }

/* Navbar */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo i { color: var(--primary); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-links > li > a {
    padding: 8px 14px;
    border-radius: var(--radius);
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links > li > a:hover { background: var(--gray-100); color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--gray-700); cursor: pointer; padding: 8px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 6px 0;
    z-index: 200;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--gray-700);
    font-size: 0.9rem;
}
.dropdown-menu a:hover { background: var(--gray-100); color: var(--primary); }
.dropdown-menu .divider { height: 1px; background: var(--gray-200); margin: 4px 0; }

/* Buttons */
.btn-primary, .btn-outline, .btn-premium, .btn-link, .btn-disabled, .btn-lg, .btn-sm, .btn-block {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--gray-300); color: var(--gray-700); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-premium { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.btn-premium:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; }
.btn-link { color: var(--primary); padding: 6px 10px; background: none; }
.btn-link:hover { background: var(--primary-light); }
.btn-disabled { background: var(--gray-200); color: var(--gray-400); cursor: not-allowed; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.btn-block { display: flex; width: 100%; }
.btn-green { background: var(--success); color: #fff; }
.btn-green:hover { background: #059669; color: #fff; }
.btn-red { background: var(--danger); color: #fff; }
.btn-red:hover { background: #dc2626; color: #fff; }
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-dark); color: #fff; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}
.hero h1 { font-size: 3rem; color: #fff; margin-bottom: 16px; }
.hero .highlight { color: #fcd34d; }
.hero p { font-size: 1.15rem; opacity: 0.9; max-width: 600px; margin: 0 auto 30px; }
.hero-search { max-width: 600px; margin: 0 auto; }
.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 4px;
    box-shadow: var(--shadow-lg);
}
.search-box i { color: var(--gray-400); padding: 0 12px; font-size: 1.1rem; }
.search-box input {
    flex: 1;
    border: none;
    padding: 14px 0;
    font-size: 1rem;
    outline: none;
}
.search-box .btn-primary { border-radius: var(--radius); padding: 12px 24px; }
.hero-stats { display: flex; flex-direction: row; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: nowrap; }
.hero-stat { flex: 0 0 auto; white-space: nowrap; }
.hero-stat span { display: block; font-size: 1.75rem; font-weight: 700; }

/* Sections */
.section-header { margin-bottom: 40px; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: 8px; }
.section-header p { color: var(--gray-500); font-size: 1.05rem; }

.categories-section, .featured-section, .companies-section {
    padding: 60px 0;
}
.featured-section { background: #fff; }

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.categories-grid.large { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.category-icon { width: 48px; height: 48px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.category-icon i { font-size: 1.25rem; color: var(--primary); }
.category-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.category-count { font-size: 0.8rem; color: var(--gray-500); }

/* Job Cards - WWR Inspired */
.jobs-list { display: flex; flex-direction: column; }
.job-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    text-decoration: none;
    transition: background 0.15s ease;
}
.job-card:first-child { border-top: 1px solid var(--gray-200); }
.job-card:hover { background: #f8fafc; }
.job-card.featured { background: #fffbeb; }
.job-card.featured:hover { background: #fef3c7; }
.job-card-left { flex-shrink: 0; }
.job-logo { width: 50px; height: 50px; border-radius: 8px; overflow: hidden; background: var(--gray-100); display: flex; align-items: center; justify-content: center; }
.job-logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-placeholder {
    width: 50px; height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
}
.logo-placeholder.large { width: 80px; height: 80px; font-size: 1.5rem; }
.job-card-body { flex: 1; min-width: 0; }
.job-card-body h3 {
    font-size: 1rem; font-weight: 600; color: var(--secondary);
    margin-bottom: 4px; line-height: 1.4;
}
.job-card-body h3:hover { color: var(--primary); }
.job-company {
    font-size: 0.85rem; color: var(--gray-500); margin-bottom: 6px;
    display: flex; align-items: center; gap: 6px;
    flex-wrap: wrap;
}
.kyc-verified-badge {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 0.68rem; font-weight: 700;
    color: #fff; background: #2563eb;
    padding: 1px 7px; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.3px;
}
.kyc-verified-badge i { font-size: 0.6rem; color: #fff; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--gray-500); }
.job-meta span { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.job-meta i { font-size: 0.75rem; color: var(--gray-400); }
.job-card-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    margin-left: 12px;
}
.job-badges { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.featured-badge {
    font-size: 0.68rem; background: #f59e0b; color: #fff;
    padding: 2px 8px; border-radius: 4px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.3px;
}
.new-badge {
    font-size: 0.68rem; background: #22c55e; color: #fff;
    padding: 2px 8px; border-radius: 4px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.3px;
}
.job-date { font-size: 0.78rem; color: var(--gray-400); white-space: nowrap; }

/* Jobs Category Header */
.jobs-category-header {
    margin-bottom: 24px; padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
}
.jobs-category-header h1 {
    font-size: 1.75rem; font-weight: 700; margin-bottom: 6px;
    display: flex; align-items: center; gap: 10px;
}
.jobs-category-header h1 i { color: var(--primary); font-size: 1.5rem; }
.jobs-category-header .jobs-count { font-size: 0.9rem; color: var(--gray-500); }
.jobs-breadcrumb {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.82rem; color: var(--gray-400); margin-bottom: 12px;
}
.jobs-breadcrumb a { color: var(--gray-400); }
.jobs-breadcrumb a:hover { color: var(--primary); }
.jobs-breadcrumb i { font-size: 0.65rem; }

/* CTA */
.cta-section { padding: 60px 0; }
.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: var(--radius-lg);
    color: #fff;
}
.cta-card h2 { color: #fff; margin-bottom: 8px; }
.cta-card p { opacity: 0.9; }
.cta-card .btn-primary { background: #fff; color: var(--primary); }
.cta-card .btn-primary:hover { background: var(--gray-100); }

/* Trust Bar */
.trust-bar {
    text-align: center;
}
.trust-bar > span { display: block; font-weight: 600; color: var(--gray-500); margin-bottom: 20px; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.trust-logos { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.trust-logo { display: flex; align-items: center; gap: 8px; color: var(--gray-400); font-weight: 500; font-size: 1rem; }

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--gray-400);
    padding: 60px 0 20px;
    margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--gray-400); font-size: 0.9rem; }
.footer-col ul li a:hover { color: #fff; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { width: 36px; height: 36px; border: 1px solid var(--gray-600); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-400); }
.social-links a:hover { border-color: var(--primary); color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--gray-800); padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.85rem; }
.footer-bottom i { color: var(--danger); }

/* Auth Pages */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: 40px 20px;
}
.auth-container { width: 100%; max-width: 440px; }
.auth-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header i { font-size: 2.5rem; color: var(--primary); margin-bottom: 12px; }
.auth-header h1 { font-size: 1.75rem; }
.auth-header p { color: var(--gray-500); }
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-footer { text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.auth-footer p { color: var(--gray-500); font-size: 0.9rem; }

/* Forms */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.9rem; font-weight: 500; color: var(--gray-700); display: flex; align-items: center; gap: 6px; }
.form-group input, .form-group select, .form-group textarea {
    padding: 11px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
    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-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.form-inline .form-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.form-inline .form-group { margin-bottom: 0; }

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
.checkbox-custom i { color: var(--accent); }

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-premium { background: linear-gradient(135deg, #fffbeb, #fef3c7); border: 1px solid #f59e0b; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; }
.alert-free { background: #f8fafc; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; }
.premium-banner, .free-banner { display: flex; align-items: center; gap: 14px; }
.premium-banner i { font-size: 1.8rem; color: #f59e0b; }
.free-banner i { font-size: 1.4rem; color: var(--gray-400); }
.premium-banner div, .free-banner div { flex: 1; }
.premium-banner strong, .free-banner strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.premium-banner span, .free-banner span { font-size: 0.88rem; color: var(--gray-600); }
.stat-premium { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: #f59e0b; }
.stat-premium .stat-number { color: #d97706; }
.stat-premium i { color: #f59e0b; }

.premium-bar { background: linear-gradient(135deg, #fbbf24, #f59e0b); padding: 8px 0; }
.premium-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.premium-bar-left { display: flex; align-items: center; gap: 8px; color: #1e293b; font-size: 0.88rem; flex-wrap: wrap; }
.premium-bar-left i { font-size: 1.1rem; }
.premium-bar-divider { color: rgba(0,0,0,0.2); font-size: 1.1rem; }
.premium-bar-renew { color: #1e293b; font-weight: 600; font-size: 0.85rem; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.premium-bar-renew:hover { color: #000; }

/* Applications */
.app-group { margin-bottom: 24px; }
.app-card { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.app-card-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); flex-wrap: wrap; gap: 8px; }
.app-user { display: flex; align-items: center; gap: 10px; }
.app-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.app-user div { display: flex; flex-direction: column; }
.app-user strong { font-size: 0.95rem; }
.app-user .text-muted { font-size: 0.82rem; }
.app-meta { display: flex; align-items: center; gap: 10px; }
.app-message { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); }
.app-message p { font-size: 0.9rem; color: var(--gray-600); margin: 0; line-height: 1.6; }
.app-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; flex-wrap: wrap; gap: 8px; }
.app-actions-left { display: flex; gap: 6px; }
.app-status-form { margin: 0; }
.app-status-select { padding: 4px 8px; border: 1px solid var(--gray-300); border-radius: 4px; font-size: 0.82rem; cursor: pointer; background: #fff; }
.app-status-select.accepted { background: #f0fdf4; color: #166534; border-color: #86efac; }
.app-status-select.rejected { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.app-resume-preview { display: none; border-top: 1px solid var(--gray-200); }
.app-resume-preview.open { display: block; }
.resume-iframe { width: 100%; height: 500px; border: none; }
.app-count-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.app-count-link:hover { text-decoration: underline; }
.app-filters { margin-bottom: 20px; }
.app-filters .filter-form { gap: 8px; }
.status-form-inline { margin: 0; }
.status-form-inline .app-status-select { min-width: 100px; }

/* Dashboard */
.dashboard-page { padding: 40px 0; }
.dashboard-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; gap: 20px; flex-wrap: wrap; }
.dashboard-actions { display: flex; gap: 10px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.stat-card i { font-size: 2rem; color: var(--primary); }
.stat-info { display: flex; flex-direction: column; }
.stat-number { font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.stat-label { font-size: 0.85rem; color: var(--gray-500); }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dashboard-section { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.empty-state { text-align: center; padding: 40px 20px; }
.empty-state i { font-size: 3rem; color: var(--gray-300); margin-bottom: 16px; }
.empty-state p { color: var(--gray-500); margin-bottom: 16px; }

/* Tables */
.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--gray-200); font-size: 0.9rem; }
.table th { font-weight: 600; color: var(--gray-600); background: var(--gray-50); white-space: nowrap; }
.table tbody tr:hover { background: var(--gray-50); }
.table td.actions-cell { white-space: nowrap; display: flex; gap: 4px; }

/* Status Badges */
.status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-active { background: #d1fae5; color: #065f46; }
.status-expired { background: #f3f4f6; color: #6b7280; }
.status-declined, .status-failed { background: #fee2e2; color: #991b1b; }
.status-paid { background: #dbeafe; color: #1e40af; }
.status-verified { background: #d1fae5; color: #065f46; }
.status-reviewed { background: #e0e7ff; color: #3730a3; }
.status-accepted { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.page-link { padding: 8px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); color: var(--gray-700); font-size: 0.9rem; }
.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Jobs Page Layout */
.jobs-page { padding: 40px 0; }
.jobs-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; }
.jobs-sidebar {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 20px 0;
    height: fit-content; position: sticky; top: 84px;
    overflow: hidden;
}
.filter-section {
    padding: 0 20px 16px; border-bottom: 1px solid var(--gray-100);
    margin-bottom: 0;
}
.filter-section:last-child { border-bottom: none; padding-bottom: 0; }
.filter-section h3 {
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--gray-400); margin-bottom: 14px;
    display: flex; align-items: center; gap: 6px;
}
.filter-section h3 i { font-size: 0.8rem; }
.filter-group { margin-bottom: 0; padding: 12px 20px; border-bottom: 1px solid var(--gray-100); }
.filter-group:last-child { border-bottom: none; }
.filter-group label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: var(--gray-600); margin-bottom: 6px; text-transform: uppercase;
    letter-spacing: 0.3px;
}
.filter-group select, .filter-group input {
    width: 100%; padding: 8px 10px; border: 1px solid var(--gray-300);
    border-radius: 6px; font-size: 0.85rem; background: #fff;
    transition: var(--transition);
}
.filter-group select:focus, .filter-group input:focus {
    border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light);
    outline: none;
}
.jobs-header { display: none; }
.jobs-count { color: var(--gray-500); font-size: 0.9rem; }
.filter-form .btn-link { display: block; padding: 12px 20px; font-size: 0.82rem; font-weight: 500; border-top: 1px solid var(--gray-100); border-radius: 0; }
.filter-form .btn-link:hover { background: var(--gray-50); }

/* Job Detail */
.job-detail-page { padding: 40px 0; }
.job-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.job-detail-company { display: flex; gap: 20px; align-items: flex-start; }
.job-detail-logo { flex-shrink: 0; }
.job-detail-header h1 { font-size: 1.75rem; }
.job-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
.job-detail-main { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; }
.job-section { margin-bottom: 30px; }
.job-section h2 { font-size: 1.2rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-100); }
.job-description { line-height: 1.8; color: var(--gray-700); }
.sidebar-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.sidebar-card h3 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-100); }
.overview-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--gray-700); }
.overview-item i { width: 18px; color: var(--gray-400); }

/* Post Job Page */
.post-job-page, .apply-page, .pricing-page, .categories-page, .checkout-page { padding: 40px 0; }
.form-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 40px; max-width: 800px; margin: 0 auto; box-shadow: var(--shadow-md); }
.form-card-header { margin-bottom: 30px; }
.form-card-header h1 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.form-card-header p { color: var(--gray-500); }
.form-section { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--gray-200); }
.form-section h2 { font-size: 1.1rem; margin-bottom: 16px; color: var(--gray-700); }

/* Pricing Page */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 800px; margin: 0 auto; }
.pricing-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 40px 30px; text-align: center; position: relative; }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 4px 20px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.pricing-header { margin-bottom: 24px; }
.pricing-header h2 { font-size: 1.5rem; }
.price { font-size: 3rem; font-weight: 700; color: var(--secondary); margin: 8px 0; }
.price-period { color: var(--gray-500); font-size: 0.9rem; }
.pricing-features { list-style: none; margin-bottom: 24px; text-align: left; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.pricing-features li i { color: var(--success); }
.pricing-features li.disabled { color: var(--gray-400); }
.pricing-features li.disabled i { color: var(--gray-300); }

/* Checkout */
.checkout-summary { margin-bottom: 30px; }
.checkout-plan { text-align: center; padding: 20px; background: var(--gray-50); border-radius: var(--radius); }
.checkout-price { font-size: 2.5rem; font-weight: 700; margin: 10px 0; }
.checkout-price span { font-size: 1rem; color: var(--gray-500); font-weight: 400; }
.checkout-features { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.checkout-features li { font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.checkout-features li i { color: var(--success); }
.payment-methods { margin-bottom: 30px; }
.payment-methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
.payment-method-card {
    padding: 24px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.payment-method-card:hover { border-color: var(--primary); }
.payment-method-card.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-method-icon i { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.payment-method-card h3 { font-size: 1rem; }
.payment-method-card p { font-size: 0.85rem; color: var(--gray-500); }
.payment-form { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.crypto-options { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.crypto-option { padding: 16px; background: var(--gray-50); border-radius: var(--radius); }
.wallet-address { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.wallet-address code { flex: 1; padding: 10px; background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 0.85rem; word-break: break-all; }
.crypto-instructions { margin-bottom: 20px; padding: 16px; background: #fef3c7; border-radius: var(--radius); }
.crypto-instructions h4 { color: #92400e; margin-bottom: 8px; }
.crypto-instructions ol { padding-left: 20px; }
.crypto-instructions li { font-size: 0.9rem; color: #92400e; margin-bottom: 4px; }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.badge-premium { background: #fef3c7; color: #92400e; }
.badge-gold { background: #fef3c7; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-danger { background: #fee2e2; color: #991b1b; }

/* Static Pages */
.static-page { padding: 40px 0; }
.content-card { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 48px; }
.content-card h1 { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.content-card .lead { font-size: 1.1rem; color: var(--gray-500); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-200); }
.content-card h2 { font-size: 1.25rem; margin: 28px 0 12px; color: var(--secondary); }
.content-card p { margin-bottom: 14px; line-height: 1.8; color: var(--gray-700); }
.content-card ul, .content-card ol { margin: 10px 0 20px 24px; }
.content-card li { margin-bottom: 8px; line-height: 1.7; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.feature-item { padding: 20px; background: var(--gray-50); border-radius: var(--radius); text-align: center; }
.feature-item i { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.feature-item h3 { font-size: 1rem; margin-bottom: 6px; }
.feature-item p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

.blog-header { margin-bottom: 32px; }
.post-meta { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 10px; }
.post-meta i { margin-right: 4px; }
.blog-content { line-height: 1.9; color: var(--gray-700); font-size: 1.05rem; }
.blog-content h2 { margin: 28px 0 12px; font-size: 1.3rem; }
.blog-content h3 { margin: 24px 0 10px; font-size: 1.1rem; }
.blog-content p { margin-bottom: 16px; }
.blog-content ul, .blog-content ol { margin: 10px 0 20px 24px; }
.blog-content li { margin-bottom: 8px; }
.blog-back { margin-bottom: 20px; }
.blog-back a { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-500); font-size: 0.9rem; }
.blog-back a:hover { color: var(--primary); }

.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.blog-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-200); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img-link { display: block; width: 100%; height: 180px; overflow: hidden; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card-img-placeholder { display: flex; align-items: center; justify-content: center; background: var(--gray-100); }
.blog-card-img-placeholder i { font-size: 2.5rem; color: var(--gray-300); }
.blog-card-body { padding: 16px; }
.blog-card-body h2 { margin: 0 0 8px; font-size: 1rem; line-height: 1.4; }
.blog-card-body h2 a { color: var(--secondary); text-decoration: none; }
.blog-card-body h2 a:hover { color: var(--primary); }
.blog-card-body p { font-size: 0.88rem; color: var(--gray-600); margin: 0 0 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.blog-single { padding: 32px; }
.blog-single-img { width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); color: var(--gray-700); font-size: 0.9rem; text-decoration: none; transition: var(--transition); }
.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.faq-list { display: flex; flex-direction: column; gap: 20px; }
.faq-item { padding: 20px; background: var(--gray-50); border-radius: var(--radius); border-left: 3px solid var(--primary); }
.faq-item h3 { font-size: 1rem; margin-bottom: 8px; }
.faq-item p { margin: 0; font-size: 0.95rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item i { font-size: 1.5rem; color: var(--primary); margin-top: 4px; }
.contact-item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p { margin: 0; color: var(--gray-500); font-size: 0.95rem; }
.contact-form-wrapper { background: var(--gray-50); padding: 24px; border-radius: var(--radius); }

/* KYC */
.kyc-page { padding: 40px 0; }
.kyc-status-card { margin-top: 20px; }
.kyc-status {
    display: flex; align-items: center; gap: 16px;
    padding: 24px; border-radius: var(--radius); margin-bottom: 24px;
}
.kyc-status i { font-size: 2rem; }
.kyc-status strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.kyc-status span { font-size: 0.9rem; }
.kyc-verified { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.kyc-verified i { color: var(--success); }
.kyc-pending { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.kyc-pending i { color: var(--accent); }
.kyc-rejected { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.kyc-rejected i { color: var(--danger); }
.kyc-unverified { background: #f8fafc; border: 1px solid var(--gray-200); color: var(--gray-600); }
.kyc-unverified i { color: var(--gray-400); }
.kyc-upload-section {
    padding: 24px; background: var(--gray-50); border-radius: var(--radius);
    border: 1px dashed var(--gray-300);
}
.kyc-upload-section h3 { font-size: 1rem; margin-bottom: 6px; }
.kyc-upload-section p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 20px; }
.kyc-form { max-width: 500px; }
.file-upload-wrapper {
    position: relative; border: 2px dashed var(--gray-300);
    border-radius: var(--radius); padding: 40px 20px;
    text-align: center; cursor: pointer; transition: var(--transition);
    background: #fff;
}
.file-upload-wrapper:hover { border-color: var(--primary); background: var(--primary-light); }
.file-upload-wrapper input[type="file"] {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer;
}
.file-upload-placeholder i { font-size: 2.5rem; color: var(--gray-400); margin-bottom: 10px; display: block; }
.file-upload-placeholder span { font-size: 0.9rem; color: var(--gray-500); }
.kyc-banner { display: flex; align-items: center; gap: 14px; }
.kyc-banner i { font-size: 1.4rem; }
.kyc-banner div { flex: 1; }
.kyc-banner strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.kyc-banner span { font-size: 0.88rem; }
.kyc-banner-warning i { color: var(--accent); }
.kyc-banner-rejected i { color: var(--danger); }

/* Interactive Cursor */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: opacity 0.1s;
}
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.15s, height 0.15s, background 0.15s;
}
a:hover ~ .cursor-trail, button:hover ~ .cursor-trail,
.cursor-trail.hover {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
}
.click-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: particleBurst 0.6s ease-out forwards;
}
@keyframes particleBurst {
    0% { opacity: 1; transform: translate(-50%,-50%) translate(0,0) scale(1); }
    100% { opacity: 0; transform: translate(-50%,-50%) translate(var(--dx), var(--dy)) scale(0); }
}

/* Responsive */
@media (max-width: 1200px) {
    .job-detail-grid { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .admin-grid-2 { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .jobs-layout { grid-template-columns: 1fr; }
    .jobs-sidebar { position: static; border-radius: var(--radius); padding: 0; }
    .jobs-sidebar .filter-section { padding: 16px 16px 12px; }
    .jobs-sidebar .filter-group { padding: 10px 16px; }
    .filter-form .btn-link { padding: 10px 16px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .contact-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cursor-glow, .cursor-trail, .click-particle { display: none; }
    body { cursor: auto; }
    h1 { font-size: 1.75rem; }
    .hero h1 { font-size: 2rem; }
    .hero { padding: 50px 0 40px; }
    .hero-stats { flex-direction: row !important; gap: 16px; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--gray-200);
        padding: 16px;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active { display: flex; }
    .nav-links > li > a { width: 100%; }
    .dropdown-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; }
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.active .dropdown-menu { display: block; }
    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-card { flex-direction: column; text-align: center; padding: 30px; }
    .form-card { padding: 24px; }
    .job-card { padding: 14px 16px; gap: 12px; }
    .job-card-right { margin-left: 0; }
    .auth-card { padding: 24px; }
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .form-row { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .content-card { padding: 24px; }
    .static-page { padding: 20px 0; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card-img-link { height: 200px; }
    .blog-single { padding: 20px; }
    .premium-banner, .free-banner { flex-wrap: wrap; }
    .free-banner .btn-premium { width: 100%; text-align: center; }
    .premium-bar .container { flex-direction: column; text-align: center; }
    .premium-bar-left { justify-content: center; }
    .app-card-header { flex-direction: column; align-items: flex-start; }
    .app-card-footer { flex-direction: column; align-items: flex-start; }
    .resume-iframe { height: 300px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .hero p { font-size: 1rem; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .category-card { padding: 16px 12px; }
    .job-card { padding: 14px; }
    .auth-card { padding: 20px; }
    .logo { font-size: 1.1rem; }
    .search-box { flex-direction: column; gap: 8px; padding: 12px; }
    .search-box input { width: 100%; padding: 10px 0; }
    .search-box .btn-primary { width: 100%; }
    .hero-stats { flex-direction: row !important; gap: 6px; }
    .hero-stat { flex: 0 0 auto !important; }
    .hero-stat span { font-size: 1.25rem; }
    .trust-logos { gap: 12px; }
    .trust-logo { font-size: 0.85rem; }
}
