/* ---- 开头部分 ---- */
.splitting-page {
    overflow: hidden;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parallax-wrapper {
    height: 100vh;
    perspective: 1px;
    overflow-x: hidden;
    overflow-y: auto;
}

:root {
    --neon-blue: #00f0ff;
    --cyber-yellow: #ffdd6c;
    --ai-purple: #7d6aff;
    --dark-bg: #0a0a0a;
}

.ai-header {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    padding: 0 8% 0;
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    z-index: 1;
}

/* 动态网格背景 */
.grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 80s linear infinite;
}

@keyframes gridMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 1000px 1000px;
    }
}

/* 内容容器 */
.content-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* 文字内容区 */
.wrapper-text-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

.main-title {
    font-size: 4.0em;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.3;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 1s forwards;
    text-align: start;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: none;
    }
}

.subtitle {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin: 25px 0;
    font-weight: 600;
    padding-left: 30px;
    border-left: 3px solid var(--cyber-yellow);
}

/* 动态按钮组 */
.button-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.cyber-button {
    padding: 15px 35px;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    background:
        linear-gradient(45deg,
            rgba(0, 240, 255, 0.1),
            rgba(125, 106, 255, 0.1));
    color: white;
    font-weight: 600;
    text-shadow: 0 0 8px currentColor;
    border-radius: 2px;
    transform-style: preserve-3d;
}

.cyber-button::before {
    content: '';
    position: absolute;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    top: -2px;
    left: -2px;
    background: linear-gradient(45deg,
            var(--neon-blue),
            var(--ai-purple),
            var(--cyber-yellow));
    z-index: -1;
    opacity: 0.3;
    transition: 0.4s;
}

.cyber-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: 0.6s;
}

.cyber-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 20px rgba(0, 240, 255, 0.3),
        0 0 30px rgba(125, 106, 255, 0.2);
    background:
        linear-gradient(45deg,
            rgba(0, 240, 255, 0.2),
            rgba(125, 106, 255, 0.2));
}

.cyber-button:hover::before {
    opacity: 0.6;
    filter: blur(3px);
}

.cyber-button:hover::after {
    left: 100%;
}

/* 不同按钮的个性样式 */
.cyber-button[style*="--neon-blue"] {
    --glow-color: var(--neon-blue);
}

.cyber-button[style*="--cyber-yellow"] {
    --glow-color: var(--cyber-yellow);
}

.cyber-button:active {
    transform: translateY(1px);
    filter: brightness(1.2);
}

/* 右侧可视化区 */
.visualization {
    position: relative;
    height: 600px;
    perspective: 1000px;
}

.data-sphere {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: sphereRotate 30s infinite linear;
}

@keyframes sphereRotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.segment-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--neon-blue);
    border-radius: 50%;
    filter: drop-shadow(0 0 10px var(--neon-blue));
    animation: nodePulse 2s infinite;
}

@keyframes nodePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.data-stream {
    position: absolute;
    width: 2px;
    height: 80%;
    background: linear-gradient(transparent, var(--ai-purple));
    animation: streamFlow 3s infinite linear;
}

@keyframes streamFlow {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* 分割扫描器 */
.scanner {
    position: absolute;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--cyber-yellow),
            transparent);
    filter: drop-shadow(0 0 10px var(--cyber-yellow));
    animation: scan 4s infinite;
}

@keyframes scan {
    0% {
        left: -20%;
    }

    100% {
        left: 120%;
    }
}

/* ---- 主要部分----- */
.module-container {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    gap: 80px;
    background-color: #1a1a1a;
}

/* 主要部分的每一项 */
.module-item {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
    gap: 10px;
    padding: 80px 0 !important;
    box-sizing: border-box;
}

/* 每一项的内容 */
.module-item-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 一级标题 */
.module-item-title {
    position: relative;
    font-size: 30px;
    font-weight: bold;
    padding: 0.2em 0 10px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

/* 描述 */
.module-item-description {
    flex-grow: 1;
    color: #fff;
    padding-right: 2rem;
    font-size: 1.3em;
    line-height: 1.8;
    letter-spacing: 0.1em;
    font-weight: 400;
    margin-top: 10px;
    font-family: 'Arial', sans-serif;
}

.module-item-content,
.img-container {
    flex-basis: 48%;
}

.img-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 20px;
    transition: all 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.img-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease-in-out;
}

.img-container:hover img {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.5);
}

/* 模块容器 */
.module-item.container {
    display: flex;
    gap: 40px;
    padding: 60px 0;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 图文排列方向控制 */
.module-item.reverse {
    flex-direction: row-reverse;
}

/* 内容区域 */
.module-item-content {
    flex: 1;
    padding: 20px;
    position: relative;
}

/* 关键字高亮 */
.keyword {
    color: #fff;
    font-weight: 600;
    position: relative;
    padding: 0 5px;
}

/* 图片容器 */
.img-container {
    flex: 1;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 动态悬浮效果 */
.img-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.05);
}

/* 标题样式 */
.module-item-title {
    position: relative;
    padding-bottom: 10px;
}

.module-item-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

/* 描述文本 */
.module-item-description {
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 1.1em;
    letter-spacing: 0.03em;
}

/* ---- 两组部分 ---- */
/* 整体容器 */
.module-twin-item.container {
    display: flex;
    gap: 20px;
}

/* 单个卡片容器 */
.twin-item {
    flex: 1;
    min-height: 320px;
    /* 限制最小高度 */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.twin-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* 图片容器优化 */
.img-twin-container {
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 20px;
}

.img-twin-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-twin-container:hover img {
    transform: scale(1.03);
}

/* 内容区域优化 */
.twin-item-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.twin-item-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.5em;
    line-height: 1.5em;
    color: #ffdd6a;
    letter-spacing: 0.03em;
    border-left: 3px solid #fff;
    padding-left: 12px;
}

.twin-item-description {
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 1.9rem;
}

/* 关键词高亮 */
.keyword {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 响应式优化 */
@media (max-width: 992px) {
    .module-item.container {
        flex-direction: column;
        padding: 40px 20px;
    }

    .module-twin-item {
        flex-direction: column;
    }

    .twin-item {
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .module-twin-item.container {
        flex-direction: column;
        gap: 25px;
        padding: 20px;
    }

    .twin-item {
        min-height: auto;
        padding: 20px;
    }

    .img-twin-container {
        height: 160px;
    }

    .twin-item-title {
        font-size: 1.2rem;
    }
}

/*媒体查询*/
@media (max-width: 1300px) {
    .module-item {
        padding: 80px 20px !important;
    }
}

@media (max-width: 1200px) {
    .module-container {
        gap: 20px;
    }

    .module-item {
        flex-direction: column;
        gap: 20px;
        padding: 40px 0 !important;
        margin-top: 0 !important;
    }

    .module-item-content {
        padding: 0 100px;
    }

    .twin-item {
        padding: 30px 10px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    .main-title{
        font-size: 3em;
    }


    .module-container {
        padding: 0 10px;
    }

    .module-item-content {
        padding: 0 60px !important;
    }

    .module-item-title {
        font-size: 1.8em;
    }

    .img-container {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .module-item-content {
        padding: 0 !important;
    }
}

@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: none;
    }
}

.scrolling-banner-container {
    background: #1a1a1a;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.scrolling-content-wrapper {
    display: flex;
    width: 400%;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.step-card {
    width: 25%;
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-image {
    width: 70%;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
}

.step-content {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
}

.step-number {
    font: 700 24px/1 'Roboto Mono', monospace;
    background: linear-gradient(90deg, #00c2ff, #8A2BE2);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.step-title {
    color: white;
    font-size: 1.8em;
    line-height: 1.2;
    margin-bottom: 15px;
}

.step-desc {
    color: #C0C0C0;
    font-size: 1.2em;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

/* 进度指示器  */
.progress-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(192, 192, 192, 0.3);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.progress-dot.active {
    background: #00c2ff;
    transform: scale(1.4);
    box-shadow: 0 0 10px #00c2ff;
}

/* 新增响应式适配 */
@media (max-width: 1200px) {
    .step-image {
        width: 100%;
    }

    .step-content {
        width: 90%;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .step-image {
        height: 300px;
    }

}