.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #21242F 0%, #2C2F3A 100%);
    margin-top: 80px;
}

.hero-title {
    font-size: 2.8em;
    font-weight: 500;
    color: #489AFF;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Sezioni generali */
.section {
    padding: 80px 0;
}

.section-dark {
    background-color: #2c2f3a;
}

.section-light {
    background-color: #21242F;
}

.section-title {
    font-size: 2em;
    font-weight: 500;
    color: #489AFF;
    text-align: center;
    margin-bottom: 40px;
}

.section-compact {
    padding-top: 40px;
}

/* Pulsanti */
.cta-button {
    background-color: #489AFF;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin: 5px;
}

.cta-button:hover {
    background-color: #8BC0FF;
    transform: translateY(-2px);
}

/* Soluzioni */
.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background-color: #2c2f3a;
    border-radius: 12px;
    border: 1px solid #444;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    flex: 1 1 calc(50% - 15px);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.solution-card div {
    padding: 25px;
}

.solution-card h3 {
    font-size: 1.5em;
    color: #489AFF;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.solution-card .image-frame {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 0;
}

.solution-card .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.solution-card p {
    font-size: 0.9em;
    color: #ccc;
    margin-bottom: 20px;
    text-align: justify;
}

.solution-card .cta-action-link {
    display: block;
    background-color: #489AFF;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.solution-card:hover .cta-action-link {
    background-color: #8BC0FF;
}

/* Dettagli / Processo */
.detail-section-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
    margin: 20px auto 0;
}

.detail-item {
    background-color: #2c2f3a;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #444;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.detail-item strong {
    display: block;
    color: #fff;
    font-size: 1.1em;
}

.detail-item p {
    margin: 0;
    color: #ddd;
    font-size: 0.9em;
    text-align: justify;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-circle {
    width: 35px;
    height: 35px;
    background-color: #489AFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    font-size: 1em;
    margin-top: 5px;
}

/* Vantaggi / Griglia */
.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    background-color: #2c2f3a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #444;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1 1 180px;
    /* Flexbox per il layout compatto */
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.advantage-card .ph {
    font-size: 3em;
    color: #489AFF;
    margin-bottom: 10px;
}

.advantage-card h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 0.9em;
    color: #ccc;
    margin: 0;
    text-align: center;
}


/* Casi d'uso */
.case-studies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.case-study-card {
    background-color: #2c2f3a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #444;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1 1 220px;
    /* Flexbox per il layout compatto */
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.case-study-card h4 {
    font-size: 1.1em;
    color: #489AFF;
    margin-bottom: 5px;
}

.case-study-card .sector {
    font-size: 0.9em;
    color: #8BC0FF;
    display: block;
    margin-bottom: 15px;
}

.case-study-card ul {
    list-style-type: none;
    padding-left: 0;
    text-align: left;
}

.case-study-card li {
    font-size: 0.9em;
    color: #ccc;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.case-study-card li:before {
    content: '•';
    color: #489AFF;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Punti elenco personalizzati per le nuove sezioni */
.custom-bullets {
    list-style-type: none;
    padding-left: 0;
    max-width: 550px;
    margin: 0 auto;
}

.custom-bullets li {
    font-size: 0.9em;
    color: #ccc;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    text-align: justify;
}

.custom-bullets li:before {
    content: '\2713';
    font-family: 'Phosphor-icons';
    font-size: 1.2em;
    color: #489AFF;
    position: absolute;
    left: 0;
    top: 0;
}

.app-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.app-badges-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.app-badge-link {
    width: 150px;
}

.app-badge-link img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.app-badge-link img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
    }

    nav.menu {
        margin-top: 10px;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 2em;
    }

    .solutions-grid,
    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .detail-item {
        padding: 20px;
    }

    .process-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}