/*
* Product Platform Block
* "One hiring system" heading over three product cards on a translucent surface, each with an icon pill
* and a product UI sample (faded at the bottom), and the light fraud detection strip on a fading rule.
* Design v20 at 1440 / 390. Builds on home-blocks-shared.css.
*/

.bhh-platform {
    --bhh-platform-bg: #F0F5FD;
    background: var(--bhh-platform-bg);
    color: var(--bhh-ink);
}
.bhh-platform *,
.bhh-platform *::before,
.bhh-platform *::after {
    box-sizing: border-box;
}
.bhh-platform__inner {
    max-width: 1448px;
    margin: 0 auto;
    padding: 88px 64px;
}

/* Heading: Haffer 600 48 / 1.1, text 18 / 1.6 */
.bhh-platform__head {
    max-width: 920px;
    margin: 0 auto 40px;
    text-align: center;
}
.bhh-platform .bhh-platform__title {
    margin: 0 0 20px;
    font-family: var(--bhh-font-head);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1.3px;
    color: var(--bhh-ink);
}
.bhh-platform .bhh-platform__desc {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #5F6B92;
}

/* Shared translucent surface */
.bhh-platform__surface {
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid rgba(205, 211, 225, 0.55);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 5px rgba(40, 53, 96, 0.025);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.bhh-platform__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}
.bhh-platform__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #E1E6F3;
    border-radius: 26px;
    background: #FFFFFF;
}
.bhh-platform__copy {
    padding: 28px 28px 10px;
}
/* Icon-in-pill label */
.bhh-platform__pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 36px;
    margin-bottom: 18px;
    padding: 0 16px 0 10px;
    border: 1px solid #E6E3F3;
    border-radius: 999px;
    background: #F5F4FB;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #596085;
}
.bhh-platform__pill-ico {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}
.bhh-platform__pill-ico .bhh-picon {
    transform: scale(0.8);
}
.bhh-platform__pill-ico.is-orb .bhh-picon {
    transform: scale(0.58);
}
.bhh-platform__pill-ico .bhh-picon--orb i {
    box-shadow: none;
}
.bhh-platform .bhh-platform__name {
    margin: 0 0 15px;
    font-family: var(--bhh-font-head);
    font-size: 27px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--bhh-ink);
}
.bhh-platform .bhh-platform__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5F6B92;
}

/* UI sample area: 246 tall, the sample cut off with a soft fade */
.bhh-platform__art {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 246px;
    margin-top: auto;
    padding: 14px 28px 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 110%, #EDF3F2, transparent 75%), radial-gradient(ellipse at 95% 100%, #EFEDF7, transparent 85%), #FFFFFF;
}
.bhh-platform__card--2 .bhh-platform__art {
    background: radial-gradient(ellipse at 70% 110%, #EDF1F7, transparent 80%), radial-gradient(ellipse at 0% 100%, #F1EEF7, transparent 85%), #FFFFFF;
}
.bhh-platform__card--3 .bhh-platform__art {
    background: radial-gradient(ellipse at 100% 110%, #EEF3F1, transparent 80%), radial-gradient(ellipse at 0% 100%, #EFEDF6, transparent 85%), #FFFFFF;
}
.bhh-platform__art::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 48px;
    background: linear-gradient(180deg, rgba(242, 242, 247, 0), rgba(242, 242, 247, 0.65) 70%, #F2F2F7);
    pointer-events: none;
}
.bhh-platform__card--2 .bhh-platform__art::after {
    background: linear-gradient(180deg, rgba(242, 243, 248, 0), rgba(242, 243, 248, 0.65) 70%, #F2F3F8);
}
.bhh-platform__card--3 .bhh-platform__art::after {
    background: linear-gradient(180deg, rgba(242, 243, 246, 0), rgba(242, 243, 246, 0.65) 70%, #F2F3F6);
}
.bhh-platform__art--image {
    padding: 0;
    align-items: stretch;
}
.bhh-platform__art--image picture {
    display: block;
    width: 100%;
}
/* as in the design: 96% of the card width, 12px down, cut off by the fade at the bottom */
.bhh-platform__art--image img {
    display: block;
    flex: none;
    align-self: flex-start;
    width: 96%;
    height: auto;
    margin: 12px auto 0;
}

.bhh-platform__ui {
    flex: none;
    width: 100%;
    min-height: 265px;
    overflow: hidden;
    border: 1px solid #E4E6F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px -14px rgba(40, 53, 96, 0.16);
    transform: translateY(7px);
    font-size: 12px;
    line-height: 1.4;
    color: var(--bhh-ink);
}
.bhh-platform__ui-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 15px 16px 12px;
    border-bottom: 1px solid #ECEEF5;
    font-weight: 600;
}
.bhh-platform__tag {
    padding: 3px 7px;
    border-radius: 6px;
    background: #EFECFF;
    font-size: 10px;
    font-weight: 400;
    white-space: nowrap;
    color: #4E2BCD;
}
.bhh-platform__tag.is-green {
    padding: 4px 7px;
    background: #E5F5EC;
    color: #248257;
}
/* candidate list */
.bhh-platform__row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-bottom: 1px solid #EFF0F6;
}
.bhh-platform__avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #EDEAFF;
    font-size: 10px;
    color: #6647D4;
}
.bhh-platform__person {
    flex: 1;
    min-width: 0;
    font-weight: 500;
}
.bhh-platform__person small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 400;
    color: #8791AE;
}
/* AI interview */
.bhh-platform__voice {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 16px;
    text-align: center;
}
.bhh-platform__orb {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 25% 65%, #5DE5DF, transparent 55%), radial-gradient(circle at 75% 20%, #BCA6FF, #7755E5 50%, #4E2BCD);
    box-shadow: 0 0 0 7px #F4F0FF;
}
.bhh-platform__caption {
    margin-top: 13px;
    font-size: 11px;
    color: #727E9E;
}
.bhh-platform__wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 19px;
    margin-top: 10px;
}
.bhh-platform__wave i {
    display: block;
    width: 3px;
    border-radius: 3px;
    background: #9C8BE5;
}
/* scorecard */
.bhh-platform__score {
    padding: 14px 16px 24px;
}
.bhh-platform__tabs {
    display: flex;
    margin-bottom: 12px;
    padding: 3px;
    border-radius: 8px;
    background: #F3F4F7;
    text-align: center;
    color: #8991A7;
}
.bhh-platform__tabs span {
    flex: 1;
    padding: 5px;
}
.bhh-platform__tabs .is-active {
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(37, 48, 91, 0.043);
    font-weight: 700;
    color: #5430DF;
}
.bhh-platform__crit {
    margin-bottom: 8px;
    padding: 10px 12px;
    border: 1px solid #E8EAF0;
    border-radius: 9px;
    background: #FFFFFF;
}
.bhh-platform__crit > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.bhh-platform__crit strong {
    font-weight: 600;
    color: #39466B;
}
.bhh-platform .bhh-platform__crit p {
    margin: 5px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: #8690A8;
}
.bhh-platform__stars {
    display: flex;
    gap: 2px;
}
.bhh-platform__stars i {
    display: block;
    width: 13px;
    height: 13px;
}
.bhh-platform .bhh-platform__stars svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: #7054CD;
}
.bhh-platform .bhh-platform__stars .is-off svg {
    fill: #E5E3EE;
}

/* Fraud detection: a light pill on a rule that fades out at both ends */
.bhh-platform__fraud {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1280px;
    margin: 18px auto 0;
    padding: 4px 0 2px;
}
.bhh-platform__fraud::before,
.bhh-platform__fraud::after {
    content: "";
    flex: 1 1 0;
    min-width: 20px;
    height: 1px;
    border-radius: 1px;
    background: linear-gradient(90deg, rgba(124, 100, 230, 0), rgba(124, 100, 230, 0.32));
}
.bhh-platform__fraud::after {
    background: linear-gradient(270deg, rgba(124, 100, 230, 0), rgba(124, 100, 230, 0.32));
}
.bhh-platform__fraud-core {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 48px);
    padding: 9px 18px;
    border: 1px solid #E7E4F2;
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px -4px rgba(40, 53, 96, 0.12);
    font-size: 14px;
    line-height: 1.3;
    color: #6B7593;
}
.bhh-platform__fraud-core strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
    color: #5A45D8;
}
.bhh-platform__fraud-core strong svg {
    flex: none;
}
.bhh-platform__fraud-core > span {
    padding-left: 12px;
    border-left: 1px solid #E3DEF7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
    .bhh-platform__inner {
        padding: 80px 32px;
    }
    .bhh-platform__copy {
        padding: 24px 22px 10px;
    }
    .bhh-platform__art {
        padding: 14px 22px 0;
    }
    .bhh-platform .bhh-platform__name {
        font-size: 24px;
    }
}
/* Tablet: one card per row, centred */
@media (max-width: 1023px) {
    .bhh-platform__inner {
        padding: 72px 40px;
    }
    .bhh-platform .bhh-platform__title {
        font-size: 40px;
    }
    .bhh-platform__surface {
        max-width: 640px;
    }
    .bhh-platform__cards {
        grid-template-columns: minmax(0, 1fr);
    }
    .bhh-platform__copy {
        padding: 28px 28px 10px;
    }
    .bhh-platform__art {
        margin-top: 14px;
        padding: 14px 28px 0;
    }
}
/* Mobile design: 390 wide */
@media (max-width: 767px) {
    .bhh-platform__inner {
        padding: 56px 20px;
    }
    .bhh-platform .bhh-platform__title {
        font-size: 32px;
        letter-spacing: -0.6px;
        /* even lines, so no word ("decision.") sits alone on the last one */
        text-wrap: balance;
    }
    /* the desktop line break would strand a word on phones */
    .bhh-platform .bhh-platform__title br {
        display: none;
    }
    .bhh-platform .bhh-platform__desc {
        font-size: 16px;
    }
    .bhh-platform__surface {
        padding: 10px;
        border-radius: 26px;
    }
    .bhh-platform .bhh-platform__name {
        font-size: 27px;
    }
    .bhh-platform__copy {
        padding: 24px 24px 8px;
    }
    .bhh-platform__art {
        padding: 14px 22px 0;
    }
    .bhh-platform__fraud {
        margin-top: 12px;
        padding: 16px 0;
    }
    .bhh-platform__fraud-core {
        flex-direction: column;
        gap: 4px;
        max-width: calc(100% - 40px);
        padding: 10px 16px;
        border-radius: 16px;
        text-align: center;
    }
    .bhh-platform__fraud-core > span {
        padding-left: 0;
        border-left: 0;
        line-height: 1.45;
    }
}

/* Optional eyebrow above the title (product page) */
.bhh-platform .bhh-platform__eyebrow {
    margin: 0 0 18px;
}
