/* 
   Style per Landing Page "Le Grandi Aziende Italiane"
   Design System Premium, Light Mode (Colori Copertina)
*/

:root {
    /* Colors */
    --bg-main: #ffffff;
    --bg-card: #f8f9fa;
    --bg-card-hover: #ffffff;
    --text-main: #111111;
    --text-muted: #555555;
    --accent-color: #CE2B37; /* Rosso Italia */
    --accent-secondary: #009246; /* Verde Italia */
    --accent-hover: #a6202a;
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Shadows */
    --shadow-glow: 0 0 20px rgba(206, 43, 55, 0.2);
    --shadow-card: 0 10px 30px rgba(0,0,0,0.5);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
}

strong {
    color: var(--text-main);
    font-weight: 600;
}

em {
    font-style: italic;
    color: var(--accent-color);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff; /* Testo bianco sul bottone rosso */
    box-shadow: 0 0 20px rgba(206, 43, 55, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(206, 43, 55, 0.4);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-large span {
    font-size: 0.85rem;
    text-transform: none;
    font-weight: 400;
    opacity: 0.8;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-sm:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

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

.cta-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(206, 43, 55, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(206, 43, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(206, 43, 55, 0);
    }
}

/* Sections Global */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo span {
    color: var(--accent-color);
}

/* 1. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Offset for header */
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(206,43,55,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr; /* Diamo più spazio alla colonna dell'immagine */
    gap: 3rem;
    align-items: center;
}

.pre-headline {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero .sub-headline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.mockup-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-main) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    position: relative;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.book-mockup-img {
    width: 100%;
    max-width: 750px; /* Aumentata significativamente la dimensione massima */
    transform: scale(1.1); /* Ingrandisce ulteriormente l'immagine del 10% */
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transition: transform 0.5s ease;
}

.book-mockup-img:hover {
    transform: scale(1.15); /* Effetto zoom sull'immagine già ingrandita */
}

.book-3d {
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.book-3d:hover {
    transform: perspective(1000px) rotateY(-5deg) scale(1.02);
}

.book-cover {
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--accent-dark);
    height: 90%;
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom, #f1f1f1, #e1e1e1);
}

.book-cover h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.book-cover .divider {
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 1rem auto;
}

/* 2. The Problem */
.problem {
    background-color: var(--bg-card); /* Slightly darker in light mode */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.problem-content {
    max-width: 800px;
    margin: 0 auto;
}

.problem .section-title {
    color: var(--text-main);
    margin-bottom: 2rem;
}

.problem-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-family: var(--font-heading);
    font-size: 2rem !important;
    color: var(--accent-color) !important;
    font-style: italic;
    margin-top: 2rem;
}

/* 3. The Solution */
.badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: rgba(206, 43, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.brand-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.brand-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(0, 146, 70, 0.4);
}

.brand-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* 4. Sneak Peek */
.sneak-peek {
    background: radial-gradient(circle at 100% 50%, rgba(0,146,70,0.05) 0%, rgba(255,255,255,0) 50%);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.interior-mockup {
    aspect-ratio: 4/3;
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
}

.interior-mockup .lines {
    width: 100%;
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
}

.interior-mockup .short {
    width: 60%;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.feature-list strong {
    display: block;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

/* 5. Target Audience */
.target {
    background-color: var(--bg-card);
}

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

.target-card {
    text-align: center;
    padding: 2rem;
}

.target-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 6. Authority */
.authority {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.authority::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 15rem;
    color: rgba(0,0,0,0.03);
    z-index: -1;
    line-height: 1;
}

.authority-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
}

/* 6.5 Social Proof */
.social-proof {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

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

.review-card {
    background: var(--bg-main);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.reviewer strong {
    display: block;
    font-size: 1.1rem;
}

.reviewer span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 7. Offer & Bonus */
.offer {
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(206,43,55,0.03) 100%);
}

.offer-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--accent-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.offer-header {
    background: linear-gradient(90deg, var(--accent-secondary), #007a3a, var(--accent-secondary));
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.offer-header h2, .offer-header p {
    color: #ffffff;
}

.offer-header h2 {
    margin-bottom: 0.5rem;
}

.offer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
    gap: 3rem;
}

.bundle-mockup {
    aspect-ratio: 1;
    background: transparent;
    border: none;
    box-shadow: none;
    flex-direction: column;
    gap: 1rem;
}

.bundle-mockup .book {
    width: 80%;
    height: 150px;
    background: linear-gradient(135deg, var(--bg-card), #d1d1d1);
    border: 1px solid var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    border-radius: 4px;
}

.bundle-mockup .bonus {
    width: 60%;
    height: 40px;
    background: rgba(206, 43, 55, 0.1);
    border: 1px dashed var(--accent-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-left: 20%;
}

.bonus-list {
    list-style: none;
    margin-bottom: 2rem;
}

.bonus-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bonus-icon {
    font-size: 1.5rem;
}

.bonus-text h4 {
    margin-bottom: 0.25rem;
    color: var(--text-main);
    font-family: var(--font-body);
}

.bonus-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.pricing {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1rem;
}

.new-price {
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
}

.new-price span {
    color: var(--accent-color);
    font-size: 2.5rem;
}

/* 8. FAQ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    margin-top: 3rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-answer p {
    margin-bottom: 1.5rem;
}

/* 9. Guarantee & Footer */
.site-footer {
    background-color: var(--bg-card);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.guarantee-box {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
    padding: 3rem;
    border: 1px dashed var(--accent-color);
    border-radius: 12px;
    background: rgba(206, 43, 55, 0.03);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guarantee-box h3 {
    color: var(--accent-color);
}

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

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero .sub-headline {
        margin: 0 auto 2.5rem;
    }
    
    .hero-bg {
        width: 100%;
        right: 0;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .sneak-image {
        order: -1;
    }
    
    .offer-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .offer-visual {
        display: none; /* Hide mockup on smaller screens for compactness */
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .btn-large {
        padding: 1rem 2rem;
        width: 100%;
    }
}
