/* ============================================
    TA — SINGLE BUNDLE
    Page sections: ta-bhero, ta-roadmap, ta-bcourses, ta-bmodal, ta-pathway,
    ta-compare, ta-float. JS: float-cta.js.
============================================ */

/* ==========================================================================
   SINGLE BUNDLE HERO
   abbr: ta-bhero
   ========================================================================== */
.ta-bhero {
    padding: 10px 0 0;
}
.ta-bhero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 241px;
    gap: 40px;
    align-items: start;
    padding-inline: 42px 111px;
}
.ta-bhero-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 6px;
}
.ta-bhero-badge {
    display: inline-flex;
    align-items: center;
    height: 33px;
    padding: 0 12px;
    border-radius: 11px;
    background-color: #efb352;
    font-size: 1.15rem;
    color: var(--ta-white);
}
.ta-bhero-prefix {
    font-size: 1.75rem;
    font-weight: var(--ta-fw-bold);
    line-height: 1.2;
}
.ta-bhero-title {
    max-width: 520px;
    margin: 24px 0 0;
    font-size: var(--ta-fs-37);
    font-weight: var(--ta-fw-bold);
    line-height: 1.32;
    letter-spacing: 0.01em;
}
.ta-bhero-text {
    max-width: 330px;
    margin: 18px 0 0;
    font-size: var(--ta-fs-15);
    line-height: 1.22;
}
.ta-bhero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 45px;
}
.ta-bhero-btn {
    min-width: 227px;
    min-height: 40px;
    padding: 8px 18px;
    font-size: var(--ta-fs-13);
}
.ta-bhero-img-wrap {
    max-width: 620px;
    margin-top: 32px;
    overflow: hidden;
    border: 2px solid var(--ta-yellow);
    border-radius: 53px;
}
.ta-bhero-img {
    display: block;
    width: 100%;
    aspect-ratio: 620 / 410;
    object-fit: cover;
}
.ta-bhero-side {
    position: sticky;
    top: 24px;
    padding-top: 50px;
}

/* ---- Pricing card ---- */
.ta-bprice {
    padding: 22px 22px 20px;
    border-radius: 29px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f4ff 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.ta-bprice p {
    margin: 0;
}
.ta-bprice-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    font-size: 1.8rem;
    line-height: 1.1;
}
.ta-bprice-amount del {
    color: var(--ta-gray-869);
    text-decoration-thickness: 2px;
}
.ta-bprice-amount ins {
    text-decoration: none;
    font-weight: var(--ta-fw-bold);
    color: var(--ta-gray-555);
}
.ta-bprice-save {
    margin-top: 10px !important;
    font-size: var(--ta-fs-11);
}
.ta-bprice-list {
    display: inline-block;
    margin: 22px 0 0;
    padding-left: 18px;
    font-size: var(--ta-fs-11);
    font-style: italic;
    font-weight: var(--ta-fw-medium);
    line-height: 1.45;
    text-align: left;
}
.ta-bprice-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 26px !important;
    font-size: var(--ta-fs-10);
}
.ta-bprice-guarantee svg {
    width: 8px;
    height: 8px;
}
.ta-bprice-btn {
    width: 100%;
    min-height: 29px;
    margin-top: 8px;
    padding: 6px 12px;
    font-size: var(--ta-fs-11);
    font-weight: var(--ta-fw-bold);
    text-transform: uppercase;
}

@media (max-width: 1199.98px) {
    .ta-bhero-grid {
        padding-inline: 0;
    }
}
@media (max-width: 991.98px) {
    .ta-bhero {
        padding-top: 32px;
    }
    .ta-bhero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ta-bhero-side {
        position: static;
        padding-top: 0;
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }
    .ta-bhero-img-wrap {
        border-radius: 32px;
    }
}
@media (max-width: 575.98px) {
    .ta-bhero-prefix {
        font-size: 1.375rem;
    }
    .ta-bhero-btn {
        width: 100%;
    }
}


/* ---- Bundle section title + subtitle ---- */
.ta-btitle {
    margin: 0;
    font-size: var(--ta-fs-37);
    font-weight: var(--ta-fw-bold);
    text-align: center;
}
.ta-bsub {
    margin: 14px 0 0;
    font-size: var(--ta-fs-16);
    text-align: center;
    color: var(--ta-gray-b4);
    letter-spacing: 0.02em;
}


/* ==========================================================================
   ROADMAP — "Your Career Roadmap"
   abbr: ta-roadmap
   ========================================================================== */
.ta-roadmap {
    padding: 36px 0 0;
}
.ta-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 323px));
    justify-content: center;
    gap: 29px;
    margin: 46px 0 0;
    padding: 0;
    list-style: none;
}
.ta-roadmap-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 181px;
    padding: 14px 16px 24px;
    border: 3px solid var(--ta-yellow);
    border-radius: 21px;
    background-color: var(--ta-white);
    text-align: center;
    transition: transform var(--ta-ease);
}
.ta-roadmap-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -26px;
    z-index: -1;
    width: 80%;
    height: 26px;
    border-radius: 50%;
    background: var(--ta-shadow-blob);
    filter: blur(16px);
    transform: translateX(-50%);
}
.ta-roadmap-card:hover {
    transform: translateY(-4px);
}
.ta-roadmap-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--ta-yellow);
    border-radius: 50%;
    background-color: var(--ta-white);
    font-size: 1.375rem;
    line-height: 1;
}
.ta-roadmap-label {
    margin: 24px 0 0;
    font-size: var(--ta-fs-24);
    font-weight: var(--ta-fw-bold);
}
.ta-roadmap-desc {
    margin: 14px 0 0;
    font-size: 0.72rem;
    color: var(--ta-gray-b4);
}

@media (max-width: 767.98px) {
    .ta-roadmap-grid {
        grid-template-columns: minmax(0, 340px);
        gap: 40px;
    }
}


/* ==========================================================================
   BUNDLE COURSES — "The Courses You Will Get"
   abbr: ta-bcourses
   ========================================================================== */
.ta-bcourses {
    padding: 80px 0 0;
}
.ta-bcourses-slider {
    --ta-slider-per: 4;
    --ta-slider-gap: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}
.ta-bcourses-slider .ta-slider-track {
    flex: 1;
    min-width: 0;
    padding-block: 6px;             /* room for the card hover lift */
}
.ta-bcourses-arrow {
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.ta-bcourses-arrow:not(:disabled):hover {
    background-color: var(--ta-yellow);
    color: var(--ta-black);
}

@media (max-width: 1199.98px) {
    .ta-bcourses-slider {
        --ta-slider-per: 3;
    }
}
@media (max-width: 767.98px) {
    .ta-bcourses-slider {
        --ta-slider-per: 2;
        --ta-slider-gap: 14px;
        gap: 8px;
    }
    .ta-bcourses-arrow {
        width: 32px;
        height: 32px;
    }
}
@media (max-width: 479.98px) {
    .ta-bcourses-slider {
        --ta-slider-per: 1;
    }
}


/* ==========================================================================
   BUNDLE DETAILS MODAL
   abbr: ta-bmodal
   Bootstrap modal; the body is .ta-rich (the_content).
   ========================================================================== */
.ta-bmodal {
    --bs-modal-zindex: 1060;
}
.ta-bmodal .modal-dialog {
    max-width: 820px;
}
.ta-bmodal-content {
    overflow: hidden;
    border: 0;
    border-radius: 29px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f4ff 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.ta-bmodal-head {
    align-items: flex-start;
    gap: 20px;
    padding: 28px 32px 18px;
    border-bottom: 2px solid var(--ta-yellow);
}
.ta-bmodal-title {
    margin: 0;
    font-size: var(--ta-fs-30);
    font-weight: var(--ta-fw-bold);
    line-height: 1.25;
}
.ta-bmodal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0;
    border: 2px solid var(--ta-yellow);
    border-radius: 50%;
    background-color: var(--ta-white);
    color: var(--ta-black);
    transition: background-color var(--ta-ease), transform var(--ta-ease);
}
.ta-bmodal-close:hover {
    background-color: var(--ta-yellow);
    transform: rotate(90deg);
}
.ta-bmodal-close svg {
    width: 14px;
    height: 14px;
}
.ta-bmodal-scroll {
    padding: 24px 32px 32px;
}
.ta-bmodal-body {
    font-size: var(--ta-fs-16);
}
.modal-backdrop.show {
    opacity: 0.6;
}

@media (max-width: 575.98px) {
    .ta-bmodal-head {
        padding: 20px 20px 14px;
    }
    .ta-bmodal-title {
        font-size: var(--ta-fs-24);
    }
    .ta-bmodal-scroll {
        padding: 18px 20px 24px;
    }
    .ta-bmodal-body {
        font-size: var(--ta-fs-15);
    }
}


/* ==========================================================================
   PATHWAY — "Your Career Pathway"
   abbr: ta-pathway
   ========================================================================== */
.ta-pathway {
    padding: 96px 0 72px;
}
.ta-pathway-list {
    max-width: 704px;
    margin: 66px auto 0;
    padding: 0;
    list-style: none;
}
.ta-pathway-item {
    display: flex;
    align-items: center;
    gap: 24px;
}
.ta-pathway-item + .ta-pathway-item {
    margin-top: 27px;
}
.ta-pathway-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 63px;
    height: 63px;
    border: 5px solid var(--ta-yellow);
    border-radius: 50%;
    background-color: var(--ta-white);
    font-size: 1.6rem;
    font-weight: var(--ta-fw-bold);
    line-height: 1;
}
.ta-pathway-label {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 63px;
    padding: 8px 24px 8px 62px;
    border-radius: 18px;
    background-color: var(--ta-white);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.04);
    font-size: 1.6rem;
    line-height: 1.2;
    transition: transform var(--ta-ease);
}
.ta-pathway-item:hover .ta-pathway-label {
    transform: translateX(4px);
}

@media (max-width: 575.98px) {
    .ta-pathway {
        padding-top: 64px;
    }
    .ta-pathway-list {
        margin-top: 36px;
    }
    .ta-pathway-item {
        gap: 12px;
    }
    .ta-pathway-num {
        width: 48px;
        height: 48px;
        border-width: 4px;
        font-size: 1.25rem;
    }
    .ta-pathway-label {
        min-height: 48px;
        padding-left: 22px;
        font-size: 1.125rem;
    }
}


/* ==========================================================================
   VALUE COMPARISON + STATS — "Premium Value Comparison"
   abbr: ta-compare
   ========================================================================== */
.ta-compare {
    padding: 56px 0 77px;
}
.ta-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 275px));
    justify-content: center;
    gap: 87px;
    margin-top: 32px;
}
.ta-compare-card {
    position: relative;
    min-height: 192px;
    padding: 14px 20px 20px 30px;
    border-radius: 21px;
}
.ta-compare-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    z-index: -1;
    width: 80%;
    height: 20px;
    border-radius: 50%;
    background: rgba(30, 28, 28, 0.1);
    filter: blur(12px);
    transform: translateX(-50%);
}
.ta-compare-card p {
    margin: 0;
}
.ta-compare-card-grey {
    background: linear-gradient(180deg, #dedede 0%, #fbfbfb 100%);
}
.ta-compare-card-bundle {
    border: 4px solid #b9c8d8;
    background-color: var(--ta-white);
}
.ta-compare-heading {
    margin: 0;
    max-width: 130px;
    font-size: 1.375rem;
    font-weight: var(--ta-fw-bold);
    line-height: 1.4;
}
.ta-compare-card-bundle .ta-compare-heading {
    max-width: none;
    color: var(--ta-primary);
}
.ta-compare-list {
    margin: 2px 0 0;
    padding-left: 10px;
    font-size: var(--ta-fs-12);
    line-height: 1.4;
    list-style: none;
}
.ta-compare-list li {
    position: relative;
    padding-left: 10px;
}
.ta-compare-list li::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentColor;
}
.ta-compare-list li + li {
    margin-top: 2px;
}
.ta-compare-card-grey .ta-compare-list {
    color: var(--ta-gray-b4);
}
.ta-compare-card-bundle .ta-compare-list {
    margin-top: 26px;
}
.ta-compare-total {
    margin-top: 6px !important;
    font-size: 1.375rem;
    font-weight: var(--ta-fw-bold);
    line-height: 1.4;
    color: var(--ta-gray-555);
}
.ta-compare-total strong {
    display: block;
    color: var(--ta-gray-b4);
}
.ta-compare-price {
    margin-top: 12px !important;
    font-size: 1.375rem;
    font-weight: var(--ta-fw-bold);
    line-height: 1.1;
    color: var(--ta-primary);
}
.ta-compare-save {
    font-size: var(--ta-fs-12);
    font-weight: var(--ta-fw-bold);
}

/* ---- Stats bar ---- */
.ta-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    max-width: 940px;
    margin: 36px auto 0;
    padding: 20px 10px 18px;
    border-radius: 27px;
    background-color: var(--ta-white);
    list-style: none;
}
.ta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ta-stat-val {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 2.25rem;
    font-weight: var(--ta-fw-bold);
    line-height: 1;
}
.ta-stat-infinity svg {
    width: 60px;
    height: 26px;
    color: #3d3d53;
}
.ta-stat-stars {
    margin-top: 4px;
}
.ta-stat-stars svg {
    width: 16px;
    height: 16px;
}
.ta-stat-label {
    margin-top: 4px;
    font-size: 0.97rem;
    line-height: 1.3;
    color: var(--ta-gray-869);
}

@media (max-width: 767.98px) {
    .ta-compare-grid {
        grid-template-columns: minmax(0, 300px);
        gap: 40px;
    }
    .ta-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 8px;
    }
}


/* ==========================================================================
   FLOATING CTA
   abbr: ta-float
   ========================================================================== */
.ta-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.ta-float.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ta-float-card {
    width: 227px;
    padding: 24px 26px 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f4ff 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14);
}
.ta-float-card p {
    margin: 0;
}
.ta-float-title {
    font-size: var(--ta-fs-13);
    font-weight: var(--ta-fw-bold);
    line-height: 1;
}
.ta-float-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    font-size: var(--ta-fs-13);
}
.ta-float-rating svg {
    width: 13px;
    height: 13px;
}
.ta-float-list {
    margin: 12px 0 0;
    padding-left: 16px;
    font-size: var(--ta-fs-10);
    line-height: 1.6;
    color: var(--ta-navy);
}
.ta-float-price {
    margin-top: 10px !important;
    font-size: 1.9rem;
    font-weight: var(--ta-fw-bold);
    line-height: 1.1;
}
.ta-float-btn {
    width: 100%;
    min-height: 29px;
    margin-top: 8px;
    padding: 6px 12px;
    font-size: var(--ta-fs-11);
}

/* Mobile: a bar pinned to the bottom of the screen */
@media (max-width: 991.98px) {
    .ta-float {
        left: 0;
        right: 0;
        bottom: 0;
    }
    .ta-float-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "title btn" "price btn";
        align-items: center;
        column-gap: 14px;
        width: 100%;
        padding: 12px 16px;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.13);
    }
    .ta-float-rating,
    .ta-float-list {
        display: none;
    }
    .ta-float-title {
        grid-area: title;
    }
    .ta-float-price {
        grid-area: price;
        margin-top: 4px !important;
        font-size: 1.3rem;
        color: var(--ta-orange);
    }
    .ta-float-btn {
        grid-area: btn;
        width: auto;
        min-height: 42px;
        margin: 0;
        padding: 10px 22px;
        font-size: var(--ta-fs-14);
    }
}
