/* --- Pricing Tabs --- */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pricing-tab-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.pricing-tab-btn:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.pricing-tab-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
}

/* --- Pricing Cards Enhanced --- */
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.pricing-card .price-container {
    min-height: 80px; /* Giữ chiều cao cố định để tránh nhảy layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 2rem;
    margin: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pricing-card .price.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.pricing-card .price.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card .unit {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

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

.pricing-features i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.pricing-features strong {
    color: var(--primary-color);
}

/* Highlight for Recommended Plan */
.pricing-card.recommended {
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.pricing-card.recommended::before {
    content: 'Khuyên dùng';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-tabs {
        gap: 10px;
    }
    .pricing-tab-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

