/* Hero 背景：对齐腾讯云 CVM v3（无底图两侧灰边，2048px 居中 + 淡蓝底色） */
.hero-banner--cvm {
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    background-color: #e0ecff;
    padding: 0 10px;
}

.hero-banner--cvm .hero-banner__bg-wrap,
.hero-banner--cvm .hero-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-banner--cvm .hero-banner__bg-wrap {
    overflow: hidden;
    z-index: 0;
}

.hero-banner--cvm .hero-banner__bg {
    z-index: 1;
}

/* v3：不使用两侧灰色渐变，避免宽屏右侧出现断开白条 */
.hero-banner--cvm .hero-banner__bg::before,
.hero-banner--cvm .hero-banner__bg::after {
    content: none;
    display: none;
}

.hero-banner--cvm .hero-banner__bg-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 390px;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto 100%;
}

.hero-banner--cvm .hero-banner__video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: none;
    height: 390px;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 769px) {
    .hero-banner--cvm .hero-banner__bg-inner {
        left: 50%;
        width: 2048px;
        height: 100%;
        transform: translateX(-50%);
        background-size: auto 100%;
        background-position: 50% center;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent);
        mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent);
    }

    .hero-banner--cvm .hero-banner__video {
        width: 2048px;
        height: 100%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent);
        mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent);
    }
}

.hero-banner--cvm .hero-banner__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 62px 10px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-banner--cvm .hero-banner__content {
    color: #3d485d;
    text-align: left;
    text-shadow: none;
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero-banner--cvm .hero-banner__eyebrow {
    font-size: 14px;
    line-height: 24px;
    color: #4b5b76;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.hero-banner--cvm .hero-banner__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.3;
    font-weight: 500;
    color: #000;
    margin-bottom: 12px;
}

.hero-banner--cvm .hero-banner__desc {
    font-size: 16px;
    line-height: 28px;
    max-width: 700px;
    color: #3d485d;
    margin-bottom: 0;
}

.hero-banner--cvm .hero-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.hero-banner--cvm .hero-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 136px;
    height: 44px;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 2px;
    transition: box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
}

.hero-banner--cvm .hero-banner__btn--primary {
    background: #0052d9;
    color: #fff;
    box-shadow: 8px 8px 20px rgba(55, 99, 170, 0.1);
}

.hero-banner--cvm .hero-banner__btn--primary:hover {
    background: #266fe8;
    box-shadow: 8px 8px 20px rgba(55, 99, 170, 0.3);
}

.hero-banner--cvm .hero-banner__btn--white {
    background: #fff;
    border: 1px solid #fff;
    color: #0052d9;
    box-shadow: 8px 8px 20px rgba(55, 99, 170, 0.1);
}

.hero-banner--cvm .hero-banner__btn--white:hover {
    background: #ecf2fe;
    border-color: #0052d9;
    box-shadow: 8px 8px 20px rgba(55, 99, 170, 0.1);
}

@media (max-width: 768px) {
    .hero-banner--cvm .hero-banner__actions {
        margin-top: 28px;
    }

    .hero-banner--cvm .hero-banner__btn {
        min-width: 120px;
        height: 40px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-banner--cvm .hero-banner__video {
        display: none;
    }
}
