.bbp-pricing {
    --bbp-ink: #0d1b35;
    --bbp-muted: #6a7891;
    --bbp-blue: #1769ff;
    --bbp-blue-dark: #0c4edb;
    --bbp-line: #dce7f7;
    --bbp-green: #0ca86b;
    position: relative;
    scroll-margin-top: 82px;
    padding: 92px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 5%, rgba(23, 105, 255, .10), transparent 31%),
        radial-gradient(circle at 92% 8%, rgba(23, 184, 255, .09), transparent 29%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 54%, #f8fbff 100%);
}

.bbp-pricing button,
.bbp-pricing input {
    font: inherit;
}

.bbp-pricing-shell {
    display: grid;
    gap: 24px;
}

.bbp-pricing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 34px;
}

.bbp-eyebrow {
    margin: 0 0 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bbp-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bbp-eyebrow::before {
    width: 25px;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    content: "";
}

.bbp-pricing-title {
    max-width: 760px;
    margin: 0;
    color: var(--bbp-ink);
    font-size: clamp(42px, 4.7vw, 68px);
    line-height: .98;
    letter-spacing: -.055em;
}

.bbp-pricing-lead {
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--bbp-muted);
    font-size: 17px;
    line-height: 1.55;
}

.bbp-periods {
    padding: 7px;
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 4px;
    border: 1px solid #d1e0f4;
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 32px rgba(30, 71, 126, .10);
}

.bbp-periods button {
    min-height: 43px;
    padding: 0 17px;
    border: 0;
    border-radius: 11px;
    color: #4d607f;
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bbp-periods button:hover {
    color: var(--bbp-blue);
    background: #edf4ff;
}

.bbp-periods button[aria-pressed="true"] {
    color: #fff;
    background: var(--bbp-blue);
    box-shadow: 0 8px 19px rgba(23, 105, 255, .28);
}

.bbp-tariffs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.bbp-tariff {
    position: relative;
    min-width: 0;
    min-height: 550px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--bbp-line);
    border-radius: 22px;
    color: var(--bbp-ink);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 34px rgba(25, 58, 105, .08);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bbp-tariff:hover {
    border-color: #a9c6f2;
    box-shadow: 0 20px 44px rgba(25, 58, 105, .13);
    transform: translateY(-3px);
}

.bbp-tariff.is-primary {
    border: 2px solid var(--bbp-blue);
    box-shadow: 0 17px 42px rgba(23, 105, 255, .14);
}

.bbp-tariff.is-featured {
    background:
        radial-gradient(circle at 90% 5%, rgba(23, 184, 255, .12), transparent 29%),
        linear-gradient(145deg, #f6faff, #fff 62%);
}

.bbp-trial-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 10px;
    border: 1px solid rgba(12, 168, 107, .15);
    border-radius: 999px;
    color: var(--bbp-green);
    background: #e9f9f2;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.bbp-tariff-head {
    min-height: 88px;
    padding-right: 72px;
}

.bbp-tariff-label {
    display: block;
    margin-bottom: 7px;
    color: var(--bbp-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.bbp-tariff h3 {
    margin: 0;
    color: var(--bbp-ink);
    font-size: 22px;
    line-height: 1.17;
    letter-spacing: -.035em;
}

.bbp-price {
    margin: 15px 0 8px;
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.bbp-price strong {
    color: var(--bbp-ink);
    font-size: clamp(31px, 2.5vw, 42px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.055em;
    white-space: nowrap;
}

.bbp-price span {
    color: var(--bbp-muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.bbp-price-note {
    min-height: 44px;
    margin: 0 0 20px;
    color: var(--bbp-muted);
    font-size: 11px;
    line-height: 1.45;
}

.bbp-price-note s {
    margin-right: 5px;
}

.bbp-price-note b {
    color: var(--bbp-green);
}

.bbp-price-note.is-trial {
    color: #385a8a;
    font-weight: 700;
}

.bbp-modules {
    margin-bottom: 22px;
    padding: 17px 0;
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--bbp-line);
    border-bottom: 1px solid var(--bbp-line);
}

.bbp-module {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #283a58;
    font-size: 12px;
    font-weight: 700;
}

.bbp-module i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: var(--bbp-blue);
    background: #eaf2ff;
    font-style: normal;
    font-size: 9px;
    font-weight: 800;
}

.bbp-module.is-muted {
    color: #a1acbd;
}

.bbp-module.is-muted i {
    color: #a1acbd;
    background: #f0f3f7;
}

.bbp-details {
    margin-bottom: 22px;
    display: grid;
    gap: 11px;
    color: #536582;
    font-size: 11px;
    line-height: 1.45;
}

.bbp-details span {
    position: relative;
    padding-left: 17px;
}

.bbp-details span::before {
    position: absolute;
    top: .65em;
    left: 0;
    width: 7px;
    height: 1px;
    background: var(--bbp-blue);
    content: "";
}

.bbp-tariff-cta {
    min-height: 48px;
    margin-top: auto;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b8cef0;
    border-radius: 13px;
    color: var(--bbp-blue);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}

.bbp-tariff-cta:hover {
    color: var(--bbp-blue-dark);
    background: #eef5ff;
    transform: translateY(-1px);
}

.bbp-tariff.is-primary .bbp-tariff-cta,
.bbp-tariff.is-featured .bbp-tariff-cta {
    border-color: var(--bbp-blue);
    color: #fff;
    background: linear-gradient(135deg, var(--bbp-blue), #087ee8);
    box-shadow: 0 11px 25px rgba(23, 105, 255, .24);
}

.bbp-builder-banner {
    padding: 25px 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr) auto;
    align-items: center;
    gap: 26px;
    border: 1px solid #1a3f76;
    border-radius: 22px;
    color: #fff;
    background: #0d2850;
    box-shadow: 0 16px 38px rgba(15, 48, 96, .18);
}

.bbp-builder-copy small,
.bbp-pro-kicker {
    display: block;
    margin-bottom: 7px;
    color: #90b7ef;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.bbp-builder-copy h3 {
    margin: 0;
    color: #fff;
    font-size: 29px;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.bbp-builder-copy p {
    max-width: 660px;
    margin: 9px 0 0;
    color: #afc1dd;
    font-size: 12px;
    line-height: 1.55;
}

.bbp-builder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bbp-builder-tags span {
    padding: 8px 11px;
    border: 1px solid rgba(159, 193, 247, .28);
    border-radius: 10px;
    color: #d9e8ff;
    background: rgba(255, 255, 255, .05);
    font-size: 10px;
    font-weight: 700;
}

.bbp-builder-open {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #fff;
    border-radius: 13px;
    color: #0d2850;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 12, 35, .21);
    transition: transform .2s ease, background .2s ease;
}

.bbp-builder-open:hover {
    background: #eef5ff;
    transform: translateY(-2px);
}

.bbp-pro {
    position: relative;
    padding: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
    align-items: stretch;
    gap: 32px 48px;
    overflow: hidden;
    border: 1px solid rgba(99, 157, 255, .28);
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 0%, rgba(20, 120, 255, .34), transparent 34%),
        linear-gradient(135deg, #071b3a 0%, #0a2854 58%, #0b356f 100%);
    box-shadow: 0 24px 60px rgba(15, 48, 96, .2);
}

.bbp-pro-copy,
.bbp-pro-action,
.bbp-pro-benefits {
    position: relative;
    z-index: 1;
}

.bbp-pro-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bbp-pro-kicker b {
    padding: 5px 8px;
    border: 1px solid rgba(136, 185, 255, .42);
    border-radius: 8px;
    color: #fff;
    background: rgba(23, 105, 255, .42);
    letter-spacing: .08em;
}

.bbp-pro h3 {
    margin: 15px 0 0;
    color: #fff;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.04;
    letter-spacing: -.055em;
}

.bbp-pro-copy > p {
    max-width: 680px;
    margin: 18px 0 0;
    color: #afc1dd;
    font-size: 15px;
    line-height: 1.65;
}

.bbp-pro-action {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(159, 193, 247, .25);
    border-radius: 20px;
    background: rgba(255, 255, 255, .075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.bbp-pro-action > span {
    margin-bottom: 11px;
    color: #9fc1f7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bbp-pro-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #fff;
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.05em;
    white-space: nowrap;
}

.bbp-pro-price span,
.bbp-pro-price small {
    color: #9fc1f7;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
}

.bbp-pro-action p {
    margin: 13px 0 20px;
    color: #afc1dd;
    font-size: 11px;
    line-height: 1.55;
}

.bbp-pro-cta {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 13px;
    color: #0a2c60;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0, 12, 35, .22);
    transition: transform .2s ease, background .2s ease;
}

.bbp-pro-cta:hover {
    color: #071b3a;
    background: #eef5ff;
    transform: translateY(-2px);
}

.bbp-pro-benefits {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(159, 193, 247, .2);
    list-style: none;
}

.bbp-pro-benefits li {
    min-width: 0;
    padding: 0 26px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 13px;
    border-right: 1px solid rgba(159, 193, 247, .2);
}

.bbp-pro-benefits li:first-child {
    padding-left: 0;
}

.bbp-pro-benefits li:last-child {
    padding-right: 0;
    border-right: 0;
}

.bbp-pro-benefits li > span {
    grid-row: 1 / 3;
    color: #5fa2ff;
    font-size: 12px;
    font-weight: 800;
}

.bbp-pro-benefits b {
    font-size: 13px;
    line-height: 1.35;
}

.bbp-pro-benefits small {
    color: #91a9ca;
    font-size: 10px;
    line-height: 1.45;
}

.bbp-builder-dialog {
    width: min(1040px, calc(100% - 32px));
    max-height: min(900px, calc(100vh - 32px));
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    color: var(--bbp-ink);
    background: #f8fbff;
    box-shadow: 0 34px 90px rgba(5, 25, 57, .34);
}

.bbp-builder-dialog::backdrop {
    background: rgba(7, 22, 47, .68);
    backdrop-filter: blur(7px);
}

.bbp-dialog-head {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--bbp-blue), #087ee8);
}

.bbp-dialog-head small {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .75);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bbp-dialog-head h3 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    line-height: 1.2;
}

.bbp-dialog-close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 12px;
    color: var(--bbp-blue-dark);
    background: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.bbp-dialog-body {
    max-height: calc(100vh - 130px);
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: 18px;
    overflow-y: auto;
}

.bbp-dialog-column {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 14px;
}

.bbp-dialog-column:last-child {
    display: flex;
    flex-direction: column;
}

.bbp-builder-base,
.bbp-builder-group,
.bbp-builder-checkout {
    padding: 17px;
    border: 1px solid var(--bbp-line);
    border-radius: 16px;
    background: #fff;
}

.bbp-builder-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bbp-builder-base b,
.bbp-builder-base strong {
    display: block;
    font-size: 16px;
}

.bbp-builder-base span,
.bbp-trial-note {
    display: block;
    margin-top: 3px;
    color: var(--bbp-muted);
    font-size: 11px;
}

.bbp-trial-note {
    margin: 0;
    padding: 13px 15px;
    border-left: 3px solid var(--bbp-green);
    border-radius: 10px;
    color: #235a48;
    background: #eaf8f2;
    line-height: 1.5;
}

.bbp-group-title {
    margin-bottom: 12px;
    color: #2d405f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bbp-builder-periods {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
}

.bbp-builder-periods button {
    min-height: 50px;
    padding: 7px 4px;
    border: 1px solid #cbdcf3;
    border-radius: 11px;
    color: #35547e;
    background: #f8fbff;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.bbp-builder-periods button[aria-pressed="true"] {
    border-color: var(--bbp-blue);
    color: #fff;
    background: var(--bbp-blue);
}

.bbp-discount-note {
    margin: 9px 0 0;
    color: var(--bbp-blue);
    font-size: 11px;
    font-weight: 800;
}

.bbp-limits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bbp-limit-card {
    padding: 14px;
    border: 1px solid var(--bbp-line);
    border-radius: 13px;
    background: #f8fbff;
}

.bbp-limit-card > b {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}

.bbp-limit-card > span {
    min-height: 34px;
    display: block;
    color: var(--bbp-muted);
    font-size: 10px;
    line-height: 1.45;
}

.bbp-stepper {
    margin: 12px 0 9px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 6px;
}

.bbp-stepper button,
.bbp-stepper input {
    min-width: 0;
    height: 40px;
    border: 1px solid #bfd3f0;
    border-radius: 10px;
    color: var(--bbp-blue);
    background: #fff;
    text-align: center;
    font-weight: 800;
}

.bbp-stepper button {
    font-size: 18px;
    cursor: pointer;
}

.bbp-limit-cost {
    color: var(--bbp-muted);
    font-size: 10px;
}

.bbp-builder-options {
    display: grid;
    gap: 8px;
}

.bbp-builder-option {
    padding: 11px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--bbp-line);
    border-radius: 12px;
    background: #f8fbff;
    cursor: pointer;
}

.bbp-builder-option input {
    width: 17px;
    height: 17px;
    accent-color: var(--bbp-blue);
}

.bbp-builder-option b,
.bbp-builder-option span span {
    display: block;
}

.bbp-builder-option b {
    font-size: 11px;
}

.bbp-builder-option span span {
    margin-top: 2px;
    color: var(--bbp-muted);
    font-size: 9px;
}

.bbp-builder-option > strong {
    color: var(--bbp-blue);
    font-size: 11px;
    white-space: nowrap;
}

.bbp-builder-checkout {
    width: 100%;
    margin-top: auto;
    text-align: right;
    color: #fff;
    background: #0d2850;
}

.bbp-builder-total-caption,
.bbp-builder-total-note {
    display: block;
    color: #9fc1f7;
    font-size: 10px;
}

.bbp-builder-total {
    display: block;
    margin: 5px 0;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.bbp-builder-submit {
    width: 100%;
    min-height: 49px;
    margin-top: 17px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--bbp-blue);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 11px 24px rgba(23, 105, 255, .28);
}

@media (max-width: 1180px) {
    .bbp-pricing-hero {
        grid-template-columns: 1fr;
    }

    .bbp-periods {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .bbp-tariffs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bbp-builder-banner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .bbp-builder-tags {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .bbp-pro {
        grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
        padding: 34px;
        gap: 28px 34px;
    }
}

@media (max-width: 760px) {
    .bbp-pricing {
        padding: 64px 0;
    }

    .bbp-pricing-title {
        font-size: clamp(38px, 12vw, 54px);
    }

    .bbp-pricing-lead {
        font-size: 15px;
    }

    .bbp-periods {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .bbp-periods::-webkit-scrollbar {
        display: none;
    }

    .bbp-periods button {
        flex: 0 0 auto;
    }

    .bbp-tariffs {
        grid-template-columns: 1fr;
    }

    .bbp-tariff {
        min-height: auto;
    }

    .bbp-builder-banner {
        grid-template-columns: 1fr;
        padding: 23px 20px;
    }

    .bbp-builder-tags {
        grid-column: auto;
        grid-row: auto;
    }

    .bbp-builder-open {
        width: 100%;
    }

    .bbp-pro {
        grid-template-columns: 1fr;
        padding: 27px 22px;
        gap: 24px;
        border-radius: 22px;
    }

    .bbp-pro h3 {
        font-size: clamp(28px, 8vw, 34px);
    }

    .bbp-pro-benefits {
        grid-template-columns: 1fr;
        padding-top: 8px;
    }

    .bbp-pro-benefits li,
    .bbp-pro-benefits li:first-child,
    .bbp-pro-benefits li:last-child {
        padding: 16px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(159, 193, 247, .2);
    }

    .bbp-pro-benefits li:last-child {
        border-bottom: 0;
    }

    .bbp-dialog-body {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .bbp-builder-periods {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .bbp-limits {
        grid-template-columns: 1fr;
    }
}
