/* ==========================================================================
   CAREER PAGE - ENTERPRISE TECH DESIGN SYSTEM
   - Builder-first philosophy, high autonomy, clean craftsmanship
   - Palette: Slate-900 / Navy, Brand Blue (#2563eb), Cyan (#00d4ff), Emerald (#10b981)
   - Glassmorphism, Bento cards, high-contrast typography
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: #f8fafc !important;
    color: #475569 !important;
    padding-top: 0px !important;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
}

.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* ==========================================================================
   1. HERO BANNER & VIDEO BACKGROUND
   ========================================================================== */
.hero-banner {
    position: relative;
    min-height: clamp(460px, 68vh, 620px);
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(85px, 8.5vw, 110px) 0 clamp(42px, 4.5vw, 60px);
}

.video-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(1.1) contrast(1.05);
}

.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        90deg,
        rgba(2, 0, 36, 0.86) 0%,
        rgba(9, 9, 121, 0.62) 50%,
        rgba(4, 130, 201, 0.34) 100%
    );
    z-index: 2;
}

.content-left {
    padding: 1.25rem 0.5rem;
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.career-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.pulse-dot-cyan {
    width: 7px;
    height: 7px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 8px #38bdf8;
    animation: cyanPulse 2s infinite ease-in-out;
}

@keyframes cyanPulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.6px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.7vw, 1.12rem);
    line-height: 1.6;
    margin-bottom: 1.6rem;
    font-weight: 400;
    max-width: 700px;
    color: #cbd5e1 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.btn-startup-primary {
    background: var(--se-primary, #2563eb) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 24px;
    border-radius: 11px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32);
    border: none;
    transition: all 0.25s ease;
}

.btn-startup-primary:hover {
    background: var(--se-primary-hover, #1d4ed8) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.42);
}

.btn-startup-outline {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 22px;
    border-radius: 11px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.btn-startup-outline:hover {
    background: #ffffff !important;
    color: var(--se-dark, #0f172a) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

.hero-metric-strip .metric-item {
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

@keyframes slideInLeft {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   2. GLOBAL SECTION HEADINGS & BADGES (BALANCED SPACING)
   ========================================================================= */
.career-section {
    padding: 46px 0 52px;
    position: relative;
}

.bg-soft-slate {
    background-color: #f8fafc !important;
}

.bg-clean-white {
    background-color: #ffffff !important;
}

.section-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
    color: var(--se-primary, #2563eb);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    backdrop-filter: blur(6px);
}

.pulse-dot-blue {
    width: 6.5px;
    height: 6.5px;
    background: var(--se-primary, #2563eb);
    border-radius: 50%;
    box-shadow: 0 0 7px #2563eb;
    animation: bluePulse 2s infinite ease-in-out;
}

@keyframes bluePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.section-title {
    font-weight: 800;
    color: var(--se-dark, #0f172a);
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 6px;
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    letter-spacing: -0.4px;
    display: inline-block;
    line-height: 1.25;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 3.5px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    max-width: 660px;
    margin: 0 auto 22px;
    line-height: 1.58;
}

/* ==========================================================================
   3. CULTURE & BUILDER'S MANIFESTO (Bento Cards)
   ========================================================================== */
.culture-bento-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.culture-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px -6px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.35);
}

.culture-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.icon-bg-blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--se-primary, #2563eb);
    border: 1px solid rgba(37, 99, 235, 0.18);
}

.icon-bg-cyan {
    background: rgba(6, 182, 212, 0.1);
    color: #0891b2;
    border: 1px solid rgba(6, 182, 212, 0.18);
}

.icon-bg-indigo {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.18);
}

.icon-bg-emerald {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.culture-bento-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--se-dark, #0f172a);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.culture-bento-card p {
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--se-text, #475569);
    margin-bottom: 14px;
    flex-grow: 1;
}

.culture-tag {
    display: inline-block;
    font-size: 0.71rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    color: var(--se-primary, #2563eb);
    width: fit-content; /* a label, not a button: no box */
}

/* ==========================================================================
   4. LIVE OPENINGS & JOB CARDS (DYNAMIC FROM BACKEND)
   ========================================================================== */
.btn-startup-outline-dark {
    background: #ffffff !important;
    color: var(--se-dark, #0f172a) !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 18px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.btn-startup-outline-dark:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: var(--se-primary, #2563eb) !important;
    transform: translateY(-1px);
}

.career-live-job-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.career-live-job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px -6px rgba(37, 99, 235, 0.16);
    border-color: rgba(37, 99, 235, 0.38);
}

.card-head-meta {
    margin-bottom: 12px;
}

.live-job-title {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.32;
    margin-bottom: 0;
    letter-spacing: -0.2px;
}

.live-job-title a {
    color: var(--se-dark, #0f172a);
    text-decoration: none;
    transition: color 0.2s ease;
}

.live-job-title a:hover {
    color: var(--se-primary, #2563eb);
}

.live-job-location {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Status Pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 9999px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-pill-urgent {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.status-pill-hot {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.status-pill-paused {
    background: #fff7ed !important;
    color: #c2410c !important;
    border: 1px solid #fdba74 !important;
    box-shadow: 0 1px 3px rgba(234, 88, 12, 0.12);
}

.status-pill-new {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Spec strip */
.live-job-spec-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}

.live-spec-item {
    font-size: 0.76rem;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3.5px 9px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Requirements Box */
.live-job-requirements {
    margin-bottom: 12px;
    flex-grow: 1;
}

.req-heading {
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.req-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--se-text, #475569);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Skills list */
.live-job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.live-skill-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--se-primary, #2563eb);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    padding: 2.5px 8px;
    border-radius: 5px;
}

.live-skill-tag-more {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2.5px 7px;
    border-radius: 5px;
}

/* Action button */
.btn-live-view {
    background: var(--se-primary, #2563eb);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 9px 16px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    border: none;
}

.btn-live-view:hover {
    background: var(--se-primary-hover, #1d4ed8);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(37, 99, 235, 0.35);
}

.empty-live-jobs-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    padding: 38px 20px;
}

/* ==========================================================================
   5. WORK ENVIRONMENT & PRACTICAL GROWTH VALUES (6 Cards)
   ========================================================================== */
.perk-modern-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 16px -4px rgba(15, 23, 42, 0.04);
    height: 100%;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.25s ease;
}

.perk-modern-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px -4px rgba(37, 99, 235, 0.13);
    border-color: rgba(37, 99, 235, 0.3);
}

.perk-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.text-purple {
    color: #8b5cf6 !important;
}

.perk-body h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--se-dark, #0f172a);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.perk-body p {
    font-size: 0.91rem;
    line-height: 1.55;
    color: var(--se-text, #475569);
    margin-bottom: 0;
}

/* ==========================================================================
   6. 4-STAGE HIRING PROCESS
   ========================================================================== */
.hiring-step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 18px;
    border: 1px solid #e2e8f0;
    border-top: 3.5px solid #2563eb;
    box-shadow: 0 5px 18px -4px rgba(15, 23, 42, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
}

.hiring-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -6px rgba(37, 99, 235, 0.15);
}

.step-badge-num {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--se-primary, #2563eb);
    font-size: 0.92rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.step-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--se-dark, #0f172a);
    margin-bottom: 3px;
    letter-spacing: -0.2px;
}

.step-time {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--se-primary, #2563eb);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 9px;
}

.step-desc {
    font-size: 0.91rem;
    line-height: 1.55;
    color: var(--se-text, #475569);
    margin-bottom: 0;
    flex-grow: 1;
}

/* ==========================================================================
   7. TALENT COMMUNITY CTA BANNER
   ========================================================================== */
.career-cta-card {
    background: linear-gradient(
        90deg,
        rgba(2, 0, 36, 1) 0%,
        rgba(6, 5, 82, 1) 7%,
        rgba(9, 9, 121, 1) 21%,
        rgba(4, 130, 201, 1) 56%,
        rgba(14, 165, 233, 1) 100%
    ) !important;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 16px 42px rgba(4, 130, 201, 0.28);
    position: relative;
    overflow: hidden;
}

.career-cta-heading {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.career-cta-text {
    font-size: clamp(0.88rem, 1.6vw, 1rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto 20px;
    line-height: 1.55;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 767.98px) {
    .hero-banner {
        padding: 72px 0 40px;
        min-height: auto;
    }

    .content-left {
        text-align: center;
        padding: 0.75rem 0.25rem;
    }

    .hero-title {
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .cta-container {
        justify-content: center;
    }

    .hero-metric-strip {
        justify-content: center;
    }

    .career-section {
        padding: 32px 0 36px;
    }

    .career-cta-card {
        padding: 28px 18px;
        border-radius: 16px;
    }

    .btn-startup-primary,
    .btn-startup-outline {
        width: 100%;
    }
}