/* ==============================================
   ROOT.CSS - ClipBee Multi-Tier Pricing Styles
   ============================================== */

/* Pricing Section Container */
.pricing-tiers-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 3%;
    padding: 0 15px;
}

/* Individual Pricing Card */
.pricing-card {
    width: 30%;
    min-width: 300px;
    max-width: 380px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card-inner {
    border: 2px solid rgb(230, 230, 230);
    border-radius: 33px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.12);
    padding: 30px 35px 40px 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Popular Card (Middle Card) - Enhanced Styling */
.pricing-card.popular {
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.popular .pricing-card-inner {
    border: 2px solid rgb(0, 0, 0);
    box-shadow: 0px 30px 70px 0px rgba(0, 0, 0, 0.2);
}

/* Popular Badge */
.pricing-badge {
    text-align: center;
    position: relative;
    top: -17px;
    margin-bottom: -10px;
}

.pricing-badge span {
    background-image: linear-gradient(180deg, rgb(255,172,37) 39%, rgb(255,191,33) 70%, rgb(255,210,29) 100%);
    display: inline-block;
    border-radius: 50px;
    padding: 6px 24px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* Plan Name */
.pricing-plan-name {
    font-family: "Zalando Sans SemiExpanded", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

/* Price Display */
.pricing-price {
    margin: 15px 0 5px 0;
}

.pricing-price .amount {
    font-family: "Zalando Sans SemiExpanded", sans-serif;
    font-size: 58px;
    font-weight: 800;
    color: #000;
    line-height: 1;
    letter-spacing: -2px;
}

.pricing-price .period {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin-left: 5px;
    vertical-align: middle;
}

/* Billing Note */
.pricing-billing-note {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    letter-spacing: -0.1px;
}

/* CTA Button */
.pricing-cta {
    margin: 20px 0;
}

.pricing-cta a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 18px 20px;
    border-radius: 16px;
    font-family: "Zalando Sans SemiExpanded", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Standard Button - Outlined */
.pricing-card:not(.popular) .pricing-cta a {
    background: transparent;
    border: 2px solid #000;
    color: #000;
}

.pricing-card:not(.popular) .pricing-cta a:hover {
    background: #000;
    color: #fff;
    transform: scale(1.02);
}

/* Popular Button - Filled Gradient */
.pricing-card.popular .pricing-cta a {
    background-image: linear-gradient(180deg, rgb(255,172,37) 0%, rgb(255,191,33) 51%, rgb(255,210,29) 100%);
    border: none;
    color: #000;
    box-shadow: 0px 10px 21px 0px rgba(0, 0, 0, 0.17);
}

.pricing-card.popular .pricing-cta a:hover {
    transform: scale(1.05);
    box-shadow: 0px 15px 30px 0px rgba(0, 0, 0, 0.2);
}

/* Features List */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    flex-grow: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 17px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
    letter-spacing: -0.1px;
}

.pricing-features li::before {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: linear-gradient(-45deg, rgba(250,209,38,0.99608) 0%, rgb(255,144,0) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #000;
}

/* Divider Line */
.pricing-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 15px 0;
}

/* Payment Image */
.pricing-payment-img {
    width: 220px;
    margin: 15px auto 0;
    display: block;
}

/* Agency Card - Premium Styling */
.pricing-card.agency .pricing-plan-name {
    color: #000;
}

.pricing-card.agency .pricing-card-inner {
    background: linear-gradient(180deg, #fff 0%, #f8f8ff 100%);
    border: 2px solid #e0e0e0;
}

/* ==============================================
   RESPONSIVE STYLES
   ============================================== */

@media only screen and (max-width: 1200px) {
    .pricing-tiers-container {
        gap: 20px;
    }
    
    .pricing-card {
        width: 32%;
        min-width: 280px;
    }
    
    .pricing-price .amount {
        font-size: 50px;
    }
    
    .pricing-card.popular {
        transform: scale(1.03);
    }
    
    .pricing-card.popular:hover {
        transform: scale(1.03) translateY(-10px);
    }
}

@media only screen and (max-width: 991px) {
    .pricing-tiers-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .pricing-card {
        width: 90%;
        max-width: 450px;
        min-width: auto;
    }
    
    .pricing-card.popular {
        transform: none;
        order: -1; /* Move popular card to top on mobile */
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .pricing-card-inner {
        padding: 25px 30px 35px 30px;
    }
    
    .pricing-price .amount {
        font-size: 52px;
    }
    
    .pricing-cta a {
        font-size: 20px;
        padding: 16px 20px;
    }
}

@media only screen and (max-width: 767px) {
    .pricing-tiers-container {
        gap: 20px;
        margin-top: 20px;
    }
    
    .pricing-card {
        width: 95%;
        max-width: 400px;
    }
    
    .pricing-card-inner {
        padding: 20px 25px 30px 25px;
        border-radius: 20px;
    }
    
    .pricing-plan-name {
        font-size: 24px;
    }
    
    .pricing-price .amount {
        font-size: 46px;
    }
    
    .pricing-price .period {
        font-size: 16px;
    }
    
    .pricing-features li {
        font-size: 15px;
        padding-left: 28px;
        margin-bottom: 12px;
    }
    
    .pricing-features li::before {
        width: 20px;
        height: 20px;
    }
    
    .pricing-cta a {
        font-size: 18px;
        padding: 14px 18px;
        border-radius: 12px;
    }
    
    .pricing-badge span {
        font-size: 14px;
        padding: 5px 18px;
    }
    
    .pricing-payment-img {
        width: 180px;
    }
}

@media only screen and (max-width: 480px) {
    .pricing-card {
        width: 100%;
    }
    
    .pricing-card-inner {
        padding: 15px 20px 25px 20px;
    }
    
    .pricing-price .amount {
        font-size: 42px;
    }
}
