/* Metodo Page Styles */

.metodo-page {
    background: #f8f9fa;
    overflow-x: clip;
    width: 100%;
}

.metodo-page h2 {
    text-align: center;
}

/* Principio Section */
.metodo-principio {
    padding: 80px 1rem;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.metodo-principio h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--aynix-primary-color);
    font-weight: 600;
}

.principio-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.lead-text {
    font-size: 1.5rem;
    line-height: 1.9;
    color: #444;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
}

/* Fasi Section */
.metodo-fasi {
    padding: 60px 0;
}

.fasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
    max-width: 100%;
}

.fase-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    min-height: auto;
    height: auto;
}

.fase-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(
        180deg,
        var(--aynix-primary-color),
        var(--aynix-secondary-color)
    );
}

.fase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.fase-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        var(--aynix-primary-color),
        var(--aynix-secondary-color)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.fase-icon i {
    font-size: 2.5rem;
    color: white;
}

.fase-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
}

.fase-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.fase-list {
    list-style: none;
    padding: 0;
}

.fase-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.fase-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--aynix-primary-color);
    font-weight: bold;
}

/* No Pacchetti Section */
.metodo-no-pacchetti {
    padding: 60px 0;
    background: white;
    margin: 60px 0;
    border-radius: 15px;
}

.no-pacchetti-content {
    max-width: 900px;
    margin: 0 auto;
}

.no-pacchetti-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 100%;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.reason-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.reason-item i {
    font-size: 1.5rem;
    color: #dc3545;
    flex-shrink: 0;
    margin-top: 3px;
}

.reason-item p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Tecnologia Section */
.metodo-tecnologia {
    padding: 40px 0;
}

.tecnologia-box {
    background: linear-gradient(
        135deg,
        #f093fb 0%,
        #f5576c 100%
    );
    background: linear-gradient(
        135deg,
        var(--aynix-primary-color),
        var(--aynix-ternary-color)
    );
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(67, 142, 249, 0.3);
}

.tecnologia-box i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.tecnologia-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.tecnologia-box p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* CTA Section */
.metodo-cta {
    padding: 60px 0 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .lead-text {
        font-size: 1.2rem;
    }
    
    .fasi-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fase-card {
        padding: 30px 25px;
    }
    
    .fase-icon {
        width: 60px;
        height: 60px;
    }
    
    .fase-icon i {
        font-size: 2rem;
    }
    
    .fase-content h3 {
        font-size: 1.4rem;
    }
    
    .fase-content p {
        font-size: 0.95rem;
    }
    
    .no-pacchetti-reasons {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tecnologia-box {
        padding: 30px 20px;
    }
    
    .tecnologia-box h3 {
        font-size: 1.5rem;
    }
    
    .tecnologia-box p {
        font-size: 1rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .metodo-principio,
    .metodo-fasi,
    .metodo-no-pacchetti,
    .metodo-tecnologia,
    .metodo-cta {
        padding: 40px 0.75rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .fasi-grid {
        gap: 20px;
    }
    
    .fase-card {
        padding: 25px 20px;
    }
    
    .fase-icon {
        width: 50px;
        height: 50px;
    }
    
    .fase-icon i {
        font-size: 1.6rem;
    }
    
    .fase-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .fase-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .fase-list li {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    
    .no-pacchetti-reasons {
        gap: 15px;
    }
    
    .reason-item {
        padding: 15px;
    }
    
    .reason-item i {
        font-size: 1.3rem;
    }
    
    .reason-item p {
        font-size: 0.9rem;
    }
    
    .tecnologia-box {
        padding: 25px 15px;
    }
    
    .tecnologia-box i {
        font-size: 3rem;
    }
    
    .tecnologia-box h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .tecnologia-box p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Forza single column e max-width */
    .fasi-grid,
    .no-pacchetti-reasons {
        grid-template-columns: 1fr !important;
        max-width: 100%;
    }
}
