/* Plans Page Styles */
.plans-container {
    width: 100%;
}

.free-trial-banner {
    background: linear-gradient(135deg, var(--ckm-blue) 0%, var(--ckm-dark-blue) 100%);
    color: var(--ckm-white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 4rem;
    text-align: center;
}

.free-trial-banner h2 {
    color: var(--ckm-white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.free-trial-banner p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--ckm-offwhite);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border-color: var(--ckm-blue);
    position: relative;
    background: linear-gradient(to bottom, var(--ckm-white) 0%, var(--ckm-offwhite) 100%);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ckm-blue);
    color: var(--ckm-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 1rem;
}

.pricing-header h2 {
    color: var(--ckm-charcoal);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-wrap: balance;
}

.plan-variant {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.15rem 0.7rem;
    border-radius: 20px;
    background: rgba(26, 58, 122, 0.1);
    color: var(--ckm-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--ckm-blue);
    line-height: 1;
}

.price small {
    font-size: 50%;
    vertical-align: super;
}

.price .period {
    font-size: 1rem;
    color: var(--ckm-charcoal);
    font-weight: normal;
}

.pricing-features {
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.pricing-features .plan-sessions {
    margin: 0 0 0.6rem;
    font-weight: 600;
    color: var(--ckm-blue);
}

.pricing-features .plan-blurb {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #555;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--ckm-offwhite);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .ckm-button {
    width: 100%;
    text-align: center;
}

.pricing-disclaimer {
    text-align: center;
    color: var(--ckm-charcoal);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 760px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1rem 0;
    border-top: 1px solid #e3e3e3;
}

.pricing-disclaimer p {
    margin: 0 0 0.9rem;
}

.pricing-disclaimer p:first-child {
    font-weight: 600;
}

/* "Other" plans (e.g. punch-card): centered row below the main three */
.pricing-cards.pricing-cards-other {
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
    justify-content: center;
}

.plans-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
}

/* Promo badge on a plan card (shown only while the promo is live) */
.ckm-plan-badge {
    display: inline-block;
    margin: 0 0 0.6rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: var(--ckm-red);
    color: var(--ckm-white);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

a.ckm-plan-badge:hover { color: var(--ckm-white); filter: brightness(1.1); }
.ckm-plan-badge[hidden] { display: none; }
