/******************** Plans Table ********************/

#plans {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    scroll-margin-top: 80px;
}

#plansTitle {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--brown);
    margin-bottom: 12px;
}

#plansSubtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 32px;
}

/* Billing Toggle */
#plansBillingToggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.plansBillingBtn {
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background-color: white;
    border: 2px solid var(--brown);
    color: var(--brown);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plansBillingBtn:hover {
    background-color: var(--light-brown);
    color: white;
    border-color: var(--light-brown);
}

.plansBillingBtn.active {
    background-color: var(--brown);
    color: white;
    border-color: var(--brown);
}

.plansBillingSavings {
    font-size: 11px;
    color: var(--green);
    font-weight: 700;
    background: rgba(24, 186, 69, 0.15);
    padding: 4px 8px;
    border-radius: 10px;
}

.plansBillingBtn.active .plansBillingSavings,
.plansBillingBtn:hover .plansBillingSavings {
    background: white;
    color: var(--green);
}

/* Plans Swiper */
#plansSwiper {
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.plansSwiperSlide {
    height: auto !important;
    padding-top: 12px;
}

/* Plan Card */
.plansSwiperSlideCard {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
    cursor: pointer;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.plansSwiperSlideCard:hover {
    border-color: var(--light-brown);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.plansSwiperSlideCard.selected {
    border-color: var(--brown);
    box-shadow: 0 8px 24px rgba(197, 148, 108, 0.3);
}

.plansSwiperSlideCard.popular {
    border-color: var(--brown);
}

/* Popular Badge */
.plansSwiperSlideCardBadge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brown);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

/* Plan Icon */
.plansSwiperSlideCardIcon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    object-fit: contain;
}

/* Plan Name */
.plansSwiperSlideCardName {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

/* Plan Description */
.plansSwiperSlideCardDescription {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    min-height: 40px;
}

/* Plan Price */
.plansSwiperSlideCardPrice {
    margin-bottom: 24px;
}

.plansSwiperSlideCardPriceAmount {
    font-size: 48px;
    font-weight: 700;
    color: var(--brown);
    line-height: 1;
}

.plansSwiperSlideCardPriceAmount span {
    font-size: 24px;
    font-weight: 400;
}

.plansSwiperSlideCardPricePeriod {
    font-size: 14px;
    color: #999;
    margin-top: 4px;
}

.plansSwiperSlideCardPriceSavings {
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 12px;
    display: inline-block;
}

.plansSwiperSlideCardPriceSavings.monthly {
    color: var(--brown);
    background: rgba(197, 148, 108, 0.15);
}

.plansSwiperSlideCardPriceSavings.annual {
    color: var(--green);
    background: rgba(24, 186, 69, 0.15);
}

/* Plan Features */
.plansSwiperSlideCardFeatures {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
}

.plansSwiperSlideCardFeatures li {
    font-size: 14px;
    color: #444;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plansSwiperSlideCardFeatures li:last-child {
    border-bottom: none;
}

.plansSwiperSlideCardFeatures li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
}

/* Plan Button */
.plansSwiperSlideCardButton {
    background: var(--brown);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
    text-decoration: none;
    display: block;
}

.plansSwiperSlideCardButton:hover {
    background: #b8875f;
    transform: scale(1.02);
}

.plansSwiperSlideCard.selected .plansSwiperSlideCardButton {
    background: var(--green);
}


/* Responsive */
@media (max-width: 800px) {
    #plans {
        padding: 40px 10px;
    }

    #plansTitle {
        font-size: 28px;
        padding: 0 16px;
    }

    #plansSubtitle {
        padding: 0 16px;
    }

    #plansBillingToggle {
        padding: 0 16px;
    }

    .plansSwiperSlideCardDescription {
        min-height: auto;
    }

    .plansSwiperSlideCardIcon {
        width: 60px;
        height: 60px;
    }

    .plansSwiperSlideCardPriceAmount {
        font-size: 36px;
    }

    .plansSwiperSlideCardPriceAmount span {
        font-size: 18px;
    }
}
