﻿
/* Cardurile cu abonamente */
.pricing-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.ribbon-wrapper {
    position: absolute;
    top: -5px; 
    right: -5px; 
    width: 150px; 
    height: 150px;
    overflow: hidden;
    z-index: 10; 
    pointer-events: none; 
}

.ribbon {
    background: #ff4757;
    color: white;
    text-align: center;
    transform: rotate(45deg); 
    position: relative;
    padding: 7px 0;
    left: -12px; /* Ajustări fine pentru centrare */
    top: 40px; /* Cât de jos să fie panglica */
    width: 210px; /* Trebuie să fie mai lată decât containerul */
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2); /* Umbră pentru efect 3D */
    text-transform: uppercase;
}

/* Opțional: Adăugăm un gradient subtil panglicii */
.ribbon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
}

.pricing-header {
    padding: 30px 20px;
    text-align: center;
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 210px;
    align-items: center;
}

    .pricing-header.free {
        background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
    }

    .pricing-header.plus {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .pricing-header.pro {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }

.pricing-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.billing-toggle {
    display: inline-flex;
    min-height: 42px;
    background: rgba(255,255,255,0.3);
    border-radius: 25px;
    padding: 5px;
    margin: 15px 0 10px 0;
}

    .billing-toggle label {
        padding: 8px 20px;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        color: white;
        font-weight: 500;
        font-size: 14px;
        margin: 0;
    }

    .billing-toggle input:checked + label {
        background: white;
        color: #333;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .billing-toggle input {
        display: none;
    }

.price-display {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 0 0;
}

.price-unit {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
}

.features-list {
    padding: 30px 25px;
    background: white;
    flex-grow: 1;
}

.feature-item {
    padding: 12px 0;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
}

    .feature-item i {
        color: #43cea2;
        margin-right: 12px;
        font-size: 18px;
    }

.pricing-footer {
    padding: 0 25px 30px 25px;
    background: white;
}

.pricing-btn {
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .pricing-btn.free {
        background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
        color: white;
    }

    .pricing-btn.plus {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .pricing-btn.pro {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        color: white;
    }

    .pricing-btn:hover:not(:disabled) {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .pricing-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.current-plan-badge {
    background: rgba(255,255,255,0.3);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

/* --- STILURI NOI PENTRU PLANUL CURENT --- */
.current-plan-banner {
    background: white;
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

    .current-plan-banner:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

.plan-info-text {
    display: flex;
    flex-direction: column;
}

.plan-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 600;
    margin-bottom: 4px;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.plan-price-tag {
    font-size: 16px;
    color: #667eea; /* Sau o culoare care se potrivește cu tema */
    font-weight: 600;
}

.btn-details {
    background: #f8f9fa;
    color: #333;
    border: none;
    padding: 10px 25px;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-details:hover {
        background: #e9ecef;
        color: #000;
        transform: translateX(3px);
    }

/* Responsive pentru mobil */
@media (max-width: 768px) {
    .current-plan-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }

        .current-plan-banner::before {
            width: 100%;
            height: 4px;
            bottom: auto;
            left: 0;
            top: 0;
        }

    .btn-details {
        width: 100%;
        justify-content: center;
    }
}

