/* 英雄区域动画样式 */
.hero-section {
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}



.hero-content {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: heroFadeInUp 1.5s ease-out 3s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: titleSlideIn 1.2s ease-out 3.5s forwards;
}



.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: #555;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleFadeIn 1s ease-out 4s forwards;
}

/* 添加打字机效果 */
.hero-title::after {
    content: '|';
    animation: blink 1s infinite;
    color: #fff;
}

/* 动画关键帧 */
@keyframes heroFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        padding: 0 1rem;
    }
    
    .hero-title {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 50vh;
    }
}