/* Stile Globale e Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Intestazione */
header {
    background-color: #FFD700;
    padding: 15px 0;
    border-bottom: 3px solid #FFD700; /* Colore Oro */
    text-align: center;
}

.logo {
	background-color: #FFD700;
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
}

/* Sezione Hero (Offerta Principale) */
.hero-section {
    background-color: #ffffff;
    padding: 60px 0;
    border-bottom: 1px solid #ddd;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.text-content {
    flex: 2;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: #1e3a5f; /* Blu Scuro/Professionale */
    margin-bottom: 15px;
    line-height: 1.1;
}

h2 {
    font-size: 1.4em;
    color: #555;
    margin-bottom: 30px;
    font-weight: 400;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.benefit-list li {
    padding: 10px 0;
    font-size: 1.1em;
}

.benefit-list li i {
    color: #FFD700; /* Oro */
    margin-right: 10px;
}

/* Card del Form (Adesione) */
.form-card {
    flex: 1;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #FFD700;
    min-width: 300px;
}

.mockup {
    text-align: center;
    margin-bottom: 20px;
}

.mockup img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
/* Stile per il placeholder dell'immagine */
.mockup::before {
    /*content: attr(data-image-desc); /* Utilizza il testo alt come contenuto */
    display: block;
    background-color: #eee;
    color: #666;
    padding: 50px 10px;
    border-radius: 5px;
    font-style: italic;
}
.mockup {
    /* Rimuovi l'immagine placeholder se hai un'immagine vera */
    background-image: url('../images/librocopertina4.jpg');
	background-repeat: no-repeat;
    /* background-color: #f0e68c; /* Giallo tenue */
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-weight: 700;
    font-size: 0.9em;
}

.form-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 700;
    color: #1e3a5f;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.cta-button {
    width: 100%;
    padding: 15px;
    background-color: #FFD700; /* Oro */
    color: #1e3a5f;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #e6c200;
}

.cta-button i {
    margin-right: 8px;
}

.privacy-note {
    font-size: 0.8em;
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.privacy-note i {
    color: green;
    margin-right: 5px;
}

#formMessage {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.hidden {
    display: none;
}

/* Sezione Benefici Dettagliati */
.benefits-detail-section {
    padding: 60px 0;
    text-align: center;
}

.benefits-detail-section h2 {
    color: #1e3a5f;
    font-size: 2em;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5em;
    color: #1e3a5f;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

/* Sezione Fiducia e CTA di Rinforzo */
.trust-section {
    background-color: #1e3a5f;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.trust-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}

.testimony {
    flex: 1;
    max-width: 45%;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 40px;
    text-align: left;
}

.testimony i {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.testimony p {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.author {
    font-weight: 700;
    display: block;
}

.cta-reinforce {
    flex: 1;
    max-width: 45%;
    text-align: left;
}

.cta-reinforce h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFD700;
}

.cta-reinforce p {
    margin-bottom: 20px;
}

.cta-reinforce .cta-button {
    max-width: 300px;
}

/* Footer */
footer {
    background-color: #333;
    color: #bbb;
    padding: 20px 0;
    font-size: 0.9em;
    text-align: center;
}

footer a {
    color: #bbb;
    margin: 0 10px;
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.8em;
    color: #888;
}

/* Media Queries per la Responsiveness */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .text-content {
        order: 2;
    }

    .form-card {
        order: 1;
        width: 100%;
        max-width: 450px;
    }

    .trust-content {
        flex-direction: column;
        gap: 30px;
    }

    .testimony, .cta-reinforce {
        max-width: 100%;
        padding: 0;
        border-right: none;
    }

    .testimony {
        text-align: center;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.2em;
    }

    .hero-section, .benefits-detail-section, .trust-section {
        padding: 40px 0;
    }
}