/* --- RESET E VARIABILI --- */
:root {
    --primary: #00a8ff;
    --dark: #121212;
    --light-bg: #f5f5f7; /* Grigio chiaro stile Apple */
    --white: #ffffff;
    --text-dark: #1d1d1f;
    --text-gray: #86868b;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    margin: 0;
    background-color: var(--dark);
    color: white;
    line-height: 1.6;
}

.container { width: 85%; margin: auto; max-width: 1200px; padding: 60px 0; }

/* --- HERO & NAV --- */
.hero { text-align: center; padding: 40px 0 100px; background: linear-gradient(180deg, #1e1e1e 0%, #121212 100%); }
nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 10%; }
.logo { font-size: 2rem; font-weight: bold; }
.logo span { color: var(--primary); }
h1 { font-size: 3.5rem; margin-bottom: 10px; }
.hero-img { max-width: 80%; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); margin-top: 40px; }

/* --- GRIGLIA GENERALE --- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* --- SEZIONE HOW IT WORKS (SFONDO NERO) --- */
.how-it-works { padding: 80px 0; text-align: center; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.step-card {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #333;
    text-align: left;
    transition: transform 0.3s ease;
}
.step-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.step-icon { font-size: 40px; margin-bottom: 15px; }
.step-card h3 { color: white; margin-bottom: 10px; }
.step-card p { color: var(--text-gray); font-size: 0.95rem; }

/* --- SEZIONE WHY LAPPO (SFONDO CHIARO) --- */
.benefits { 
    background-color: var(--white); 
    color: var(--text-dark); 
    padding: 80px 0; 
}
.benefits h2, .benefits .section-intro { text-align: center; }
.benefits .section-intro { color: var(--text-gray); margin-bottom: 40px; }

.comparison-container { overflow-x: auto; margin-top: 30px; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    color: var(--text-dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.comparison-table th, .comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.highlight { background: var(--primary); color: white; text-align: center; font-weight: bold; }
.cell-lappo { color: var(--primary); font-weight: 600; text-align: center; }
.cell-other { color: var(--text-gray); text-align: center; }

/* --- COMMUNITY & LEADERBOARD --- */
.community { text-align: center; padding: 80px 0; }
.leaderboard-wrapper { display: flex; justify-content: center; margin-top: 30px; }
.leaderboard-img {
    max-width: 400px;
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 8px solid #1e1e1e;
}

/* --- DETTAGLI E CARD --- */
.card { background: #1e1e1e; padding: 30px; border-radius: 15px; border-left: 5px solid var(--primary); }
.patent-img { width: 100%; max-width: 800px; display: block; margin: 40px auto; filter: invert(1); }

/* --- BOTTONI --- */
.btn-primary { 
    background: var(--primary); color: white; padding: 12px 30px; 
    text-decoration: none; border-radius: 30px; font-weight: bold; display: inline-block;
}

/* --- FOOTER --- */
footer { text-align: center; padding: 80px 0; border-top: 1px solid #333; color: var(--text-gray); }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.2rem; }
    .container { width: 90%; }
}
/* --- SEZIONE SOLUTIONS (SFONDO BIANCO) --- */
.solutions-section {
    background-color: #ffffff !important; /* Forza lo sfondo bianco */
    padding: 80px 0;
    display: block;
    width: 100%;
}

.solutions-content h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    color: #121212 !important; /* Forza il titolo in nero */
}

.solutions-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.solutions-list li {
    font-size: 1.15rem;
    margin-bottom: 20px;
    padding: 20px 25px;
    background: #f8f9fa; /* Grigio chiarissimo per i box */
    border-radius: 12px;
    display: flex;
    align-items: center;
    color: #121212 !important; /* Forza il testo dell'elenco in nero */
    transition: transform 0.2s ease;
    border: 1px solid #eee;
}

.solutions-list li strong {
    color: #000000 !important; /* Forza il grassetto in nero assoluto */
    margin-right: 5px;
}

.solutions-list li:hover {
    transform: translateX(10px);
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.check-icon {
    color: #00a8ff !important; /* Il tuo azzurro LAPPO */
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .solutions-content h3 { font-size: 1.8rem; }
    .solutions-list li { font-size: 1rem; flex-direction: row; }
}
/* --- RIPRISTINO SMART POD (SFONDO BIANCO) --- */
.pod-section.bg-light {
    background-color: #ffffff !important; /* Forza lo sfondo bianco */
    color: #121212 !important;            /* Forza il testo nero */
    padding: 80px 0;
}

.pod-section.bg-light h2 {
    color: #121212 !important;            /* Titolo nero */
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.pod-section.bg-light p {
    color: #424245 !important;            /* Paragrafo grigio scuro */
    font-size: 1.1rem;
}

.pod-section.bg-light ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.pod-section.bg-light ul li {
    color: #121212 !important;            /* Punti elenco neri */
    margin-bottom: 10px;
    font-weight: 500;
}

/* Se vuoi che i segni di spunta rimangano azzurri */
.pod-section.bg-light ul li {
    position: relative;
    padding-left: 25px;
}

.pod-section.bg-light ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}