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

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
}

.hero-title {
    font-family: 'Syne', sans-serif;
}

.text-gradient {
    background: linear-gradient(135deg, #818cf8, #c084fc, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #1f2937;
    border: 1px solid #374151;
    color: #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #374151;
    color: #fff;
}

.feature-card {
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: #4f46e5;
    transform: translateY(-2px);
}

.job-card {
    transition: border-color 0.2s, transform 0.2s;
}

.job-card:hover {
    transform: translateY(-2px);
}

#toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    max-width: 22rem;
    pointer-events: all;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideUp 0.3s ease;
}

.toast-success {
    background: #052e16;
    border: 1px solid #166534;
    color: #bbf7d0;
}

.toast-error {
    background: #450a0a;
    border: 1px solid #991b1b;
    color: #fecaca;
}

.toast-info {
    background: #1e1b4b;
    border: 1px solid #3730a3;
    color: #c7d2fe;
}

@keyframes slideUp {
    from { transform: translateY(1rem); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid #374151;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

input[type="file"] {
    cursor: pointer;
}

select option {
    background: #1f2937;
    color: #e5e7eb;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #111827; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }

@media (max-width: 768px) {
    aside { display: none; }
}
