/**
 * Pricing Layout 2 - Purple Gradient Style
 */

/* Container and base layout */
.subscription-pricing-plans.layout2 {
    padding: 40px 20px;
    background: transparent !important;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscription-pricing-plans.layout2 .ss-pricing-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
    background: transparent !important;
}

.subscription-pricing-plans.layout2 .ss-pricing-plans {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual plan cards */
.subscription-pricing-plans.layout2 .ss-pricing-plan {
    flex: 1;
    max-width: 350px;
    min-width: 280px;
    background-color: #fff !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: auto;
    margin: 10px;
    position: relative;
}

.subscription-pricing-plans.layout2 .ss-pricing-plan:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Featured plan styling */
.subscription-pricing-plans.layout2 .ss-pricing-plan.ss-featured {
    border: 2px solid #6a11cb;
    position: relative;
    box-shadow: 0 5px 25px rgba(106, 17, 203, 0.15);
}

.subscription-pricing-plans.layout2 .ss-pricing-plan.ss-featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #6a11cb;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: bold;
}

/* Plan header */
.subscription-pricing-plans.layout2 .ss-plan-header {
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
}

.subscription-pricing-plans.layout2 .ss-plan-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
}

.subscription-pricing-plans.layout2 .ss-featured .ss-plan-header h3 {
    color: #6a11cb;
}

.subscription-pricing-plans.layout2 .ss-price {
    font-size: 38px;
    font-weight: bold;
    margin-top: 10px;
    color: #6a11cb;
}

.subscription-pricing-plans.layout2 .ss-price span {
    font-size: 16px;
    font-weight: normal;
    opacity: 0.8;
}

/* Plan features */
.subscription-pricing-plans.layout2 .ss-plan-features {
    flex: 1;
    padding: 0;
}

.subscription-pricing-plans.layout2 .ss-plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subscription-pricing-plans.layout2 .ss-plan-features li {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    font-size: 14px;
    color: #555;
}

/* Plan footer and button */
.subscription-pricing-plans.layout2 .ss-plan-footer {
    padding: 25px;
    text-align: center;
    background-color: transparent;
}

.subscription-pricing-plans.layout2 .ss-button {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 15px;
    text-transform: uppercase;
    background-color: #6a11cb;
    color: white;
    border: none;
    cursor: pointer;
}

.subscription-pricing-plans.layout2 .ss-button:hover {
    background-color: #5610a5;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

/* Button compatibility - support both ss-button and ss-pricing-button */
.subscription-pricing-plans.layout2 .ss-pricing-button {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 15px;
    text-transform: uppercase;
    background-color: #6a11cb;
    color: white;
    border: none;
    cursor: pointer;
}

.subscription-pricing-plans.layout2 .ss-pricing-button:hover {
    background-color: #5610a5;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .subscription-pricing-plans.layout2 .ss-pricing-plans {
        flex-direction: column;
        align-items: center;
    }
    
    .subscription-pricing-plans.layout2 .ss-pricing-plan {
        width: 100%;
        max-width: 450px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .subscription-pricing-plans.layout2 {
        padding: 20px 10px;
    }
    
    .subscription-pricing-plans.layout2 .ss-pricing-plan {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 10px 0;
        min-width: auto;
    }
    
    .subscription-pricing-plans.layout2 .ss-pricing-plans {
        flex-direction: column;
        gap: 20px;
    }
}
