﻿/* Configurări Globale și Fonturi */
.body-pachete {
    background-color: #0a0a0a; /* Un negru puțin mai moale */
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container Principal */
.criterion-card {
    background-color: #0a0a0a;
    padding: 2rem 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.criterion-header {
    padding-bottom: 0px;
    margin-bottom: 10px;
}

.criterion-description {
    font-size: 1rem;
    color: #A0A0A0;
    text-align: center;
    margin-bottom: 3rem;
}

/* Secțiunea de Pași */
.pas-pachet {
    margin-bottom: 3rem;
    position: relative;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: #E53935; /* Roșu */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Teko', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 auto 2rem auto;
    border: 2px solid #E53935;
    padding-top: 5px; /* Împinge numărul puțin în jos */
    box-sizing: border-box; /* Asigură că padding-ul nu mărește cercul */
}

.titlu-pas {
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.subtitlu-pas-1 {
    text-align: center;
    color: #A0A0A0;
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.subtitlu-pas-2 {
    text-align: center;
    color: #A0A0A0;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.subtitlu-pas-3 {
    text-align: center;
    color: #A0A0A0;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-maestru {
    color: #E53935;
}

/* Stiluri Comune pentru Carduri */
.card {
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .card.selected, .card:hover {
        transform: translateY(-5px);
    }

.bestseller-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background-color: #E53935;
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    z-index: 2;
}



.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Aliniere verticală */
    gap: 1rem; /* Spațiu între nume și preț */
}

    .card-header h3 {
        font-family: 'Teko', sans-serif;
        font-size: 2.25rem;
        font-weight: 600;
        margin-bottom: 0; /* Am scos marginea de jos */
        line-height: 1.1;
    }






.card-header .card-price p {
    font-family: 'Teko', sans-serif;
    font-size: 3.5rem; /* PREȚ FOARTE MARE */
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
}

.card-header .card-price span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0.25rem;
}

.card-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    text-align: left;
}

    .card-features li {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        font-size: 1rem;
        font-weight: 700;
    }

    .card-features .icon {
        margin-right: 1rem;
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .card-features .icon svg {
            width: 20px;
            height: 20px;
        }

.economisesti {
    padding: 0.5rem;
    border-radius: 6px;
    width: 100%;
    display: flex;
    align-items: center;
    font-weight: 600;
    display:none !important;
}

/* Butonul CTA din fiecare card */
.card-cta-container {
    margin-top: 0rem;
    padding-top: 0rem;
    border-top: 1px solid rgba(128, 128, 128, 0.2); /* Linie de separare */
}



.card-cta-button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #E53935;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.2);
}

    .card-cta-button:hover {
        background-color: #C62828;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(229, 57, 53, 0.3);
    }



/* Secțiunea de Confirmare și CTA */
/* ============================================= */
/* Secțiunea de Confirmare și CTA (Design NOU)   */
/* ============================================= */

.confirmare-pachet-container {
    background: linear-gradient(145deg, #1a1a1a, #101010);
    padding: 1.5rem; /* Mai mult spațiu interior */
    border-radius: 16px;
    text-align: center;
    margin-top: 2.5rem;
    border: 2px solid #333; /* Bordură default mai vizibilă */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Tranziție lină */
}

    /* Stiluri când un pachet este selectat */
    .confirmare-pachet-container.selected {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(193, 2, 6, 0.5);
    }

#confirmare-titlu {
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem; /* Mărit pentru impact */
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

#confirmare-descriere {
    color: #A0A0A0;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto 1.5rem auto; /* Spațiu mai mare sub descriere */
    max-width: 90%;
    min-height: 40px;
}

.cta-pachet-wrapper {
    display: none; /* Rămâne ascuns inițial */
    flex-direction: column; /* Așează elementele pe verticală */
    align-items: center; /* Centrează pe orizontală */
    gap: 1rem; /* Spațiu între preț și buton */
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#confirmare-pachet-selectat .cta-price {
    font-family: 'Teko', sans-serif;
    font-size: 6rem; /* Dimensiune mare, acum ar trebui să se aplice corect */
    font-weight: 700;
    color: #C10206;
    line-height: 1;
    text-shadow: 0 0 15px rgba(193, 2, 6, 0.5);
    margin: 0;
}
    .cta-price span {
        font-family: 'Montserrat', sans-serif;
        font-size: 5rem; /* Mărime ajustată pentru "lei" */
        font-weight: 600;
        color: #FFFFFF;
        margin-left: 0.5rem;
    }

.cta-button-style {
    background: linear-gradient(145deg, #C10206, #a01005);
    color: #FFFFFF;
    padding: 1rem 1.5rem; /* Buton mai mare */
    border-radius: 12px;
    font-family: 'Teko', sans-serif;
    font-size: 1.4rem; /* Text mai mare */
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    width: 100%; /* Ocupă toată lățimea containerului */
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(193, 2, 6, 0.4);
    border: none;
    line-height: 1.2;
}

    .cta-button-style:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 10px 30px rgba(193, 2, 6, 0.6);
    }

/* --- Stiluri pentru Sectiunea Garantie Apacks --- */

.garantia-section {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 0 15px 30px 15px; /* MODIFICAT: Padding-ul de sus este acum 0 */
    text-align: center;
    font-family: 'Inter', sans-serif;
    max-width: 420px;
    margin: 0 auto;
    margin-top: 30px;
}

.garantia-title {
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.garantia-subtitle {
    color: #d1d5db; /* --grey-text */
    font-size: 14px;
    margin-bottom: 24px;
}

.beneficii-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.beneficiu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.beneficiu-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #222222; /* --dark-bg-card */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

    .beneficiu-icon-wrapper svg {
        width: 32px;
        height: 32px;
        color: #ffffff;
    }

.beneficiu-text {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.testimonial-garantie {
    background-color: transparent;
    border: 1px solid #444; /* --border-color */
    border-left: 4px solid #C10206; /* --brand-red */
    border-radius: 8px;
    padding: 16px;
    text-align: left;
}

.testimonial-rating-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.testimonial-stars {
    display: flex;
    color: #facc15; /* Culoare galbenă pentru stele */
}

    .testimonial-stars svg {
        width: 20px;
        height: 20px;
    }

.testimonial-rating-text {
    font-weight: 700;
    color: #ffffff;
    margin-left: 8px;
}

.testimonial-rating-count {
    color: #d1d5db; /* --grey-text */
    margin-left: 4px;
    font-size: 14px;
}

.testimonial-quote {
    font-style: italic;
    color: #d1d5db; /* --grey-text */
    line-height: 1.5;
    margin: 0;
}

.group-subtitle-pachete {
    text-align: center;
    color: #999; /* Culoare consistentă cu .subtitlu-pas */
    font-size: 14px; /* Mărime consistentă */
    margin-bottom: 20px; /* Spațiere adecvată */
}

.group-title-pachete {
    font-family: 'Teko', sans-serif;
    display: block; /* Anulăm flexbox pentru a permite centrarea textului */
    text-align: center; /* Centram textul pe orizontală */
    font-size: 40px; /* Mărim considerabil fontul, similar cu "Calculul Corect" */
    font-weight: 700; /* Îl facem mai bold */
    line-height: 1.1; /* Micșorăm spațiul dintre rânduri, dacă textul se întinde pe mai multe */
    margin-bottom: 10px; /* Adăugăm puțin mai mult spațiu dedesubt */
}

    .group-title-pachete svg {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

.comparison-group-pachete {
    margin-top: 30px;
}


/* ============================================= */
/* Stiluri pentru Cardul Esential */
/* ============================================= */


#pachet-esential {
    /* Background-ul specificat - fundal-card9.webp */
    background-image: url('/images/fundal-card9.webp');
    background-color: #1c1c1c; /* Culoare de rezervă */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* DESIGN CENTRAL - Mărime și poziționare */
    width: 100%;
    max-width: 600px; /* Mărită față de alte carduri */
    margin: 2rem auto; /* Centrat cu spațiere generaasă */
    /* Elevarea vizuală pentru impact maxim */
    transform: scale(1.05); /* Ușor mai mare decât celelalte carduri */
    border: 1px solid #C10206; /* Bordura ta specifică roșie */
    border-radius: 16px; /* Colțuri mai rotunjite pentru elegantă */
    /* Umbre dramatice pentru profunzime */
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 30px rgba(193, 2, 6, 0.4), inset 0 0 20px rgba(0,0,0,0.3);
    /* Text și spațiere */
    color: #ffffff;
    padding: 2.2rem;
    text-align: center; /* Aliniere centrală pentru impact */
    /* Animație subtilă de pulsare pentru atenție */
    animation: centralCardPulse 3s ease-in-out infinite;
}

/* Animația de pulsare pentru elementul central */
@keyframes centralCardPulse {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 30px rgba(193, 2, 6, 0.4), inset 0 0 20px rgba(0,0,0,0.3);
    }

    50% {
        box-shadow: 0 18px 45px rgba(0,0,0,0.7), 0 0 35px rgba(193, 2, 6, 0.6), inset 0 0 25px rgba(0,0,0,0.4);
    }
}

/* Hover și selectare - efect mai dramatic */
#pachet-esential.selected,
#pachet-esential:hover {
    border-color: #ff0000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 40px rgba(255, 0, 0, 0.6), inset 0 0 30px rgba(0,0,0,0.4);
    animation-play-state: paused; /* Oprește animația la hover */
}

#pachet-esential .card-header {
    display: flex;
    flex-direction: row; /* Schimbă din 'column' în 'row' */
    justify-content: space-between; /* Aliniază elementele la capete */
    align-items: center; /* Centrează elementele pe verticală */
    text-align: center;
    margin-bottom: 0.9rem;
    padding-bottom: 0rem;
    border-bottom: 2px solid rgba(193, 2, 6, 0.5); /* <-- PUNE LA LOC */
}

    #pachet-esential .card-header > div {
        position: relative;
        left: -30px;
    }

    #pachet-esential .card-header h3 {
        font-family: 'Teko', sans-serif;
        font-size: 2.5rem !important; /* Mărit considerabil */
        font-weight: 700;
        text-transform: uppercase;
        color: #FFFFFF;
        text-shadow: 0 0 15px rgba(193, 2, 6, 0.8), 2px 2px 8px rgba(0, 0, 0, 0.9);
        margin: 0;
        letter-spacing: 3px;
    }

    #pachet-esential .card-header .card-price {
        text-align: center;
    }

        #pachet-esential .card-header .card-price p {
            font-family: 'Teko', sans-serif;
            font-size: 2.5rem !important; /* Mărit pentru impact */
            font-weight: 800;
            color: #C10206; /* Culoarea ta specifică */
            text-shadow: 0 0 10px rgba(193, 2, 6, 0.8), 1px 1px 5px rgba(0, 0, 0, 0.9);
            margin: 0;
            line-height: 1;
        }

        #pachet-esential .card-header .card-price span {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            color: #ffffff;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
            margin-left: 0.5rem;
        }

        /* Stilizare pentru decimale în prețul pachetului esențial */
        #pachet-esential .card-header .card-price .decimals {
            font-size: 2.2rem; /* Aproximativ 60% din mărimea principală (4rem) */
            font-weight: 700;
            color: #C10206;
            text-shadow: 0 0 10px rgba(193, 2, 6, 0.8), 1px 1px 5px rgba(0, 0, 0, 0.9);
            vertical-align: top;
            margin-left: 0;
            margin-right: 0.25rem;
        }

        #pachet-esential .card-header .card-price .currency {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: #ffffff;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
            margin-left: 0rem;
        }

/* Lista de caracteristici - design central */
#pachet-esential .card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0rem 0;
}

    #pachet-esential .card-features li {
        display: flex;
        align-items: center;
        justify-content: flex-start; /* <-- MODIFICAREA AICI */
        font-size: 0.75rem; /* Mărit pentru vizibilitate */
        font-weight: 700;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(193, 2, 6, 0.3);
        border-radius: 10px;
        padding: 0.7rem 1.1rem;
        margin-bottom: 1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        transition: all 0.3s ease;
    }



        #pachet-esential .card-features li:hover {
            background: rgba(193, 2, 6, 0.2);
            border-color: rgba(193, 2, 6, 0.6);
            transform: translateX(5px);
        }

    #pachet-esential .card-features .icon {
        margin-right: 1rem;
        width: 20px; /* Mărit pentru vizibilitate */
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

#pachet-esential .icon-bifa svg {
    fill: #4CAF50 !important;
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.6));
}

/* Butonul CTA - design central dramatic */
#pachet-esential .card-cta-container {
    padding-top: 1rem;
    border-top: 2px solid rgba(193, 2, 6, 0.5);
    text-align: center;
}

#pachet-esential .card-cta-button {
    display: inline-block;
    width: auto;
    min-width: 280px;
    padding: 0.6rem 2rem 0.3rem !important;
    background: linear-gradient(145deg, #C10206, #ff0000);
    color: #FFFFFF;
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px; /* Buton rotunjit pentru eleganță */
    box-shadow: 0 6px 20px rgba(193, 2, 6, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

    #pachet-esential .card-cta-button:hover {
        transform: translateY(-3px) scale(1.05);
        background: linear-gradient(145deg, #ff0000, #C10206);
        box-shadow: 0 10px 30px rgba(193, 2, 6, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }


/* Responsive design pentru mobile */
@media (max-width: 768px) {
    #pachet-esential {
        max-width: 100%;
        margin: 1rem auto;
        padding: 2rem;
        padding-top: 0.7rem;
        padding-bottom: 1rem; /* <-- ADĂUGATĂ: Poți ajusta valoarea 1.5rem */
        transform: scale(1.02); /* Scaling mai mic pentru mobile */
    }

        #pachet-esential .card-header h3 {
            font-size: 2.8rem;
        }

        #pachet-esential .card-header .card-price p {
            font-size: 3rem;
        }

        #pachet-esential .card-cta-button {
            min-width: 240px;
            padding: 1rem 2rem;
            font-size: 1.3rem;
        }
}


/* ============================================= */
/* Stiluri pentru Cardul "Maestru" (Best Seller) */
/* ============================================= */

#pachet-maestru {
    background-image: url('/images/fundal-card4.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Design inspirat de Esențial - poziționare centrală și elevată */
    width: 100%;
    max-width: 580px; /* Puțin mai mic decât Esențialul dar mai mare decât alte carduri */
    margin: 1.5rem auto;
    transform: scale(1.03); /* Ușor mărit pentru a atrage atenția */
    /* Bordură și umbre dramatice */
    border: 2px solid #FFD700; /* Bordură aurie pentru Best Seller */
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.6), 0 0 25px rgba(255, 215, 0, 0.4), /* Glow auriu */
    inset 0 0 15px rgba(0,0,0,0.3);
    color: #ffffff;
    padding: 2.5rem;
    position: relative;
    overflow: visible; /* Pentru badge-ul Best Seller */
    /* Animație subtilă pentru atenție */
    animation: bestSellerPulse 4s ease-in-out infinite;
    margin-bottom: 80px !important;
}

/* Animația pentru Best Seller */
@keyframes bestSellerPulse {
    0%, 100% {
        box-shadow: 0 12px 35px rgba(0,0,0,0.6), 0 0 25px rgba(255, 215, 0, 0.4), inset 0 0 15px rgba(0,0,0,0.3);
    }

    50% {
        box-shadow: 0 15px 40px rgba(0,0,0,0.7), 0 0 30px rgba(255, 215, 0, 0.6), inset 0 0 20px rgba(0,0,0,0.4);
    }
}

/* Badge Best Seller */
#pachet-maestru .best-seller-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(145deg, #FFD700, #FFA500);
    color: #000000;
    font-family: 'Teko', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    letter-spacing: 1px;
    z-index: 10;
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Hover pentru Maestru */
#pachet-maestru.selected,
#pachet-maestru:hover {
    transform: scale(1.05) translateY(-8px);
    border-color: #FFA500;
    box-shadow: 0 18px 45px rgba(0,0,0,0.8), 0 0 35px rgba(255, 165, 0, 0.6), inset 0 0 25px rgba(0,0,0,0.4);
    animation-play-state: paused;
}

/* Header pentru Maestru */
#pachet-maestru .card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
}

    #pachet-maestru .card-header h3 {
        font-family: 'Teko', sans-serif;
        font-size: 3.2rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #FFFFFF;
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 2px 2px 8px rgba(0, 0, 0, 0.9);
        margin: 0;
        letter-spacing: 2px;
    }

    /* Prețul pentru Maestru */
    #pachet-maestru .card-header .card-price {
        text-align: center;
    }

        #pachet-maestru .card-header .card-price p {
            font-family: 'Teko', sans-serif;
            font-size: 3.8rem;
            font-weight: 800;
            color: #FFD700; /* Auriu pentru Best Seller */
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 1px 1px 5px rgba(0, 0, 0, 0.9);
            margin: 0;
            line-height: 1;
        }

        /* Decimale pentru Maestru */
        #pachet-maestru .card-header .card-price .decimals {
            font-size: 2.3rem;
            font-weight: 700;
            color: #FFD700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 1px 1px 5px rgba(0, 0, 0, 0.9);
            vertical-align: top;
            margin-left: 0;
            margin-right: 0.25rem;
        }

        #pachet-maestru .card-header .card-price .currency {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: #ffffff;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
            margin-left: 0.5rem;
        }

/* Lista de caracteristici pentru Maestru */
#pachet-maestru .card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
}

    #pachet-maestru .card-features li {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-size: 1.2rem;
        font-weight: 700;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(255, 215, 0, 0.3);
        border-radius: 10px;
        padding: 1rem 1.5rem;
        margin-bottom: 1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        transition: all 0.3s ease;
    }

        #pachet-maestru .card-features li:hover {
            background: rgba(255, 215, 0, 0.2);
            border-color: rgba(255, 215, 0, 0.6);
            transform: translateX(5px);
        }

    #pachet-maestru .card-features .icon {
        margin-right: 1.5rem;
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

/* Iconuri pentru Maestru */
#pachet-maestru .icon-bifa svg {
    fill: #4CAF50 !important;
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.6));
}

#pachet-maestru .icon-plus svg {
    fill: #FFD700 !important;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

#pachet-maestru .icon-money svg {
    fill: #4CAF50 !important;
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.6));
}

/* Stiluri pentru linia "Economisești" */
#pachet-maestru .economisesti {
    background: rgba(76, 175, 80, 0.2) !important;
    border-color: rgba(76, 175, 80, 0.5) !important;
    color: #4CAF50 !important;
    display:none;
}

/* Butonul CTA pentru Maestru */
#pachet-maestru .card-cta-container {
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 215, 0, 0.5);
    text-align: center;
}

#pachet-maestru .card-cta-button {
    display: inline-block;
    width: auto;
    min-width: 280px;
    padding: 1.25rem 2.25rem;
    background: linear-gradient(145deg, #FFD700, #FFA500);
    color: #000000; /* Text negru pe fundal auriu */
    font-family: 'Teko', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

    #pachet-maestru .card-cta-button:hover {
        transform: translateY(-3px) scale(1.05);
        background: linear-gradient(145deg, #FFA500, #FFD700);
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

/* Responsive pentru mobile */
@media (max-width: 768px) {
    #pachet-maestru {
        max-width: 100%;
        margin: 1rem auto;
        padding: 2rem;
        transform: scale(1.01);
    }

        #pachet-maestru .card-header h3 {
            font-size: 2.6rem;
        }

        #pachet-maestru .card-header .card-price p {
            font-size: 3.2rem;
        }

        #pachet-maestru .card-cta-button {
            min-width: 240px;
            padding: 1rem 1.8rem;
            font-size: 1.4rem;
        }

        #pachet-maestru .best-seller-badge {
            font-size: 1.2rem;
            padding: 0.4rem 0.8rem;
        }
}

/* ============================================= */
/* Stiluri pentru Cardul "Ultimate" (All Inclusive) */
/* ============================================= */

#pachet-ultimate {
    background-image: url('/images/fundal-card8.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Design inspirat de Esențial - poziționare centrală și elevată */
    width: 100%;
    max-width: 590px; /* Mai mare decât Maestru dar mai mic decât Esențial */
    margin: 1.75rem auto;
    transform: scale(1.04); /* Mărit pentru a atrage atenția ca fiind All Inclusive */
    /* Bordură și umbre dramatice cu tema silver-platinum */
    border: 2px solid #E0E0E0; /* Bordură argintie pentru All Inclusive */
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(0,0,0,0.6), 0 0 28px rgba(224, 224, 224, 0.5), /* Glow argintiu */
    inset 0 0 18px rgba(0,0,0,0.3);
    color: #ffffff;
    padding: 2.5rem;
    position: relative;
    overflow: visible; /* Pentru badge-ul All Inclusive */
    /* Animație subtilă pentru atenție */
    animation: allInclusivePulse 3.5s ease-in-out infinite;

}

/* Animația pentru All Inclusive */
@keyframes allInclusivePulse {
    0%, 100% {
        box-shadow: 0 14px 38px rgba(0,0,0,0.6), 0 0 28px rgba(224, 224, 224, 0.5), inset 0 0 18px rgba(0,0,0,0.3);
    }

    50% {
        box-shadow: 0 16px 42px rgba(0,0,0,0.7), 0 0 32px rgba(192, 192, 192, 0.6), inset 0 0 22px rgba(0,0,0,0.4);
    }
}

/* Badge All Inclusive */
#pachet-ultimate .all-inclusive-badge {
    position: absolute;
    top: -14px;
    right: -14px;
    background: linear-gradient(145deg, #E0E0E0, #C0C0C0);
    color: #000000;
    font-family: 'Teko', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.6rem 1.1rem;
    border-radius: 22px;
    border: 2.5px solid #fff;
    box-shadow: 0 5px 18px rgba(224, 224, 224, 0.6);
    letter-spacing: 0.8px;
    z-index: 10;
    animation: allInclusiveBadgePulse 2.5s ease-in-out infinite;
}

@keyframes allInclusiveBadgePulse {
    0%, 100% {
        transform: translateY(0px) scale(1);
        box-shadow: 0 5px 18px rgba(224, 224, 224, 0.6);
    }

    50% {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 7px 22px rgba(192, 192, 192, 0.8);
    }
}

/* Hover pentru Ultimate */
#pachet-ultimate.selected,
#pachet-ultimate:hover {
    transform: scale(1.06) translateY(-8px);
    border-color: #C0C0C0;
    box-shadow: 0 20px 48px rgba(0,0,0,0.8), 0 0 38px rgba(192, 192, 192, 0.7), inset 0 0 28px rgba(0,0,0,0.4);
    animation-play-state: paused;
}

/* Header pentru Ultimate */
#pachet-ultimate .card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(224, 224, 224, 0.5);
}

    #pachet-ultimate .card-header h3 {
        font-family: 'Teko', sans-serif;
        font-size: 3.3rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #FFFFFF;
        text-shadow: 0 0 15px rgba(224, 224, 224, 0.8), 2px 2px 8px rgba(0, 0, 0, 0.9);
        margin: 0;
        letter-spacing: 2px;
    }

    /* Prețul pentru Ultimate */
    #pachet-ultimate .card-header .card-price {
        text-align: center;
    }

        #pachet-ultimate .card-header .card-price p {
            font-family: 'Teko', sans-serif;
            font-size: 3.9rem;
            font-weight: 800;
            color: #E0E0E0; /* Argintiu pentru All Inclusive */
            text-shadow: 0 0 12px rgba(224, 224, 224, 0.8), 1px 1px 5px rgba(0, 0, 0, 0.9);
            margin: 0;
            line-height: 1;
        }

        /* Decimale pentru Ultimate */
        #pachet-ultimate .card-header .card-price .decimals {
            font-size: 2.3rem;
            font-weight: 700;
            color: #E0E0E0;
            text-shadow: 0 0 12px rgba(224, 224, 224, 0.8), 1px 1px 5px rgba(0, 0, 0, 0.9);
            vertical-align: top;
            margin-left: 0;
            margin-right: 0.25rem;
        }

        #pachet-ultimate .card-header .card-price .currency {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: #ffffff;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
            margin-left: 0.5rem;
        }

/* Lista de caracteristici pentru Ultimate */
#pachet-ultimate .card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.7rem 0;
}

    #pachet-ultimate .card-features li {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-size: 1.15rem;
        font-weight: 700;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(224, 224, 224, 0.3);
        border-radius: 10px;
        padding: 1rem 1.5rem;
        margin-bottom: 1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        transition: all 0.3s ease;
    }

        #pachet-ultimate .card-features li:hover {
            background: rgba(224, 224, 224, 0.15);
            border-color: rgba(224, 224, 224, 0.6);
            transform: translateX(5px);
        }

    #pachet-ultimate .card-features .icon {
        margin-right: 1.5rem;
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

/* Iconuri pentru Ultimate */
#pachet-ultimate .icon-bifa svg {
    fill: #4CAF50 !important;
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.6));
}

#pachet-ultimate .icon-plus svg {
    fill: #E0E0E0 !important;
    filter: drop-shadow(0 0 5px rgba(224, 224, 224, 0.6));
}

#pachet-ultimate .icon-money svg {
    fill: #4CAF50 !important;
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.6));
}

/* Stiluri pentru linia "Economisești" */
#pachet-ultimate .economisesti {
    background: rgba(76, 175, 80, 0.2) !important;
    border-color: rgba(76, 175, 80, 0.5) !important;
    color: #4CAF50 !important;
    display:none !important;
}

/* Butonul CTA pentru Ultimate */
#pachet-ultimate .card-cta-container {
    padding-top: 2rem;
    border-top: 2px solid rgba(224, 224, 224, 0.5);
    text-align: center;
}

#pachet-ultimate .card-cta-button {
    display: inline-block;
    width: auto;
    min-width: 290px;
    padding: 1.3rem 2.6rem;
    background: linear-gradient(145deg, #E0E0E0, #C0C0C0);
    color: #000000; /* Text negru pe fundal argintiu */
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 22px rgba(224, 224, 224, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

    #pachet-ultimate .card-cta-button:hover {
        transform: translateY(-3px) scale(1.05);
        background: linear-gradient(145deg, #C0C0C0, #E0E0E0);
        box-shadow: 0 10px 32px rgba(224, 224, 224, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

/* Responsive pentru mobile */
@media (max-width: 768px) {
    #pachet-ultimate {
        max-width: 100%;
        margin: 1rem auto;
        padding: 2rem;
        transform: scale(1.02);
    }

        #pachet-ultimate .card-header h3 {
            font-size: 2.7rem;
        }

        #pachet-ultimate .card-header .card-price p {
            font-size: 3.3rem;
        }

        #pachet-ultimate .card-cta-button {
            min-width: 250px;
            padding: 1rem 1.8rem;
            font-size: 1.4rem;
        }

        #pachet-ultimate .all-inclusive-badge {
            font-size: 1.2rem;
            padding: 0.5rem 0.9rem;
        }
}

/* Ajustare pentru alte carduri să nu interfereze cu Ultimate */
.card:not(#pachet-esential):not(#pachet-maestru):not(#pachet-ultimate) {
    opacity: 0.88;
    transform: scale(0.94);
}

    .card:not(#pachet-esential):not(#pachet-maestru):not(#pachet-ultimate):hover {
        opacity: 1;
        transform: scale(0.97) translateY(-3px);
    }

    /* Ajustare pentru alte carduri să nu interfereze cu Suprem */
    .card:not(#pachet-esential):not(#pachet-maestru):not(#pachet-ultimate):not(#pachet-suprem) {
        opacity: 0.85;
        transform: scale(0.93);
    }

        .card:not(#pachet-esential):not(#pachet-maestru):not(#pachet-ultimate):not(#pachet-suprem):hover {
            opacity: 1;
            transform: scale(0.96) translateY(-3px);
        }

.container-poveste-pachete {
    padding-bottom: 0px; /* Spațiul de 20px pe care l-ați cerut */
    margin-bottom: 20px; /* Spațiu adițional sub linie, înainte de secțiunea următoare */
    border-bottom: 1px solid #2a2a2a; /* Linia separatoare gri */
}

/* --- LOGICA VIZUALĂ PENTRU NOUL CONTROL (TIP CĂRBUNE) --- */

/* 1. Mișcă indicatorul roșu la dreapta când se selectează "Brichete Lemn" */
#optiune-brichete-lemn:checked ~ .control-indicator {
    transform: translateX(100%);
}

/* 2. Schimbă culoarea textului în ALB pentru opțiunea activă (Cocos sau Lemn) */
#optiune-cocos:checked ~ .control-label[for="optiune-cocos"],
#optiune-brichete-lemn:checked ~ .control-label[for="optiune-brichete-lemn"] {
    color: #ffffff;
}

/* Ajustare fină pentru textul "Brichete Lemn" */
.control-label[for="optiune-brichete-lemn"] {
    padding-left: 20px; /* Valoarea default este 15px. Am mărit la 25px pentru a împinge textul la dreapta. */
}