/* ================================================================
   Performance Marketing Pricing — pm-pricing.css
   Depends on main.css (theme tokens) and Bootstrap Icons.
   Link this file AFTER main.css and main2.css.
================================================================ */

/* ----------------------------------------------------------------
   1. Hero Section
---------------------------------------------------------------- */
.pm-hero {
    background: linear-gradient(
        145deg,
        rgba(10, 152, 114, 0.06) 0%,
        rgba(22, 51, 130, 0.05) 100%
    );
    border-bottom: 1px solid rgba(22, 51, 130, 0.08);
    padding: 4rem 0 3.5rem;
}

.pm-hero__headline {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 1rem;
}

.pm-hero__sub {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.05rem;
    color: var(--font-color);
    max-width: 660px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    font-weight: 400;
}

/* CTA Buttons */
.pm-hero__cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.pm-btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-full);
    padding: 0.7rem 1.9rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
    text-decoration: none;
}
.pm-btn-primary:hover {
    background: #077d5e;
    border-color: #077d5e;
    color: #fff;
    box-shadow: 0 6px 20px rgba(10, 152, 114, 0.3);
    text-decoration: none;
}

.pm-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius-full);
    padding: 0.7rem 1.9rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition:
        background 0.25s ease,
        color 0.25s ease;
    text-decoration: none;
}
.pm-btn-outline:hover {
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
}

/* Trust Indicator Grid */
.pm-trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}
@media (max-width: 992px) {
    .pm-trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 576px) {
    .pm-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pm-trust-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1rem 0.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    transition:
        box-shadow 0.22s ease,
        transform 0.22s ease;
}
.pm-trust-card:hover {
    box-shadow: 0 6px 20px rgba(10, 152, 114, 0.13);
    transform: translateY(-2px);
}
.pm-trust-card i {
    font-size: 1.45rem;
    color: var(--primary-color);
}
.pm-trust-card__label {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.3;
    margin: 0;
}

/* ----------------------------------------------------------------
   2. Section Title Area
---------------------------------------------------------------- */
.pm-section-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

/* ----------------------------------------------------------------
   3. Label Badges (No Long Term Contracts / Ad Spend Excluded)
---------------------------------------------------------------- */
.pm-labels-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.pm-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 1.1rem;
    border-radius: 50px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1;
}

.pm-label--green {
    background: rgba(10, 152, 114, 0.1);
    color: var(--primary-color);
    border: 1.5px solid rgba(10, 152, 114, 0.3);
}
.pm-label--green i {
    color: var(--primary-color);
}

.pm-label--navy {
    background: rgba(22, 51, 130, 0.08);
    color: var(--secondary-color);
    border: 1.5px solid rgba(22, 51, 130, 0.2);
}
.pm-label--navy i {
    color: var(--secondary-color);
}

/* ----------------------------------------------------------------
   4. Pricing Cards
---------------------------------------------------------------- */
.pm-plan-card {
    background: var(--card-bg) !important;
    border: 1px solid rgba(22, 51, 130, 0.12) !important;
    border-radius: 16px !important;
    transition:
        box-shadow 0.25s ease,
        transform 0.22s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pm-plan-card:hover {
    box-shadow: 0 10px 32px rgba(22, 51, 130, 0.1);
    transform: translateY(-3px);
}

/* Scale Accelerator – highlighted */
.pm-plan-card--popular {
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 4px 28px rgba(10, 152, 114, 0.2) !important;
    border-radius: 16px !important;
}
.pm-plan-card--popular:hover {
    box-shadow: 0 12px 36px rgba(10, 152, 114, 0.28) !important;
    transform: translateY(-3px);
}

/* Popular badge */
.pm-popular-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    padding: 0.28rem 0.95rem;
    border-radius: 50px;
}

/* Plan title */
.pm-plan-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.35rem;
    color: var(--secondary-color);
}

.pm-plan-title--popular {
    background: var(
        --bg-teritory,
        linear-gradient(to right, #163382 50%, #0a9872 100%)
    );
    color: #fff !important;
    border-radius: 50px;
}

.pm-plan-bestfor {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary-color);
    background: rgba(22, 51, 130, 0.05);
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Includes note */
.pm-includes-note {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: 0.2px;
}

/* ---- Feature group label ---- */
.pm-group-label {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.55rem;
    margin-top: 0.25rem;
    padding-bottom: 0.28rem;
    border-bottom: 1.5px solid rgba(22, 51, 130, 0.15);
}

.pm-group-label--free {
    color: var(--primary-color);
    border-bottom-color: rgba(10, 152, 114, 0.2);
}

/* ---- Feature row ---- */
.pm-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.42rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.93rem;
    color: var(--font-color);
    line-height: 1.4;
}
.pm-feature-row i {
    color: var(--primary-color);
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.pm-feature-row--free i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Divider */
.pm-divider {
    border: none;
    border-top: 1px solid rgba(22, 51, 130, 0.09);
    margin: 0.85rem 0;
}

/* ---- Price display ---- */
.pm-price {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 0;
    line-height: 1.2;
}

.pm-price__per {
    font-size: 1rem;
    font-weight: 600;
    color: var(--font-color);
}

.pm-price__note {
    display: block;
    text-align: center;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--font-color);
    opacity: 0.6;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA button variants */
.pm-card-btn {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: var(--border-radius-full);
    padding: 0.65rem 1rem;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    text-decoration: none;
    cursor: pointer;
    border-width: 2px;
    border-style: solid;
}

.pm-card-btn--secondary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(22, 51, 130, 0.2);
}
.pm-card-btn--secondary:hover {
    background: #0d2571;
    border-color: #0d2571;
    color: #fff;
    box-shadow: 0 6px 20px rgba(22, 51, 130, 0.3);
    text-decoration: none;
}

.pm-card-btn--primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(10, 152, 114, 0.25);
}
.pm-card-btn--primary:hover {
    background: #077d5e;
    border-color: #077d5e;
    color: #fff;
    box-shadow: 0 6px 22px rgba(10, 152, 114, 0.35);
    text-decoration: none;
}

/* ---- Free audit banner ---- */
.pm-audit-banner {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--secondary-color);
    letter-spacing: 0.3px;
    text-align: center;
    margin-top: 3rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    background: rgba(10, 152, 114, 0.07);
    border: 1.5px solid rgba(10, 152, 114, 0.22);
}
.pm-audit-banner i {
    color: var(--primary-color);
    margin-right: 0.4rem;
}

/* ----------------------------------------------------------------
   5. FAQ Section
---------------------------------------------------------------- */
.pm-faq {
    background: var(--bg-grey);
}

.pm-faq__title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.3px;
}

.pm-faq__sub {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    color: var(--font-color);
    opacity: 0.75;
}

/* Accordion */
.pm-accordion .accordion-item {
    background: var(--card-bg);
    border: 1px solid rgba(22, 51, 130, 0.12) !important;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 0.7rem;
}
.pm-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.pm-accordion .accordion-button {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--heading-color);
    background: var(--card-bg);
    box-shadow: none;
    border-radius: 10px !important;
    padding: 1.1rem 1.3rem;
}
.pm-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: rgba(10, 152, 114, 0.05);
    box-shadow: none;
}
.pm-accordion .accordion-button:focus {
    box-shadow: none;
    outline: none;
}
.pm-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23163382'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.pm-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a9872'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.pm-accordion .accordion-body {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.95rem;
    color: var(--font-color);
    line-height: 1.65;
    padding: 0.9rem 1.3rem 1.15rem;
    border-top: 1px solid rgba(22, 51, 130, 0.08);
}

/* ----------------------------------------------------------------
   6. Responsive
---------------------------------------------------------------- */
@media (max-width: 991px) {
    .pm-hero {
        padding: 2.5rem 0 2rem;
    }
    .pm-plan-card,
    .pm-plan-card--popular {
        margin-bottom: 0;
    }
}
@media (max-width: 767px) {
    .pm-hero__headline {
        font-size: 1.5rem;
    }
    .pm-hero__sub {
        font-size: 0.95rem;
    }
    .pm-price {
        font-size: 1.5rem;
    }
}

/* =========================================================
   FAQ Accordion Custom
========================================================= */

.pm-faq-card {
    background: var(--card-bg);
    border: 1px solid rgba(22, 51, 130, 0.12);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.pm-faq-card:hover {
    box-shadow: 0 8px 24px rgba(22, 51, 130, 0.08);
}

.pm-faq-header {
    width: 100%;
}

.pm-faq-btn {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 1.1rem 1.3rem;
    text-align: left;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading-color);

    cursor: pointer;
    transition: all 0.3s ease;
}

.pm-faq-btn:focus {
    outline: none;
    box-shadow: none;
}

.pm-faq-btn:not(.collapsed) {
    background: rgba(10, 152, 114, 0.06);
    color: var(--primary-color);
}

.pm-faq-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.pm-faq-btn:not(.collapsed) .pm-faq-icon {
    transform: rotate(180deg);
}

.pm-faq-body {
    padding: 0 1.3rem 1.2rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--font-color);
    border-top: 1px solid rgba(22, 51, 130, 0.08);
}

/* Bootstrap collapse smooth animation */

.pm-faq .collapse {
    transition: all 0.3s ease;
}

.pm-faq .collapsing {
    transition: height 0.3s ease;
}

/* =========================================================
   Mobile Responsive
========================================================= */

@media (max-width: 767px) {
    .pm-faq-btn {
        font-size: 0.92rem;
        padding: 1rem;
        line-height: 1.4;
    }

    .pm-faq-body {
        font-size: 0.9rem;
        padding: 0 1rem 1rem;
    }

    .pm-faq-card {
        border-radius: 12px;
    }

    .pm-plan-title {
        font-size: 0.95rem;
    }

    .pm-feature-row {
        font-size: 0.88rem;
    }

    .pm-card-btn {
        font-size: 0.88rem;
        padding: 0.75rem 1rem;
    }

    .pm-trust-card {
        padding: 0.9rem 0.6rem;
    }

    .pm-trust-card__label {
        font-size: 0.75rem;
    }
}

/* =========================================================
   AI Growth CTA Banner
========================================================= */

.pm-growthstack-box {
    margin-top: 2rem;
    background: linear-gradient(
        135deg,
        rgba(10, 152, 114, 0.08),
        rgba(22, 51, 130, 0.08)
    );
    border: 1px solid rgba(10, 152, 114, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.pm-growthstack-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.pm-growthstack-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: var(--primary-color);
    color: #fff !important;

    padding: 0.85rem 1.6rem;
    border-radius: 50px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;

    text-decoration: none !important;

    transition: all 0.3s ease;
}

.pm-growthstack-btn:hover {
    background: #077d5e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(10, 152, 114, 0.25);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 991px) {
    .pm-plan-bestfor {
        min-height: auto;
    }

    .pm-includes-note {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .pm-growthstack-box {
        padding: 1.2rem;
        margin-top: 1.5rem;
    }

    .pm-growthstack-title {
        font-size: 1rem;
    }

    .pm-growthstack-btn {
        width: 100%;
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
    }

    .pm-plan-bestfor {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .pm-includes-note {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}
