
/* ========== 视频区 ========== */
.index-banner {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.index-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.index-banner .scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 4px;
    font-weight: 600;
}
.index-banner .scroll-hint .scroll-line {
    width: 1px;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.index-banner .scroll-hint .scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}
@media screen and (max-width: 1200px) {
    .index-banner {
        height: auto;
    }
    .index-banner .scroll-hint {
        display: none;
    }
}





/* 关于我们 */
.jn-about {
    --jn-photo-radius: 1% 20% 2% 16% / 3% 29% 4% 23%;
    padding: clamp(2rem, 7vw, 5rem) 1.5rem;
    font-family: "Microsoft YaHei", sans-serif;
    background: radial-gradient(ellipse at 78% 0%, #34363a 0%, #191a1e 48%, #101114 82%);
}

.jn-about__inner {
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.jn-about__visual {
    position: relative;
    isolation: isolate;
    padding: 0 1rem 1rem 0;
}

.jn-about__photo {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #f5f1ea, #e4d9c9);
    color: #574b3b;
    border-radius: var(--jn-photo-radius);
}

.jn-about__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.jn-about__content h2 {
    margin: 0 0 1.25rem;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: 0.06em;
    color: #d7d7d7;
}

.jn-about__content h2::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin-top: 1rem;
    background: var(--subcolor);
}

.jn-about__content p {
    margin: 0;
    color: #d7d7d7;
    line-height: 1.9;
    font-size: 0.95rem;
}

.jn-about__content p + p {
    margin-top: 1em;
}

@media (max-width: 720px) {
    .jn-about {
        padding: 2rem 0;
    }

    .jn-about__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.8rem;
    }
}





/* ========== Section Title High-end Style (Products & News) ========== */
.home-section .section-head {display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:2rem;}
.home-section .section-more{display:inline-flex;align-items:center;gap:1.8rem;font-size:1rem;font-weight:500;color:var(--muted);padding:0.8rem 0;border-bottom:1px solid #a4a4a4;transition:color .25s,border-color .25s;}
.home-section .section-more:hover {color:var(--subcolor);border-color:var(--subcolor);}
.home-section .section-more i{font-size:1rem;}

.home-section .section-head-left {
    position: relative;
    font-weight: 600;
    z-index: 2;
    padding-bottom: 1.5rem;
    font-size: 2rem;
}
.home-section .section-title-left {font-size: 2rem;}
.home-section .section-title-left::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3rem;
    height: 3px;
    background: var(--subcolor);
    z-index: 2;
}

.index-products .section-head-left::before {
    content: "P";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(100px, 10vw, 200px);
    font-weight: 800;
    line-height: 1;
    color: rgb(255 11 11 / 10%);
    z-index: 1;
    pointer-events: none;
    font-family: Arial, Helvetica, sans-serif;
}

.index-news .section-head-left::before {
    content: "N";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(100px, 10vw, 200px);
    font-weight: 800;
    line-height: 1;
    color: rgb(255 11 11 / 10%);
    z-index: 1;
    pointer-events: none;
    font-family: Arial, Helvetica, sans-serif;
}
@media screen and (max-width: 750px) {
    .index-products .section-title-left, .index-news .section-title-left {font-size: 2rem;}
}








/*产品*/
.index-products {
    width:100%;padding:3rem 0 5rem;
    background: url(../images/index-products.webp) center center / cover no-repeat;
    background-attachment: fixed;
    color:#ffffff;
}
.index-products .section-more {
    color:#ffffff;
    border-bottom: 1px solid #ffffff;
}
.index-products .products-list {
    display: flex;
    gap: 2.5rem;
}
.index-products .product-item {
    position: relative;
}
.index-products .product-item:before {
    position: absolute;
    top:0;
    right:0;
    content: '';
    background: #00000040;
    width: 100%;
    height:100%;
}
.index-products .product-item-img {
    aspect-ratio: 6 / 4;
    /*background: #e9edf0;*/
}
.index-products .product-item-img img { display: block;}
.index-products .product-item-info {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    transition: .5s;
    text-align: center;
    color:#ffffff;
}

.index-products .product-item h2 {position: relative;}
.index-products .product-item h2:before{ content:""; position:absolute; width:30px; height:1px; background:#fff; left:50%;transform:translateX(-50%); bottom:-10px; transition:.5s; z-index:1;}

.index-products .product-item:after {
    content: "";
    position: absolute;
    height: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: .5s;
    z-index: 1;
}

.index-products .product-item:hover:after{ height:100%; background:rgba(0,0,0,.8)}

@media screen and (max-width: 1200px) {
    .index-products {padding:4rem 0 3rem;}
}
@media screen and (max-width: 750px) {
    .index-products {padding:2rem 0;}
    .index-products .products-list {flex-direction: column;}
    .index-products .product-item {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .index-products .product-item:nth-child(even) .product-item-img {order:0;}
    .index-products .product-item-name {font-size: 1.5rem;}
}







/*新闻*/
.index-news {
    width: 100%;
    padding: 3.5rem 0 5rem;
    color: #fff;
    background: radial-gradient(ellipse at 78% 0%, #34363a 0%, #191a1e 48%, #101114 82%);
}

.index-news .section-more { color: #e0e1e5; border-color: #ffffff50; }
.index-news .news-featured-title { color: #f5f5f7; }
.index-news .news-date { color: #bfc2c9; }

.index-news .section-more:hover,
.index-news .section-more:focus-visible { color: var(--subcolor); border-color: var(--subcolor); }
.index-news .news-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30%;
    margin-top: 2rem;
}

.index-news .news-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ffffff2b;
    flex: 1;
}
.index-news .news-item-info {
    flex: 1;
    min-width: 0;
}
.index-news .news-item-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
    color: #e0e1e5;
    margin-top: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.index-news .news-item-img {
    width: 12rem;
    aspect-ratio: 6 / 4;
    flex-shrink: 0;
    overflow: hidden;
    background: #26282d;
}
.index-news .news-wrap a:hover .news-featured-title,
.index-news .news-wrap a:hover .news-item-title
{color:var(--subcolor);}

@media(max-width:760px) {
    .index-news {padding:2rem 0;}
    .index-news .news-wrap {
        grid-template-columns: 1fr;
        gap:2rem;
    }
    .index-news .news-featured-title {font-size: 1.1rem;}
    .index-news .news-item-title {font-size: 1rem;}
    .index-news .news-item-img {
        width: 10rem;
    }
}






.footer {
    position: relative;
    z-index: 1;
    color: #fff;
    background: linear-gradient(120deg, #1d1f24, #101114 65%);
    border-top: 2px solid var(--subcolor);
    padding:1rem 0 ;
}

.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .4rem 1.5rem;
    padding-block: .8rem;
    color: #bfc1c9;
    font-size: 1rem;
}

.footer-copyright a { color: inherit; }
.footer a:hover,
.footer a:focus-visible { color: var(--subcolor); }

@media (max-width: 560px) {
    .footer-contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-contact-item:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}
