
@media (max-width: 1024px) {
    .careers-hero-inner {
        flex-direction: column;
        gap: 40px;
    }

    .careers-hero-content,
    .careers-hero-visual {
        width: 100%;
        max-width: 100%;
    }

    .careers-perks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .careers-hero-section {
        padding: 140px 20px 60px;
    }

    .careers-perks-section {
        padding: 40px 20px;
    }

    .careers-perks-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .careers-content-section {
        padding: 40px 20px;
    }

    .careers-info-box {
        padding: 32px 24px;
    }

    .timeline-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .timeline-label {
        flex: auto;
    }
}

/* ========================================
   CAREERS PAGE STYLES
   ======================================== */

.careers-page {
    background-color: #000;
}

/* ---- CAREERS HERO ---- */

.careers-hero-section {
    padding: 180px 32px 100px;
    position: relative;
    z-index: 2;
}

.careers-hero-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

.careers-hero-content {
    flex: 1;
    max-width: 600px;
}

.careers-hero-title {
    font-family: var(--font-sans);
    font-size: clamp(35px, 4.5vw, 60px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin-bottom: 32px;
    color: var(--color-white);
}

.careers-hero-title em {
    font-weight: 500;
}

.careers-hero-title em::after {
    left: -2%;
    width: 104%;
    height: 18px;
    bottom: -10px;
    transform: scaleX(0);
    opacity: 0;
    animation: heroUnderline 1.2s var(--ease-out) 1.2s forwards;
}

.careers-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-muted);
    font-weight: 400;
    max-width: 450px;
    margin-bottom: 40px;
}

.careers-hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.careers-hero-img {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    filter: brightness(0.9) contrast(1.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s var(--ease-out), filter 0.6s ease;
}

.careers-hero-img:hover {
    transform: scale(1.02);
    filter: brightness(1) contrast(1.1);
}

/* ---- CAREERS PERKS ---- */

.careers-perks-section {
    padding: 60px 32px;
    position: relative;
    z-index: 2;
}

.careers-perks-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.perk-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.5s var(--ease-out);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(66, 138, 216, 0.03);
}

.perk-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(66, 138, 216, 0.5);
    box-shadow: 0 0 30px rgba(66, 138, 216, 0.2),
                0 0 60px rgba(66, 138, 216, 0.1);
}

.perk-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 4px;
}

.perk-label {
    color: #428AD8;
}

.perk-icon {
    color: #428AD8;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.perk-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-muted);
}

/* ---- CAREERS CONTENT BLOCKS ---- */

.careers-content-section {
    padding: 60px 32px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-section-title {
    font-size: 36px;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.careers-info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 60px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.4s var(--ease-out);
}

.careers-info-box:hover {
    border-color: rgba(66, 138, 216, 0.3);
    box-shadow: 0 0 40px rgba(66, 138, 216, 0.1);
}

.info-box-title {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.info-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
}

.info-list>li {
    position: relative;
    padding-left: 20px;
}

.info-list>li::before {
    content: "○";
    position: absolute;
    left: 0;
    top: 2px;
    color: #428AD8;
    font-size: 12px;
}

.sub-list {
    list-style-type: none;
    margin-top: 12px;
    margin-bottom: 8px;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sub-list>li {
    position: relative;
    padding-left: 16px;
}

.sub-list>li::before {
    content: "◦";
    position: absolute;
    left: 0;
    top: 0px;
    color: #428AD8;
    font-size: 14px;
}

.text-link {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.text-link:hover {
    color: #428AD8;
    text-decoration-color: #428AD8;
}

/* ---- TIMELINE ---- */

.timeline-box {
    padding: 40px 48px;
}

.timeline-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.timeline-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-row:first-child {
    padding-top: 0;
}

.timeline-label {
    flex: 0 0 250px;
    font-weight: 500;
    color: var(--color-white);
    font-size: 15px;
}

.timeline-value {
    flex: 1;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

/* ---- REFERRAL CTA ---- */

.careers-cta-section {
    padding: 100px 32px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.careers-cta-text {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.email-link {
    color: var(--color-white);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.email-link:hover::after {
    background: #428AD8;
}

.email-link:hover {
    color: #428AD8;
}