/* AI能力页面 */
.ai-page {
    position: absolute;
    inset: 0;
}

.ai-page a {
    text-decoration: none;
}

.ai-page .background {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1B0F2C 0%, #2A1846 50%, #1E1129 100%);
}

.ai-page .top-bg {
    position: absolute;
    top: 0;
    width: 100%;
    background-image: url(../images/about/top-bg.png);
    background-size: cover;
    background-position: center;
    height: 8.74rem;
}

.ai-page .container {
    position: absolute;
    inset: 0;
    overflow: auto;
}

.ai-page .container .wrapper {
    position: relative;
}

/* banner */
.ai-page .ai-banner {
    width: 16.175rem;
    margin: 0.6rem auto 0;
    padding: 1.6rem 0.6rem 1.2rem;
    box-sizing: border-box;
    text-align: center;
    position: relative;
}

.ai-page .ai-banner-title {
    font-family: "ChuangKeTieJinGangTi-2";
    font-weight: bold;
    font-size: 0.9rem;
    color: #FFFFFF;
    line-height: 1.2;
    letter-spacing: 0.06rem;
}

.ai-page .ai-banner-subtitle {
    font-family: "ChuangKeTieJinGangTi-2";
    font-weight: bold;
    font-size: 0.68rem;
    color: #FFFFFF;
    line-height: 1.4;
    letter-spacing: 0.04rem;
    margin-top: 0.15rem;
}

.ai-page .ai-banner-en {
    margin-top: 1.1rem;
    font-family: "D-DIN-PRO-600-SemiBold";
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.08);
    letter-spacing: 0.1rem;
    line-height: 1;
    font-weight: bold;
}

/* AI核心能力矩阵 */
.ai-page .ai-matrix {
    width: 16.175rem;
    margin: 2rem auto 1.2rem;
    padding: 0 0.5rem 0.8rem;
    box-sizing: border-box;
    position: relative;
}

.ai-page .ai-matrix-header {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.6rem;
}

.ai-page .ai-matrix-title {
    font-family: "ChuangKeTieJinGangTi-2";
    font-weight: bold;
    font-size: 0.48rem;
    color: #FFFFFF;
    line-height: 1;
    flex-shrink: 0;
}

.ai-page .ai-matrix-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(146, 103, 190, 0.6) 0%, rgba(146, 103, 190, 0) 100%);
}

.ai-page .ai-matrix-content {
    position: relative;
    width: 15.175rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ai-page .ai-matrix-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.ai-page .ai-matrix-row-inner {
    padding: 0 2.4rem;
    box-sizing: border-box;
}

.ai-page .ai-matrix-row-outer {
    padding: 0;
}

.ai-page .ai-matrix-row-single {
    justify-content: center;
    margin-top: -0.5rem;
}

@keyframes ai-card-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ai-page .ai-card {
    width: 4.85rem;
    height: auto;
    display: block;
    opacity: 0;
    animation: ai-card-fade-in 0.6s ease-out forwards;
    transition: transform 0.3s ease;
}

.ai-page .ai-card:hover {
    transform: translateY(-0.08rem);
}

.ai-page .ai-card-1 { animation-delay: 0.15s; }
.ai-page .ai-card-2 { animation-delay: 0.35s; }
.ai-page .ai-card-3 { animation-delay: 0.55s; }
.ai-page .ai-card-4 { animation-delay: 0.75s; }
.ai-page .ai-card-5 { animation-delay: 0.95s; }
.ai-page .ai-card-6 { animation-delay: 1.15s; }
.ai-page .ai-card-7 { animation-delay: 1.35s; }

.ai-page .ai-card-center {
    position: absolute;
    width: 4.6rem;
    height: auto;
    top: 2.7rem;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.hide {
    display: none;
}

/* 移动端 */
@media screen and (max-width: 768px) {
    .ai-page .ai-banner {
        width: 100%;
        padding: 1rem 0.4rem 0.6rem;
        margin-top: 0.4rem;
    }

    .ai-page .ai-banner-title {
        font-size: 0.8rem;
    }

    .ai-page .ai-banner-subtitle {
        font-size: 0.5rem;
    }

    .ai-page .ai-banner-en {
        font-size: 0.32rem;
        margin-top: 0.6rem;
        letter-spacing: 0.04rem;
    }

    .ai-page .ai-matrix {
        width: 100%;
        padding: 0 0.3rem 0.6rem;
        margin: 0.4rem auto 0.8rem;
    }

    .ai-page .ai-matrix-header {
        margin-bottom: 0.5rem;
    }

    .ai-page .ai-matrix-title {
        font-size: 0.6rem;
    }

    .ai-page .ai-matrix-content {
        width: 100%;
        gap: 0.3rem;
    }

    .ai-page .ai-matrix-row-inner,
    .ai-page .ai-matrix-row-outer {
        padding: 0;
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
    }

    .ai-page .ai-card {
        width: 100%;
        max-width: 6.5rem;
    }

    .ai-page .ai-card-center {
        position: static;
        width: 4.2rem;
        transform: none;
        margin: 0.3rem auto;
    }
}
