.xu-packages {
    background: #f8fafc;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
    min-height: 72vh;
    padding: 54px 0 64px;
}

.xu-packages__header {
    margin: 0 auto 42px;
    max-width: 680px;
    text-align: center;
}

.xu-packages__header > span {
    align-items: center;
    color: #155eef;
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 750;
    gap: 7px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.xu-packages__header > span i {
    color: #f59e0b;
}

.xu-packages__header h1 {
    color: #101828;
    font-size: 3.2rem;
    font-weight: 720;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0 0 10px;
}

.xu-packages__header p {
    color: #667085;
    font-size: 1.4rem;
    line-height: 1.55;
}

.xu-packages__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xu-package-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 24px;
    position: relative;
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.xu-package-card:hover {
    border-color: #b2ccff;
    box-shadow: 0 16px 36px rgba(16, 24, 40, .1);
    transform: translateY(-3px);
}

.xu-package-card.is-featured {
    border: 2px solid #155eef;
    box-shadow: 0 14px 32px rgba(21, 94, 239, .14);
}

.xu-package-card__badge {
    background: #eef4ff;
    border: 1px solid #b2ccff;
    border-radius: 999px;
    color: #175cd3;
    font-size: 1.15rem;
    font-weight: 800;
    left: 50%;
    padding: 4px 13px;
    position: absolute;
    top: -14px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.xu-package-card__badge--soft {
    background: #f2f4f7;
    border-color: #d0d5dd;
    color: #475467;
}

.xu-package-card__badge--popular {
    background: #155eef;
    box-shadow: 0 7px 16px rgba(21, 94, 239, .22);
    color: #ffffff;
}

.xu-package-card__icon {
    align-items: center;
    background: #fffaeb;
    border-radius: 50%;
    color: #f79009;
    display: flex;
    font-size: 2rem;
    height: 48px;
    justify-content: center;
    margin: 4px auto 14px;
    width: 48px;
}

.xu-package-card h2 {
    color: #344054;
    font-size: 1.55rem;
    font-weight: 650;
    line-height: 1.35;
    margin: 0 0 7px;
}

.xu-package-card > strong {
    color: #155eef;
    font-size: 2.7rem;
    font-weight: 780;
    letter-spacing: 0;
    line-height: 1.25;
}

.xu-package-card > strong small {
    font-size: 1.25rem;
    font-weight: 750;
}

.xu-package-card__bonus {
    color: #067647;
    font-size: 1.2rem;
    font-weight: 750;
    margin: 9px 0 14px;
}

.xu-package-card__bonus.is-muted {
    color: #667085;
}

.xu-package-card p {
    color: #667085;
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0 0 18px;
}

.xu-package-card__price {
    color: #101828;
    font-size: 1.9rem;
    font-weight: 750;
    line-height: 1.35;
    margin: auto 0 14px;
}

.xu-package-card__buy {
    align-items: center;
    background: #ffffff;
    border: 1px solid #155eef;
    border-radius: 7px;
    color: #155eef;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 1.3rem;
    font-weight: 750;
    gap: 8px;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
}

.xu-package-card.is-featured .xu-package-card__buy {
    background: #155eef;
    color: #ffffff;
}

.xu-packages__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    margin-top: 38px;
}

.xu-packages__trust span {
    align-items: center;
    color: #475467;
    display: inline-flex;
    font-size: 1.2rem;
    font-weight: 600;
    gap: 8px;
}

.xu-packages__trust i {
    color: #155eef;
}

.xu-packages__info {
    align-items: stretch;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    margin-top: 46px;
}

.xu-packages__info-main,
.xu-packages__steps,
.xu-packages__notes > div {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
}

.xu-packages__info-main {
    padding: 28px;
}

.xu-packages__eyebrow {
    align-items: center;
    color: #155eef;
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 850;
    gap: 8px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.xu-packages__info-main h2 {
    color: #101828;
    font-size: 2.4rem;
    font-weight: 760;
    line-height: 1.25;
    margin: 0 0 12px;
}

.xu-packages__info-main p {
    color: #667085;
    font-size: 1.32rem;
    line-height: 1.65;
    margin: 0;
}

.xu-packages__benefits {
    display: grid;
    gap: 11px;
    margin-top: 22px;
}

.xu-packages__benefits div {
    align-items: flex-start;
    color: #344054;
    display: flex;
    font-size: 1.25rem;
    font-weight: 650;
    gap: 10px;
    line-height: 1.5;
}

.xu-packages__benefits i {
    color: #12b76a;
    margin-top: 3px;
}

.xu-packages__steps {
    display: grid;
    gap: 0;
    overflow: hidden;
}

.xu-packages__steps article {
    border-bottom: 1px solid #e4e7ec;
    padding: 20px 22px;
}

.xu-packages__steps article:last-child {
    border-bottom: 0;
}

.xu-packages__steps span {
    align-items: center;
    background: #eef4ff;
    border-radius: 50%;
    color: #155eef;
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 850;
    height: 30px;
    justify-content: center;
    margin-bottom: 10px;
    width: 30px;
}

.xu-packages__steps h3,
.xu-packages__notes h3 {
    color: #101828;
    font-size: 1.45rem;
    font-weight: 760;
    line-height: 1.35;
    margin: 0 0 6px;
}

.xu-packages__steps p,
.xu-packages__notes p {
    color: #667085;
    font-size: 1.2rem;
    line-height: 1.55;
    margin: 0;
}

.xu-packages__notes {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
}

.xu-packages__notes > div {
    padding: 22px;
}

.xu-packages__notes i {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 50%;
    color: #155eef;
    display: inline-flex;
    font-size: 1.6rem;
    height: 42px;
    justify-content: center;
    margin-bottom: 13px;
    width: 42px;
}

body.xu-purchase-modal-open {
    overflow: hidden;
}

.xu-purchase-modal[hidden] {
    display: none;
}

.xu-purchase-modal {
    align-items: center;
    background: rgba(16, 24, 40, .58);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 10001;
}

.xu-purchase-modal__dialog {
    background: #ffffff;
    border: 1px solid #dce6f5;
    border-radius: 8px;
    box-shadow: 0 28px 90px rgba(16, 24, 40, .28);
    max-width: 440px;
    padding: 24px;
    position: relative;
    width: min(440px, 96vw);
}

.xu-purchase-modal__close {
    align-items: center;
    background: transparent;
    border: 0;
    color: #98a2b3;
    cursor: pointer;
    display: flex;
    height: 34px;
    justify-content: center;
    position: absolute;
    right: 9px;
    top: 9px;
    width: 34px;
}

.xu-purchase-modal__icon {
    align-items: center;
    background: #fffaeb;
    border-radius: 50%;
    color: #f79009;
    display: flex;
    font-size: 2.2rem;
    height: 50px;
    justify-content: center;
    margin-bottom: 13px;
    width: 50px;
}

.xu-purchase-modal__eyebrow {
    color: #155eef;
    display: block;
    font-size: 1.15rem;
    font-weight: 850;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.xu-purchase-modal__dialog h2 {
    color: #101828;
    font-size: 2.2rem;
    line-height: 1.25;
    margin: 0 36px 5px 0;
}

.xu-purchase-modal__dialog > p {
    color: #667085;
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 0 0 16px;
}

.xu-purchase-modal__summary {
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    margin-bottom: 17px;
    padding: 4px 13px;
}

.xu-purchase-modal__summary div {
    align-items: center;
    border-bottom: 1px solid #e4e7ec;
    display: flex;
    font-size: 1.3rem;
    justify-content: space-between;
    padding: 9px 0;
}

.xu-purchase-modal__summary div:last-child {
    border-bottom: 0;
}

.xu-purchase-modal__summary span {
    color: #667085;
}

.xu-purchase-modal__summary strong {
    color: #101828;
}

.xu-purchase-modal__summary strong.is-bonus {
    color: #067647;
}

.xu-purchase-modal form label {
    color: #344054;
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.xu-purchase-modal form > small {
    color: #667085;
    display: block;
    font-size: 1.15rem;
    line-height: 1.45;
    margin-top: 6px;
}

.xu-purchase-modal__account {
    align-items: center;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    border-radius: 8px;
    color: #067647;
    display: flex;
    font-size: 1.25rem;
    font-weight: 700;
    gap: 9px;
    padding: 11px 12px;
}

.xu-purchase-modal__account.is-guest {
    background: #f8fafc;
    border-color: #d0d5dd;
    color: #475467;
}

.xu-purchase-modal__actions {
    display: grid;
    gap: 10px;
    grid-template-columns: .8fr 1.5fr;
    margin-top: 19px;
}

.xu-purchase-modal__actions button {
    align-items: center;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 1.25rem;
    font-weight: 800;
    gap: 7px;
    justify-content: center;
    min-height: 43px;
    padding: 0 12px;
}

.xu-purchase-modal__actions button:first-child {
    background: #ffffff;
    border: 1px solid #d0d5dd;
    color: #344054;
}

.xu-purchase-modal__actions button[type="submit"] {
    background: #155eef;
    border: 1px solid #155eef;
    color: #ffffff;
}

@media (max-width: 980px) {
    .xu-packages__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    .xu-packages__info,
    .xu-packages__notes {
        grid-template-columns: 1fr;
    }

    .xu-packages__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .xu-packages__steps article {
        border-bottom: 0;
        border-right: 1px solid #e4e7ec;
    }

    .xu-packages__steps article:last-child {
        border-right: 0;
    }
}

@media (max-width: 600px) {
    .xu-packages {
        padding: 34px 0 46px;
    }

    .xu-packages__header {
        margin-bottom: 32px;
    }

    .xu-packages__header h1 {
        font-size: 2.6rem;
    }

    .xu-packages__header p {
        font-size: 1.3rem;
    }

    .xu-packages__grid {
        grid-template-columns: 1fr;
    }

    .xu-package-card {
        min-height: 0;
    }

    .xu-packages__info {
        margin-top: 34px;
    }

    .xu-packages__info-main {
        padding: 22px;
    }

    .xu-packages__info-main h2 {
        font-size: 2rem;
    }

    .xu-packages__steps {
        grid-template-columns: 1fr;
    }

    .xu-packages__steps article {
        border-bottom: 1px solid #e4e7ec;
        border-right: 0;
    }

    .xu-packages__steps article:last-child {
        border-bottom: 0;
    }

    .xu-purchase-modal__dialog {
        padding: 20px;
    }

    .xu-purchase-modal__actions {
        grid-template-columns: 1fr;
    }
}

/* Refined xu pricing page */
.xu-packages {
    background: #f8fafc;
    padding: 34px 0 58px;
}

.xu-packages__header {
    margin: 0 auto 24px;
    max-width: 720px;
}

.xu-packages__header > span {
    color: #155eef;
    font-size: 1.16rem;
    font-weight: 820;
    letter-spacing: .02em;
}

.xu-packages__header > span i {
    color: #f59e0b;
}

.xu-packages__header h1 {
    color: #101828;
    font-size: 2.65rem;
    font-weight: 780;
    margin-bottom: 8px;
}

.xu-packages__header p {
    color: #475467;
    font-size: 1.36rem;
    line-height: 1.55;
    margin: 0;
}

.xu-packages__grid {
    gap: 14px;
}

.xu-package-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    box-shadow: none;
    gap: 10px;
    min-height: 274px;
    overflow: hidden;
    padding: 16px;
    text-align: left;
}

.xu-package-card:hover {
    border-color: rgba(21, 94, 239, .42);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.xu-package-card.is-featured {
    background: #fbfdff;
    border: 1px solid #155eef;
    box-shadow: 0 14px 32px rgba(21, 94, 239, .13);
}

.xu-package-card.is-featured::before {
    background: #155eef;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.xu-package-card__tag-row {
    align-items: center;
    display: flex;
    min-height: 24px;
}

.xu-package-card__tag {
    align-items: center;
    background: #f2f4f7;
    border-radius: 999px;
    color: #475467;
    display: inline-flex;
    font-size: 1.02rem;
    font-weight: 780;
    line-height: 1;
    padding: 6px 9px;
    white-space: nowrap;
}

.xu-package-card__tag--best,
.xu-package-card__tag--popular {
    background: #eef4ff;
    border: 1px solid #b8cfff;
    color: #175cd3;
}

.xu-package-card__tag--soft {
    background: #f8fafc;
    border: 1px solid #d0d5dd;
    color: #475467;
}

.xu-package-card__price {
    color: #27364a;
    font-size: 2.68rem;
    font-weight: 820;
    line-height: 1;
    margin: 0;
}

.xu-package-card__xu {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 9px;
    display: grid;
    gap: 9px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 58px;
    padding: 10px;
}

.xu-package-card__xu > i {
    align-items: center;
    background: #fff7ed;
    border-radius: 8px;
    color: #f59e0b;
    display: flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.xu-package-card__xu div {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.xu-package-card__xu strong {
    color: #155eef;
    font-size: 1.68rem;
    font-weight: 900;
    line-height: 1.1;
}

.xu-package-card__xu small {
    color: #667085;
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.3;
}

.xu-package-card__meta {
    display: grid;
    gap: 5px;
}

.xu-package-card__meta span {
    align-items: flex-start;
    color: #344054;
    display: flex;
    font-size: 1.14rem;
    font-weight: 680;
    gap: 7px;
    line-height: 1.35;
}

.xu-package-card__meta i {
    color: #16a34a;
    font-size: 1.1rem;
    margin-top: 3px;
}

.xu-package-card__buy {
    border-radius: 8px;
    font-size: 1.32rem;
    font-weight: 820;
    gap: 8px;
    margin-top: auto;
    min-height: 40px;
}

.xu-package-card.is-featured .xu-package-card__buy {
    background: #155eef;
    border-color: #155eef;
    color: #ffffff;
}

.xu-packages__trust {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
    padding: 12px 14px;
}

.xu-packages__trust span {
    justify-content: flex-start;
    line-height: 1.35;
}

.xu-packages__info,
.xu-packages__notes {
    margin-top: 24px;
}

@media (max-width: 980px) {
    .xu-packages__trust {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .xu-packages {
        padding: 28px 0 44px;
    }

    .xu-packages__header h1 {
        font-size: 2.35rem;
    }

    .xu-package-card {
        min-height: 0;
        padding: 18px;
    }

    .xu-package-card__price {
        font-size: 2.45rem;
    }
}
