/* ============================================================ 
   HIRE DEVELOPERS "TALENT NEXUS" v1.0
   Design: Snow Surface x Indigo Team Matrix
   Hierarchy: H1 (48px) | H2 (36px) | H3 (28px)
   ============================================================ */

.hire-mastery-body {
    background: #F8F9FA;
    color: #1F1F1F;
    overflow-x: hidden;
}

/* --- SUPREME TALENT HERO --- */
.hir-hero {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 100px;
    background: #FFFFFF;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hir-hero__bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.6;
}

.hir-hero__layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 100px;
    align-items: center;
}

.hir-hero__title {
    font-size: 3rem; /* 48px exactly */
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
    color: #1F1F1F;
}

/* Global H2 standard for Hire portal */
h2 {
    font-size: 2.25rem !important; /* 36px */
    font-weight: 600 !important;
    letter-spacing: -0.03em;
}

.hir-hero__desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #5F6368;
    max-width: 620px;
    margin-bottom: 48px;
}

/* --- TRUST LEDGER (STATS) --- */
.section-trust {
    padding: 60px 0;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8F9FA;
    padding: 40px 60px;
    border-radius: 40px;
    border: 1px solid rgba(0,0,0,0.04);
}

.trust-module {
    text-align: center;
    flex: 1;
}

.trust-module__val {
    display: block;
    font-size: 2.25rem; /* 36px */
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.trust-module__label {
    font-size: 0.875rem;
    color: #5F6368;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* --- ROSTER MATRIX --- */
.section-models {
    padding: 100px 0;
    background: #F8F9FA;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.roster-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 48px;
    padding: 48px;
    transition: all 0.5s var(--saas-ease);
    display: flex;
    flex-direction: column;
}

.roster-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
}

.roster-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.roster-card__title {
    font-size: 1.75rem; /* 28px exactly */
    font-weight: 600;
    color: #1F1F1F;
    margin-bottom: 16px;
    line-height: 1.3;
}

.roster-card__desc {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #5F6368;
}

/* --- PROCESS PROTOCOL --- */
.section-protocol {
    padding: 100px 0;
    background: #FFFFFF;
}

.protocol-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    position: relative;
    margin-top: 60px;
}

.protocol-step {
    position: relative;
    z-index: 10;
}

.protocol-step__num {
    font-family: 'Space Mono', monospace;
    font-size: 4rem;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: -20px;
    display: block;
}

.protocol-step__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F1F1F;
    margin-bottom: 12px;
}

.protocol-step__desc {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #5F6368;
}

/* --- TALENT NEXUS CTA --- */
.hir-cta-section {
    padding: 100px 0 140px;
    background: #F8F9FA;
}

.case-card__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary) !important;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.case-card__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card__link:hover::after {
    width: 100%;
}

.case-card__link svg {
    transition: transform 0.4s ease;
}

.case-card__link:hover svg {
    transform: translateX(6px);
}

@media (max-width: 1024px) {
    .hir-hero {
        padding: calc(var(--header-height) + 40px) 0 60px !important;
        text-align: center;
    }
    .hir-hero__layout { 
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .hir-hero__title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        margin-bottom: 20px !important;
    }
    .hir-hero__desc {
        font-size: 0.9375rem !important;
        margin-bottom: 32px !important;
        max-width: 100% !important;
    }
    .hir-hero__visual {
        display: none;
    }

    h2 {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
    }

    .section-trust {
        padding: 40px 0 !important;
    }
    .trust-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 !important;
        padding: 0 !important;
        background: #FFFFFF !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        border-radius: 32px !important;
        overflow: hidden !important;
    }
    .trust-module {
        padding: 32px 20px !important;
        border-right: 1px solid rgba(0, 0, 0, 0.04) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    }
    .trust-module:nth-child(2n) {
        border-right: none !important;
    }
    .trust-module:nth-last-child(-n+2) {
        border-bottom: none !important;
    }
    .trust-module__val {
        font-size: 1.5rem !important;
    }

    .section-models {
        padding: 60px 0 !important;
    }
    .roster-grid { 
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .roster-card {
        padding: 32px 24px !important;
        border-radius: 32px !important;
    }
    .roster-card__title {
        font-size: 1.125rem !important;
    }
    .roster-card__desc {
        font-size: 0.9375rem !important;
    }

    .section-protocol {
        padding: 60px 0 !important;
    }
    .protocol-steps { 
        grid-template-columns: 1fr !important; 
        gap: 40px !important; 
        margin-top: 40px !important;
    }
    .protocol-step__num {
        font-size: 2.5rem !important;
    }
    .protocol-step__title {
        font-size: 1.125rem !important;
    }

    .hir-cta-section {
        padding: 60px 0 !important;
    }
    .btn-supreme {
        width: 100% !important;
        justify-content: center !important;
        padding: 16px 24px !important;
        font-size: 0.9375rem !important;
    }
    .kinetic-nexus { display: none !important; }
}
