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

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

html, body {
    overflow-x: hidden; /* 防止横向滚动 */
    width: 100%;
    position: relative;
}

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/1.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;
}

.section__title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.125rem;
    text-align: center;
}

.section__title-line {
    width: 3.75rem;
    height: 0.1875rem;
    background-color: #000;
    margin-bottom: 3rem;
}

.section__subtitle {
    font-weight: 500;
    font-size: 2.375rem; 
    line-height: 3.325rem; 
    text-align: center;
    margin-top: 3.75rem; 
    margin-bottom: 3.125rem; 
}

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

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

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

/* 产品展示部分 */
.section--products {
    height: 46.125rem;
    background-image: url('../img/bg1.png');
    background-size: cover;
    background-position: center;
    padding-top: 5rem;
    margin-top: 4.25rem;
    position: relative;
}

.section--products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
}

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

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

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

.products-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.625rem;
}

.product-card {
    width: 42.9375rem;
    height: 27.1875rem;
    background: #FFFFFF;
    border-radius: 0.875rem;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    display: flex;
}

.product-card__content {
    padding: 6.875rem 0.5rem 7.0625rem 3.125rem;
    flex: 1;
}

.product-card__title {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2.1rem;
    margin-bottom: 1.875rem;
    color: #1D1D1F;
}

.product-card__params {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.875rem;
}

.product-card__param {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.575rem;
    color: #6B6C6D;
}

.product-card__image {
    width: 27.1875rem;
    height: 27.1875rem;
    border-radius: 0 0.875rem 0.875rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
}

/* 按钮样式 */
.ess-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    background: #0005FF;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2.1rem;
    text-align: center;
    transition: background-color 0.3s ease;
    width: fit-content;
    min-width: min-content;
}

.ess-btn__icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.5rem;
}

.ess-btn:hover {
    background-color: #292932;
}

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

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

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

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

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

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

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 20.5625rem);
    gap: 1.75rem;
    justify-content: center;
    margin-top: 0;
}

.advantage-card {
    width: 20.5625rem;
    height: 28rem;
    border-radius: 14px;
    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: normal;
}

.advantage-card__hover-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.advantage-card__hover-content li {
    margin-bottom: 0.5rem;
}

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

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

.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/13.png');
}

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

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

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

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

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

.advantage-card__special-title {
    font-weight: 500;
    font-size: 1.625rem;
    line-height: 2.625rem;
    color: #FFFFFF;
    
}

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

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

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

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

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

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

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

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

.solution__light-dot {
    position: absolute;
    top: 73.4%;
    left: 48%;
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    z-index: 2;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    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;
}

.solution__light-dot-second {
    position: absolute;
    top: 73.4%;
    left: 78%;
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    z-index: 2;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
}

.light-dot__inner-second {
    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-second {
    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-second {
    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: 43.5625rem; /* 697px */
    padding-top: 5rem;
    background-image: url('../img/bg6.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; /* 440px */
    height: 24rem; /* 384px */
}

.case-item__image {
    width: 27.5rem; /* 440px */
    height: 15.625rem; /* 250px */
    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; /* 26px */
    line-height: 2.275rem; /* 36.4px */
    text-align: left;
    color: #1D1D1F;
    margin-bottom: 0.75rem; /* 12px */
}

.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.5rem; /* 24px */
    line-height: 2.1rem; /* 33.6px */
    text-align: left;
}

.case-item__desc-highlight {
    color: #0005FF;
}

.case-item__desc-normal {
    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: 64rem) { /* 1024px */
    .hero__title {
        font-size: 3.5rem;
        line-height: 4.2rem;
    }
    .section__title {
        font-size: 2rem;
        line-height: 2.4rem;
    }
    .section__text {
        padding: 0 1rem;
        text-align: center;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 20.5625rem);
        gap: 1.5rem;
    }
    .section--advantages {
        height: auto;
        padding-bottom: 5rem;
    }
    .section--case {
        height: auto;
        padding-bottom: 5rem;
    }
    .section--case .container {
        width: 100%;
        padding: 0 1rem;
    }
    .section--case .section__title-line {
        margin-bottom: 3.25rem;
    }
    .case-list {
        height: auto;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 1.25rem;
        padding: 0;
    }
    .case-item {
        width: calc((100% - 2.5rem) / 3);
        height: auto;
    }
    .case-item__image {
        width: 100%;
        height: auto;
        aspect-ratio: 44 / 25;
    }
    .case-item__content {
        padding: 1.125rem 1.125rem 0;
        height: auto;
        min-height: 9.5rem;
    }
    .case-item__title {
        font-size: 1.3125rem;
        line-height: 1.75rem;
        margin-bottom: 0.625rem;
    }
    .case-item__desc-wrapper {
        gap: 0.875rem;
    }
    .case-item__desc {
        width: auto;
        font-size: 1.125rem;
        line-height: 1.55rem;
    }
    .case-item__arrow {
        width: 1.875rem;
        height: 1.875rem;
    }
    .section--solution {
        height: auto;
        padding: 5rem 1rem;
    }
    .section--solution .container {
        width: 100%;
        padding: 0 1rem;
    }
    .solution-content {
        overflow: visible;
    }
    .solution-diagram {
        width: 100%;
        margin-top: 2rem;
    }
    .solution-diagram__figure {
        width: 100%;
        max-width: 100%;
    }
    .solution-diagram img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media screen and (max-width: 48rem) { /* 768px */
    .hero__title {
        font-size: 3rem;
        line-height: 3.6rem;
        padding: 0 1rem;
    }
    .intro-products-wrapper {
        height: auto;
    }
    .products-grid {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .product-card {
        width: 100%;
    }
    .section--products {
        height: auto;
        padding-bottom: 5rem;
        margin-top: 5rem;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    .advantage-card {
        width: 100%;
        height: 20rem;
    }
    .section--case {
        height: auto;
        padding-bottom: 5rem;
    }
    .case-list {
        flex-direction: column;
        height: auto;
        gap: 1.5rem;
    }
    .case-item {
        width: 100%;
        height: auto;
    }
    .case-item__image {
        width: 100%;
        height: 12rem;
    }
    .case-item__content {
        padding: 1rem;
        height: auto;
    }
    .case-item__title {
        font-size: 1.25rem;
        line-height: 1.5rem;
        margin-bottom: 0.5rem;
    }
    .case-item__desc {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }
    .section--solution {
        padding: 4rem 1rem;
    }
    .solution-diagram {
        margin-top: 1.5rem;
    }
    .solution__light-dot {
        top: 73.4%;
        left: 49.4%;
    }
    .solution__light-dot-second {
        top: 73.4%;
        left: 78.2%;
    }
}

@media screen and (max-width: 36rem) { /* 576px */
    .hero__title {
        font-size: 2.5rem;
        line-height: 3rem;
    }
    .section__text {
        padding: 0 1rem;
    }
    .products-grid {
        gap: 1rem;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .advantage-card {
        height: 18rem;
    }
    .advantage-card__title,
    .advantage-card__special-title {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
    .advantage-card__hover-content {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .case-item__image {
        height: 10rem;
    }
    .case-item__title {
        font-size: 1.125rem;
        line-height: 1.35rem;
    }
    .case-item__desc {
        font-size: 1rem;
        line-height: 1.25rem;
    }
    .case-item__desc-wrapper {
        gap: 0.75rem;
    }
    .case-item__arrow {
        width: 1.5rem;
        height: 1.5rem;
    }
    .section--solution {
        padding: 3rem 1rem;
    }
    .solution-diagram {
        margin-top: 1rem;
    }
    .solution__light-dot {
        top: 73.4%;
        left: 49.4%;
    }
    .solution__light-dot-second {
        top: 73.4%;
        left: 78.2%;
    }
}

/* 移除之前可能存在的通用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;
}
