body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

ul {
    list-style-type: none;
}

li {
    list-style-type: none;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    /* Adjust as needed */
    width: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff;
}

/* Consolidated Hero Styles */
.hero {
    position: relative;
    overflow: hidden;
    /* background: linear-gradient(to right, #007bff, #6610f2); */
    color: #fff;
    text-align: center;
    padding: 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

main {
    padding: 0 2rem 5%;
}

.product-display,
.product-spec-card,
.contact {
    padding: 3rem 0;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.feature-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #007bff;
}

.product-spec-card .spec-card-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.product-spec-card .spec-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-spec-card .spec-card-content li {
    padding: 0.5rem 0;
    border-bottom: 1px dotted #eee;
}

.product-spec-card .spec-card-content li:last-child {
    border-bottom: none;
}


.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

.contact textarea {
    resize: vertical;
    min-height: 120px;
}

footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 2px 0;
}
/*--------------------------------------------------------------*/

/*主页banner开始 */
.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-content {
    min-width: 100%;
    box-sizing: border-box;
    height: 850px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-content-img {
    width: 100%;
    height: 100%;
}

.hero-content-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-text {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 2;
    width: 500px;
    margin-right: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
@media (max-width:1400px) {
    .hero-content {
        height: 550px;

    }
}
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.prev {
    left: 0;
    background: #007bff;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
    background: #007bff;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

nav ul li a.active {
    color: #007bff;
    font-weight: bold;
}


.driver-grid {
    display: flex;
}
.carousel-container .cta-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 52px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 13px;
    display: inline-block;
}
.carousel-containerd .cta-button:hover {
    /* background-color: #fb0505; */
    color: #f3f3f3;
    transform: translateY(-2px);
}
/*主页的方案介绍*/
.mouse-solution {
    padding: 3rem 0;
}
.product-solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.product-solution-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.product-solution-item:hover {
    transform: translateY(-5px);
}

.product-solution-item .img-show {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-solution-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-solution-item p {
    padding: 1rem;
    margin: 0;
    font-weight: 500;
    color: #333;
}
/*主页方案介绍结束*/
pnt-logos img {
    max-width: 100%;
    height: auto;
}

/*-------------------------------------------------------------------*/
/*产品中心开始*/
.product-center-show{
    width: 100%;
}
.product-center-show .page-header{
text-align: center;
}
.product-center-show .page-header h1{
    font-size: 40px;
    display: inline-block;
    margin: 0;
    padding: 40px 0;
}
.product-center-ban{
    width: 100%;
    height: 650px;
    overflow: hidden;
}
.product-center-ban img{
    display: inline-block;
    width: 100%;
}
.product-list{
    width: 1600px;
    margin: 0 auto;
}
.product-grid{
    display: flex;
    justify-content:space-around;
  
    flex-wrap: wrap;
}
.product-item {
    width: 300px;
    margin:40px 0 40px 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
}
.product-item img{
    display: inline-block;
    width: 140px;
    height: 140px;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #007bff;
}

.product-item p {
    color: #555;
}

.product-item .cta-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 52px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 6px 0 20px 0;
    display: inline-block;
}
.product-item .cta-button:hover {
    background-color: #fb0505;
    color: #f3f3f3;
    transform: translateY(-2px);
}
/*产品中心-1400px样式*/
@media (max-width:1400px){
.product-center-ban{
    height: 450px;
}

}
/*产品中心结束*/




/*----------------------------------------------------------------*/
/*产品详情页开始*/
.product-image .black,
.product-image .white {
    display: none;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    padding: 3rem 5%;
}

.product-detail .product-image img {
    width: 100%;
    border-radius: 8px;
}

.product-detail .product-info h2 {
    font-size: 50px;
    margin-bottom: 1rem;
    text-align: left;
    color: #000;
    font-family: PingFang SC;
    font-weight: 600;

}
.product-detail .product-info ul {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}
.product-detail .product-info li {
    margin-bottom: 0.8rem;
}
.product-detail .product-info ul ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
}

.color-switcher {
    margin: 40px 0 20px 0;
    text-align: left;
}
.product-info button {
    border-color: #FFF;
    color: black;
    width: 84px;
    height: 32px;
    border-radius: 25px;
    padding: 0;
    border: none;
    cursor: pointer;
}

.color-switcher button.active {
    background-color: #007bff;
    color: white;
}
.product-info p {
    display: inline-block;
    margin: 30px 0 0 0;
}

.product-info p:nth-child(1) {
    width: 100px;
}

.big-p {
    font-size: 25px;
    color: #000;
    font-family: PingFang SC;
    font-style: normal;
    font-weight: 600;
}

.detail-text {
    max-width: 1400px;
    margin: 0 auto;
}

.detail-text h2 {
    text-align: left;
    margin-bottom: 0;
}

.detail-text ul {
    display: flex;
    justify-content: flex-start;
    margin-top: 0;
    flex-wrap: wrap;
    padding-left: 180px;
}

.detail-text ul li {
    width: 500px;
    display: flex;
    justify-self: start;
    height: 50px;
    line-height: 50px;
    display: flex;
    margin: 16px 0 0 20px;
}

.detail-text ul li p:nth-child(1) {
    width: 120px;
    font-size: 20px;
    margin: 16px 0;
}
/*1400px下的产品详情页*/
@media (max-width:1400px) {
    .small-p {
        font-size: 14px;
        font-weight: 300;
    }

    .product-info p {
        margin: 10px 0 0 0;
    }

    .product-detail .product-info h2 {
        font-size: 30px;
        font-weight: 600;
        margin-top: 10px;
    }

    .color-switcher {
        margin: 10px 0;
    }

    .product-detail .product-info ul {

        margin-top: 10px;
    }

    /*产品信息*/
    .detail-text {
        max-width: 960px;
    }

    .detail-text h2 {
        font-size: 26px;
        
    }

    .detail-text ul {
        padding-left: 100px;
    }

    .detail-text ul li {
        width: 400px;
        height: 40px;
        line-height: 40px;
        margin: 8px 0 0 20px
    }

    .detail-text ul li p:nth-child(1) {
        font-size: 18px;
        margin: 14px 0;
    }
}
/*产品详情页头部的黑框导航*/
.totu {
    display: flex;
    justify-content: space-between;
    background: #0009;
    padding: 14px 70px;
    color: #FFF;
    font-family: PingFang SC;
    font-weight: 500;
    font-size: small;
}

.totu .canshu {
    width: 130px;
    display: flex;
    justify-content: space-between;
}

.parameter {
    text-align: center;

}

#product-detail-btn {
    cursor: pointer;
}

#parameter-btn {
    cursor: pointer;
}
/* 产品详情页结束*/