* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #111;
    background: #fff;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    background-image: url("sfondo-ar.png");
    /* tua immagine */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    max-width: 900px;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn.primary {
    background: #fff;
    color: #000;
}

.btn.secondary {
    border: 2px solid #fff;
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 25px;
    justify-content: center;
    font-size: 0.95rem;
    opacity: 0.9;
    flex-wrap: wrap;
}

/* COME FUNZIONA */
.how-it-works {
    padding: 90px 20px;
    background: #f5f5f5;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.3rem;
    margin-bottom: 50px;
}

.steps {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.step {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #111;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step h3 {
    margin-bottom: 10px;
}

.step p {
    color: #555;
    font-size: 0.95rem;
}

/* CTA FINALE */
.final-cta {
    padding: 90px 20px;
    text-align: center;
    background: #fff;
    color: #000;
    max-width: 1200px;
    margin: auto;
}

.final-cta img {
    width: 100%;
}

.final-cta h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.final-cta p {
    margin-bottom: 0;
    opacity: 0.85;
}

.btn.large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* FOOTER */
.footer {
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
    background: #000;
    color: #aaa;
}