#hire-smarter-section {
    position: relative;
    background: #FFFFFF;
    padding: 80px 0 99px;
}

#hire-smarter-section .content {
    max-width: max-content;
}

#hire-smarter-section .content b {
    font-weight: 500;
}

#hire-smarter-section .content {
    flex-direction: column;
    align-items: center;
}

.hire-smarter-header {
    text-align: center;
    max-width: 547px;
}

.hire-smarter-header h2 {
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 40px;
    line-height: 1;
    color: #000000;
}

.hire-smarter-header p {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
    color: #000000;
    max-width: 508px;
    margin: 0 auto;
}

.hire-smarter-note {
    margin-top: 20px !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-family: "Alexandria", sans-serif !important;
    color: #9C27B0 !important;
}

.hire-smarter-pricing {
    margin-top: 48px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hire-smarter-toggle {
    display: flex;
    align-items: center;
    padding: 2px;
    gap: 0px;
    background: #FFFFFF;
    border: 1px solid #E1D8E5;
    border-radius: 20px;
}

.hire-toggle-btn {
    border: none;
    outline: none;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 20px;
    background: transparent;
    font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-transform: capitalize;
    color: #1C1C1C;
}

.hire-toggle-btn--active {
    background: #9C27B0;
    color: #FFFFFF;
    font-weight: 500;
}

/* Ellipse lives outside the scroll track */
.hire-smarter-cards-wrapper {
    position: relative;
    width: 100%;
}

.hire-smarter-ellipse {
    position: absolute;
    width: 315px;
    height: 481px;
    top: 50px;
    left: calc(50% - 315px / 2);
    background: linear-gradient(241.55deg, rgba(182, 61, 239, 0.45) 29.98%, rgba(62, 18, 178, 0.45) 57.5%);
    filter: blur(126px);
    transform: rotate(-90deg);
    z-index: 0;
    pointer-events: none;
}

.hire-smarter-cards {
    position: relative;
    width: 100%;
    display: flex;
    gap: 30px;
    z-index: 1;
}

.hire-plan {
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 312px;
    min-height: 546px;
    padding: 30px 15px;
    border-radius: 16px;
    border: 1px solid #E2D8E6;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.hire-plan--middle {
    /* no extra styles needed on desktop */
}

.hire-plan--highlight {
    background: #F6F3FF;
    border: 1.5px solid #9C27B0;
}

.hire-plan-badge {
    position: absolute;
    font-weight: 500;
    top: 16px;
    right: 24px;
    padding: 2px 20px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #F3DFF7;
    font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    font-size: 12px;
    color: #9C27B0;
}

.hire-plan h3 {
    align-self: stretch;
    margin: 0;
    font-family: "Alexandria", sans-serif;
    font-size: 24px;
    line-height: 32px;
    color: #9C27B0;
    font-weight: 600;
}

.hire-plan-price-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hire-plan-price {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.hire-plan-price-value {
    font-family: "Inter", sans-serif;
    font-size: 36px;
    line-height: 40px;
    font-weight: 600;
    color: #000000;
}

.hire-plan-price-period {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #000000;
    padding-bottom: 4px;
}

.hire-plan-included {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hire-plan-included p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
}

.hire-plan-features {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hire-plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.hire-plan-features li::before {
    content: "";
    width: 24px;
    height: 24px;
}

.hire-plan-features li.is-included::before {
    content: "";
    background: url(../assets/hire-smarter-section/hire-check-icon.svg) no-repeat center center;
    background-size: contain;
    width: 24px;
    height: 24px;
}

.hire-plan-features li.is-excluded {
    color: #6D7C93;
}

.hire-plan-features li.is-excluded::before {
    content: "";
    background: url(../assets/hire-smarter-section/hire-cross-icon.svg) no-repeat center center;
    background-size: contain;
    width: 24px;
    height: 24px;
}

.hire-plan-btn {
    margin-top: auto;
    border-radius: 25px;
    font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    font-size: 14px;
    text-transform: none;
    width: 100%;
    height: 46px;
}

.hire-plan-btn--outline {
    /* background: #FFFFFF !important; */
    color: #9C27B0 !important;
    border: 1px solid #9C27B0 !important;
}

.hire-plan-btn--outline:hover {
    background: #9C27B0 !important;
    color: #FFFFFF !important;
}

.hire-plan-btn--primary {
    background: #9C27B0 !important;
    color: #FFFFFF !important;
}

.hire-plan-btn--primary:hover {
    /* background: #8048E2 !important; */
}


/* ── Free plan card (mobile only) ── */
.hire-free-plan {
    display: none;
}

/* Desktop: hide free card, show note + toggle normally */
.hire-smarter-note--desktop {
    display: block;
}
/* ── Tablet: cards don't fit → horizontal scroll ── */
@media (max-width: 1160px) {
    .hire-smarter-pricing {
        max-width: 100%;
    }

    .hire-smarter-cards-wrapper {
        width: 100%;
        overflow: hidden; /* clip the glow */
    }

    .hire-smarter-cards {
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
        /* padding so first/last cards don't hug the edge */
        padding: 38px 24px 40px;
        /* negative margin to allow full-bleed scroll */
        width: calc(100% + 0px);
        box-sizing: border-box;
        justify-content: flex-start;
    }

    .hire-smarter-cards::-webkit-scrollbar {
        display: none;
    }

    .hire-plan {
        scroll-snap-align: center;
        flex-shrink: 0;
        width: 350px;
        padding: 30px 24px
    }

    .hire-smarter-ellipse {
        /* stay centred behind the middle card */
        left: calc(50% - 315px / 2);
        top: 60px;
    }
}

@media (max-width: 768px) {

    #hire-smarter-section .content {
        background: linear-gradient(180deg, #FFFFFF 0%, #F9E4FF 100%);
    }
    
    #hire-smarter-section {
        padding: 64px 0 0px;
    }

    .hire-smarter-header {
        width: 100%;
        max-width: 100%;
    }

    .hire-smarter-header h2 {
        font-size: 24px;
    }

    .hire-smarter-header p {
        font-size: 18px;
        align-self: center;
        margin: 0 auto;
        max-width: 336px;
    }

    .hire-smarter-pricing {
        margin-top: 0px;
    }

    .hire-plan-price-value {
        font-size: 32px;
    }

    .hire-smarter-ellipse {
        top: unset;
        bottom: 0px;
    }

    /* first visible card is the middle (Recruiter) one */
    .hire-smarter-cards {
        padding-left: calc(50% - 175px); /* 175 = 350/2 */
        padding-right: calc(50% - 175px);
    }

    /* Hide "Try it free" note and toggle on mobile */
    .hire-smarter-note--desktop {
        display: none;
    }
    .hire-smarter-toggle-wrapper {
        display: none;
    }

    .hire-smarter-free-plan-wrapper {
        display: flex;
        justify-content: center;
        margin: 20px 0 0;
    }

    /* Show free plan card */
    .hire-free-plan {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: calc(100% - 40px);
        max-width: 390px;

        padding: 20px 20px;
        box-sizing: border-box;
        border-radius: 16px;
    }

    .hire-free-plan__info {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .hire-free-plan__title-block {
        display: flex;
        flex-direction: column;
        gap: 9px;
        /* flex-shrink: 0; */
        width: 100px;
        align-items: flex-start;
    }

    .hire-free-plan__title {
        font-family: "Alexandria", sans-serif;
        font-size: 24px;
        font-weight: 600;
        line-height: 32px;
        color: #9C27B0;
    }

    .hire-free-plan__price {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 3px;
    }

    .hire-free-plan__price-value {
        font-family: "Inter", sans-serif;
        font-size: 36px;
        font-weight: 600;
        line-height: 40px;
        color: #000000;
    }

    .hire-free-plan__price-period {
        font-family: "Inter", sans-serif;
        font-size: 14px;
        color: #000000;
        padding-bottom: 4px;
    }

    .hire-free-plan__features {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1;
        min-width: 0;
        align-items: flex-start;
    }

    .hire-free-plan__features li {
        font-family: "Inter", sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: #000000;
        display: block;
        /* white-space: nowrap; */
        text-align: start;
    }

    .hire-free-plan__features li b {
        font-weight: 600;
    }

    .hire-free-plan__features li.is-checked {
        font-weight: 600;
        color: #1C1C1C;
        display: flex;
        align-items: center;
        gap: 4px;
        white-space: normal;
    }

    .hire-free-plan__features li.is-checked::before {
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        background: url(../assets/hire-smarter-section/hire-check-icon.svg) no-repeat center center;
        background-size: contain;
    }

    .hire-free-plan__btn {
        width: 100%;
        max-width: 280px;
        height: 50px;
        border-radius: 25px !important;
        background: #9165F1 !important;
        color: #FFFFFF !important;
        font-family: "Work Sans", sans-serif !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-transform: capitalize !important;
    }
    .hire-plan--free {
        display: none;
    }

}