/* PC端 */
.main {
    width: 100vw;
    height: auto;
    display: flex;
}

.main .bg {
    width: 100vw;
    height: auto;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
    object-fit: contain;
}

.main-box {
    width: 40vw;
    position: absolute;
    top: 45%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 10;
}

.main-box .main-title {
    font-size: 2rem;
    line-height: 2;
    font-weight: 550;
    color: var( --color-primary-2);
}

.main-box .main-version {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 2;
    color: var( --color-primary-2);
}

.main-box  .main-content {
    line-height: 2;
    font-size: 1.125rem;
    color: var(--color-primary-5);
    text-align: left;
}

/* 优势 */
.advantages {
    padding: 2.5rem 0;
    background:var( --color-primary-1);
    width: 100vw;
    overflow: hidden;
}

.advantages .section-title {
    text-align: left;
    font-size: 1.875rem;
    font-weight: 550;
    width: 94vw;
    margin: 0 auto 2rem;
    color: var(--color-primary-10);
}

.advantages .product-container {
    width:  94vw;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.675rem;
}

.advantages .product-item {
    height: 23.75rem;
    padding: 1.25rem 1.75rem;
    background: var(--color-white);
    box-shadow: 0px 2px 3px -1px rgba(0,0,0, 0.05),
                0px 1px 2px -1px rgba(0,0,0,0.1);
    border-radius: 0.625rem;
    display: grid;
    grid-template-columns: 2.6fr 3fr;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

/* 奇偶元素不同入场方向 */
.advantages .product-item:nth-child(odd) {
    transform: translateX(-100%);
}

.advantages .product-item:nth-child(even) {
    transform: translateX(100%);
}

/* 激活状态 */
.advantages .product-item.active {
    opacity: 1;
    transform: translateX(0);
}

.advantages .product-item:hover {
    transform: translate(3px, -3px);
    transition: all 0.3s;
}

/* 图片处理 */
.advantages .product-item .img-content {
    width: 90%;
    height: 96%;
    overflow: hidden;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.advantages .product-item  .img-content img {
    height: 100%;
    width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
}

.advantages .product-item  .img-content img:hover {
    transform: translateX(-50%) scale(1);
    transition: all 0.3s;
}

/* 文字处理 */
.advantages .product-item .text-content {
    padding: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.advantages .product-item .text-content .title {
    font-size: 1.525rem;
    margin: 0.5rem 0 0.325rem;
    font-weight: 600;
    line-height: 1.75;
    color: var(--color-primary-11);
}

.advantages .product-item .text-content .benefit {
    font-size: 1.25rem;
    margin: 0 0 0.725rem;
    color: var(--color-primary-6);
    line-height: 1.75;
}

.advantages .product-item .text-content .description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-primary-9);
    padding-right: 1.5rem;
}

/* 移动端 */
.main-mobile {
    width: 100vw;
    height: auto;
    margin-top: 4.375rem;
}

.main-mobile .pic {
    width: 100%;
    height: auto;
}

.main-mobile .pic img {
    display: block;
    width: 100%;
    height: auto;
    objet-fit: contain;
    animation: fadeIn 0.3s ease-in;
}

.main-mobile .box {
    width: 100%;
    height: auto;
    background:
        linear-gradient(
            45deg,
            rgba(20, 20, 20, 0.95) 0%,
            rgba(40, 40, 40, 0.95) 50%,
            rgba(20, 20, 20, 0.95) 100%
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 2px,
            transparent 2px,
            transparent 4px
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(80, 80, 80, 0.2) 0%,
            rgba(0, 0, 0, 0.8) 100%
        );
    animation: metal-shine 4s infinite linear;
    opacity: 0.98;
    padding: 1.6rem 1.8rem;
    text-align: center;
    margin-top: -1px;
}

@keyframes metal-shine {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100vw 240px;
    }
}

.main-mobile .box .title {
    color: var(--color-primary-2);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.75;
}

.main-mobile .box .version {
    color: var(--color-primary-2);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.75;
}

.main-mobile .box .content {
    color: var(--color-primary-6);
    line-height: 2;
    text-align: left;
    margin-top: 0.8rem;
}