﻿@media (max-width: 950px) {
    .home .banner .box .a1 {
        font-size: 30px;
        font-weight: bold;
        line-height: 30px;
        width: auto;
        margin-bottom: 20px;
    }

    .home .banner .box .a2 {
        font-size: 20px;
        font-weight: 400;
        line-height: 28px;
        width: auto;
    }

    .home .banner .box .a3 .a32 {
        width: 190px;
        height: 40px;
        background: #fff;
        color: rgba(69, 46, 136, 1);
        float: left;
        font-size: 13px;
        line-height: 40px;
        text-indent: 20px;
        border-radius: 6px;
        margin-left: 20px;
        border: 1px solid rgba(69, 46, 136, 1);
    }

    .home .banner .box .a3 .a31 {
        width: 170px;
        height: 40px;
        background: rgba(69, 46, 136, 1);
        color: #fff;
        float: left;
        font-size: 13px;
        line-height: 40px;
        text-indent: 20px;
        border-radius: 6px;
        border: 1px solid rgba(69, 46, 136, 1);
    }

    .home .banner .box .a3 {
        margin-top: 30px;
    }


    .db3 .a3 {
        width: 245px;
        height: 50px;
        float: initial;
        color: rgba(69, 46, 136, 1);
        line-height: 50px;
        border-radius: 6px;
        text-indent: 34px;
        margin-top: 25px;
        font-weight: bold;
        background: #fff;
        margin: 10px auto;
    }

    .db3 .a1 {
        font-weight: 700;
        font-size: 24px;
        line-height: 30px;
        color: #fff;
        text-align: center;
        float: initial;
        margin-top: 10px;
    }

    .db3 .a2 {
        width: 100%;
        height: 150px;
        margin: 0 auto;
        overflow: hidden;
    }

    .db3 {
        height: 150px;
    }
}

.home .banner .box .h1 {
    white-space: initial !important;
}

.home .banner {
    height: calc(84vh - 100px) !important;
}

@media screen and (min-width: 950px) and (max-width: 1920px) {
    .home .product .list .item .img {
        width: 224px;
        height: auto;
        width: 88%;
    }

    .home .product .list {
        height: auto;
        overflow: hidden;
        gap: 1%;
    }

        .home .product .list .item {
            width: 256px;
            height: auto;
            width: 19%;
        }
}

.section1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}

/* Header */
.section-header {
    text-align: center;
    margin-bottom: 28px;
}

    .section-header h2 {
        font-size: 26px;
        font-weight: 700;
        color: #4a2f7a;
        margin-bottom: 14px;
        position: relative;
        display: inline-block;
        padding-bottom: 12px;
    }

        .section-header h2::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 44px;
            height: 3px;
            background-color: #4a2f7a;
            border-radius: 2px;
        }

    .section-header p {
        font-size: 16px;
        color: #4b5563;
        margin: 0 auto;
        line-height: 1.6;
    }

/* Comparison card */
.comparison-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    overflow: hidden;
}

.motor-half {
    padding: 28px 24px 32px;
    text-align: center;
}

.motor-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

    .motor-image img {
        max-width: 100%;
        max-height: 100%;
    }

.motor-half h3 {
    font-size: 17px;
    font-weight: 700;
    color: #4a2f7a;
    margin-bottom: 14px;
}

.feature-list {
    list-style: none;
    text-align: left;
    display: inline-block;
}

    .feature-list li {
        font-size: 16px;
        color: #4b5563;
        margin-bottom: 9px;
        display: flex;
        align-items: flex-start;
        gap: 9px;
        line-height: 1.5;
    }

        .feature-list li:last-child {
            margin-bottom: 0;
        }

        .feature-list li .icon {
            width: 15px;
            height: 15px;
            min-width: 15px;
            margin-top: 1px;
            color: #4a2f7a;
        }

/* Middle divider with VS */
.divider {
    position: relative;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .divider::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        background-color: #e5e7eb;
        transform: translateX(-50%);
    }

.vs-badge {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #4a2f7a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* OEM/ODM card */
.oem-card {
    margin-top: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 300px auto 1fr;
    align-items: center;
    padding: 28px 32px;
}

.oem-text h3 {
    font-size: 17px;
    font-weight: 700;
    color: #4a2f7a;
    margin-bottom: 12px;
}

.oem-text p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
}

.oem-divider {
    width: 1px;
    background-color: #e5e7eb;
    align-self: stretch;
    margin: 0 28px;
}

.oem-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.oem-feature {
    text-align: center;
}

.oem-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    color: #4a2f7a;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .oem-feature-icon img {
        width: 100%;
        height: 100%;
    }

.oem-feature p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 960px) {
    .comparison-card {
        grid-template-columns: 1fr;
    }

    .divider {
        width: 100%;
        height: 60px;
    }

        .divider::before {
            width: 100%;
            height: 1px;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
        }

    .oem-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .oem-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .oem-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .section1 {
        padding: 32px 16px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .oem-features {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
