/* Pricing Plan Card Item Styles */
.kss-pricing-plan-card-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--kss-brand-border-radius-default, 12px );
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.kss-pricing-plan-card-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Highlighted Card (Featured) */
.kss-pricing-plan-card-item.is-highlighted {
    border: 2px solid #8b5cf6;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
    transform: scale(1.05);
    margin: 0.5rem;
}

.kss-pricing-plan-card-item.is-highlighted::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
}

/* Icon Styling */
.pricing-plan-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 50%;
}

.pricing-plan-icon img,
.pricing-plan-icon span {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.is-highlighted .pricing-plan-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

/* Plan Title */
.pricing-plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.is-highlighted .pricing-plan-title {
    color: #7c3aed;
}

/* Price Styling */
.pricing-plan-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.pricing-plan-price strong {
    font-size: 2rem;
}

/* Billing Text */
.pricing-plan-billing {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Features List */
.pricing-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #374151;
}

.pricing-plan-features .feature-checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    margin-right: 0.75rem;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.is-highlighted .pricing-plan-features .feature-checkmark {
    background: #8b5cf6;
}

/* Button Styling */
.pricing-plan-button {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-top: auto;
    box-sizing: border-box;
}

.pricing-plan-button:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Non-highlighted cards have different button style */
.kss-pricing-plan-card-item:not(.is-highlighted) .pricing-plan-button {
    background: #f9fafb;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.kss-pricing-plan-card-item:not(.is-highlighted) .pricing-plan-button:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .kss-pricing-plan-card-item {
        padding: 1.5rem;
    }
    
    .kss-pricing-plan-card-item.is-highlighted {
        transform: scale(1);
        margin-top: 2rem;
    }
    
    .kss-pricing-plan-card-item.is-highlighted::before {
        top: -24px;
    }
    
    .pricing-plan-title {
        font-size: 1.25rem;
    }
    
    .pricing-plan-price {
        font-size: 1.5rem;
    }
}
