@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #f0f2f5;
    min-height: 100vh;
}

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

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0057b7;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: #0057b7;
    background: rgba(0, 87, 183, 0.06);
}

.nav-user {
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4a5568;
    text-decoration: none;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.lang-switch:hover {
    background: #e2e8f0;
    color: #1a1a2e;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #0057b7 0%, #003d80 100%);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 87, 183, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0063d1 0%, #004a9e 100%);
    box-shadow: 0 4px 16px rgba(0, 87, 183, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, #ffd700 0%, #f0c800 100%);
    color: #1a1a2e;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ffe033 0%, #ffd700 100%);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    border: 2px solid #d1d5db;
    color: #4a5568;
    background: transparent;
    padding: 8px 20px;
}

.btn-outline:hover {
    border-color: #0057b7;
    color: #0057b7;
    background: rgba(0, 87, 183, 0.04);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-small {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 8px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0057b7 0%, #003366 50%, #001a33 100%);
    color: #fff;
    padding: 100px 0 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: #fff;
    padding: 36px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #0057b7;
    font-weight: 700;
    font-size: 1.15rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Jobs */
.latest-jobs {
    padding: 80px 0;
    background: #fff;
}

.latest-jobs h2 {
    text-align: center;
    margin-bottom: 48px;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.job-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 87, 183, 0.2);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.job-header h3 {
    font-size: 1.05rem;
    color: #1a1a2e;
    font-weight: 700;
}

.job-rate {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.job-location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.job-description {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

/* Forms */
.form-container {
    max-width: 480px;
    margin: 48px auto;
    background: #fff;
    padding: 44px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 28px;
    color: #1a1a2e;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
    color: #1a1a2e;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0057b7;
    box-shadow: 0 0 0 3px rgba(0, 87, 183, 0.1);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

.form-error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #dc2626;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.form-success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #16a34a;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(22, 163, 74, 0.1);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    font-size: 0.9rem;
}

.form-footer a {
    color: #0057b7;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Dashboard */
.dashboard {
    padding: 40px 0 60px;
}

.dashboard h2 {
    color: #1a1a2e;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.dashboard h3 {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.15rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.stat-card .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0057b7;
    letter-spacing: -0.03em;
}

.stat-card .stat-label {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 4px;
}

/* Tables */
.table-container {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

table th {
    background: #f8fafc;
    font-weight: 600;
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background: #f8fafc;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.status-active { background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: #059669; }
.status-pending { background: linear-gradient(135deg, #fffbeb, #fef3c7); color: #d97706; }
.status-accepted { background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: #059669; }
.status-rejected { background: linear-gradient(135deg, #fef2f2, #fee2e2); color: #dc2626; }
.status-closed { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #64748b; }

/* Footer */
.footer {
    background: #1a1a2e;
    color: #94a3b8;
    padding: 32px 0;
    text-align: center;
    margin-top: 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 60px 0 70px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }

    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 12px 24px;
        gap: 8px;
    }

    .nav-links { flex-wrap: wrap; justify-content: center; }

    .features, .latest-jobs { padding: 48px 0; }
    .features h2, .latest-jobs h2 { font-size: 1.5rem; }

    .jobs-grid { grid-template-columns: 1fr; }

    .dashboard-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .form-container {
        margin: 24px 16px;
        padding: 32px 24px;
    }

    .stats-row { grid-template-columns: 1fr; }

    table th, table td { padding: 10px 14px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .btn-large { padding: 14px 28px; font-size: 0.95rem; }
    .features-grid { grid-template-columns: 1fr; }
}
