/* Careers Page Styles */
/* Based on solutions page design with career-specific customizations */

/* Hero Section */
.careers-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(2, 132, 199, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.careers-hero__content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.careers-hero__content::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
    border-radius: 2px;
}

.careers-hero__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.careers-hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: #64748b;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    hyphens: none;
    word-break: normal;
}

/* Why Join Us Section */
.careers-why {
    padding: 100px 0;
    background: #f8fafc;
}

.careers-why__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.careers-why__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.careers-why__subtitle {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
}

.careers-why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.careers-benefit {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 69, 255, 0.1);
}

.careers-benefit:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 69, 255, 0.15);
    border-color: rgba(139, 69, 255, 0.3);
}

.careers-benefit__icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.careers-benefit__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.careers-benefit__description {
    color: #64748b;
    line-height: 1.6;
}

/* Open Positions Section */
.careers-positions {
    padding: 100px 0;
    background: white;
}

.careers-positions__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.careers-positions__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.careers-positions__subtitle {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
}

.careers-positions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

/* Job Cards */
.job-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 69, 255, 0.15);
    border-color: rgba(139, 69, 255, 0.3);
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-card__meta {
    display: flex;
    gap: 12px;
}

.job-card__department,
.job-card__type {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.job-card__level {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.job-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.job-card__details {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #64748b;
}

.job-card__description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.job-card__actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.job-card__btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.job-card__btn--details {
    background: #f1f5f9;
    color: #475569;
}

.job-card__btn--details:hover {
    background: #e2e8f0;
    color: #334155;
}

.job-card__btn--apply {
    background: #f1f5f9;
    color: #475569;
}

.job-card__btn--apply:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Job Details */
.job-details {
    display: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.job-details__section {
    margin-bottom: 24px;
}

.job-details__section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e293b;
}

.job-details__section ul {
    list-style: none;
    padding: 0;
}

.job-details__section li {
    padding: 8px 0;
    color: #64748b;
    position: relative;
    padding-left: 20px;
}

.job-details__section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0ea5e9;
    font-weight: bold;
}

/* CTA Section */
.careers-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        #0ea5e9 0%, 
        rgba(14, 165, 233, 0.9) 50%, 
        #0284c7 100%);
    color: white;
    text-align: center;
}

.careers-cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.careers-cta__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.careers-cta__subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    hyphens: none;
    word-break: normal;
}

.careers-cta__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn--primary {
    background: white;
    color: #0ea5e9;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {    
    .careers-positions__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .careers-hero {
        padding: 80px 0 60px;
    }
    
    .careers-hero__title {
        font-size: 2.5rem;
    }
    
    .careers-why__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .careers-benefit {
        padding: 30px;
    }
    
    .job-card {
        padding: 24px;
    }
    
    .job-card__actions {
        flex-direction: column;
    }
    
    .careers-cta__title {
        font-size: 2rem;
    }
    
    .careers-cta__actions {
        flex-direction: column;
        align-items: center;
    }
}
