#header-container .nav{
   background: transparent;
   transition: all 0.2s ease;
}

#header-container .nav:hover {
  background: url("/images/nav-bg.jpg") no-repeat center / cover !important;
}

.nav .menu .menu-item {
    color: var(--color-primary-1);
}

#header-container .nav:hover .menu .menu-item{
  color: var(--color-primary-4);
}

#header-container .nav .menu .split-line {
    color: transparent;
}

#header-container .nav:hover .menu .split-line{
    color: var(--color-primary-11);
}

.main-container {
    box-sizing: border-box;
    width: 100vw;
    height: auto;
}

.banner {
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    position: relative;
}

.banner #pre-bg{
    width: 100%;
    height: 100%;
    position: absolute;
    background: url("/images/index/banner.jpg") no-repeat center / cover;
}

.banner #banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.banner .bg-mask {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.banner .bg-mask .logo{
    width: 10rem;
    height:  10rem;
    margin-bottom: 2rem;
}

.banner .bg-mask .title{
   color: #ffffff;
   font-size: 1.6rem;
   font-weight: 600;
}

.banner .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
}

/* 播放按钮样式 */
.banner  #playBtn {
    width: 3.75rem;
    height: 3.75rem;
    background: transparent;
    border-radius: 50%;
    position: absolute;
    bottom: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.banner  #playBtn::after {
    content: '';
    position: absolute;
    left: 52%;
    top: 50%;
    transform: translate(-40%, -50%);
    border-left: 20px solid rgba(255, 255, 255, 0.3);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    transition: all 0.3s ease;
}

.banner  #playBtn:hover {
    background: rgba(128, 128, 128, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.banner #playBtn:hover::after {
    border-left-color: rgba(255, 255, 255, .9);
}

/* 核心竞争力 */
.advantage {
    width: 80%;
    margin: 6.25rem auto;
}

.advantage .title {
    font-size: 3rem;
    font-weight: 700;
    color: #303030;
    text-align: center;
    letter-spacing: -0.05rem;
    margin-bottom: 5rem;
}

.advantage .card-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 4rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  height: 27.5rem;
  border-radius: .3125rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.service-card .media {
  position: relative;
  height: 20rem;
  z-index: 1;
  overflow: hidden;
}
.service-card .media .picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s ease-in-out;
}

.service-card .media .video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .media .line-one {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.service-card .media .line-one::before {
  position: absolute;
  left: .625rem;
  bottom: -0.625rem;
  width: 1px;
  height: 0;
  content: "";
  background: rgba(192, 0, 0, 0.4);
  transition: all 0.2s ease-in-out;
}

.service-card .media .line-one::after {
  position: absolute;
  right: .625rem;
  top: -0.625rem;
  width: 1px;
  height: 0;
  content: "";
  background: rgba(192, 0, 0, 0.4);
  transition: all 0.5s ease-in-out;
}

.service-card .media .line-two {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.service-card .media .line-two::before {
  position: absolute;
  right: .625rem;
  bottom: .625rem;
  width: 0;
  height: 1px;
  content: "";
  background: rgba(192, 0, 0, 0.4);
  transition: all 1s ease-in-out;
}

.service-card .media .line-two::after {
  position: absolute;
  left: .625rem;
  top: .625rem;
  width: 0;
  height: 1px;
  content: "";
  background: rgba(192, 0, 0, 0.4);
  transition: all 0.4s ease-in-out;
}

.service-card .content {
    width: 100%;
    height: 7.5rem;
  background: #F8F8F8;
  padding: 1.2rem 2rem;

}

.service-card .content .icon {
  width: 4.375rem;
  height: 4.375rem;
  background: rgba(192,0,0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: -5.625rem;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}
.service-card .content .icon .pic {
  width: 2.5rem;
  height: 2.5rem;
}
.service-card .content .name {
  color: #303030;
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
}

.service-card .content .desc {
  color: #545454;
  font-size: 1rem;
  font-weight: 400;
  margin-top: .3125rem;
}
.service-card:hover .media .picture {
  transform: scale(1.2);
}
.service-card:hover .media .line-one::before {
  height: 100%;
}
.service-card:hover .media .line-one::after {
  height: 100%;
}
.service-card:hover .media .line-two::before {
  width: 100%;
}
.service-card:hover .media .line-two::after {
  width: 100%;
}
.service-card:hover .content .icon {
  transform: scaleX(-1);
  transform-origin: center;
}
.service-card:hover .content .name {
  color: rgba(192,0,0, 1);
}

/* 向下滚动 */
.scroll-prompt {
    position: fixed;
    bottom: 5rem;;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s;
    z-index: 1000;
    color: var(--color-primary-4);
}

.vertical-text {
    writing-mode: vertical-lr;
    font-size: 0.875rem;
    letter-spacing: 0.375rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.line-container {
    position: relative;
    height: 3.125rem;
    width: 1px;
}

.line-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--color-primary-7);
}

.line-moving {
    position: absolute;
    left: -0.125rem;
    width: 0.375rem;
    height: 1.125rem;
    animation: slide 2s infinite;
    border-radius: 1px;
}

@keyframes slide {
    0% {
        top: -15%;
        opacity: 0;
        background:var(--color-primary-1);
    }
    15% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
        background:var(--color-primary-5);
    }
    85% {
        opacity: 0.8;
    }
    100% {
        top: 70%;
        opacity: 0;
        background:var(--color-primary-7);
    }
}


/* 核心产品 */
.core {
    position: relative;
    width: 100%;
    height: 48.125rem;
    margin: 6.25rem auto;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.core-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 1;
}

.core-title {
    position: absolute;
    top: 3.75rem;
    font-size: 3rem;
    color: #fff;
    text-align: center;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: -0.05rem;
    width: 100%;
    z-index: 10;
}

.core-content {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.core-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.5s ease;
    position: relative;
    padding-top: 12rem;
    padding-bottom: 2rem;
}

.product-img {
    width: 35.1875rem;
    height: 22rem;
    object-fit: contain;
    margin-bottom: 1.875rem;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.product-img:hover {
    transform: scale(1.05);
}

.product-name {
    font-size: 2rem;
    color: #fff;
    /* color: transparent; */
    /* -webkit-text-stroke: 1px #fff; */
    /* text-stroke: 1px #fff; */
    margin-bottom: 1.875rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.product-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.product-link {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    padding: .625rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: transparent;
    box-shadow: 0 0px 30px rgba(0, 0, 0, 0.5);
}

.product-link:hover {
    /* transform: translateX(3px); */
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.3);
    background: rgba(192, 0, 0, 0.7);
    color: #fff;
}

/* 介绍 */
.info-container {
    width: 100%;
    height: 508px;
    margin: 6.25rem 0;
    display: flex;
    overflow: hidden;
    padding-left: 10vw;
    padding-right: 10vw;
    gap: 5rem;
}

.info-container .content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.info-container .content-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.05rem;
}

.info-container .content-section h2:first-child {
    color: #C00;
}

.info-container .content-section p {
    font-size: 1rem;
    margin: 1.5rem 0;
    color: #444;
    line-height: 1.8;
    width: 95%;
}

.info-container .cta-button {
    display: block;
    text-decoration: none;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #C00, #B00);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.info-container .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.info-container .cta-button:hover {
    box-shadow: 0 6px 12px rgba(204, 0, 0, 0.4);
    background: linear-gradient(135deg, #B00, #A00);
}

.info-container.cta-button:hover::before {
    left: 100%;
}

/* 动态 */
.news-container {
    width: 100vw;
    height: auto;
    margin: 6.25rem 0;
    padding: 0 10vw;
}

.news-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 5rem;
    font-weight: 600;
    color: #303030;
    position: relative;
}

.news-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10rem;
    margin-bottom: 3rem;
}

.news-image-container {
    flex: 1;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.news-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.news-image-container:hover .news-image {
    transform: scale(1.03);
}

.news-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-list {
    list-style: none;
    flex-grow: 1;
}

.news-item {
    border-bottom: 1px solid rgba(20, 78, 138, 0.15);
    padding: 1.6rem 0;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.news-link::after {
    content: '';
    position: absolute;
    bottom: -1.6rem;
    left: 0;
    width: 0;
    height: 3px;
    background: #c00;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.news-item:hover .news-link::after {
    width: 100%;
}

.news-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: color 0.3s ease;
    color: #3A3A3A;
}

.news-date {
    display: flex;
    align-items: center;
    color: #5B5B5B;
    font-size: 1.125rem;
    transition: color 0.3s ease;
    font-weight: 700;
    white-space: nowrap;
}

.news-date i {
    margin-right: 0.6rem;
    color: #B0B0B0;
}

.news-item:hover .news-text,
.news-item:hover .news-date {
    color: #c00;
}

.more-container {
    text-align: right;
    margin-top: 1.5rem;
}

.more-link {
    display: inline-block;
    text-decoration: none;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #C00, #B00);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(204, 0, 0, 0.3);
    margin-top: 0rem;
    position: relative;
    overflow: hidden;
}

.more-link:hover {
    /* transform: translateY(-3px); */
    box-shadow: 0 6px 12px rgba(204, 0, 0, 0.4);
    background: linear-gradient(135deg, #B00, #A00);
}

.show-row {
    display: none;
}

.news-content-mobile {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: none;
}

.news-content-mobile .news-list-mobile {
    width: 100%;
    list-style: none;
    margin-bottom: 0px;
}

.news-content-mobile .news-item-mobile {
    background: #fff;
    overflow: hidden;
    margin: 1.5rem .3125rem;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: auto;
    border-radius: 8px;
}

.news-content-mobile .news-link-mobile {
    display: flex;
    text-decoration: none;
    color: inherit;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 10px;
    overflow: hidden;
}

.news-content-mobile .news-image-mobile {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.news-content-mobile .news-image-mobile img{
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 8px 8px 0 0;
}

.news-content-m {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 0 1rem 0.5rem;
}

.news-content-m .news-title-mobile {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: .75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #3a3a3a;
    line-height: 1.4;
}

.news-content-m .news-meta-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #888;
}

.news-content-m .news-read-more-mobile {
    color: rgba(192,0,0, 0.8);
}

/* 移动端 */
@media screen and (max-width: 768px) {
    .show-row {
        display: block;
    }

    .main-container .banner {
        box-sizing: border-box;
        width: 100%;
        height: 50vh;
    }

    .banner .bg-mask .logo{
        width: 5rem;
        height:  5rem;
        margin-bottom: 1.5rem;
    }

    .banner .bg-mask .title{
        color: #fff;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .advantage {
        width: 90%;
        margin: 3rem auto;
        overflow: hidden;
    }

    .advantage .title {
        font-size: 1.8rem;
        margin-bottom: 3rem;
    }

    .advantage .card-box {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 1rem;
    }

    .service-card {
        height: auto;
    }

    .service-card .media {
        height: 16rem;
    }

    .service-card .content {
      background: #F8F8F8;
    }

    .scroll-prompt {
      display: none;
    }

    .core {
        height: auto;
        margin: 0rem auto 3rem;
        box-shadow: none;
    }

    .core-area {
        padding-top:10rem;
        justify-content: flex-start;
    }

    .core-title {
        top: 1.5rem;
        font-size: 1.6rem;
        width: 100%;
    }

    .product-name {
        font-size: 1.2rem;
        -webkit-text-stroke: 0;
        text-stroke: 0;
        color: #f0f0f0;
        font-weight: 600;
        margin-bottom: 0.8rem;
    }

    .product-img {
        width: 90%;
        height: auto;
        object-fit: contain;
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    .product-links {
        flex-direction: column;
        align-items: center;
        gap: .8rem;
        padding-bottom: 0rem;
    }

    .product-link {
        white-space: wrap;
        font-size: 0.8rem;
        padding: 0rem;
        width: 13rem;
        text-align: center;
        border-color: rgba(255,255,255, 0.4);
        padding: 0.3rem .8rem;
    }

    .info-container {
        flex-direction: column;
        height: auto;
        margin: 3rem 0;
        padding-left: 5vw;
        padding-right: 5vw;
        box-shadow: none;
        gap: 2rem;
    }

    .info-container .content-section,
    .info-container .carousel-section{
        width: 100%;
        padding: 0;
    }

    .info-container .content-section h2 {
        font-size: 1.8rem;
    }

    .info-container .content-section p {
        font-size: 1.125rem;
        margin: 1rem 0;
        color: #444;
    }

    .info-container .cta-button {
        padding: .7rem 1.6rem !important;
        font-size: 1.1rem;
        font-weight: 600;
        background: linear-gradient(135deg, #C00, #B00);
        color: white;
        border: none;
        border-radius: 3.125rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
        position: relative;
        overflow: hidden;
        margin-top: 1rem;
    }

    .info-container .carousel-container {
        height: 15.625rem;
        width: 100%;
        box-shadow: none;
    }

    .news-container {
        width: 90% !important;
        height: auto;
        margin: 3rem 0;
        padding: 0;
        overflow: hidden;
    }

    .news-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .news-content {
        display: none;
    }

    .news-content-mobile {
        display: block;
    }

    .more-container {
        text-align: center;
        margin-top: 1rem;
    }

    .more-link {
        padding: .7rem 1.6rem !important;
        font-size: 1.1rem;
        font-weight: 600;
        background: linear-gradient(135deg, #C00, #B00);
        color: white;
        border: none;
        border-radius: 3.125rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
        position: relative;
        overflow: hidden;
        margin-top: 1rem;
    }
}