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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background: #0a0a12;
    color: #fff;
    overflow-x: hidden;
}

/* Canvas background - MANTENUTO */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Gradient overlay - MANTENUTO */
.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 20% 50%, 
        rgba(255, 30, 86, 0.15) 0%, 
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 30%, 
        rgba(179, 136, 235, 0.12) 0%, 
        transparent 50%
    ),
    radial-gradient(
        circle at 50% 80%, 
        rgba(255, 170, 165, 0.1) 0%, 
        transparent 50%
    );
    z-index: 1;
    pointer-events: none;
}

/* Content wrapper */
.content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero section - COMPLETAMENTE NUOVO */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-title {
    font-family: 'Italiana', serif;
    font-size: clamp(8rem, 20vw, 18rem);
    font-weight: 400;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 107, 157, 0.8) 50%,
        rgba(179, 136, 235, 0.6) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    opacity: 0;
    animation: titleFade 2s ease-out 0.5s forwards;
    line-height: 0.9;
}

@keyframes titleFade {
    to {
        opacity: 1;
    }
}

.hero-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.8), transparent);
    margin: 40px auto;
    opacity: 0;
    animation: lineFade 1.5s ease-out 1.5s forwards;
}

@keyframes lineFade {
    to {
        opacity: 1;
    }
}

.hero-subtitle {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: subtitleFade 1.5s ease-out 2s forwards;
}

@keyframes subtitleFade {
    to {
        opacity: 1;
    }
}

/* Text sections - TUTTO NUOVO */
section {
    padding: 15vh 0;
    position: relative;
}

.section-number {
    font-family: 'Gilda Display', serif;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: rgba(255, 107, 157, 0.4);
    margin-bottom: 60px;
    text-transform: uppercase;
}

.text-block {
    margin-bottom: 80px;
}

.text-large {
    font-family: 'Gilda Display', serif;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
}

.text-medium {
    font-size: 0.95rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    margin-bottom: 30px;
}

.text-emphasis {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 170, 165, 0.85);
    font-style: italic;
    text-align: center;
    margin: 60px 0;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 107, 157, 0.15);
    border-bottom: 1px solid rgba(255, 107, 157, 0.15);
}

/* Grid minimalista */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px 40px;
    margin: 100px 0;
}

.value-item {
    text-align: left;
}

.value-number {
    font-family: 'Gilda Display', serif;
    font-size: 3rem;
    color: rgba(255, 107, 157, 0.25);
    margin-bottom: 15px;
    font-weight: 400;
}

.value-title {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.value-text {
    font-size: 0.88rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}

/* Quote centrale */
.centered-quote {
    text-align: center;
    padding: 120px 0;
    margin: 80px 0;
}

.quote-text {
    font-family: 'Gilda Display', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.quote-author {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
}

/* Lista orizzontale */
.horizontal-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin: 80px 0;
}

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

.list-icon {
    font-size: 2rem;
    color: rgba(255, 107, 157, 0.4);
    margin-bottom: 20px;
}

.list-title {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    font-weight: 400;
}

.list-description {
    font-size: 0.88rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}

/* Firma finale */
.signature-section {
    padding: 150px 0 100px;
    text-align: center;
}

.signature-line {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.signature-name {
    font-family: 'Italiana', serif;
    font-size: 3rem;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 107, 157, 0.6) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Particelle click */
.particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    animation: particleFadeOut 2s ease-out forwards;
    font-family: serif;
}

@keyframes particleFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0.5);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        padding: 0 25px;
    }

    section {
        padding: 10vh 0;
    }

    .hero-title {
        font-size: clamp(5rem, 25vw, 8rem);
    }

    .text-large {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .horizontal-list {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quote-text {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }
}
