/* ══════════════════════════════════════
   CAREERS PAGE
   Inherits all CSS variables from theme-dark.css / theme-light.css
   ══════════════════════════════════════ */

/* ── Hero ── */
.car-hero {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.car-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.car-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--t3);
    margin-bottom: 28px;
}

.car-hero .hero-badge span {
    color: var(--green);
    font-weight: 600;
}

.car-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    max-width: 750px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--t1) 30%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.car-hero-sub {
    font-size: 1.12rem;
    color: var(--t3);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.car-hero .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── Sections ── */
.car-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.car-alt {
    background: rgba(255, 255, 255, 0.015);
}

.car-section .section-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.car-section .section-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.2;
    color: var(--t1);
}

.car-section .section-desc {
    font-size: 1.02rem;
    color: var(--t3);
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ── Job Cards ── */
.car-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.car-job-card {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    padding: 32px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.car-job-card:hover {
    border-color: var(--bdr-h);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.car-job-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.car-job-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--t1);
    margin: 0;
}

.car-job-tags {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.car-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.car-job-card > p {
    font-size: 0.92rem;
    color: var(--t3);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 16px;
}

.car-apply-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.car-apply-link:hover {
    gap: 8px;
    text-decoration: none;
}

/* ── Perks Grid ── */
.car-perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.car-perk-card {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    padding: 32px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.car-perk-card:hover {
    border-color: var(--bdr-h);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.car-perk-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.car-perk-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--t1);
}

.car-perk-card p {
    font-size: 0.92rem;
    color: var(--t3);
    line-height: 1.65;
}

/* ── Hiring Timeline ── */
.car-timeline {
    position: relative;
    padding-left: 40px;
    max-width: 680px;
}

.car-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--green), var(--bdr));
}

.car-tl-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 28px;
}

.car-tl-item:last-child {
    margin-bottom: 0;
}

.car-tl-step {
    position: absolute;
    left: -33px;
    top: 2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.car-tl-item h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--t1);
}

.car-tl-item p {
    font-size: 0.92rem;
    color: var(--t3);
    line-height: 1.65;
}

/* ── CTA ── */
.car-cta {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.car-cta h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--t1);
}

.car-cta p {
    font-size: 1.08rem;
    color: var(--t3);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.car-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* ══════════════════════════════════════
   RESPONSIVE — Tablet
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .car-jobs-grid {
        grid-template-columns: 1fr;
    }

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

/* ══════════════════════════════════════
   RESPONSIVE — Mobile
   ══════════════════════════════════════ */
@media (max-width: 768px) {
    .car-hero {
        padding: 130px 0 60px;
    }

    .car-hero h1 {
        font-size: 2.2rem;
    }

    .car-section {
        padding: 60px 0;
    }

    .car-section .section-title {
        font-size: 1.7rem;
    }

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

    .car-job-head {
        flex-direction: column;
        gap: 8px;
    }

    .car-cta h2 {
        font-size: 1.9rem;
    }

    .car-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .car-cta-buttons a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* ══════════════════════════════════════
   RESPONSIVE — Small phone
   ══════════════════════════════════════ */
@media (max-width: 480px) {
    .car-hero h1 {
        font-size: 1.9rem;
    }

    .car-hero-sub {
        font-size: 1rem;
    }

    .car-job-card {
        padding: 24px;
    }

    .car-perk-card {
        padding: 24px;
    }

    .car-cta {
        padding: 70px 0;
    }
}

/* ══════════════════════════════════════
   LIGHT THEME OVERRIDES
   ══════════════════════════════════════ */
body.light .car-hero::before {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

body.light .car-hero h1 {
    background: linear-gradient(135deg, #0f172a 30%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light .car-alt {
    background: rgba(241, 245, 249, 0.5);
}

body.light .car-job-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light .car-job-card:hover {
    background: #fff;
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

body.light .car-perk-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light .car-perk-card:hover {
    background: #fff;
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

body.light .car-perk-card h3 {
    color: #0f172a;
}

body.light .car-perk-card p {
    color: #64748b;
}

body.light .car-tl-step {
    border-color: #f8fafc;
}

body.light .car-timeline::before {
    background: linear-gradient(to bottom, var(--green), #e2e8f0);
}

body.light .car-tag {
    background: rgba(16, 185, 129, 0.08);
}
