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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(10, 10, 10, 0.85);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: #4285f4;
    background: rgba(66, 133, 244, 0.1);
}

.cta-header {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    margin: 0.25rem 0;
}

.cta-header:hover {
    transform: translateY(-2px);
}

/* Mobile Navigation - Nascosto di default */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .cta-header {
        display: none;
    }
    
    header .container {
        padding: 0 20px !important;
    }
    
    nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        position: relative !important;
        padding: 1.5rem 0 !important;
    }
    
    .logo {
        text-align: left !important;
        flex: none !important;
        margin: 0 !important;
        order: 1;
    }
    
    .nav-links {
        display: none !important;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        order: 2;
    }
    
    .nav-links.active {
        display: flex !important;
        transform: translateX(0);
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 5px !important;
        width: 30px !important;
        height: 30px !important;
        justify-content: space-around !important;
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10001 !important;
        order: 3;
    }
    
    .mobile-menu-btn span {
        display: block !important;
        height: 3px !important;
        width: 100% !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(66, 133, 244, 0.1) 0%, transparent 70%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.hero-img-1,
.hero-img-2 {
    width: 100%;
    max-width: 950px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: opacity 1.2s ease-in-out;
}

.hero-img-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

.hero-image:hover .hero-img-1 {
    opacity: 0;
}

.hero-image:hover .hero-img-2 {
    opacity: 1;
}

.hero-text {
    order: 2;
}

.hero-quote {
    margin-top: 1rem; 
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(66, 133, 244, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #111111;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(66, 133, 244, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #4285f4;
    padding: 0 2rem;
    margin-top: 1.5rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding: 0 2rem 2rem;
}

.feature-icon {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 0;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.05);
}

/* Book Content */
.book-content {
    padding: 4rem 0;
    background: #0a0a0a;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.content-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-section h3 {
    color: #4285f4;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.content-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

/* Book Image */
.book-image {
    text-align: center;
    margin: 3rem 0 4rem;
    position: relative;
}

.book-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

.book-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    height: 100%;
    border-radius: 15px;
    background: radial-gradient(
        ellipse at center,
        transparent 20%,
        rgba(10, 10, 10, 0.2) 50%,
        rgba(10, 10, 10, 0.6) 80%,
        #0a0a0a 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: #111111;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-author {
    color: #4285f4;
    font-weight: 600;
}

.testimonial-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.testimonial-photo {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Pricing */
.pricing {
    padding: 4rem 0;
    background: #0a0a0a;
    text-align: center;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #4285f4;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #4285f4;
    margin-bottom: 0.5rem;
}

.price-details {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.limited-time {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
}

.pricing-layout {
    display: flex;
    align-items: stretch;  /* Cambia da center a stretch per rendere i blocchi della stessa altezza */
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.pricing #edizione .pricing-card {
    flex: 1;
    min-width: 400px;
    text-align: center;
    max-width: none;
    margin: 0;
}

.pricing-image {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;  /* Aggiungi per centrare verticalmente il contenuto */
}

.pricing-image .image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;  /* Aumenta gap da 1rem a 3rem per distanziare thumbnails dall'immagine */
    height: 100%;
    justify-content: center;
    min-height: 600px;  /* Aggiungi altezza minima per occupare più spazio verticale */
}

.pricing-image .main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    max-width: 450px;  /* Aumenta larghezza per sfruttare meglio lo spazio */
    width: 100%;
    height: 650px;  /* Imposta altezza fissa per l'immagine principale */
    border: 2px solid rgb(255, 255, 255);  /* Aggiungi bordo bianco sottile */
}

.pricing-image .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pricing-image .thumbnails {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;  /* Aumenta gap tra thumbnails */
    justify-content: center;
    width: auto;
    max-width: none;
    margin-top: 1rem;  /* Aggiungi margine superiore per distanziare ulteriormente */
}

.pricing-image .thumbnail {
    flex: none;
    width: 130px;  /* Aumenta larghezza delle thumbnails */
    height: 160px;  /* Aumenta altezza delle thumbnails */
    min-width: 130px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);  /* Cambia da transparent a bianco sottile */
}

.pricing-image .thumbnail:hover {
    opacity: 0.9;
    border-color: rgba(66, 133, 244, 0.7);  /* Bordo azzurro più visibile al hover */
}

.pricing-image .thumbnail.active {
    opacity: 1;
    border-color: #4285f4;  /* Bordo azzurro pieno quando selezionata */
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.4);
}

/* Gift Icons */
.gift-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.gift-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .gift-icon {
    background: rgba(66, 133, 244, 0.2);
    transform: scale(1.1);
}

.testimonial-card:hover .gift-icon img {
    transform: scale(1.1);
}

.gift-title {
    color: #4285f4 !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    text-align: center;
}

/* Author Section */
.author {
    padding: 4rem;
    background: #111111;
}

.author-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.author-photo {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.author-photo:hover {
    transform: scale(1.05);
}

.author-photo:hover img {
    transform: scale(1.1);
}

/* FAQ */
.faq {
    padding: 4rem 0;
    background: #0a0a0a;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question span:last-child {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-question span:last-child {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding: 1.5rem 1.5rem 1.5rem;
}

/* Order Form Styles */
.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background: #333;
    color: white;
}

.price-summary {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(0, 188, 212, 0.2));
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid rgba(66, 133, 244, 0.3);
    backdrop-filter: blur(10px);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.price-row:last-child {
    margin-bottom: 0;
}

.total-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #4285f4;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: #4caf50;
    font-weight: 500;
}

.paypal-container {
    margin-top: 2rem;
    min-height: 50px;
}

.form-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.5;
}

.error-message {
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    font-weight: 500;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #4285f4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-group input.invalid,
.form-group select.invalid {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.form-group input.valid,
.form-group select.valid {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sticky-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-sticky-btn:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    max-width: 300px;
}

.footer-section h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-align: inherit;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
    color: white !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: none !important;
}

footer a:visited {
    color: white !important;
}

footer a:active {
    color: white !important;
}

footer a:active {
    color: white !important;
}

.footer-section a {
    color: white !important;
    text-decoration: none !important;
}

/* Loading animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(66, 133, 244, 0.3);
    border-top: 3px solid #4285f4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-image img {
        max-width: 320px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-text .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    body {
        padding-bottom: 90px;
    }
    
    .pricing-layout {
        flex-direction: column;
        gap: 3rem;
    }
    
    .pricing #edizione .pricing-card,
    .pricing-image {
        min-width: auto;
        width: 100%;
    }
    
    .pricing-image .main-image-container {
        width: 350px;
        height: 500px;
    }
    
    .pricing-image .thumbnails {
        max-width: 350px;  /* Torna a 350px per contenere thumbnails affiancate */
        width: 100%;  /* Torna a 100% */
        gap: 4rem;  /* Mantieni gap aumentato */
        flex-direction: row;  /* Torna a row per affiancarle */
        justify-content: center;  /* Centra le thumbnails */
    }

    .pricing-image .thumbnail {
        flex: 1;  /* Torna a flex: 1 per distribuirle equamente */
        width: auto;  /* Torna ad auto per larghezza flessibile */
        height: 100px;  /* Aumenta altezza da 45px a 100px per proporzioni più verticali */
        min-width: 0;  /* Torna a 0 per flessibilità */
        max-width: 80px;  /* Aggiungi max-width per limitare la larghezza */
    }

    .pricing-image .image-gallery {
        flex-direction: column;  /* Mantieni column */
        gap: 2rem;  /* Mantieni gap aumentato */
    }
    
    .author {
        padding: 6rem 0;
    }
    
    .author-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        text-align: center;
    }
    
    .author-content > div:first-child {
        margin-bottom: 3rem;
        padding-top: 2rem;
    }
    
    .author-photo {
        width: 280px !important;
        height: 280px !important;
        margin: 0 auto 2.5rem auto !important;
        border-radius: 15px !important;
    }
    
    .author-text {
        text-align: center;
        max-width: 100%;
    }
    
    .author-text h3 {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .author-text p {
        text-align: center;
        line-height: 1.6;
    }
    
    .author-text h4 {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin-top: 2rem;
    }
    
    .footer-section {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .footer-section:nth-child(1) h4,
    .footer-section:nth-child(2) h4,
    .footer-section:nth-child(3) h4 {
        text-align: center;
        margin-top: 1rem;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        display: block;
    }
    
    .footer-section:nth-child(1) h4 {
        margin-top: 2rem;
    }
    
    .book-image {
        margin: 2rem 0 3rem;
    }
    
    .book-image img {
        max-width: 280px;
    }
    
    .book-image::after {
        max-width: 280px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .order-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .price-row {
        font-size: 0.9rem;
    }
    
    .total-price {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .order-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .author-photo {
        width: 240px !important;
        height: 240px !important;
        margin: 0 auto 2rem auto !important;
        border-radius: 15px !important;
    }
}

/* Header Navigation Fix per tablet/desktop */
@media (min-width: 769px) {
    header nav {
        flex-wrap: nowrap;
        min-height: 60px;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: row;
        gap: 1.5rem;
        flex-shrink: 0;
    }
    
    .logo {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .cta-header {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .cta-header {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 110px; /* Sopra la sticky bar mobile */
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Stili aggiuntivi per i select */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}


@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .feature-icon {
        display: none;
        margin: 0;  /* Rimuove il margine */
        padding: 0; /* Rimuove il padding */
    }

    .feature-card {
        min-height: 0; /* Rimuove l'altezza minima su mobile */
    }
}