/* --- 保留你之前的样式 --- */
.hero {
    height: 90vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 对应的 CSS 样式 */
.hero-title {
    line-height: 1.3;
}

.hero-main {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.hero-sub {
    font-size: 1.1rem;
    /* 副标题较小 */
    font-weight: 400;
    color: #666;
    /* 浅灰色，比主标题浅 */
    opacity: 0.9;
    line-height: 1.5;
}

.hero-video-side {
    position: relative;
    aspect-ratio: 35/26;
    background: #ffffff;
    overflow: hidden;
    min-width: 300px;
    max-width: 800px;
    -webkit-mask-image: radial-gradient(circle, black 20%, transparent 60%);
    mask-image: radial-gradient(circle, black 20%, transparent 60%);
}

.hero-video-side video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero {
        height: 95vh;
        min-height: unset;
        padding: 80px 5% 40px 5%;
    }

    .hero-container {
        flex-direction: column;
 
        gap: 3rem;

    }

    .hero-main {
        font-size: 1.5rem;
        font-weight: 700;
        white-space: pre-wrap;
    }

    .hero-text-side {
        align-items: center;
        max-width: 80vw;
        height: auto;
        white-space: wrap;
    }

    .hero-video-side {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        order: -1;

    }
}