@charset "UTF-8";

.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: auto;
    min-height: 300px;
}

.banner-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    flex: 0 0 100%;
    width: 100%;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px;
}


.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s;
    opacity: 0.8;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(0, 102, 204, 0.7);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-indicator.active {
    background: #0066cc;
    transform: scale(1.2);
}


main {
    flex: 1;
}


.container {
    max-width: 99%;
    width: 100%;
    margin: 50px auto;
    padding: 0 5px;
    box-sizing: border-box;
}


.intro {
    background: #fff;
    border-radius: 24px;
    padding: 40px 15px;
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.08);
    margin-bottom: 70px;
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #0099ff);
}

.intro h2 {
    font-size: 30px;
    color: #0052a3;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    padding: 0;
}

.intro h2::after {
    display: none;
}

.intro p {
    font-size: 16px;
    color: #2d3748;
    max-width: 100%;
    margin: 0 auto 15px;
    line-height: 1.8;
    text-align: left;
    padding: 0 5px;
}

.intro p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 2px;
        margin: 30px auto;
    }

    .intro {
        padding: 30px 10px;
        margin-bottom: 50px;
    }

    .intro h2 {
        font-size: 26px;
    }

    .intro p {
        font-size: 15px;
        padding: 0 3px;
    }
}


.hot-products {
    margin-bottom: 60px;
    width: 100%;
    padding: 0 30px;
}


.section-title {
    text-align: center;
    margin-bottom: 30px;

}

.section-title h2 {
    font-size: 28px;
    color: #111827;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: #6b7280;
}


.more-btn {
    padding: 8px 15px;
    color: #0066cc;

    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;

    background: linear-gradient(to right, #0066cc 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    border: 1px solid #0066cc;

    border-radius: 6px;

}


.more-btn:hover {
    color: #fff;
    background-position: left bottom;

}

.hot-tag {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

.hot-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 1;
}


.product-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
}

.product-cards .specs {
    margin-bottom: 8px
}

.product-cards .specs span {
    display: inline-block;
    padding: 4px 8px;
    background: #eff6ff;
    color: #0066cc;
    border-radius: 6px;
    font-size: 12px;
    margin-right: 6px;
    margin-bottom: 6px
}

.product-card .btn-group {
    display: flex;
    gap: 8px
}

.product-card .btn-group a {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.3s
}

.product-card .btn-group .detail-btn {
    background: #0066cc;
    color: #fff
}

.product-card .btn-group .inquiry-btn {
    background: #fff;
    color: #0066cc;
    border: 1px solid #0066cc
}

.product-card .btn-group .detail-btn:hover {
    background: #0052a3
}

.product-card .btn-group .inquiry-btn:hover {
    background: #eff6ff
}


@media (max-width: 1200px) {
    .product-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hot-products {
        padding: 0 10px;
    }

    .more-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}


.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}


.product-card img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #f8f9fa;
    display: block;
}

.product-card h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.4;
}

.product-card p {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card a {
    display: block;
    padding: 8px 0;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    text-align: center;
    transition: background 0.2s;
    width: 100%;
}

.product-card a:hover {
    background: #0052a3;
}


.advantages {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    max-width: 98%;
    margin: 0 auto;
}

@media (min-width:768px) {
    .advantages {
        flex-direction: row;
        justify-content: space-around;
    }
}

.advantage-item {
    text-align: center;
    flex: 1;
    padding: 15px;
}

.advantage-icon {
    font-size: 36px;
    color: #0066cc;
    margin-bottom: 15px;
    display: block;
    font-weight: bold;
}

.advantage-item h3 {
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 14px;
    color: #6b7280;
}