/* ============================================================
   PRICING PAGE STYLES
   Follows the same design system as trial & demo pages.
   ============================================================ */

/* ===== HERO ===== */
.pp-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 80px 100px 60px;
    overflow: hidden;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1440px;
    min-height: 500px;
    border-radius: 30px;
}

.pp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: transparent url('/assets/img/pricing-page/pricing-panel-bg.webp') 50% 50% / 100% auto no-repeat;
}

.pp-hero__content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.pp-hero__title {
    color: #203540;
    margin: 0 0 24px;
}

.pp-hero__subtitle {
    color: #203540;
    margin: 0;
}

/* ===== PRICING CARDS ===== */
.pp-plans {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 60px 0 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
}

.pp-plan {
    width: auto;
    border: 2px solid #E5E5E5;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.pp-plan__header {
    padding: 40px 40px 20px;
}

.pp-plan__name {
    color: #203540;
    margin: 0 0 12px;
}

.pp-plan__price {
    color: #0083CA;
    margin: 0 0 4px;
}

.pp-plan__period {
    color: #203540;
    margin: 0;
}

.pp-plan__footer {
    background: rgba(0, 131, 202, 0.05);
    border-top: 1px solid #E5E5E5;
    padding: 24px 40px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.pp-plan__desc {
    color: #203540;
    margin: 0;
}

.pp-plan__cta {
    display: inline-block;
    color: #fff;
    background: #0083CA;
    border-radius: 46px;
    padding: 18px 68px;
    text-decoration: none;
    transition: background 0.2s;
    font-weight: 500;
}

.pp-plan__cta:hover {
    background: #006da8;
    color: #fff;
    text-decoration: none;
}

/* ===== "INCLUDED IN ALL PLANS" & "OPTIONAL FEATURES" SECTIONS ===== */
.pp-features {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
}

.pp-features__bg {
    background: rgba(255, 197, 10, 0.02);
    border: 1px solid #EDEEF1;
    border-radius: 30px;
    padding: 60px 80px;
}

.pp-features__title {
    color: #203540;
    text-align: center;
    margin: 0 0 12px;
}

.pp-features__subtitle {
    color: #203540;
    text-align: center;
    margin: 0 0 48px;
}

.pp-features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pp-feature-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    padding: 28px;
}

.pp-feature-card__inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pp-feature-card__icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.pp-feature-card__text {
    flex: 1;
}

.pp-feature-card__name {
    color: #203540;
    margin: 0 0 8px;
}

.pp-feature-card__desc {
    color: #203540;
    margin: 0;
}

/* ===== CTA BANNER ===== */
.pp-cta-banner {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
    border-radius: 20px;
    background: transparent;
    overflow: hidden;
    min-height: 505px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-cta-banner__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    background: transparent url('/assets/img/pricing-page/pricing-panel-bottom-bg.webp') 50% 50% / cover no-repeat;
}


.pp-cta-banner__inner {
    position: relative;
    z-index: 1;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.pp-cta-banner__content {
    text-align: center;
    max-width: 956px;
}

.pp-cta-banner__text {
    color: #203540;
    margin: 0 0 46px;
}

.pp-cta-banner__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.pp-cta-banner__btn {
    display: inline-block;
    border-radius: 46px;
    padding: 18px 68px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.pp-cta-banner__btn--primary {
    background: #0083CA;
    color: #fff;
    font-weight: 500;
}

.pp-cta-banner__btn--primary:hover {
    background: #006da8;
    color: #fff;
    text-decoration: none;
}

.pp-cta-banner__btn--secondary {
    background: #FFC50A;
    color: #203540;
    font-weight: 500;
}

.pp-cta-banner__btn--secondary:hover {
    background: #e6b200;
    color: #203540;
    text-decoration: none;
}

/* ===== FAQs ===== */
.pp-faqs {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.pp-faqs__title {
    color: #203540;
    text-align: center;
    margin: 0 0 50px;
}

.pp-faqs__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pp-faq {
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    overflow: hidden;
}

.pp-faq__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 20px;
}

.pp-faq__question {
    color: #203540;
    flex: 1;
}

.pp-faq__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #0083CA;
}

.pp-faq__icon--minus {
    display: none;
}

.pp-faq__icon--plus {
    display: block;
}

.pp-faq--open .pp-faq__icon--minus {
    display: block;
}

.pp-faq--open .pp-faq__icon--plus {
    display: none;
}

.pp-faq__answer {
    color: #203540;
    padding: 0 30px 25px;
    margin: 0;
    display: none;
}

.pp-faq--open .pp-faq__answer {
    display: block;
}

/* ===== SPACERS ===== */
.pp-spacer {
    height: 80px;
}

.pp-spacer--large {
    height: 50px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .pp-hero {
        padding: 60px 40px 40px;
        min-height: 540px;
    }

    .pp-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 40px 0 0;
    }

    .pp-features {
        padding: 30px 40px;
    }

    .pp-features__bg {
        padding: 40px;
    }

    .pp-cta-banner { margin: 0 auto; }
}

@media (max-width: 992px) {
    .pp-hero {
        width: 100%;
    }

    .pp-plans {
        grid-template-columns: 1fr;
    }

    .pp-features__grid {
        grid-template-columns: 1fr;
    }

    .pp-cta-banner__actions {
        flex-direction: column;
        align-items: center;
    }

    .pp-spacer--large {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .pp-hero {
        padding: 40px 20px 30px;
        min-height: 420px;
    }

    .pp-hero__bg {
        background-size: cover;
    }

    .pp-plans {
        padding: 30px 20px 0;
    }

    .pp-features {
        padding: 40px 20px;
    }

    .pp-features__bg {
        padding: 30px 20px;
    }

    .pp-cta-banner {
        margin: 0 auto;
        min-height: auto;
    }

    .pp-cta-banner__bg {
        background-size: cover;
    }

    .pp-cta-banner__inner {
        padding: 40px 20px;
    }

    .pp-cta-banner__btn {
        padding: 14px 40px;
    }

    .pp-plan__cta {
        padding: 14px 40px;
    }

    .pp-spacer {
        height: 40px;
    }

    .pp-spacer--large {
        height: 60px;
    }
}
