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

body {
    font-family: 'Oswald', sans-serif;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 999;
}

.site-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 60px; /* spazio per l'header */
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden; /* evita che la freccia e le immagini coprano la sezione successiva */
}

.container {
    max-width: 1200px;
    width: 100%;
    height: 100%;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    gap: 4rem;
}

/* Testo Hero */
.hero-text {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 10rem);
    font-weight: 900;
    line-height: 0.8;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Stili per le righe */
.line-one, .line-two {
    display: block;
    width: 100%;
}

.line-one {
    margin-bottom: 0.5em;
}

/* Stili per ogni parola */
.word-fanc {
    color: #ff0000;
    display: inline;
    font-weight: 900;
    font-size: 1.3em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.word-asterisk {
    color: #ff0000;
    display: inline;
    font-weight: 900;
    font-size: 1.3em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.word-o {
    color: #ff0000;
    display: inline;
    font-weight: 900;
    font-size: 1.3em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.word-mi {
    color: #ffffff;
    display: inline;
    font-weight: 900;
    margin-right: 0.3em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.word-licenzio {
    color: #ffffff;
    font-weight: 900;
    font-size: 1.2em;
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
    text-underline-offset: 0.1em;
    /*text-shadow: 0 0 4px rgba(0, 255, 106, 0.6), 0 0 8px rgba(0, 255, 106, 0.3);
    animation: glow-pulse 2s infinite alternate;*/
}

/* Sezione Immagini */
.hero-images {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    height: 100%;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* Disable hover scaling on images */
.image-wrapper:hover {
    transform: none;
}

.before-image, .after-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Disable hover scaling on images */
.before-image:hover, .after-image:hover {
    transform: none;
}

/* Freccia Arcuata */
.curved-arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: curved-arrow-pulse 3s infinite;
}

.curved-arrow {
    width: 180px;
    height: 440px;
    filter: drop-shadow(0 0 10px #ff0000);
}

@keyframes curved-arrow-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px #ff0000);
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px #ff0000);
    }
}

@keyframes glow-pulse {
    0% {
        text-shadow: 0 0 3px rgba(0, 255, 106, 0.6), 0 0 6px rgba(0, 255, 106, 0.3);
    }
    100% {
        text-shadow: 0 0 6px rgba(0, 255, 106, 0.6), 0 0 10px rgba(0, 255, 106, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 0.5rem;
        justify-content: flex-start;
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
    
    .hero-text {
        margin-bottom: 0.3rem;
    }
    
    .hero-images {
        width: 100%;
        height: auto;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 7vw, 7rem);
        line-height: 0.8;
    }
    
    .image-container {
        position: relative;
    }
    
    .image-wrapper {
        gap: 1rem;
    }
    
    .before-image, .after-image {
        width: 180px;
        height: 180px;
    }
    
    .curved-arrow-container {
        position: absolute;
        right: 0;
        top: calc(50% - 100px);
    }
    
    .curved-arrow {
        width: 80px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 50px; /* spazio per l'header ridotto */
    }
    
    .site-header {
        height: 50px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 7vw, 4rem);
        line-height: 0.9;
    }
    
    .image-container {
        position: relative;
        padding-right: 40px; /* spazio per la freccia */
    }

    .before-image, .after-image {
        width: 200px;
        height: 200px;
    }

    .curved-arrow-container {
        position: absolute;
        right: 0;
        top: calc(50% - 110px);
    }

    .curved-arrow {
        width: 90px;
        height: 220px;
    }
}

/* About Section */
.about-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-section .about-container {
    max-width: 1100px;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3rem);
    color: #ff0000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.6;
}
/* End About Section */

.image-box {
    position: relative;
    display: inline-block;
}

/* Common label style */
.image-label {
    position: absolute;
    background: #000000cc;
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-radius: 4px;
    pointer-events: none;
}

/* Specific positions & rotations */
.label-before {
    top: 0.6rem;
    left: -4rem;
    transform: rotate(-20deg);
}

.label-after {
    top: 0.6rem;
    right: -4rem;
    transform: rotate(20deg);
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 2rem 1rem;
    text-align: center;
}

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

.footer-text {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.85rem;
    color: #bbbbbb;
}
/* End Footer */

/* Newsletter Form */
.newsletter-form {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-input {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border-radius: 4px;
    border: none;
    max-width: 280px;
}

.newsletter-btn {
    background: #ff0000;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: #cc0000;
}
/* End Newsletter Form */

.newsletter-feedback {
    width: 100%;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
}

.newsletter-feedback.success {
    color: #00c853;
}

.newsletter-feedback.error {
    color: #ff5252;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 2rem);
    color: #ffffff;
    margin-top: 5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.subtitle-highlight {
    background: #ffffff;
    color: #000000;
    padding: 0.1em 0.5em;
    border-radius: 6px;
    font-weight: 700;
}

/* Success Stories */
.success-stories {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.story-card {
    background: #0d0d0d;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    text-align: center;
}

.story-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.story-name {
    color: #ff0000;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.story-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #ffffff;
}
/* End Success Stories */

/* Plans Section */
.plans-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.plan-card {
    background: #0d0d0d;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    text-align: center;
}

.plan-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.plan-title {
    color: #ff0000;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.plan-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #ffffff;
}
/* End Plans Section */