/* Reset base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #23e5dc, #457fe4);
    color: #fff;
    min-height: 100vh;
    line-height: 1.6; /* Interlinea fluida per una lettura naturale */
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600; /* Meno pesante per un look moderno */
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    background: #fff;
    color: #6e8efb;
}

/* Hero */
.hero {
    text-align: center;
    padding: 8rem 2rem;
}

.hero h2 {
    font-size: 3.5rem; /* Titolo visibile, ma non troppo grande */
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase; /* Titolo con un effetto moderno */
}

.hero p {
    font-size: 1.4rem; /* Testo più grande, ma equilibrato */
    margin-bottom: 2rem;
    line-height: 1.8; /* Aumentata per migliorare la leggibilità */
}

/* Bottone */
.btn {
    background: #fff;
    color: #6e8efb;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn:hover {
    background: #6e8efb;
    color: #fff;
}

/* Pagina */
.page {
    padding: 5rem 2rem;
    text-align: center;
}

.page h2 {
    font-size: 2.5rem; /* Per le sezioni, più bilanciato */
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.page p {
    font-size: 1.3rem; /* Migliorato per essere più fluido */
    margin-top: 1.5rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Colore chiaro per il testo */
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    margin-top: auto;
    font-size: 0.9rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    left: 0;
    right: 0;
}
