/* ============================================
   Hero区域样式 - Hero Section Styles
   ============================================ */

.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 0px 80px;
    position: relative;
    overflow: hidden;

    background-image: url('../images/hero.jpg');
    background-size: cover !important;
    background-position: center calc(50% - 50px);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* 背景缩放动画 */
@keyframes backgroundZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
/* 视频背景 */
.hero-video {
    position: absolute !important;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform-style: preserve-3d;
    transition-property: transform;
    display: block;
}

/* 白色透明蒙版 */
.hero-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
    pointer-events: none;
}

/* 打字机效果 */
.typing-text {
    position: relative;
    font-size: 80px;
    font-weight: bold;
    line-height: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
}

.typing-text::after {
    content: '|';
    display: inline-block;
    margin-left: 4px;
    animation: blink 1s infinite;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
}

.typing-text.completed::after {
    display: none;
}

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

.hero p {
        position: relative;
    z-index: 3;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 48px;
}

.hero-buttons {
    position: relative;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    position: relative;
    padding: 16px 42px;
    border-radius: 30px;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    padding: 16px 42px;
    border-radius: 30px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary a{
    color: #fff;
    text-decoration: none;
}

.btn-secondary:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-video,
    .hero-overlay {
        display: none;
    }

    .typing-text {
    font-size: 60px;
}
}
