<style>
body {
        font-family: 'Inter', sans-serif;
        background-color: #fcf6f6; /* Sfondo leggermente rosato come nell'immagine */
    }

    /* Navbar */
    .navbar {
        background-color: white;
        padding: 15px 0;
    }
    .nav-link {
        color: #333 !important;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero-section {
        background: linear-gradient(90deg, #5d7280 50%, transparent 100%), 
                    url('assets/img1.webp');
        background-repeat: no-repeat;
        background-position: right;
        color: white;
        padding: 50px 0 70px 0; /* Spazio extra sotto per le card */
        position: relative;
    }

    .hero-title {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .hero-text {
        max-width: 600px;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    /* Cards Section */
    .cards-container {
        margin-top: -80px; /* Fa salire le card sopra la hero */
        position: relative;
        z-index: 10;
    }

    .dating-card {
        background: white;
        border: none;
        border-radius: 4px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        padding: 30px;
        text-align: center;
        height: 100%;
    }

    .card-logo {
        max-height: 40px;
        margin-bottom: 20px;
    }

    .rating-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: #333;
    }

    .card-description {
        font-size: 0.85rem;
        color: #666;
        margin: 15px 0;
    }

    .btn-visit {
        border: 1px solid #5d7280;
        color: #333;
        border-radius: 25px;
        padding: 8px 30px;
        font-weight: 600;
        transition: all 0.3s;
        width: 100%;
    }

    .btn-visit:hover {
        background-color: #5d7280;
        color: white;
    }

    /* Review Row Styles */
    .review-row {
        border: 1px solid #eee !important;
    }

    .rank-badge {
        position: absolute;
        top: -15px;
        left: -15px;
        background-color: white;
        color: #d19a9a; /* Colore rosato dell'immagine */
        border: 2px solid #d19a9a;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.2rem;
        z-index: 11;
    }

    .best-rated-ribbon {
        position: absolute;
        top: 15px;
        left: 0;
        background-color: #d19a9a;
        color: white;
        padding: 2px 20px;
        font-size: 0.85rem;
        border-radius: 0 4px 4px 0;
        z-index: 5;
    }

    /* Effetto punta del ribbon */
    .best-rated-ribbon::after {
        content: "";
        position: absolute;
        right: -10px;
        top: 0;
        border-top: 13px solid transparent;
        border-bottom: 13px solid transparent;
        border-left: 10px solid #d19a9a;
    }

    .review-link {
        color: #4a6741; /* Verde scuro */
        font-weight: bold;
        text-decoration: underline;
        font-size: 0.9rem;
    }

    .tiny-text {
        font-size: 0.65rem;
        color: #999;
        margin-top: 3px;
    }

    .btn-visit-large {
        background-color: #6a826e; /* Verde oliva come immagine */
        color: white;
        border-radius: 30px;
        padding: 12px 40px;
        font-weight: bold;
        font-size: 1.1rem;
        transition: background 0.3s;
    }

    .btn-visit-large:hover {
        background-color: #4a6741;
        color: white;
    }

    .feature-icon img {
        opacity: 0.5;
        filter: grayscale(1);
    }
    /* Contenitore con bordo dorato e ombra */
    .selection-row {
        background: white;
        border: 3px solid #f1c40f; /* Colore oro */
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    /* Badge numero 1 circolare dorato */
    .rank-gold-badge {
        position: absolute;
        top: -25px;
        left: -25px;
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #d4af37 0%, #f1c40f 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2.5rem;
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        z-index: 10;
    }

    /* Nastro orizzontale dorato */
    .choice-ribbon {
        position: absolute;
        top: 20px;
        left: 20px;
        background: linear-gradient(90deg, #b8860b, #daa520);
        color: white;
        padding: 8px 60px 8px 40px;
        font-size: 1.2rem;
        font-weight: 500;
        clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
        z-index: 5;
    }

    /* Bollino grigio "TESTATO" in alto a destra */
    .tested-corner {
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        overflow: hidden;
        z-index: 5;
    }

    .tested-corner span {
        position: absolute;
        display: block;
        width: 150px;
        padding: 10px 0;
        background-color: #d1d1d1;
        color: #666;
        text-transform: uppercase;
        font-size: 12px;
        font-weight: bold;
        text-align: center;
        right: -35px;
        top: 20px;
        transform: rotate(45deg);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    /* Stile checklist con icone verdi */
    .custom-checklist li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

    .custom-checklist li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: #28a745;
        font-weight: bold;
    }

    /* Testo in corsivo per lo slogan */
    .slogan-text {
        font-style: italic;
        color: #777;
        line-height: 1.4;
    }

    /* Pulsante verde personalizzato */
    .btn-success-custom {
        background-color: #5cb85c;
        border: none;
        color: white;
        border-radius: 8px;
        transition: transform 0.2s;
    }

    .btn-success-custom:hover {
        background-color: #4cae4c;
        transform: scale(1.05);
        color: white;
    }

    /* Media query per bordi su mobile */
    @media (min-width: 768px) {
        .border-start-md {
            border-left: 1px solid #eee !important;
        }
    }

    /* Variante Argento per il bordo del contenitore */
    .selection-row.silver-variant {
        border: 3px solid #d1d1d1; /* Grigio argento */
    }

    /* Variante Argento per il badge tondo */
    .silver-badge {
        background: linear-gradient(135deg, #a1a1a1 0%, #e0e0e0 100%) !important;
        border: 2px solid #fff;
    }

    /* Variante Argento per il nastro (ribbon) */
    .silver-ribbon {
        background: linear-gradient(90deg, #8e8e8e, #c0c0c0) !important;
    }

    /* Stile per la quarta stella vuota (opzionale) */
    .stars {
        letter-spacing: 2px;
    }

    /* Variante Bronzo per il bordo del contenitore */
    .selection-row.bronze-variant {
        border: 3px solid #cd7f32; /* Colore Bronzo/Rame */
    }

    /* Variante Bronzo per il badge tondo */
    .bronze-badge {
        background: linear-gradient(135deg, #8b4513 0%, #cd7f32 100%) !important;
        border: 2px solid #fff;
    }

    /* Variante Bronzo per il nastro (ribbon) */
    .bronze-ribbon {
        background: linear-gradient(90deg, #a0522d, #cd7f32) !important;
    }

    /* Colore delle stelle per la terza scelta (opzionale, se vuoi differenziarle) */
    .bronze-variant .stars {
        color: #cd7f32 !important;
    }

    /* Stile per il nastro più grande */
    .ribbon-large {
        font-size: 1.4rem !important;
        padding: 10px 80px 10px 40px !important;
        top: 15px !important;
    }

    /* Variante dorata per il bollino "TESTATO" */
    .gold-corner span {
        background-color: #e2d3ab !important;
        color: #8a6d3b !important;
    }

    /* Personalizzazione bottoni */
    .btn-success {
        background-color: #5cb85c !important;
        border: none;
        box-shadow: 0 4px 0 #449d44; /* Effetto 3D tipico del design */
    }

    .btn-success:active {
        box-shadow: none;
        transform: translateY(2px);
    }

    /* Stile per icone emoji o icone custom */
    .h3.text-danger {
        min-width: 40px;
        display: inline-block;
    }

    /* Stile FAQ Accordion */
    .accordion-item {
        border-radius: 8px !important;
        overflow: hidden;
    }

    .accordion-button {
        background-color: white !important;
        color: #333 !important;
        padding: 20px;
        border: none !important;
    }

    .accordion-button:not(.collapsed) {
        box-shadow: none;
        background-color: #fdf6e3 !important; /* Richiamo al colore crema delle sezioni precedenti */
        color: #d4af37 !important; /* Colore oro per la domanda attiva */
    }

    .accordion-button::after {
        filter: grayscale(1); /* Rende la freccia più sobria */
    }

    .accordion-body {
        line-height: 1.6;
        background-color: white;
    }

    /* Footer Styles */
    .footer {
        background-color: #5d7280; /* Colore blu-grigio come la Hero */
        color: white;
    }

    .footer-logo {
        filter: brightness(0) invert(1); /* Rende il logo bianco se è scuro */
        max-height: 40px;
    }

    .footer-slogan {
        font-size: 1rem;
        opacity: 0.9;
        max-width: 600px;
    }

    .footer-links-row a {
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 400;
        transition: opacity 0.2s;
    }

    .footer-links-row a:hover {
        text-decoration: underline;
        opacity: 0.8;
    }

    .footer-divider {
        background-color: rgba(255, 255, 255, 0.3);
        height: 1px;
        border: none;
    }

    .copyright-text {
        font-size: 0.9rem;
        opacity: 0.7;
    }

    /* Adattamento per dispositivi mobili */
    @media (max-width: 768px) {
        .footer-links-row {
            text-align: left;
        }
        .footer-links-row a {
            font-size: 1rem;
        }
    }

    /* Correzione per dispositivi Mobile e Tablet */
    @media (max-width: 991.98px) {
        .hero-section {
            /* Rimuoviamo l'immagine e usiamo solo il colore di sfondo solido */
            background: #5d7280 !important; 
            padding: 40px 0; /* Riduciamo il padding per risparmiare spazio */
            text-align: center; /* Opzionale: centra il testo per un look più mobile-friendly */
        }

        .hero-title {
            font-size: 2rem; /* Riduciamo la dimensione del titolo su mobile */
        }

        .hero-text {
            font-size: 1rem;
            margin: 0 auto; /* Centra il blocco di testo se text-align è center */
        }
    }

    @media (max-width: 991.98px) {
        .navbar-brand img {
            max-width: 120px;
        }
        .hero-section {
            background-image: none !important; /* Forza la rimozione dell'immagine */
        }
    }

    /* --- CORREZIONI MOBILE --- */
    @media (max-width: 991.98px) {
        /* 1. Rimuove l'immagine dalla Hero e sistema i testi */
        .hero-section {
            background: #5d7280 !important; /* Colore solido come da immagine 8 */
            padding: 40px 0 !important;
            text-align: center;
        }

        .hero-title {
            font-size: 1.8rem !important; /* Titolo più leggibile su smartphone */
            line-height: 1.2;
        }

        .hero-text {
            font-size: 1rem !important;
            max-width: 100%;
            padding: 0 10px;
        }

        /* 2. Sistema le Selection Row (Img 9) */
        .selection-row {
            padding: 20px 15px !important;
            margin-left: 10px;
            margin-right: 10px;
            overflow: visible; /* Permette al badge numero di vedersi */
        }

        /* Riposiziona il nastro per non coprire il testo */
        .choice-ribbon {
            position: relative !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            margin-bottom: 20px;
            clip-path: none !important; /* Diventa un rettangolo pieno su mobile */
            text-align: center;
            padding: 10px !important;
        }

        /* Ridimensiona il badge numero per non essere enorme */
        .rank-gold-badge {
            width: 50px !important;
            height: 50px !important;
            font-size: 1.5rem !important;
            top: -20px !important;
            left: -10px !important;
        }

        /* Nasconde il bollino "TESTATO" su mobile per evitare sovrapposizioni (Img 9) */
        .tested-corner {
            display: none !important;
        }

        /* Allinea la checklist e il pulsante */
        .custom-checklist {
            text-align: left;
            display: inline-block;
        }
        
        .btn-success-custom, .btn-success {
            width: 100% !important; /* Pulsanti a tutta larghezza su mobile */
        }
    }
</style>