/* =====================================================
   PRICING — SECTION STYLES
   ====================================================== */

.pricing {
    position: relative;
    padding: var(--section-pad) 24px;
    background: transparent;
    overflow: hidden;
}

.pr-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Header ---- */
.pr-header {
    text-align: center;
    margin-bottom: var(--header-gap);
}

.pr-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    background: rgba(254, 111, 1, .12);
    border: 1px solid rgba(254, 111, 1, .3);
    color: var(--orange-light, #ff9445);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pr-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.3px;
    color: #ffffff;
}

.pr-subtitle {
    margin-top: 12px;
    color: rgba(255, 255, 255, .55);
    font-size: 15px;
}

/* ---- Plan Grid ---- */
.pr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.pr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 28px 30px;
    border-radius: 24px;
    overflow: hidden;
    /* Layer 1: accent bar across the top. Layer 2: warm wash fading to white. */
    background:
        linear-gradient(90deg, var(--orange, #fe6f01), #ff9445) top / 100% 6px no-repeat,
        linear-gradient(180deg, #fff6ef 0%, #ffffff 46%);
    transition: transform 380ms cubic-bezier(.2, .8, .2, 1),
                box-shadow 380ms cubic-bezier(.2, .8, .2, 1);
}

/* Soft orange orb bleeding in from the top-right corner. */
.pr-card::before {
    content: "";
    position: absolute;
    top: -78px;
    right: -66px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 36% 36%, rgba(254, 111, 1, .40), rgba(254, 111, 1, 0) 70%);
    pointer-events: none;
    z-index: 0;
    transition: transform 620ms cubic-bezier(.2, .8, .2, 1);
}

/* Fine dot grid anchored to the bottom-left. */
.pr-card::after {
    content: "";
    position: absolute;
    left: -30px;
    bottom: -32px;
    width: 122px;
    height: 122px;
    background-image: radial-gradient(circle, rgba(254, 111, 1, .72) 1.4px, transparent 1.5px);
    background-size: 13px 13px;
    pointer-events: none;
    z-index: 0;
    transition: transform 620ms cubic-bezier(.2, .8, .2, 1), opacity 620ms ease;
}

/* Decorations sit at z-index 0, so real content has to be lifted above them.
   .pr-flag is excluded — it carries its own absolute positioning. */
.pr-card > *:not(.pr-flag) {
    position: relative;
    z-index: 1;
}

.pr-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 70px rgba(0, 0, 0, .42);
}

.pr-card:hover::before {
    transform: scale(1.22) translate(-8px, 10px);
}

.pr-card:hover::after {
    transform: translate(8px, -8px);
    opacity: .75;
}

/* ---- Featured plan: full orange treatment so it carries the section ---- */
.pr-card.featured {
    transform: translateY(-14px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
    background:
        linear-gradient(90deg, #ffffff, rgba(255, 255, 255, .8)) top / 100% 6px no-repeat,
        linear-gradient(155deg, #fe6f01 0%, #f26a02 48%, #cb5901 100%);
}

.pr-card.featured::before {
    background: radial-gradient(circle at 36% 36%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 70%);
}

.pr-card.featured::after {
    background-image: radial-gradient(circle, rgba(255, 255, 255, .34) 1.4px, transparent 1.5px);
}

.pr-card.featured:hover {
    transform: translateY(-20px);
}

/* ---- Corner ribbon (featured only) ---- */
.pr-flag {
    position: absolute;
    top: 26px;
    right: -52px;
    z-index: 2;
    width: 186px;
    padding: 8px 0;
    transform: rotate(45deg);
    text-align: center;
    background: #ffffff;
    color: #a03f00;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(23, 23, 20, .22);
}

.pr-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 2px solid rgba(254, 111, 1, .35);
    background: rgba(254, 111, 1, .07);
    transition: background 340ms ease, border-color 340ms ease, transform 340ms cubic-bezier(.2, .8, .2, 1);
}

.pr-icon i,
.pr-icon svg {
    width: 26px;
    height: 26px;
    color: var(--orange-dark, #cb5901);
}

.pr-card:hover .pr-icon {
    background: var(--orange, #fe6f01);
    border-color: var(--orange, #fe6f01);
    transform: scale(1.06);
}

.pr-card:hover .pr-icon i,
.pr-card:hover .pr-icon svg {
    color: #ffffff;
}

.pr-name {
    text-align: center;
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.6px;
    color: var(--black, #171714);
}

.pr-desc {
    margin-top: 7px;
    text-align: center;
    color: var(--gray, #706b61);
    font-size: 13.5px;
    line-height: 1.55;
    min-height: 42px;
}

/* Price sits in its own tinted panel rather than floating on the card. */
.pr-price-block {
    margin: 18px 0 20px;
    padding: 16px 14px 14px;
    border-radius: 18px;
    text-align: center;
    background: linear-gradient(170deg, rgba(254, 111, 1, .10), rgba(254, 111, 1, .03));
    border: 1px dashed rgba(254, 111, 1, .32);
}

.pr-from {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    color: #9a9285;
}

.pr-amount {
    display: block;
    margin-top: 2px;
    font-family: "Manrope", sans-serif;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1.8px;
    line-height: 1.05;
    color: var(--black, #171714);
}

.pr-period {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: #9a9285;
}

.pr-features {
    list-style: none;
    display: grid;
    gap: 11px;
    padding: 22px 0 0;
    margin: 0 0 26px;
    border-top: 1px dashed #ece5d6;
    flex: 1;
}

.pr-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #4d4a43;
}

.pr-features i,
.pr-features svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--orange, #fe6f01);
}

.pr-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border: 1.5px solid #e6dfd0;
    border-radius: 100px;
    background: #fe6f01;
    color: var(--white, #ffffff);
    font-size: 14px;
    font-weight: 700;
    transition: all 320ms cubic-bezier(.2, .8, .2, 1);
}

.pr-cta:hover {
    background: var(--black, #171714);
    border-color: var(--black, #171714);
    color: #ffffff;
    transform: translateY(-2px);
}

.pr-cta.solid {
    background: var(--orange, #fe6f01);
    border-color: var(--orange, #fe6f01);
    color: #171714;
}

.pr-cta.solid:hover {
    background: var(--orange-dark, #cb5901);
    border-color: var(--orange-dark, #cb5901);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(254, 111, 1, .35);
}

/* =====================================================
   FEATURED CARD — COLOUR OVERRIDES
   Everything below re-tints the shared card parts for the
   orange background of the "Most Popular" plan.
   ====================================================== */
.pr-card.featured .pr-name,
.pr-card.featured .pr-amount {
    color: #ffffff;
}

.pr-card.featured .pr-desc {
    color: rgba(255, 255, 255, .86);
}

.pr-card.featured .pr-from,
.pr-card.featured .pr-period {
    color: rgba(255, 255, 255, .82);
}

.pr-card.featured .pr-price-block {
    background: linear-gradient(170deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .07));
    border-color: rgba(255, 255, 255, .42);
}

.pr-card.featured .pr-icon {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .55);
}

.pr-card.featured .pr-icon i,
.pr-card.featured .pr-icon svg {
    color: #ffffff;
}

.pr-card.featured:hover .pr-icon {
    background: #ffffff;
    border-color: #ffffff;
}

.pr-card.featured:hover .pr-icon i,
.pr-card.featured:hover .pr-icon svg {
    color: var(--orange-dark, #cb5901);
}

.pr-card.featured .pr-features {
    border-top-color: rgba(255, 255, 255, .34);
}

.pr-card.featured .pr-features li {
    color: rgba(255, 255, 255, .94);
}

.pr-card.featured .pr-features i,
.pr-card.featured .pr-features svg {
    color: #ffffff;
}

/* Solid orange CTA would vanish on an orange card — invert it. */
.pr-card.featured .pr-cta.solid {
    background: #ffffff;
    border-color: #ffffff;
    color: #a03f00;
}

.pr-card.featured .pr-cta.solid:hover {
    background: var(--black, #171714);
    border-color: var(--black, #171714);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(23, 23, 20, .38);
}

/* =====================================================
   LIMITED TIME OFFER BAND
   ====================================================== */
.pr-offer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 30px 38px;
    border-radius: 24px;
    background: linear-gradient(105deg, #fe6f01 0%, #f26a02 55%, #cb5901 100%);
    overflow: hidden;
}

.pr-offer::after {
    content: "";
    position: absolute;
    top: -120px;
    right: 12%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    pointer-events: none;
}

/* ---- Starburst ---- */
.pr-burst {
    position: relative;
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    flex-shrink: 0;
    background: #ffffff;
    color: #cb5901;
    text-align: center;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.3px;
    clip-path: polygon(50% 0%, 61% 10%, 75% 5%, 81% 19%, 95% 20%, 95% 34%, 100% 50%, 95% 66%, 95% 80%, 81% 81%, 75% 95%, 61% 90%, 50% 100%, 39% 90%, 25% 95%, 19% 81%, 5% 80%, 5% 66%, 0% 50%, 5% 34%, 5% 20%, 19% 19%, 25% 5%, 39% 10%);
    animation: prPulse 4s ease-in-out infinite;
}

@keyframes prPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.045); }
}

/* ---- Offer Copy ---- */
.pr-offer-copy {
    position: relative;
    flex: 1 1 300px;
    color: #ffffff;
}

.pr-offer-copy span {
    font-size: 15px;
    font-weight: 600;
    opacity: .9;
}

.pr-offer-copy h3 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -1.6px;
    margin: 2px 0 4px;
}

.pr-offer-copy p {
    font-size: 17px;
    font-weight: 600;
}

.pr-offer-copy small {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    opacity: .78;
}

/* ---- Countdown ---- */
.pr-countdown {
    position: relative;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(23, 23, 20, .22);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
}

.pr-countdown-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    margin-bottom: 12px;
}

.pr-countdown-label i,
.pr-countdown-label svg {
    width: 15px;
    height: 15px;
}

.pr-clock {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.pr-unit {
    min-width: 54px;
    text-align: center;
}

.pr-unit strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

.pr-unit span {
    display: block;
    margin-top: 5px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    opacity: .75;
}

.pr-colon {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    opacity: .55;
}

/* =====================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1000px) {
    .pr-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 460px;
        margin: 0 auto;
    }
    .pr-card.featured,
    .pr-card.featured:hover {
        transform: none;
    }
    .pr-card:hover {
        transform: translateY(-4px);
    }
    .pr-offer {
        justify-content: center;
        text-align: center;
        padding: 34px 24px;
    }
    .pr-offer-copy {
        flex: 1 1 100%;
    }
}

@media (max-width: 560px) {
    .pricing {
        padding: var(--section-pad) 20px;
    }
    .pr-card {
        padding: 30px 22px 26px;
    }
    .pr-burst {
        width: 96px;
        height: 96px;
        font-size: 12px;
    }
    .pr-countdown {
        width: 100%;
    }
    .pr-clock {
        justify-content: center;
    }
    .pr-unit {
        min-width: 46px;
    }
    .pr-unit strong {
        font-size: 25px;
    }
}
