.first-area {
    width: 55%;
}


.first-title {
    margin-top: 25%;
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
}

.first-text {
    line-height: 1.8;
    margin-top: 45px;
    color: rgb(255, 255, 255);
    font-size: 18px;
}

.first-btn {
    margin-top: 85px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 7px 15px;
    width: 130px;
    color: white;
    background: #66A9C9;
    border-radius: 10px;
    align-items: center;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

.first-btn:hover {
    color: #66A9C9;
    background: white;
}

.cgal-left {
    box-sizing: border-box;
    height: 400px;
    width: 50%;
    border: 1px solid #d8d8d8;
    padding: 30px;
    border-radius: 10px
}

.cgal-left-title {
    color: black;
    font-weight: 600;
    font-size: 24px;
}

.line {
    height: 1px;
    background: #0249CB;
    margin: 20px 0 35px 0;
}

.cgal-left-text {}

.cgal-text1 {
    display: flex;
    color: black;
    font-size: 16px;
    line-height: 2.5;
    font-weight: 400;
}

.qiu-wai {
    margin-right: 15px;
    height: 27px;
    width: 27px;
    border: 1px solid #0249cb1c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    justify-items: center;
}

.qiu-nei {
    height: 13px;
    width: 13px;
    background: #0249CB;
    border-radius: 50%;
}

.cgal-right {
    display: flex;
    justify-content: space-between;
    width: 49%;
}

.cgal-right-part {
    overflow: hidden;
    position: relative;
    color: white;
    width: 29%;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
}

.cgal-right-part.active {
    background: red;
    width: 39%;
}

.mb {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #04183fa8;
    z-index: 1;
    transition: all 0.5s ease-in-out;
}

.mb.active {
    background: #2665e1a8;
}

.mb-top {
    box-sizing: border-box;
    padding: 40px 20px 20px 20px;
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
}

.cgal-right-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 400;
}

.cgal-right-text {
    font-size: 16px;
    margin-bottom: 30px;
}

.cgal-right-text2 {
    opacity: 0;
    font-size: 13px;
    display: none;
    transition: all 0.5s ease-in-out;
}

.cgal-right-text2.active {
    opacity: 1;
}


.cgal-right-last {
    opacity: 0;
    width: 80%;
    position: absolute;
    display: flex;
    bottom: 5%;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s ease-in-out;
}

.cgal-right-last.active {
    opacity: 1;
}

.cgal-right-last-xh {
    font-size: 36px;
    font-weight: bold;
}

.cgal-right-last-btn {
    cursor: pointer;
    font-weight: 400;
    font-size: 15px;
    border: 1px solid white;
    padding: 5px 10px 5px 8px;
    color: white;
    font-weight: 400;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.cgal-right-last-btn:hover{
    border: 1px solid rgba(51, 112, 255, 1);
    padding: 5px 13px 5px 8px;
    border-radius: 5px;
    color: rgba(51, 112, 255, 1);
    background-color: white;
    font-weight: 600;
}

/* 底部产品列表 */
.product-container {
    width: 80%;
    margin: auto;
    background: #ffffff;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    height: 120px;
}

.product-container::before,
.product-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.product-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1), transparent);
}

.product-container::after {
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1));
}

.product-scroll {
    display: flex;
    animation: scroll 120s linear infinite;
    position: absolute;
    left: 0;
    top: 20px;
    padding: 0 10px;
}

.product-item {
    width: 110px;
    height: 110px;
    margin-right: 5px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.product-image {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #e2e8f000, #cbd5e114);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0.5;
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .content {
        flex-direction: column;
    }

    .left-panel,
    .center-panel,
    .right-panel {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .video-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .tabs {
        flex-wrap: wrap;
    }

    .tab {
        flex: 1 0 33.33%;
        padding: 15px 10px;
        font-size: 14px;
    }

    .product-item {
        width: 100px;
        height: 100px;
        margin-right: 12px;
    }

    .product-image {
        width: 80px;
        height: 80px;
    }

    .feature {
        padding: 15px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-right: 15px;
    }
}


.functions {
    min-height: 425px;
    /* gap: 170px;
    padding: 0 110px; */
    justify-content: center;
    display: flex;
}

.functions-text1 {
    margin-top: 10px;
    margin-bottom: 15px;
    color: black;
    font-size: 24px;
    font-weight: bold;
}

.functions-text2 {
    width: 90%;
    font-size: 16px;
    margin-bottom: 35px;
    color: #828282;
}

.functions-text3 {
    margin-bottom: 20px;
    color: black;
    font-size: 16px;
    display: flex;
    align-items: center;
}


.functions-text3::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #76C7B8;
    margin-right: 15px;
}

.function-img {
    width: 5%;
}

.function-part {
    width: 50%;
}

.function-part  img{
    width: 674px;
    height: 380px;
}

.function-tab {
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    padding-bottom: 35px;
    border-bottom: 2px solid transparent;
}

.function-tab:hover {
    color: #0249CB;
}

.function-tab.active {
    font-weight: bold;
    color: #0249CB;
    border-bottom: 2px solid #0249CB;
}

.functions-container {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.functions {
    display: none;
}

.functions.active {
    display: flex;
}

.functions.slide-in-right {
    display: flex;
    animation: slideInRight 0.5s ease;
}

.functions.slide-in-left {
    display: flex;
    animation: slideInLeft 0.5s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.top-group {
    width: 80%;
    margin-top: 70px;
    height: 200px;
    margin-bottom: 20px;
    justify-content: space-between;
    display: flex;
    align-items: end;
}

.bottom-group {
    width: 80%;
    height: 200px;
    justify-content: space-between;
    display: flex;
    align-items: start;
}

.card {
    justify-items: center;
    box-sizing: border-box;
    position: relative;
    padding: 15px;
    width: 24%;
    background: white;
    height: 200px;
    transition: all 0.4s ease-in-out;
}

.card.active {
    height: 230px;
}

.card-head {
    width: 89%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    color: black;
    font-size: 24px;
    font-weight: 600;
}

.card-img1 {
    display: flex;
    width: 55px;
    background: rgb(16, 110, 229);
    height: 55px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.card-img2 {
    display: flex;
    width: 55px;
    background: rgb(1, 27, 73);
    height: 55px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.card-text1 {
    margin-top: 20px;
    width: 80%;
    opacity: 1;
    position: absolute;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease 0.2s;
}

.card-list {
    bottom: 6%;
    width: 80%;
    opacity: 0;
    position: absolute;
    transition: all 0.2s ease 0.2s;
}

.card.active .card-text1 {
    opacity: 0;
}

.card.active .card-list {
    opacity: 1;
}

.card-text2 {
    width: 100%;
    color: #828282;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.card-text2::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(/template/pc/skin/电子行业/gou.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}


/*  */
.card2 {
    height: 410px;
    border: 1.5px solid white;
    border-radius: 20px;
    width: 340px;
    background: #ffffff3b;
    box-sizing: border-box;
    padding: 4px;
    transition: all 0.3s ease-in-out;
}

.card2:hover {
    border: 1.5px solid #0249CB;
    background: #ffffff;
}

.card2:hover img {
    transform: scale(1.03);
}

.card2-img {
    text-align: center;
    width: 100%;
}

.card2-img img {
    transition: all 0.3s ease-in-out;
    width: 250px;
    height: 250px;
}

.card2-title {
    text-align: center;
    color: black;
    font-weight: 600;
    margin-top: 25px;
    font-size: 22px;
}

.card2-text {
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    color: black;
    font-weight: 600;
    line-height: 1.6;
}

/* 全链流程图 */
.chain-flow {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    padding: 15px 15px 35px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 80px;
    z-index: 5;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.flow-steps:before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid #1a73e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #1a73e8;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.flow-step:hover .step-icon {
    background: #1a73e8;
    color: white;
}

.step-label {
    text-align: center;
    font-weight: 600;
    color: #0d47a1;
    font-size: 16px;
}


.last1-left {
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 20px;
    position: relative;
    width: 32%;
    background-image: url(/template/pc/skin/电子行业/全链1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.last1-left-mb {
    left: 0;
    top: 0;
    position: absolute;
    background: #02458e75;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.last2-left-mb {
    left: 0;
    top: 0;
    position: absolute;
    background: #ffffff84;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.last1-left-title {
    /* position: relative;
    z-index: 5; */
    margin: 48px 0;
    font-size: 24px;
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 600;
}

.last1-left-text {
    position: relative;
    z-index: 5;
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    color: white;
}

.last2-left-title {
    /* position: relative;
    z-index: 5; */
    margin: 48px 0;
    font-size: 24px;
    position: relative;
    z-index: 2;
    color: rgb(0, 0, 0);
    font-weight: 600;
}

.last2-left-text {
    position: relative;
    z-index: 5;
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    color: rgb(0, 0, 0);
}

.last1-right {
    height: 80%;
    position: relative;
    overflow: hidden;
    border-radius: 15px 0 0 15px;
    width: 68%;
    background-image: url(/template/pc/skin/电子行业/全链11.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.last2-right {
    height: 80%;
    position: relative;
    overflow: hidden;
    border-radius: 15px 0 0 15px;
    width: 68%;
    background-image: url(/template/pc/skin/电子行业/全链22.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.last1-right-mb {
    display: flex;
    box-sizing: border-box;
    padding: 20px;
    left: 0;
    top: 0;
    position: absolute;
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0.4));
    width: 100%;
    height: 100%;
    z-index: 1;
}

.last1-right-mb-xh {
    background: #1a73e8;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    margin-right: 15px;
}

.last1-right-mb-title {
    display: flex;
    align-items: center;
    height: 30px;
    color: black;
    font-size: 24px;
    font-weight: 600;
}

.traceability-demo {
    position: relative;
    z-index: 5;
    background: #f5f9ff;
    /* border-radius: 8px; */
    padding: 10px 15px;
    margin-top: 110px;
}


.demo-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.demo-step {
    color: black;
    font-size: 16px;
    flex: 1;
    width: 150px;
    background: #ffffff;
    padding: 20px 5px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.demo-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.demo-step i {
    font-size: 24px;
    color: #1a73e8;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner {
        padding: 80px 0;
    }

    .banner h1 {
        font-size: 32px;
    }

    .banner p {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .highlight-content {
        flex-direction: column;
        text-align: center;
    }

    .advantage-cards {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
        gap: 30px;
    }

    .flow-steps:before {
        display: none;
    }

    .step-connector {
        display: none;
    }

    .demo-steps {
        flex-direction: column;
    }
}


.last-title {
    margin-top: 70px;
    margin-bottom: 75px;
    color: black;
    font-size: 32px;
    font-weight: bold;
}

.last-btn-group {
    display: flex;
    gap: 50px;
}

.last-btn1 {
    background: #0249CB;
    color: white;
    padding: 7px 25px;
    font-size: 18px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.last-btn1:hover {
    background: white;
    color: #0249CB;
    transform: translateY(-3px);
}

.last-btn2 {
    background: white;
    color: #0249CB;
    padding: 7px 25px;
    font-size: 18px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.last-btn2:hover {
    background: #0249CB;
    color: white;
    transform: translateY(-3px);
}

.gallery-button{
    background-color: #0B4CA1;
    color: white;
    position:relative;
    left:0%;
    display: inline-block; 
    padding: 10px 30px;
    border-radius: 30px; 
    font-size: 18px; 
    font-weight: bold; 
    transition: all 0.3s ease; 
    box-shadow: 3px 3px 6px #0B4CA1;
}

.gallery-button:hover {
    background-color: white;
    box-shadow: 0 6px 16px #0B4CA1;
    transform: translateY(-2px);
    color: #0B4CA1;
}