/* ====================================
   JOB PAGES STYLING
   ==================================== */

/* Job Page Layout */
.job-page {
    background: var(--bg-dark);
    min-height: 100vh;
    padding-top: 80px;
}

/* Job Hero Section */
.job-hero {
    background: linear-gradient(135deg, rgba(8, 31, 216, 0.1) 0%, rgba(96, 207, 208, 0.1) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.job-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><defs><filter id="blur" filterUnits="userSpaceOnUse" x="0" y="0" width="1000" height="500"><feGaussianBlur stdDeviation="50" /></filter></defs><rect width="100%" height="100%" fill="%23000" rx="24" ry="24" /><g filter="url(%23blur)"><rect x="566" y="-102" width="530" height="484" fill="%2360CFD0" opacity="0.1" /><rect x="609" y="60" width="384" height="417" fill="%23081FD8" opacity="0.1" /><rect x="8" y="79" width="500" height="586" fill="%2360CFD0" opacity="0.1" /><rect x="337" y="33" width="513" height="301" fill="%23081FD8" opacity="0.1" /></g></svg>') center/cover;
    opacity: 0.3;
    z-index: 0;
}

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

.job-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.job-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.job-meta-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
}

.job-meta-icon {
    color: var(--primary-cyan);
    font-size: 1.1rem;
}

/* Job Content Section */
.job-content-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.job-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.job-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-cyan), var(--primary-blue));
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

.job-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-cyan);
    margin: 2.5rem 0 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.job-content h2:first-child {
    margin-top: 0;
}

.job-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    border-radius: 2px;
}

.job-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.job-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.job-content li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.job-content li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary-cyan);
    font-size: 0.9rem;
    animation: lightning-pulse 2s ease-in-out infinite;
}

.job-content li:hover {
    border-left-color: var(--primary-cyan);
    background: rgba(96, 207, 208, 0.05);
    margin-left: -1rem;
    padding-left: 3rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Job Apply Section */
.job-apply-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateX(-4px);
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-apply::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-apply:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(8, 31, 216, 0.3);
}

.btn-apply:hover::before {
    left: 100%;
}

/* Job Tags */
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.job-tag {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.job-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 31, 216, 0.3);
}

/* Job Highlights */
.job-highlight {
    background: linear-gradient(135deg, rgba(8, 31, 216, 0.1), rgba(96, 207, 208, 0.1));
    border: 1px solid rgba(96, 207, 208, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.job-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(96, 207, 208, 0.05), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

.job-highlight h3 {
    color: var(--primary-cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-highlight p {
    color: var(--text-secondary);
    margin: 0;
}

/* Animations */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes lightning-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-hero {
        padding: 100px 0 60px;
    }
    
    .job-hero h1 {
        font-size: 2.5rem;
    }
    
    .job-meta {
        gap: 1rem;
    }
    
    .job-meta-item {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .job-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .job-content h2 {
        font-size: 1.5rem;
    }
    
    .job-content p {
        font-size: 1rem;
    }
    
    .job-apply-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-back, .btn-apply {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .job-hero {
        padding: 80px 0 40px;
    }
    
    .job-hero h1 {
        font-size: 2rem;
    }
    
    .job-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .job-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .job-content h2 {
        font-size: 1.3rem;
    }
    
    .job-content li {
        padding-left: 1.5rem;
    }
    
    .job-content li:hover {
        margin-left: -0.5rem;
        padding-left: 2rem;
    }
}

/* Loading Animation */
.job-content.loading {
    opacity: 0.7;
    pointer-events: none;
}

.job-content.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(96, 207, 208, 0.3);
    border-top-color: var(--primary-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
} 