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

body { 
    font-family: 'Inter', system-ui, sans-serif; 
    background: #09090b; /* Nero profondissimo */
    color: #fafafa; 
    line-height: 1.6;
}

/* NAVBAR PULITA */
header {
    border-bottom: 1px solid #27272a; /* Linea sottile scura */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #09090b;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: #a1a1aa; /* Grigio chiaro, meno aggressivo del bianco */
    font-size: 0.9rem;
    transition: color 0.2s;
}

nav a:hover { color: white; }

/* SEZIONE CENTRALE (HERO) */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 70px); /* Togliamo l'altezza della nav */
    text-align: center;
}

h1 { 
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

/* CURSORE TIPO TERMINALE */
.cursor { color: #3b82f6; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* BOTTONI MODERNI */
.btn-container { 
    display: flex; 
    gap: 16px; 
    margin-top: 30px; 
}

button {
    padding: 12px 24px;
    cursor: pointer;
    background: #fafafa; /* Bottone bianco su fondo nero = Pro */
    border: none;
    color: #18181b;
    font-weight: 600;
    border-radius: 6px;
    transition: opacity 0.2s;
}

button.secondary {
    background: transparent;
    border: 1px solid #27272a;
    color: white;
}

button:hover { opacity: 0.9; }

.main-paragraph {
    color: #a1a1aa;
}

.my-blog {
    margin-top: 50px;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
}

.blog-post {
    background: #1f2937; /* Grigio scuro per i post del blog */
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.slider {
    overflow: hidden;
    width: 100%;
    background: #09090b;
}

.slide-track {
    display: flex;
    width: max-content; /* Si adatta al contenuto */
}

.slide {
    width: 350px;
    height: 350px;
    margin: 10px;
    background: #1f2937;
    font-weight: bold;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}