/* 滚动页面样式 - 六个独立服务页面 */

/* 服务页面基础样式 */
.service-page {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
}

.service-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.service-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-header {
    text-align: center;
    margin-bottom: 2rem;
}

.service-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-normal);
}

.service-icon-large:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.service-title-large {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-description-large {
    margin-bottom: 3rem;
}

.service-description-large p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-features-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 数据可视化页面动画 */
#data-viz {
    background: var(--bg-primary);
}

.data-flow-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.data-flow-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.data-stream {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #6366f1, transparent);
    animation: dataFlow 3s linear infinite;
}

.stream-1 {
    left: 20%;
    animation-delay: 0s;
}

.stream-2 {
    left: 50%;
    animation-delay: 1s;
}

.stream-3 {
    left: 80%;
    animation-delay: 2s;
}

.chart-elements {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: end;
    gap: 1rem;
}

.chart-bar {
    width: 20px;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: chartGrow 2s ease-out infinite;
}

.bar-1 {
    height: 60px;
    animation-delay: 0s;
}

.bar-2 {
    height: 80px;
    animation-delay: 0.3s;
}

.bar-3 {
    height: 100px;
    animation-delay: 0.6s;
}

.chart-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    animation: lineGlow 2s ease-in-out infinite;
}

/* 商片自动化页面动画 */
#content-automation {
    background: var(--bg-primary);
}

.content-creation-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.text-element {
    position: absolute;
    width: 80px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    animation: textAppear 3s ease-in-out infinite;
}

.text-1 {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.text-2 {
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.text-3 {
    bottom: 30%;
    left: 50%;
    animation-delay: 2s;
}

.image-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-lg);
    animation: imageFloat 4s ease-in-out infinite;
}

.img-1 {
    top: 20%;
    right: 30%;
    animation-delay: 0.5s;
}

.img-2 {
    bottom: 40%;
    left: 30%;
    animation-delay: 1.5s;
}

.automation-flow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 2rem;
}

.flow-step {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: flowProcess 2s ease-in-out infinite;
}

.step-1 {
    animation-delay: 0s;
}

.step-2 {
    animation-delay: 0.7s;
}

.step-3 {
    animation-delay: 1.4s;
}

/* 工业宣讲页面动画 */
#industrial-demo {
    background: var(--bg-primary);
}

.3d-model-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.model-wireframe {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    animation: modelRotate 8s linear infinite;
}

.wire-1 {
    top: 30%;
    left: 20%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.wire-2 {
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    animation-delay: 2s;
}

.wire-3 {
    bottom: 30%;
    right: 20%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
}

.model-surface {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    animation: surfaceGlow 3s ease-in-out infinite;
}

.surface-1 {
    top: 40%;
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.surface-2 {
    bottom: 40%;
    right: 40%;
    width: 80px;
    height: 80px;
    animation-delay: 1.5s;
}

.process-flow {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.process-step {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: processFlow 2s ease-in-out infinite;
}

.proc-1 {
    animation-delay: 0s;
}

.proc-2 {
    animation-delay: 0.7s;
}

.proc-3 {
    animation-delay: 1.4s;
}

/* 内容AI化管理页面动画 */
#content-management {
    background: var(--bg-primary);
}

.content-workflow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.workflow-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: nodePulse 2s ease-in-out infinite;
}

.node-1 {
    top: 25%;
    left: 25%;
    animation-delay: 0s;
}

.node-2 {
    top: 50%;
    left: 50%;
    animation-delay: 0.7s;
}

.node-3 {
    bottom: 25%;
    right: 25%;
    animation-delay: 1.4s;
}

.workflow-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    animation: connectionFlow 3s ease-in-out infinite;
}

.conn-1 {
    top: 35%;
    left: 35%;
    width: 150px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.conn-2 {
    bottom: 35%;
    right: 35%;
    width: 150px;
    transform: rotate(-45deg);
    animation-delay: 1.5s;
}

.ai-assistant {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ai-brain {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: brainThink 3s ease-in-out infinite;
}

.ai-thoughts {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: thoughtFloat 2s ease-in-out infinite;
}

.thought-1 {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.thought-2 {
    top: -50px;
    left: 30%;
    animation-delay: 0.5s;
}

.thought-3 {
    top: -50px;
    right: 30%;
    animation-delay: 1s;
}

/* VR场景开发页面动画 */
#vr-development {
    background: var(--bg-primary);
}

.vr-environment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.vr-object {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    animation: vrFloat 6s ease-in-out infinite;
}

.obj-1 {
    top: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.obj-2 {
    top: 60%;
    right: 20%;
    width: 80px;
    height: 80px;
    animation-delay: 2s;
}

.obj-3 {
    bottom: 20%;
    left: 60%;
    width: 50px;
    height: 50px;
    animation-delay: 4s;
}

.vr-light {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #6366f1;
    border-radius: 50%;
    box-shadow: 0 0 20px #6366f1;
    animation: lightTwinkle 2s ease-in-out infinite;
}

.light-1 {
    top: 30%;
    left: 30%;
    animation-delay: 0s;
}

.light-2 {
    bottom: 30%;
    right: 30%;
    animation-delay: 1s;
}

.immersion-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.depth-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: depthPulse 4s ease-in-out infinite;
}

.layer-1 {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.layer-2 {
    width: 300px;
    height: 300px;
    animation-delay: 1.3s;
}

.layer-3 {
    width: 400px;
    height: 400px;
    animation-delay: 2.6s;
}

/* 虚拟试衣页面动画 */
#virtual-fitting {
    background: var(--bg-primary);
}

.fitting-room {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mirror-surface {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: var(--border-radius-xl);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: mirrorReflect 3s ease-in-out infinite;
}

.clothing-item {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    animation: clothingFloat 4s ease-in-out infinite;
}

.item-1 {
    top: 20%;
    left: 20%;
    width: 40px;
    height: 60px;
    animation-delay: 0s;
}

.item-2 {
    top: 40%;
    right: 20%;
    width: 50px;
    height: 70px;
    animation-delay: 1.3s;
}

.item-3 {
    bottom: 20%;
    left: 50%;
    width: 35px;
    height: 50px;
    animation-delay: 2.6s;
}

.body-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    animation: scanMove 3s ease-in-out infinite;
}

.line-1 {
    top: 30%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    animation-delay: 1s;
}

.line-3 {
    top: 70%;
    animation-delay: 2s;
}

/* 动画关键帧 */
@keyframes dataFlow {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes chartGrow {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.2);
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes textAppear {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes flowProcess {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes modelRotate {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes surfaceGlow {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
}

@keyframes processFlow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes connectionFlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes brainThink {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes thoughtFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

@keyframes vrFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-30px) rotateY(180deg);
    }
}

@keyframes lightTwinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes depthPulse {
    0%, 100% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes mirrorReflect {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    }
}

@keyframes clothingFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes scanMove {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .service-page {
        padding: 100px 1rem 40px;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .service-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .chart-elements {
        bottom: 10%;
    }
    
    .chart-bar {
        width: 15px;
    }
    
    .bar-1 {
        height: 40px;
    }
    
    .bar-2 {
        height: 50px;
    }
    
    .bar-3 {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .service-features-grid {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .automation-flow,
    .process-flow {
        gap: 0.5rem;
    }
    
    .flow-step,
    .process-step {
        width: 25px;
        height: 25px;
    }
}


