/* Careers Page Specific Styles */

/* Careers Hero Section */
.careers-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 5%;
    background: linear-gradient(135deg, rgba(102,126,234,0.3) 0%, rgba(118,75,162,0.3) 100%);
    position: relative;
    overflow: hidden;
}

#careers-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.careers-hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
}

.careers-hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #fff, #f093fb, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 1s ease-out;
}

.careers-hero-content > p {
    font-size: 1.4rem;
    color: #ddd;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #bbb;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Why Join Section */
.why-join-section {
    padding: 6rem 5%;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102,126,234,0.3);
    border-color: rgba(102,126,234,0.5);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #ddd;
    line-height: 1.7;
}

/* Culture Section */
.culture-section {
    padding: 6rem 5%;
    background: rgba(0,0,0,0.15);
}

.culture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.culture-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.culture-text p {
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.culture-values {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.value-badge {
    background: linear-gradient(45deg, rgba(102,126,234,0.3), rgba(118,75,162,0.3));
    border: 2px solid rgba(102,126,234,0.5);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.value-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102,126,234,0.4);
}

.culture-visual {
    height: 400px;
}

#culture-canvas {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* Perks Section */
.perks-section {
    padding: 6rem 5%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%);
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.perk-item {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.perk-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102,126,234,0.2);
    border-color: rgba(102,126,234,0.4);
}

.perk-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.perk-item h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.perk-item p {
    color: #ddd;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Positions Section */
.positions-section {
    padding: 6rem 5%;
    background: rgba(0,0,0,0.15);
}

.positions-intro {
    text-align: center;
    color: #ddd;
    font-size: 1.15rem;
    max-width: 800px;
    margin: 1.5rem auto 3rem;
}

.job-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    color: #ddd;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: rgba(102,126,234,0.2);
    border-color: rgba(102,126,234,0.5);
    color: #fff;
}

.filter-btn.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-color: transparent;
    color: #fff;
}

.jobs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.job-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(102,126,234,0.3);
    border-color: rgba(102,126,234,0.5);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.job-title-section h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #bbb;
}

.job-department {
    background: linear-gradient(45deg, #667eea, #764ba2);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    height: fit-content;
}

.job-description {
    color: #ddd;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(102,126,234,0.2);
    color: #667eea;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-view-job {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-view-job:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102,126,234,0.4);
}

.no-openings {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.no-openings-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.no-openings h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-openings p {
    color: #ddd;
}

/* Process Section */
.process-section {
    padding: 6rem 5%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.15) 100%);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    padding-top: 3.5rem;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102,126,234,0.2);
    border-color: rgba(102,126,234,0.4);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(102,126,234,0.4);
}

.process-step h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: #ddd;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Spontaneous Application Section */
.spontaneous-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, rgba(102,126,234,0.2) 0%, rgba(118,75,162,0.2) 100%);
    text-align: center;
}

.spontaneous-content {
    max-width: 800px;
    margin: 0 auto;
}

.spontaneous-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.spontaneous-content p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 5%;
    background: rgba(0,0,0,0.1);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102,126,234,0.2);
    border-color: rgba(102,126,234,0.3);
}

.faq-item h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #ddd;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Job Modal */
.job-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem;
}

.job-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    padding: 3rem;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(231,76,60,0.8);
    border-color: #e74c3c;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .culture-content {
        grid-template-columns: 1fr;
    }

    .jobs-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .careers-hero-content h2 {
        font-size: 2.5rem;
    }

    .careers-hero-content > p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .benefits-grid,
    .perks-grid,
    .process-timeline,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .job-modal-content {
        padding: 2rem;
    }

    .process-timeline {
        gap: 3rem;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
