/* 基础样式 - 移动优先设计 */
.yb-product-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yb-product-intro__vertical-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

.yb-product-intro__container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    gap: 0;
}

/* 媒体容器样式 */
.yb-product-intro__media-container {
    position: absolute;
    height: 100%;
    width: 100%;
    inset: 0px;
    color: transparent;
    background: linear-gradient(180deg, rgba(2, 6, 11, 0.6) 0%, rgba(103, 106, 109, 0.6) 100%);
}


/* 图片样式 */
.yb-product-intro__image {
    position: absolute;
    inset: 0px;
    color: transparent;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    /* 圆角效果 */
}

/* 视频样式 */
.yb-product-intro__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    /* 圆角效果 */
}

/* iframe视频样式 */
.yb-product-intro__iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    /* 圆角效果 */
    overflow: hidden;
}

.yb-product-intro__video--mb,
.yb-product-intro__image--mb {
    display: block;
}

.yb-product-intro__video--pc,
.yb-product-intro__image--pc {
    display: none;
}

/* 轮播图样式 */
.yb-product-intro .splide {
    position: relative;
    width: 100%;
}

/* 幻灯片容器 */
.yb-product-intro .splide__track {
    overflow: hidden;
    border-radius: 12px;
}

/* 幻灯片项目 */
.yb-product-intro .splide__slide {
    width: 100%;
    height: auto;
    position: relative;
}

/* 箭头容器 */
.yb-product-intro__arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

/* 箭头按钮 */
.yb-product-intro__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.yb-product-intro__arrow:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 左右箭头定位 */
.yb-product-intro__arrow--prev {
    margin-left: -24px;
}

.yb-product-intro__arrow--next {
    margin-right: -24px;
}

/* 分页器样式 */
.pros-say__pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pros-say__pagination .splide__pagination__page {
    width: 32px;
    height: 8px;
    background-color: #A9A9A9;
    border-radius: 41px;
    transition: all 0.3s ease;
    opacity: 1;
    border: none;
    padding: 0;
    margin: 0;
}

.pros-say__pagination .splide__pagination__page.is-active {
    background-color: #FFFFFF;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 标题样式 */
.yb-product-intro__title {
    display: flex;
    justify-content: center;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}

/* 项目样式 */
.yb-product-intro__item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px;
    width: 100%;
    text-align: center;
    aspect-ratio: 343 / 391;
    margin-bottom: 24px;
}

/* 内容区域样式 */
.yb-product-intro__caption {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
}

.yb-product-intro__caption--title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.yb-product-intro__caption--description {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 16px;
}

.yb-product-intro__caption--btn {
    height: 48px;
    border-radius: 60px;
    background: #fedb1e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #02060b;
    font-size: 16px;
    font-weight: 600;
    margin: unset;
    padding: 0 48.5px;
    min-width: 180px;
    border: 0;
}


/* 轮播布局样式 */
.yb-product-intro__splide .splide__pagination {
    padding-left: 0;
    gap: 6px;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.yb-product-intro__splide .splide__pagination__page {
    width: 16px;
    height: 4px;
    border: 0px;
    background: #a9a9a9;
    border-radius: 41px;
}

.yb-product-intro__splide .splide__pagination__page.is-active {
    background: #fff;
}

/* 模态弹窗样式 */
.yb-product-intro__modal--container {
    padding: 36px 24px;
    border-radius: 24px;
    max-width: calc(100vw - 32px);
    background: #fff;
}

.yb-product-intro__modal--title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.yb-product-intro__modal--close {
    position: absolute;
    top: 16px;
    right: 16px;
    margin: 0;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.yb-product-intro__modal--close--icon {
    width: 32px;
    height: 32px;
}

.yb-product-intro__modal--list {
    max-width: 300px;
    padding: 0;
    gap: 16px;
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    overflow: auto;
}

.yb-product-intro__modal--item {
    padding: 20px 16px;
    border-radius: 24px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.yb-product-intro__modal--subtitle {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
}

.yb-product-intro__modal--desc {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
}

.yb-product-intro__modal--image {
    aspect-ratio: 530 / 388;
    border-radius: 24px;
}

/* 平板端样式 (680px+) */
@media screen and (min-width: 680px) {
    .yb-product-intro__title {
        margin-bottom: 48px;
        font-weight: 800;
    }

    .yb-product-intro__item {
        border-radius: 16px;
        padding: 68px 48px;
        height: auto;
        aspect-ratio: 632 / 720;
    }

    .yb-product-intro__caption--title {
        margin-bottom: 16px;
        font-size: 32px;
    }

    .yb-product-intro__caption--description {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .yb-product-intro__modal--container {
        padding: 48px 32px;
        max-width: calc(100vw - 60px);
    }

    .yb-product-intro__modal--title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .yb-product-intro__modal--list {
        max-width: 600px;
        gap: 20px;
    }

    .yb-product-intro__modal--item {
        padding: 30px 24px;
    }

    .yb-product-intro__modal--subtitle {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .yb-product-intro__modal--desc {
        font-size: 16px;
        margin-bottom: 24px;
    }
}

/* 桌面端样式 (960px+) */
@media screen and (min-width: 960px) {
    .yb-product-intro__container {
        max-width: 1200px;
    }

    .yb-product-intro__vertical-container {
        gap: 32px;
        max-width: 1200px;
    }

    .yb-product-intro__video--mb,
    .yb-product-intro__image--mb {
        display: none;
    }

    .yb-product-intro__video--pc,
    .yb-product-intro__image--pc {
        display: block;
    }

    .yb-product-intro__title {
        font-weight: 800;
        margin-bottom: 48px;
    }

    .yb-product-intro__item {
        border-radius: 20px;
        padding: 88px 43px;
        justify-content: center;
        aspect-ratio: 900 / 347;
        text-align: left;
    }

    .yb-product-intro__caption--title {
        font-size: 28px;
    }

    .yb-product-intro__caption--description {
        font-size: 14px;
        margin-bottom: 32px;
    }

    /* 模态框样式 */
    .yb-product-intro__modal--container {
        padding: 48px;
        max-width: 80vw;
        border-radius: 28px;
    }

    .yb-product-intro__modal--title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .yb-product-intro__modal--close {
        top: 32px;
        right: 32px;
    }

    .yb-product-intro__modal--close--icon {
        width: 36px;
        height: 36px;
    }

    .yb-product-intro__modal--list {
        max-width: 900px;
        padding: 0 20px;
        gap: 24px;
    }

    .yb-product-intro__modal--item {
        padding: 40px 36px;
    }

    .yb-product-intro__modal--subtitle {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .yb-product-intro__modal--desc {
        font-size: 16px;
        margin-bottom: 28px;
    }
}

/* 大屏幕样式 (1440px+) */
@media screen and (min-width: 1440px) {
    .yb-product-intro__container {
        max-width: 1400px;
    }

    .yb-product-intro__vertical-container {
        max-width: 1400px;
        gap: 40px;
    }

    .yb-product-intro__title {
        margin-bottom: 56px;
    }

    .yb-product-intro__item {
        border-radius: 24px;
        padding: 135px 88px;
        aspect-ratio: 1200 / 463;
    }

    .yb-product-intro__caption--title {
        font-size: 36px;
    }

    .yb-product-intro__caption--description {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .yb-product-intro__modal--container {
        padding: 60px;
        max-width: 70vw;
        border-radius: 32px;
    }

    .yb-product-intro__modal--title {
        font-size: 40px;
        margin-bottom: 60px;
    }

    .yb-product-intro__modal--close {
        top: 48px;
        right: 48px;
    }

    .yb-product-intro__modal--close--icon {
        width: 40px;
        height: 40px;
    }

    .yb-product-intro__modal--list {
        max-width: 1160px;
        padding: 0 35px;
        gap: 28px;
    }

    .yb-product-intro__modal--item {
        padding: 60px 50px;
    }

    .yb-product-intro__modal--subtitle {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .yb-product-intro__modal--desc {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .yb-product-intro__modal--image {
        aspect-ratio: 972 / 547;
    }
}

/* 超大屏幕样式 (1920px+) */
@media screen and (min-width: 1920px) {
    .yb-product-intro {
        font-size: 16px;
    }

    .yb-product-intro__title {
        font-size: 40px;
        margin-bottom: 64px;
    }

    .yb-product-intro__item {
        padding: 152px 100px;
        aspect-ratio: 1400 / 540;
    }

    /* .yb-product-intro__caption {
        max-width: 540px;
    } */

    .yb-product-intro__caption--title {
        font-size: 40px;
    }

    .yb-product-intro__caption--description {
        font-size: 20px;
        margin-bottom: 40px;
    }

}