/* JOBS PAGE STYLES - Innovative & Premium */

:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --neon-blue: #00D9FF;
    --neon-purple: #bd34fe;
}

/* Background */
body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 25%);
}

/* Hero Section */
.jobs-hero {
    position: relative;
    padding: 220px 20px 140px;
    /* Increased padding for grander feel */
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.jobs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(15, 23, 42, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 1;
}

.jobs-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--neon-blue);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.15);
}

.hero-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-blue);
}

.jobs-hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 0 80px rgba(0, 217, 255, 0.15);
    background: linear-gradient(to right, #ffffff 20%, #94a3b8 50%, #ffffff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

.jobs-hero-subtitle {
    font-size: 1.35rem;
    color: #94a3b8;
    /* Slate-400 equivalent for better readability */
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Filter Section */
.jobs-filter-section {
    position: sticky;
    top: 80px;
    z-index: 90;
    padding: 20px 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.6);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 60px;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--glass-highlight);
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--neon-blue);
    color: #000;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    font-weight: 700;
}

/* Jobs Grid */
.jobs-grid-section {
    padding: 0 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Job Card - Holographic Style */
.job-card {
    background: rgba(15, 23, 42, 0.6);
    /* Darker, more solid background */
    backdrop-filter: blur(12px);
    /* Stronger blur for readability */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.job-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-blue);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 217, 255, 0.3);
}

.job-card-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    transition: all 0.5s ease;
}

.job-card:hover .job-card-glow {
    opacity: 0.2;
    transform: scale(1.2);
}

.job-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 6px;
    color: var(--neon-blue);
    border: 1px solid rgba(0, 217, 255, 0.3);
    font-weight: 700;
}

.job-salary {
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.9);
    /* Brighter text */
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.job-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.job-details {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    /* Improved contrast */
    font-size: 0.95rem;
    margin-bottom: auto;
    font-weight: 400;
    /* Push footer down */
}

.job-detail i {
    margin-right: 5px;
    color: var(--neon-blue);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.job-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.apply-btn {
    background: transparent;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    padding-right: 20px;
    transition: all 0.3s ease;
}

.apply-btn::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.job-card:hover .apply-btn {
    color: var(--neon-blue);
}

.job-card:hover .apply-btn::after {
    transform: translateX(5px);
}

/* Modal specific for Jobs/Applications */
.job-modal-header {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.job-modal-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}