/* ============================================
   RATE PLANS — SHARED BASE STYLES
   ============================================ */

.rate-plans-simple,
.rate-plans-bold {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.rate-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.rate-plans-simple .post-item,
.rate-plans-bold .post-item {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 25px;
    transition: box-shadow .25s ease, transform .25s ease;
    position: relative;
}

.rate-plans-simple .post-item:hover,
.rate-plans-bold .post-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.rate-plans-simple .col-inner,
.rate-plans-bold .col-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --------------------------------------------
   Title area
--------------------------------------------- */

.rate-plan-title h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.rate-plan-icon img {
    max-width: 60px;
    display: block;
    margin: 12px auto;
}

.rate-plan-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 12px;
    text-align: center;
}

/* --------------------------------------------
   Price Box
--------------------------------------------- */

.price-box {
    margin: 10px 0 20px;
}

.price-box .price {
    display: block;
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    color: #111;
}

.price-box .price-frequency {
    font-size: 15px;
    color: #666;
    display: block;
    margin-top: 4px;
}

/* --------------------------------------------
   Features list
--------------------------------------------- */

.features ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.features li {
    margin: 8px 0;
    padding-left: 26px;
    font-size: 15px;
    position: relative;
    line-height: 1.45;
}
.rp-hidden-feature {
    display: none;
}

.rp-toggle-features {
    margin: 0 0 20px;
    background: none;
    border: none;
    font-weight: bold;
    color: var(--primary-color, #0073aa);
    cursor: pointer;
    padding: 5px 0;
    text-decoration: underline;
}

.rp-toggle-features:hover {
    opacity: 0.7;
}

/* Checkmark bullets */
.features li.bullet-checkmark::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #2c7a34;
    font-weight: bold;
}

.features li.bullet-simple::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #2c7a34;
    font-weight: bold;
}

/* --------------------------------------------
   Button
--------------------------------------------- */

.post-item a.button {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 25px;
    transition: background .25s ease;
}

.post-item a.button.primary {
    background: #d6f04b;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease;
}

.post-item a.button.primary:hover {
    background: #c6e23f;
}

/* ============================================
   FEATURED LABEL
   ============================================ */

.rp-featured-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #7b2cbf, #0a84ff);
    padding: 6px 12px;
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

/* ============================================
   LAYOUT VARIATIONS
   ============================================ */

/* ========== SIMPLE Layout ========== */
.rate-plans-simple .post-item {
    border-radius: 10px;
    padding: 30px 20px;
}

/* ========== BOLD Layout (heavier styles) ========== */
.rate-plans-bold .post-item {
    border-width: 3px;
    border-color: #3a7f37;
    border-radius: 18px;
    padding: 35px;
    background: linear-gradient(180deg, #ffffff 0%, #bdffbb 100%);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

/* Remove inner background so bold card shows fully */
.rate-plans-bold .col-inner {
    background: transparent !important;
}

/* Title adjustments for bold layout */
.rate-plans-bold .rate-plan-title h3 {
    font-size: 24px;
    color: #0b2b12;
}

/* Subtitle stronger contrast */
.rate-plans-bold .rate-plan-subtitle {
    color: #0f3814;
    font-weight: 500;
}

/* Price larger and darker */
.rate-plans-bold .price-box .price {
    font-size: 46px;
    color: #0a2710;
}

/* Features */
.rate-plans-bold .features li {
    font-size: 16px;
    color: #0c240e;
}

.rate-plans-bold .rp-toggle-features {
    color: #0a4d15;
}

/* Bullets in bold layout */
.rate-plans-bold .features li.bullet-checkmark::before,
.rate-plans-bold .features li.bullet-simple::before {
    color: #0a4d15;
    font-weight: 900;
}

/* Button in bold layout */
.rate-plans-bold a.button.primary {
    background: #0a4d15;
    color: #fff;
    border-radius: 6px; /* squared button */
    padding: 14px 24px;
    font-size: 17px;
    font-weight: 700;
    transition: opacity .25s ease;
}

.rate-plans-bold a.button.primary:hover {
    background: #083d11;
}

/* Featured label contrast for bold layout */
.rate-plans-bold .rp-featured-label {
    background: linear-gradient(90deg, #004d1a, #00963a);
    padding: 6px 14px;
    border-radius: 14px;
    font-weight: 700;
}
