/* Lexware Products Section */
.lexware-products {
    padding: 0;
    background: #E8E3E3;
}

.container-full {
    max-width: 100%;
    width: 100%;
}

.lexware-products-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.lexware-products-left {
    padding: 2.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 450px;
}

.lexware-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.lexware-logo-small {
    height: 35px;
    width: auto;
}

.partner-logo-small {
    height: 50px;
    width: auto;
}

.lexware-products-left h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.lexware-products-left p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.btn-lexware {
    display: inline-block;
    background: #E31E24;
    color: white;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
    align-self: flex-start;
    letter-spacing: 0.5px;
}

.btn-lexware:hover {
    background: #C01820;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

.lexware-products-right {
    background: linear-gradient(135deg, #D64854 0%, #E31E24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    height: 450px;
    overflow: hidden;
}

.products-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 100%;
    height: 100%;
    padding: 1rem 0;
}

.banner-text {
    color: white;
    flex-shrink: 0;
    align-self: flex-start;
}

.banner-text h3 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.banner-text p {
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 500;
}

.products-boxes {
    align-self: flex-end;
    margin-top: auto;
    width: 100%;
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    width: max-content;
    will-change: transform;
    animation: scroll-left 30s linear infinite;
}

.products-boxes:hover .products-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.product-box {
    height: 230px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
}

.product-box:hover {
    transform: translateY(-10px) scale(1.05);
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .lexware-products-wrapper {
        grid-template-columns: 1fr;
    }
    
    .lexware-products-left {
        padding: 2rem;
        height: auto;
        min-height: auto;
    }
    
    .lexware-products-right {
        padding: 2rem;
        height: auto;
        min-height: 350px;
    }
    
    .products-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .product-box {
        height: 180px;
    }
    
    .lexware-logos {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .lexware-products-left {
        padding: 1.5rem;
    }
    
    .lexware-products-left h2 {
        font-size: 1.5rem;
    }
    
    .lexware-products-left p {
        font-size: 0.95rem;
    }
    
    .lexware-logos {
        flex-direction: column;
        gap: 1rem;
    }
    
    .lexware-logo-small {
        height: 30px;
    }
    
    .partner-logo-small {
        height: 40px;
    }
    
    .banner-text h3 {
        font-size: 1.8rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .products-boxes {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .product-box {
        height: 140px;
    }
    
    .btn-lexware {
        width: 100%;
        text-align: center;
    }
}
