/* =========================================
   VARIABILI E RESET
========================================= */
:root {
    /* Palette Colori Fresca, Estiva ed Alta Conversione */
    --primary: #E63946; /* Rosso per Pulsanti (Azione) */
    --primary-hover: #D90429;
    --secondary: #FFB703; /* Giallo Sole per Bonus/Badge/Stelle */
    --accent: #2A9D8F; /* Verde Fresco per Checkmark/Trust */
    --bg-light: #FDFBF7; /* Crema/Giallo chiarissimo - caldo e felice */
    --bg-white: #FFFFFF;
    --text-dark: #023047; /* Blu scuro elegante per i testi */
    --text-light: #455A64;
    --gray-bg: #F4F9F9; /* Azzurro/grigio chiarissimo per sezioni alternate */
    
    /* Tipografia */
    --font-heading: 'Nunito', sans-serif; /* Rotondo, amichevole */
    --font-body: 'Poppins', sans-serif; /* Pulito, leggibile */
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.rounded-img { border-radius: var(--border-radius); }
.shadow-sm { box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.highlight { color: var(--secondary); font-weight: bold; }

/* =========================================
   PULSANTI (CTA)
========================================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.5);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.btn-giant {
    padding: 22px 40px;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn-giant:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.8);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Animazioni Pulsanti */
.cta-bounce {
    animation: bounce 2s infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* =========================================
   URGENCY BAR
========================================= */
.urgency-bar {
    background-color: var(--secondary);
    color: #000;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.95rem;
    font-weight: 700;
}

.urgency-bar i {
    color: var(--primary);
}

/* =========================================
   HEADER
========================================= */
.site-header {
    background-color: var(--bg-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    color: var(--primary);
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-weight: 600;
    color: var(--text-dark);
}

.main-nav a:hover {
    color: var(--primary);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #FFF3E0 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.badge-trust {
    display: inline-block;
    background: rgba(255, 183, 3, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.stars { color: var(--secondary); }

.hero-title {
    font-size: 3rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-cta {
    margin-bottom: 30px;
}

.guarantee-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

.trust-icons {
    display: flex;
    gap: 20px;
    border-top: 1px solid #E0E0E0;
    padding-top: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.floating-img {
    animation: float 6s ease-in-out infinite;
    max-height: 500px;
    margin: 0 auto;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    transform: rotate(15deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* =========================================
   BENEFITS SECTION
========================================= */
.benefits {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 2.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    gap: 20px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-item h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.benefit-item p {
    color: var(--text-light);
}

/* =========================================
   PRICING / OFFER SECTION
========================================= */
.pricing {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.highlighted {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.highlighted:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.card-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.card-price {
    margin: 30px 0;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 10px;
}

.new-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
}

.card-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.card-features li {
    margin-bottom: 15px;
    font-weight: 500;
}

.card-features i {
    color: var(--accent);
    margin-right: 10px;
}

/* =========================================
   BONUS / COUNTDOWN SECTION
========================================= */
.bonus-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a4a6b 100%);
    color: white;
}

.bonus-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.bonus-text {
    flex: 1;
}

.bonus-text h2 {
    font-size: 2.2rem;
    color: var(--secondary);
}

.bonus-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 30px 0;
}

.time-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}

.time-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.time-box small {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
}

.separator {
    font-size: 2.5rem;
    font-weight: 800;
}

.bonus-image {
    flex: 1;
}

/* =========================================
   QUALITY SECTION
========================================= */
.quality-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.quality-col h3 {
    font-size: 1.3rem;
    margin-top: 15px;
}

.vitamins-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #E0E0E0;
}

/* =========================================
   REVIEWS SECTION
========================================= */
.reviews-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.review-stars {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.review-author {
    font-size: 0.9rem;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #aaa;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
========================================= */
@media (max-width: 992px) {
    .hero-container, .bonus-content {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-icons {
        justify-content: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.highlighted {
        transform: scale(1);
    }
    
    .pricing-card.highlighted:hover {
        transform: translateY(-10px);
    }
    
    .quality-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Nascondi menu su mobile per focus su CTA */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .countdown {
        justify-content: center;
    }

    .sticky-cta-mobile {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        padding: 10px 20px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .d-none {
        display: none;
    }
    
    /* Quando visibile lo sticky cta mobile: */
    body {
        padding-bottom: 70px; 
    }
}

/* =========================================
   MODAL INGREDIENTI
========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto; 
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%; 
    max-width: 800px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-30px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary);
    text-decoration: none;
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
    text-align: left;
}

.modal-body h4 {
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--gray-bg);
    padding-bottom: 5px;
    font-size: 1.2rem;
}

.modal-body p, .modal-body ul {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.modal-body ul {
    list-style: none;
}

.modal-body ul li {
    margin-bottom: 5px;
}

