/* 字体配置 */
@font-face {
    font-family: 'Mulish';
    src: url('../fonts/c3d26f19ac7f56a0fd74.ttf') format('truetype');
    font-display: swap;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

/* 布局容器 */
.container {
    max-width: 87.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Banner部分 */
.hero {
    height: 48.75rem;
    background: url('../img/bg17.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__title {
    color: #fff;
    font-weight: 400;
    font-style: italic;
    font-size: 4.635rem;
    line-height: 5.55rem;
    text-align: center;
    font-family: 'Mulish', Arial, sans-serif;
}

/* 章节通用样式 */
.section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 介绍部分 */
.intro-products-wrapper {
    background: #fff;
    height: 80.0625rem;
    width: 100%;
}

.section--intro {
    padding-top: 4.5rem;
}

.intro-products-wrapper .section__title-line {
    margin-bottom: 2.25rem;
}

/* 产品展示部分 */
.section--products {
    background: none;
    height: auto;
    padding-top: 0;
}
.section--products::before{display: none;}

.product-grid {
    display: flex;
    gap: 2rem;
}

.product-card {
    width: 42.75rem;
    height: 51rem;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}

.product-card__image {
    width: 42.75rem;
    height: 43.625rem;
    overflow: hidden;
    position: relative;
    border-radius: 0;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42.75rem;
    height: 10rem;
    background: transparent;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.product-card__overlay-title {
    position: absolute;
    left: 2.5rem;
    bottom: 1.5rem;
    color: #fff;
    font-weight: 500;
    font-size: 2.75rem;
    line-height: 3.85rem;
}

.product-card__info {
    width: 42.75rem;
    height: 7.375rem;
    padding: 1.875rem 2.5rem;
    background: #ECECEF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card__specs {
    width: 23.9375rem;
    height: 3.625rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.product-card__specs-icon {
    width: 3.625rem;
    height: 3.625rem;
    object-fit: contain;
}

.product-card__specs-data {
    width: 18.5625rem;
    height: 2.8125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #49494B;
}

.product-card__specs-data span {
    font-weight: 400;
    font-size: 2rem;
    line-height: 2.8rem;
    color: #49494B;
}

.product-card__title {
    font-size: 1.5rem;
    font-weight: 500;
}

.product-card__arrow,
.case-item__arrow {
    width: 2.125rem;
    height: 2.125rem;
    flex-shrink: 0;
    cursor: pointer;
     
}

.product-card__arrow:hover,
.case-item__arrow:hover {
    filter: invert(7%) sepia(99%) saturate(7499%) hue-rotate(245deg) brightness(97%) contrast(143%);
}

/* 优势说明部分 */
.section--advantages {
    width: 100%;
    height: 71.9375rem;
    padding-top: 5rem;
    position: relative;
    background-image: url('../img/bg18.png');
    background-size: cover;
    background-position: center;
}

.section--advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #171717;
    opacity: 0.9;
    z-index: 0;
}

.section--advantages .container {
    position: relative;
    z-index: 1;
}

.section--advantages .section__title {
    color: #FFFFFF;
}

.section--advantages .section__title-line {
    margin-bottom: 4.875rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 28rem);
    gap: 1.75rem;
    justify-content: center;
}

.advantage-card {
    width: 28rem;
    height: 25.25rem;
    border-radius: 0.875rem;
    padding: 1.5rem;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.advantage-card__content {
    position: relative;
    z-index: 2;
    transition: opacity 0.6s ease;
}

.advantage-card:hover .advantage-card__content {
    opacity: 0;
}

.advantage-card__hover-content {
    position: absolute;
    top: 100%;
    left: 1.5rem;
    right: 1.5rem;
    opacity: 1;
    transition: top 500ms linear;
    color: #FFFFFF;
    z-index: 2;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 2.125rem;
    white-space: pre-line;
}

.advantage-card__hover-content p {
    display: none;
}

.advantage-card:hover .advantage-card__hover-content {
    top: -0.5rem;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.advantage-card:nth-child(1) {
    background-image: url('../img/bg19.png');
}

.advantage-card:nth-child(2) {
    background-image: url('../img/14.png');
}

.advantage-card:nth-child(3) {
    background-image: url('../img/15.png');
}

.advantage-card:nth-child(4) {
    background-image: url('../img/16.png');
}

.advantage-card:nth-child(5) {
    background-image: url('../img/17.png');
}

.advantage-card:nth-child(6) {
    background-image: url('../img/18.png');
}

.advantage-card__icon {
    width: 3rem;
    height: 3rem;
}

.advantage-card__title {
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 2.625rem;
    color: #FFFFFF;
}

/* 解决方案概述 */
.section--solution {
    height: auto;
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: #FFFFFF;
}

.section--solution .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.section--solution .section__title-line {
    margin-bottom: 1.375rem;
}

.solution__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background: none;
}

.solution-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
}

.solution-tabs {
    padding-top: 2.875rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.solution-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    border: none;
    background: #BCBDE9;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2.1rem;
    color: #fff;
    transition: background-color 0.3s ease;
}

.solution-tab:hover {
    background: #292932;
}

.solution-tab.active {
    background: #0005FF;
}

.solution-tab.active:hover {
    background: #0005FF;
}

.solution-tab__icon {
    width: 1.5rem;
    height: 1.5rem;
    display: none;
}

.solution-tab.active .solution-tab__icon {
    display: block;
}

.solution-diagram {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.solution-diagram__panel {
    width: 100%;
}

.solution-diagram__panel[hidden] {
    display: none;
}

.solution-diagram__panel.is-active {
    display: block;
}

.solution-diagram__figure {
    position: relative;
    width: 100%;
}

.solution-diagram img {
    width: 100%;
    height: auto;
    display: block;
}

.solution__light-dot {
    position: absolute;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
}

.solution-diagram__figure--mix .solution__light-dot {
    top: 49.5%;
    left: 36.4%;
    transform: translate(-50%, -50%);
}

.solution-diagram__figure--nova .solution__light-dot {
    top: 49.8%;
    left: 36.2%;
    transform: translate(-50%, -50%);
}

.solution__light-dot-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.light-dot__inner {
    position: absolute;
    width: 1.125rem;
    height: 1.125rem;
    background: #0005FF;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    animation: expand-inner 2s infinite;
}

.light-dot__middle {
    position: absolute;
    width: 1.75rem;
    height: 1.75rem;
    background: #7A7DFF;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: expand-middle 2s infinite;
}

.light-dot__outer {
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    background: #C5C6FF;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@keyframes expand-inner {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    20% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(2.22);
    }
}

@keyframes expand-middle {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.43);
    }
}

/* 案例研究 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.case-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.case-card__image {
    height: 15rem;
    overflow: hidden;
}

.case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-card__image img {
    transform: scale(1.1);
}

.case-card__content {
    padding: 1.5rem;
}

.case-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.case-card__text {
    color: #666;
}

/* 案例研究部分 */
.section--case {
    width: 100%;
    height: 44.6875rem;
    padding-top: 5rem;
    background-image: url('../img/bg20.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section--case .section__title-line {
    margin-bottom: 4.25rem;
}

.case-list {
    height: 25.125rem;
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
}

.case-item {
    width: 27.5rem;
    height: 25.125rem;
}

.case-item__image {
    width: 27.5rem;
    height: 15.625rem;
    overflow: hidden;
}

.case-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .case-item__image img {
    transform: scale(1.1);
}

.case-item__content {
    padding: 1.375rem 1.375rem 0;
    background-color: #FFFFFF;
    height: 9.5rem;
}

.case-item__title {
    font-weight: 500;
    font-size: 1.625rem;
    line-height: 2.275rem;
    text-align: left;
    color: #1D1D1F;
}

.case-item__desc-wrapper {
    display: flex;
    align-items: center;
    gap: 1.125rem;
}

.case-item__desc {
    width: 21.625rem;
    margin-top: 0;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.75rem;
    text-align: left;
    color: #6B6C6D;
}

.case-item__arrow {
    width: 2.125rem;
    height: 2.125rem;
    flex-shrink: 0;
    cursor: pointer;
     
}

.case-item:hover .case-item__arrow {
    filter: invert(8%) sepia(100%) saturate(6481%) hue-rotate(241deg) brightness(101%) contrast(143%);
}

/* 响应式布局 */
@media screen and (max-width: 90rem) { /* 1440px */
    .container {
        padding: 0 1.25rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 28rem);
        gap: 1.5rem;
    }

    .section--advantages {
        height: auto;
        padding: 5rem 1rem;
        min-height: 80rem;
    }
}

@media screen and (max-width: 64rem) { /* 1024px */
    /* 介绍部分 */
    .intro-products-wrapper {
        height: auto;
    }

    .section--intro {
        padding-top: 3rem;
    }

    .section__title {
        font-size: 1.75rem;
        line-height: 2.45rem;
    }

    .section__text {
        font-size: 1rem;
        line-height: 1.6rem;
    }

    /* 产品展示部分 */
    .section--products {
        margin-top: 3rem;
        height: auto;
        padding-bottom: 3rem;
    }

    .product-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .product-card {
        width: 100%;
        height: auto;
    }

    .product-card__image {
        width: 100%;
        height: 0;
        padding-bottom: 102%; /* 保持与PC端相同的宽高比 (51/42.75 ≈ 1.19) */
        position: relative;
    }

    .product-card__image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-card__overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 8rem;
    }

    .product-card__overlay-title {
        font-size: 2rem;
        line-height: 2.8rem;
        bottom: 1.25rem;
    }

    .product-card__info {
        padding: 1.5rem 2rem;
        height: 6rem;
    }

    .product-card__specs {
        width: auto;
        gap: 1.25rem;
    }

    .product-card__specs-data {
        width: auto;
    }

    .product-card__specs-data span {
        font-size: 1.5rem;
        line-height: 2.1rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 0 1rem;
    }

    .advantage-card {
        width: 100%;
        height: 22rem;
    }

    .advantage-card__title {
        font-size: 1.5rem;
        line-height: 2.25rem;
        margin-top: 1.5rem;
    }

    .advantage-card__hover-content {
        font-size: 1.125rem;
        line-height: 1.875rem;
    }

    .section--case {
        height: auto;
        padding: 5rem 2rem;
    }

    .section--case .section__title-line {
        margin-bottom: 3.5rem;
    }

    .case-list {
        height: auto;
        flex-direction: column;
        gap: 2.5rem;
        max-width: 90%;
        margin: 0 auto;
    }

    .case-item {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        background: #FFFFFF;
        border-radius: 0.5rem;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .case-item:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .case-item__image {
        width: 100%;
        height: 22rem;
        overflow: hidden;
    }

    .case-item__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .case-item:hover .case-item__image img {
        transform: scale(1.05);
    }

    .case-item__content {
        padding: 1.5rem 2rem;
        background: #FFFFFF;
    }

    .case-item__title {
        font-size: 1.75rem;
        line-height: 2.5rem;
        margin-bottom: 0.75rem;
        color: #171717;
    }

    .case-item__desc {
        font-size: 1.125rem;
        line-height: 1.75rem;
        color: #49494B;
    }

    .case-item__desc-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 48rem) { /* 768px */
    .section__title {
        font-size: 1.5rem;
        line-height: 2.1rem;
    }

    .section--advantages {
        padding: 4rem 1rem;
        min-height: 70rem;
    }

    .section--advantages .section__title-line {
        margin-bottom: 3rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 0;
        width: 100%;
    }

    .advantage-card {
        height: 20rem;
        width: 100%;
    }

    .advantage-card__content {
        display: block;
        padding-top: 2rem;
        padding-left: 1.5rem;
    }

    .advantage-card__hover-content {
        text-align: left;
        padding: 0 1.5rem;
    }

    .solution__bg {
        left: -26rem;
    }

    .section--case {
        padding: 4rem 1.5rem;
    }

    .section--case .section__title-line {
        margin-bottom: 3rem;
    }

    .case-list {
        gap: 2rem;
        max-width: 100%;
    }

    .case-item__image {
        height: 20rem;
    }

    .case-item__content {
        padding: 1.25rem 1.5rem;
    }

    .case-item__title {
        font-size: 1.5rem;
        line-height: 2.25rem;
    }

    .case-item__desc {
        font-size: 1rem;
        line-height: 1.625rem;
    }
}

@media screen and (max-width: 36rem) { /* 576px */
    .section__text br {
        display: none;
    }

    .product-card__image {
        padding-bottom: 102%; /* 保持相同的宽高比 */
    }

    .product-card__overlay {
        height: 7rem;
    }

    .product-card__overlay-title {
        font-size: 1.5rem;
        line-height: 2.1rem;
        bottom: 1rem;
        left: 1.5rem;
    }

    .product-card__info {
        padding: 1.25rem;
        height: auto;
        min-height: 5rem;
    }

    .product-card__specs {
        gap: 0.75rem;
    }

    .product-card__specs-data span {
        font-size: 1.125rem;
        line-height: 1.575rem;
    }

    .section--advantages {
        padding: 3rem 1rem;
        min-height: 65rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .advantage-card {
        height: 18rem;
        padding: 1rem;
    }

    .advantage-card__title {
        font-size: 1.25rem;
        line-height: 2rem;
        margin-top: 1rem;
    }

    .advantage-card__hover-content {
        font-size: 1rem;
        line-height: 1.5rem;
        left: 1rem;
        right: 1rem;
    }

    .advantage-card__icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .advantage-card__content {
        padding-left: 1rem;
    }

    .advantage-card__hover-content {
        text-align: left;
        padding: 0 1rem;
    }

    .solution__bg {
        left: -26rem;
    }

    .section--case {
        padding: 3rem 1rem;
    }

    .section--case .section__title-line {
        margin-bottom: 2.5rem;
    }

    .case-list {
        gap: 1.5rem;
    }

    .case-item__image {
        height: 18rem;
    }

    .case-item__content {
        padding: 1rem 1.25rem;
    }

    .case-item__title {
        font-size: 1.25rem;
        line-height: 2rem;
        margin-bottom: 0.5rem;
    }

    .case-item__desc {
        font-size: 0.875rem;
        line-height: 1.5rem;
    }

    .case-item__desc-wrapper {
        gap: 1rem;
    }

    .case-item__arrow {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* 移除之前可能存在的通用margin-top */
.section__text,
.advantages-grid,
.solution-content,
.case-list {
    margin-top: 0;
}

/* 通用样式 */
.section__text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2.375rem;
    text-align: center;
    color: #333333;
}

.section__title {
    font-size: 3rem;
    font-weight: 500;
    line-height: 4.2rem;
    text-align: center;
    color: #1D1D1F;
}

.section__title-line {
    width: 2.5rem;
    height: 0.25rem;
    background: #0005FF;
    margin: 0 auto;
}
