/* ====== 基础动画 ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(251, 191, 36, 0.15), inset 0 0 10px rgba(251, 191, 36, 0.05);
    }
    50% {
        box-shadow: 0 0 25px rgba(251, 191, 36, 0.3), inset 0 0 15px rgba(251, 191, 36, 0.1);
    }
}

/* ====== 行星动画 ====== */
.planet {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.planet.large {
    width: 200px;
    height: 200px;
    animation: float 8s ease-in-out infinite;
    animation: pulseGlow 4s ease-in-out infinite;
}

.planet.medium {
    width: 120px;
    height: 120px;
    animation: float 6s ease-in-out infinite;
}

.planet.small {
    width: 60px;
    height: 60px;
    animation: float 4s ease-in-out infinite;
}

.planet:nth-child(1) {
    background: radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.25), rgba(200, 150, 0, 0.1));
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.planet:nth-child(2) {
    background: radial-gradient(circle at 30% 30%, rgba(192, 132, 252, 0.2), rgba(150, 100, 200, 0.08));
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.planet:nth-child(3) {
    background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.15), rgba(0, 150, 180, 0.08));
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.planet:nth-child(4) {
    background: radial-gradient(circle at 30% 30%, rgba(192, 132, 252, 0.15), rgba(150, 80, 200, 0.06));
    top: 30%;
    right: 10%;
    animation-delay: 1s;
}

.planet:nth-child(5) {
    background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.18), rgba(0, 120, 180, 0.08));
    bottom: 40%;
    right: 25%;
    animation-delay: 3s;
}

/* ====== 行星发光效果 ====== */
.planet::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulseGlow 3s ease-in-out infinite;
}

/* ====== 应用动画 ====== */
.section-content {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.case-item:nth-child(1) { animation-delay: 0.1s; }
.case-item:nth-child(2) { animation-delay: 0.15s; }
.case-item:nth-child(3) { animation-delay: 0.2s; }
.case-item:nth-child(4) { animation-delay: 0.25s; }
.case-item:nth-child(5) { animation-delay: 0.3s; }
.case-item:nth-child(6) { animation-delay: 0.35s; }
.case-item:nth-child(7) { animation-delay: 0.1s; }
.case-item:nth-child(8) { animation-delay: 0.15s; }
.case-item:nth-child(9) { animation-delay: 0.2s; }
.case-item:nth-child(10) { animation-delay: 0.25s; }

.step {
    animation: fadeInUp 0.8s ease-out backwards;
}

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.4s; }
.step:nth-child(5) { animation-delay: 0.6s; }

/* ====== 滚动时的淡入效果 ====== */
.fade-in-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}
