/* 通用动画定义 */
[data-animate] {
    opacity: 0;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 水平进入动画 */
[data-animate="left"] {
    transform: translateX(-100px);
}

[data-animate="right"] {
    transform: translateX(100px);
}

/* 垂直进入动画 */
[data-animate="top"] {
    transform: translateY(-100px);
}

[data-animate="bottom"] {
    transform: translateY(100px);
}

/* 放大动画 */
[data-animate="amplify"] {
    transform: scale(0.8);
}

/* 缩小动画 */
[data-animate="reduce"] {
    transform: scale(1.2);
}

/* 基础样式 */
body {
    background-color: var(--bg);
    font-size: var(--fontSize-16);
    font-weight: var(--weight-regular);
    color: var(--text-color-2);
}

/* 返回按钮 */
.back-btn {
    position: fixed;
    z-index: 2;
    top: 2rem;
    left: 2rem;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background-color: var(--bg);
    box-shadow: 0 0.4rem 1.6rem rgba(0, 81, 255, 0.25);
    transition: all ease-in-out 0.3s;
}

.back-btn-icon {
    fill: var(--reverse-color);
}

.back-btn:hover {
    transition-timing-function: ease-out;
    transform: scale(1.1);
    box-shadow: 0 0.4rem 3.2rem rgba(0, 81, 255, 0.8);
}

.footer {
    width: 100%;
    background-color: var(--color-black);
    padding: 4rem 10rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #424c5c;
    font-weight: var(--weight-regular);
    font-size: var(--fontSize-14);
    font-family: var(--fontFamily-roboto);
    text-align: center;
}

.section1-box {
    padding: 12rem 10rem;
}

.title {
    font-size: var(--fontSize-36);
    font-weight: var(--weight-medium);
    color: var(--text-color-1);
    text-align: center;
    margin-bottom: 12rem;
}

/* 第一个盒子 */
.box1-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box1-item {
    width: 20%;
}

.box1-item-title {
    width: 100%;
    font-size: var(--fontSize-24);
    font-weight: var(--weight-regular);
    color: var(--text-color-2);
    text-align: center;
    margin-bottom: 6rem;
}

.box1-item-text {
    width: 100%;
    background-color: var(--bg-card);
    border: var(--border) solid 1px;
    border-radius: 1.2rem;
    line-height: 1.8;
    padding: 1.6rem 2.4rem;
    text-align: center;
}

/* 轮播容器样式 */

.section2-box {
    width: 100%;
    padding: 12rem 0rem;
}

.box2-content {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.box2-banner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.box2-banner img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
}

.indication-point-box {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.round-dot {
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.round-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.left-btn,
.right-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 6rem;
    height: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.left-btn:hover,
.right-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.left-btn {
    left: 2rem;
}

.right-btn {
    right: 2rem;
}

.left-btn-img,
.right-btn-img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* 第三个盒子 */

.section3-box {
    width: 100%;
    padding: 12rem 0rem;
}

.box3-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.box3-content-mask{
    pointer-events: none;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #010306 0%, rgba(1, 3, 6, 0.00) 17.63%, rgba(1, 3, 6, 0.00) 79.33%, #010306 100%);
}
.box3-content-item{
    position: relative;
}
.box3-content-item-mask{
    transition: all 0.3s ease-in-out;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background: linear-gradient(270deg, #010306 0%, rgba(1, 3, 6, 0.50) 26.28%, rgba(1, 3, 6, 0.50) 75.32%, #010306 100%);
}

.box3-content-item-mask:hover{
    opacity: 0;
    transition-timing-function: ease-out;
}
.box3-content-item-img{
    border-left: var(--color-white) 1px solid;
    border-right: var(--color-white) 1px solid;
}

/* 第四个盒子 */

.section4-box {
    width: 100%;
    padding: 12rem 0rem;
}
/*笔记本：================================================= */
@media (min-width: 1201px)and (max-width: 1440px) {}

/*平板：=================================================== */
@media (min-width: 768px) and (max-width: 1200px) {

    /* 返回按钮 */
    .back-btn {
        top: 3.2rem;
        left: 3.2rem;
    }

    .footer {
        padding: 4rem 3.2rem;
        flex-direction: column;
    }

    /* section-box */
    .section1-box {
        padding: 8rem 3.2rem;
    }

    /* 第一个盒子 */
    .box1-content {
        flex-wrap: wrap;
    }

    .box1-item {
        margin-bottom: 6rem;
        width: 45%;
    }

    .box1-item-title {
        margin-bottom: 4rem;
    }

    /* 轮播图 */
    .section2-box {
        width: 100%;
        padding: 8rem 0rem;
    }

}

/*手机：=================================================== */
@media (min-width: 0px) and (max-width: 767px) {

    /* 返回按钮 */
    .back-btn {
        top: 1.6rem;
        left: 1.6rem;
    }

    .footer {
        padding: 2rem 1.6rem;
        flex-direction: column;
    }

    /* section-box */
    .section1-box {
        padding: 6rem 1.6rem;
    }

    /* 第一个盒子 */
    .box1-content {
        flex-direction: column;
    }

    .box1-item {
        width: 100%;
        margin-bottom: 6rem;
    }

    .box1-item-title {
        margin-bottom: 4rem;
    }

    /* 轮播图 */
    .section2-box {
        width: 100%;
        padding: 6rem 0rem;
    }
    /* 第三个盒子 */
    .box3-content{
        flex-direction: column;
        padding: 6rem 0rem;
    }
    .box3-content-item-img{
        border-left: none;
        border-right: none;
        border-top: var(--color-white) 1px solid;
        border-bottom: var(--color-white) 1px solid;
    }
}