/* Careers Hero */
.careers-hero {
    padding-top: 120px;
    padding-bottom: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.careers-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.careers-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 2rem;
}

.careers-hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.careers-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Culture Section */
.culture {
    background: var(--surface);
    padding: 5rem 0;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.culture-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.culture-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
}

.culture-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.culture-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Perks Section */
.perks-section {
    background: white;
    padding: 5rem 0;
}

.perks-section .perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.perks-section .perk {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.perks-section .perk:hover {
    transform: translateY(-3px);
}

/* Positions Section */
.positions-section {
    background: var(--surface);
    padding: 5rem 0;
}

.positions-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Job Card */
.job-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
}

.job-card-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.2s ease;
}

.job-card-header:hover {
    background: rgba(99, 102, 241, 0.02);
}

.job-card-info {
    flex: 1;
}

.job-card-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.job-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.job-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-badge-intern {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.job-badge-remote {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.job-badge-parttime {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.job-badge-paid {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.job-badge-open {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.job-card-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.job-card-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    flex-shrink: 0;
    margin-top: 0.25rem;
    transition: all 0.3s ease;
}

.job-card-toggle svg {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.job-card.expanded .job-card-toggle {
    background: var(--gradient-primary);
}

.job-card.expanded .job-card-toggle svg {
    transform: rotate(180deg);
    color: white;
}

/* Job Card Body (expandable) */
.job-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.job-card.expanded .job-card-body {
    max-height: 2000px;
}

.job-card-body-inner {
    padding: 0 2rem 2rem;
    border-top: 1px solid var(--border);
}

.job-card-body-inner h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.job-card-body-inner h4:first-child {
    margin-top: 1.5rem;
}

.job-card-body-inner p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.job-responsibilities,
.job-qualifications {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.job-responsibilities li,
.job-qualifications li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.job-responsibilities li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.job-qualifications li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent-color);
}

.job-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.job-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--surface);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.job-apply-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.job-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Careers Form Section */
.careers-form-section {
    background: white;
    padding: 5rem 0;
}

.careers-form-section .careers-form {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.careers-form-section .careers-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.sentence-counter {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Hiring Banner (homepage) */
.hiring-banner {
    background: var(--text-primary);
    padding: 2.5rem 0;
}

.hiring-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hiring-banner-text h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hiring-banner-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .careers-hero h1 {
        font-size: 2rem;
    }

    .culture-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .perks-section .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-card-header {
        padding: 1.25rem 1.5rem;
    }

    .job-card-body-inner {
        padding: 0 1.5rem 1.5rem;
    }

    .job-card-info h3 {
        font-size: 1.15rem;
    }

    .hiring-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .job-details {
        flex-direction: column;
    }

    .careers-form-section .careers-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .careers-hero h1 {
        font-size: 1.75rem;
    }

    .careers-hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .perks-section .perks-grid {
        grid-template-columns: 1fr;
    }
}
