/* ============================================
   CAREERS PAGE - FRESH START
   Modern Premium Design
   ============================================ */

/* Careers Hero */
.medan-careers-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    margin-top: -90px;
    padding-top: calc(8rem + 90px);
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #130C30 50%, #0a0a0a 100%);
}

.medan-careers-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.medan-careers-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 71, 201, 0.15) 0%, rgba(108, 14, 198, 0.15) 50%, rgba(12, 71, 201, 0.15) 100%);
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.medan-careers-hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(108, 14, 198, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(12, 71, 201, 0.15), transparent);
    background-size: 200% 200%;
    animation: particlesMove 20s ease infinite;
}

@keyframes particlesMove {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

.medan-careers-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.medan-careers-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.medan-careers-hero-label-icon {
    color: #6C0EC6;
}

.medan-careers-hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
}

.medan-title-line {
    display: block;
}

.medan-title-highlight {
    background: linear-gradient(135deg, #ffffff 0%, #6C0EC6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.medan-careers-hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.medan-careers-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.medan-careers-stat-item {
    text-align: center;
}

.medan-careers-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.medan-careers-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Careers Listings */
.medan-careers-listings {
    padding: 6rem 0;
    background: #0a0a0a;
}

.medan-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.medan-job-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.medan-job-card:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 14, 198, 0.5);
    box-shadow: 0 20px 40px rgba(108, 14, 198, 0.2);
}

.medan-job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.medan-job-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6C0EC6 0%, #0C47C9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.medan-job-type-badge {
    padding: 0.5rem 1rem;
    background: rgba(108, 14, 198, 0.2);
    border: 1px solid rgba(108, 14, 198, 0.3);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #B384FF;
    text-transform: capitalize;
}

.medan-job-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.medan-job-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.3;
}

.medan-job-excerpt {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.medan-job-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.medan-job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.medan-job-meta-item i {
    color: #6C0EC6;
    width: 18px;
}

.medan-job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.medan-job-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    font-weight: 500;
}

.medan-job-arrow {
    transition: transform 0.3s;
}

.medan-job-card:hover .medan-job-arrow {
    transform: translateX(5px);
}

.medan-job-apply-btn {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #6C0EC6 0%, #0C47C9 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.medan-job-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 14, 198, 0.4);
}

.medan-careers-empty {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.medan-careers-empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6C0EC6 0%, #0C47C9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 2rem;
}

.medan-careers-empty-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.medan-careers-empty-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Careers Responsive */
@media (max-width: 768px) {
    .medan-careers-hero {
        min-height: 70vh;
        padding: 5rem 1.5rem 4rem;
        padding-top: calc(5rem + 90px);
    }
    
    .medan-careers-hero-title {
        font-size: 2.5rem;
    }
    
    .medan-careers-hero-description {
        font-size: 1.125rem;
    }
    
    .medan-careers-hero-stats {
        gap: 2rem;
    }
    
    .medan-jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .medan-job-card {
        padding: 1.5rem;
    }
    
    .medan-job-apply-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .medan-careers-hero {
        min-height: 60vh;
        padding: 4rem 1rem 3rem;
        padding-top: calc(4rem + 90px);
    }
    
    .medan-careers-hero-title {
        font-size: 2rem;
    }
    
    .medan-careers-stat-number {
        font-size: 2rem;
    }
}

